Commit 9490f49b by 施宇

11

parent bb8e2ce1
......@@ -434,6 +434,11 @@ for (let i = 0, j = 0, length = buffer.byteLength; i < length; i += maxChunk, j+
})
}else{
//型号
wx.showToast({
title:'数据格式不准确',
icon: 'none',
duration: 2000
});
}
},
......
......@@ -435,6 +435,11 @@ for (let i = 0, j = 0, length = buffer.byteLength; i < length; i += maxChunk, j+
})
}else{
//型号
wx.showToast({
title:'数据格式不准确',
icon: 'none',
duration: 2000
});
}
},
......
......@@ -673,6 +673,10 @@ onUnload:function(){
let formData = this.data.formData;
let reg = /^(XB|KB)\d{11}$/;
let newVal = value;
if(newVal == 'confirm_receipt'){
this.fbFun();
return
}
if(!formData.xh){
//型号未扫描
if(!reg.test(value)){
......
......@@ -112,7 +112,7 @@
</view>
</view>
<view class="form-bottom-right-bottom Bflex aic">
<image class="ewm" src="../../res/img/login-img.png"></image>
<image class="ewm" src="../../res/img/confirm.png"></image>
<text>收货确认二维码</text>
</view>
</view>
......
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 sign in to comment