diff --git a/env.js b/env.js index b87b72a..c33f58a 100644 --- a/env.js +++ b/env.js @@ -1,4 +1,4 @@ -export const BASE_URL = 'http://qimen.wms.gztbyc.com' //生产环境接口地址 -// export const BASE_URL = 'http://192.168.11.56:6060' //开发环境接口地址 +// export const BASE_URL = 'http://qimen.wms.gztbyc.com' //生产环境接口地址 +export const BASE_URL = 'http://192.168.11.56:6060' //开发环境接口地址 export const API_URL = `${BASE_URL}/system` //后台接口域名 export const IMG_URL = 'https://ye4s.file.gzxunren.com' //全局网络图片地址变量,css背景图片地址变量在uni.scss diff --git a/pages/packing/packMode.vue b/pages/packing/packMode.vue index c707846..2d80473 100644 --- a/pages/packing/packMode.vue +++ b/pages/packing/packMode.vue @@ -927,6 +927,8 @@ export default { this.orderQueryError = ''; this.orderBarcode = ''; this.packContextKey = ''; + // 重置上一次扫描内容,避免未核实任何商品即取消时,再次扫同一运单被去重跳过 + this.lastScannedCode = ''; uni.showToast({ title: '已取消核实', icon: 'none' }); this.speakText('已取消核实'); },