Commit fb7e0f52 by LJM

bug

parent 0dbf758e
Showing with 2 additions and 2 deletions
...@@ -125,14 +125,14 @@ export default { ...@@ -125,14 +125,14 @@ export default {
}, },
scanChange() { scanChange() {
uni.scanCode({ uni.scanCode({
success: function(res) { success: res => {
console.log(res); console.log(res);
if (res.errMsg == 'scanCode:ok') { if (res.errMsg == 'scanCode:ok') {
this.searchParams.erp_order_sn = res.result; this.searchParams.erp_order_sn = res.result;
this.getData(); this.getData();
} }
}, },
fail: function(res) { fail: res => {
console.log(res); console.log(res);
uni.showToast({ uni.showToast({
title: '扫码失败', title: '扫码失败',
......
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