Commit a3af34d5 authored by xieyishang's avatar xieyishang

修复商家助手扫码入库~

parent f6983307
......@@ -2,8 +2,8 @@
"name" : "鹿马商家助手",
"appid" : "__UNI__1EA80F1", //这个是 web
"description" : "商家",
"versionName" : "1.117",
"versionCode" : 1117,
"versionName" : "1.118",
"versionCode" : 1118,
"transformPx" : false,
"compatible" : {
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
......
......@@ -522,6 +522,7 @@
}else{
if(JSON.parse(opdata.results).data.code==1){
let results=JSON.parse(opdata.results);//扫描得到得商品信息
this.form.code = results.data.data.barcode;
this.findEleProduct(results);
}else{
let results = JSON.parse(opdata.results);
......
......@@ -218,10 +218,15 @@
this.$api.msg("您需要先同意用户协议和隐私策略");
return false;
}
let cID=''
let cID={}
// #ifdef APP-PLUS
cID = plus.push.getClientInfo();
// #endif
// #endif
console.log(cID,"cID");
if(cID==null){
cID = {};
}
if(this.username==""){
this.$api.msg("用户名不能为空");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment