@@ -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/basic/corpMaintain/corpMaintain.vue b/src/views/basic/corpMaintain/corpMaintain.vue
index ec97c4b..cfb1174 100644
--- a/src/views/basic/corpMaintain/corpMaintain.vue
+++ b/src/views/basic/corpMaintain/corpMaintain.vue
@@ -362,6 +362,7 @@ export default {
this.formName = "update";
this.spellUpdate = true;
this.editQuery = row;
+ this.resetForm();
} else {
this.editQuery = {
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();