Browse Source

PDA 采购收货任务 我只扫描了一个,另一个没扫描,提交成功,不提示还有未扫描的货物

hella_online_20240829
yufei0306 4 months ago
parent
commit
483f132025
  1. 2
      .env.hella16
  2. 6
      src/pages/purchaseReceipt/job/receiptDetail.vue

2
.env.hella16

@ -2,4 +2,4 @@ VITE_BASE_URL=http://172.21.32.16:81/api/admin-api
VITE_BASE_URL_IMAGE=http://172.21.32.16:81/admin-api VITE_BASE_URL_IMAGE=http://172.21.32.16:81/admin-api
# 租户配置 # 租户配置
VITE_TENANT='[{"text":"长春","value":1}]' VITE_TENANT='[{"text":"长春","value":1},{"text":"成都","value":2}]'

6
src/pages/purchaseReceipt/job/receiptDetail.vue

@ -392,7 +392,11 @@
// //
if (this.jobContent.allowPartialComplete == "TRUE") { if (this.jobContent.allowPartialComplete == "TRUE") {
// //
this.submitJob(); this.$refs.comMessage.showQuestionMessage('还有未扫描的物料,是否继续提交?', res => {
if (res) {
this.submitJob();
}
});
} else { } else {
// //
this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交<br>' + "已经扫描[" + this.scanCount + this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交<br>' + "已经扫描[" + this.scanCount +

Loading…
Cancel
Save