Browse Source

本次入库数量超过待收数量是否继续

master
han\hanst 1 week ago
parent
commit
5fb06faeb8
  1. 18
      src/views/modules/recv/recv.vue

18
src/views/modules/recv/recv.vue

@ -462,10 +462,26 @@ export default {
}
},
async receivePo() {
const item = this.recvItem;
if (item.transQty > item.qtyToReceive) {
try {
await this.$confirm(
`本次入库数量(${item.transQty}) ,超过待收数量(${item.qtyToReceive}),是否继续?`,
'数量超出提示',
{
confirmButtonText: '继续',
cancelButtonText: '取消',
type: 'warning'
}
);
} catch (error) {
//
return;
}
}
if (this.fullscreenLoading) return; //
this.loadingText = '提交中...';
this.fullscreenLoading = true;
const item = this.recvItem;
if (!item.transQty || !item.locationNo || !item.batchNo) {
this.fullscreenLoading = false;
return this.$message.error("请填写完整信息");

Loading…
Cancel
Save