From 00214066cda126925f1d6fee370311bffa478357 Mon Sep 17 00:00:00 2001 From: x_z Date: Thu, 30 Mar 2023 11:38:49 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E5=BA=93=E5=AD=98=E9=A2=84?= =?UTF-8?q?=E8=AD=A6=E8=AE=BE=E7=BD=AE=E5=92=8C=E5=8D=95=E6=8D=AE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basic/busType/bussinessTypeModify.vue | 8 +++- src/views/remind/addInvRemindSetDialog.vue | 38 ++++++++----------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/views/basic/busType/bussinessTypeModify.vue b/src/views/basic/busType/bussinessTypeModify.vue index 7576dae..bb46f79 100644 --- a/src/views/basic/busType/bussinessTypeModify.vue +++ b/src/views/basic/busType/bussinessTypeModify.vue @@ -206,7 +206,8 @@
- +
@@ -1183,6 +1184,11 @@ export default { // if (this.inputQuery.mainAction != 'WareHouseIn') { // this.inputQuery.actionType = null // } + + // 联动修改允许手动输入客户信息值 + if (this.inputQuery.corpType != 1 || this.inputQuery.mainAction != "WarehouseOut") { + this.inputQuery.genUnit = false; + } }, // 单据类型高级设置弹窗 diff --git a/src/views/remind/addInvRemindSetDialog.vue b/src/views/remind/addInvRemindSetDialog.vue index 7fac955..28cbe8b 100644 --- a/src/views/remind/addInvRemindSetDialog.vue +++ b/src/views/remind/addInvRemindSetDialog.vue @@ -79,6 +79,7 @@ 0) { - this.combineProductList.forEach((item) => { + if (this.multipleSelection.length > 0) { + this.multipleSelection.forEach((item) => { relIdList.push(item.relIdFk); }); + } else { + this.$message.error("请选择需要预警的产品"); + return; } //添加预警设置 let params = { + lowStock: this.formData.lowStock, + lackStock: this.formData.lackStock, + overStock: this.formData.overStock, + expireDate: this.formData.expireDate, + recentDate: this.formData.recentDate, deptCode: this.formData.deptCode, invCode: this.formData.invCode, invSpaceCode: this.formData.invSpaceCode, @@ -280,8 +289,6 @@ export default { this.productTotal = 0; }, getInvProductList() { - debugger - console.log(this.productQuery.invCode+"---------"); getInvProduct(this.productQuery).then((res) => { if (res.code === 20000) { this.productList = res.data.list || []; @@ -296,9 +303,6 @@ export default { this.productTotal = 0; }) }, - removeProduct(index) { - this.combineProductList.splice(index, 1); - }, onReset() { this.productQuery = { invCode: this.formData.invCode, @@ -318,16 +322,6 @@ export default { handleSelectionChange(val) { this.multipleSelection = val; }, - combine() { - if (this.multipleSelection.length === 0) { - this.$message.warning("请选择需要添加预警的产品!"); - return; - } - this.productVisible = false; - this.multipleSelection.forEach((item) => { - this.combineProductList.push(item); - }); - }, }, created() { this.getInvList();