From 639ab5417e3d49f01c4071bccec793f3887e6b9e Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Wed, 11 Sep 2024 14:03:09 +0800 Subject: [PATCH] =?UTF-8?q?HL-5886=20=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../strategy/batchStrategy/AddForm.vue | 3 +++ .../strategy/downShelfStrategy/AddForm.vue | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue index 3669803a3..52ce1571f 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue @@ -440,6 +440,9 @@ const open = async (type: string, strategyCode: string, id?: number) => { } if (data.configuration) { formData.value.configuration = JSON.parse(data.configuration) + if(!formData.value.configuration.ManagementPrecision){ + formData.value.configuration.ManagementPrecision = [] + } } // 判断是获取客户列表还是供应上列表 if (formData.value.condition[0].ParamCode == 'SupplierCode') { diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue index bd3342a71..8f32d6a8b 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue @@ -1150,17 +1150,17 @@ const open = async (type: string, strategyCode: string, id?: number) => { formData.value.description = data.description formData.value.priority = data.priority formData.value.status = data.status == 0 ? true : false - if (formData.value.priority == 0) { - Butttondata.value = [ - defaultButtons.formSaveBtn({ disabled: true }), // 保存 - defaultButtons.formCloseBtn(null) // 关闭 - ] - } else { + // if (formData.value.priority == 0) { + // Butttondata.value = [ + // defaultButtons.formSaveBtn({ disabled: true }), // 保存 + // defaultButtons.formCloseBtn(null) // 关闭 + // ] + // } else { Butttondata.value = [ defaultButtons.formSaveBtn(null), // 保存 defaultButtons.formCloseBtn(null) // 关闭 ] - } + // } if (data.condition) { formData.value.condition = JSON.parse(data.condition) formData.value.condition.forEach((item, index) => {