Browse Source

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

hella_online_20240829
yufei0306 7 months ago
parent
commit
483f132025
  1. 2
      .env.hella16
  2. 8
      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_TENANT='[{"text":"长春","value":1}]'
VITE_TENANT='[{"text":"长春","value":1},{"text":"成都","value":2}]'

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

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

Loading…
Cancel
Save