Browse Source

page/productDismantle 文件迁移 8/8-10/25

pull/1/head
test 6 months ago
parent
commit
54ddb6bef0
  1. 13
      src/pages/productDismantle/job/productDismantleDetail.vue
  2. 13
      src/pages/productDismantle/record/productDismantleRecord.vue

13
src/pages/productDismantle/job/productDismantleDetail.vue

@ -342,12 +342,14 @@
//
if (this.jobContent.allowPartialComplete == "TRUE") {
//
this.submitJob();
this.$refs.comMessage.showQuestionMessage1("任务明细未全部完成,是否提交?", 'red', res => {
if (res) {
this.submitJob()
}
});
} else {
//
this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交<br>' + "已经扫描[" + this.scanCount +
"]箱总共[" + this
.subList.length + "]箱", res => {
this.$refs.comMessage.showErrorMessage("任务明细未全部完成,不允许部分提交!", res => {
if (res) {
this.openScanPopup();
}
@ -373,7 +375,7 @@
console.log("提交参数", JSON.stringify(params));
// productDismantleJobSubmit(this.id, params).then(res => {
// if (res.data) {
// this.showCommitSuccessMessage("<br>" + res.data.Number, )
// this.showCommitSuccessMessage("\n" + res.data.Number, )
// } else {
// this.showErrorMessage("[" + res.msg + "]")
// }
@ -430,7 +432,6 @@
})
if (nullLocationList.length > 0) {
//
this.$refs.comMessage.showQuestionMessage("是否把其他的库位都变成默认库位", res => {

13
src/pages/productDismantle/record/productDismantleRecord.vue

@ -180,9 +180,6 @@
this.$forceUpdate();
},
updateData() {
this.calcHandleQty();
},
removeItem(index, item) {
this.detailSource.splice(index, 1)
},
@ -243,7 +240,7 @@
// productDismantleRecordSubmit(params).then(res => {
// uni.hideLoading()
// if (res.data) {
// this.showCommitSuccessMessage("<br>" + res.data, )
// this.showCommitSuccessMessage("\n" + res.data, )
// } else {
// this.showErrorMessage("[" + res.msg + "]")
// }
@ -276,14 +273,6 @@
if (res) {}
});
},
showErrorMessage(message) {
this.$refs.comMessage.showErrorMessage(message, res => {
if (res) {
}
});
},
showScanMessage(message) {
this.$refs.comMessage.showScanMessage(message);
},

Loading…
Cancel
Save