Browse Source

YT-501成品发货提示错误,应该是:不允许大于任务数量

intex_online20241111
zhang_li 1 month ago
parent
commit
ab9d82426d
  1. 2
      src/mycomponents/qty/qtyEdit.vue
  2. 4
      src/pages/purchaseReceipt/job/receiptDetail.vue

2
src/mycomponents/qty/qtyEdit.vue

@ -120,7 +120,7 @@
this.allQty = balanceQty;
})
} else if (this.allQty > balanceQty) {
this.$refs.comMessage.showConfirmWarningModal('数量[' + this.allQty + ']不允许大于库存数量[' + balanceQty + ']',
this.$refs.comMessage.showConfirmWarningModal('数量[' + this.allQty + ']不允许大于任务数量[' + balanceQty + ']',
res => {
this.allQty = balanceQty;
})

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

@ -669,6 +669,8 @@
this.managementList = res.list;
var params = this.setParams();
let that = this
console.log(params)
// return
purchaseReceiptJobSubmit(params).then(res => {
if (res.data) {
let isCheckPrint = getSwitchInfoByCode(this.switchCode)//
@ -790,6 +792,7 @@
pack.handleQty = 0
}
})
detail.toLocationCode = this.toLocationCode
var info = getPackingNumberAndBatch(this.managementList, detail.itemCode,
detail.packingNumber, detail.batch);
detail.toPackingNumber = info.packingNumber;
@ -863,6 +866,7 @@
})
})
this.scanCount = getScanCount(this.detailSource);
calcHandleQty(this.detailSource);
} else {
this.$refs.comMessage.showQuestionMessage("是否要关闭整单收货?", res => {

Loading…
Cancel
Save