From 671b03a8ea8a0643e1278dc13680b8e615c53da2 Mon Sep 17 00:00:00 2001 From: zhangli <2235006734@qq.com> Date: Fri, 27 Oct 2023 17:26:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manageAccuracyStrategy/AddForm copy.vue | 350 +++++++++++++ .../manageAccuracyStrategy/AddForm.vue | 485 +++++++++++------- .../strategy/manageAccuracyStrategy/index.vue | 86 +++- .../repairMaterialStrategy/AddForm.vue | 461 +++++++++++------ .../strategy/repairMaterialStrategy/index.vue | 86 +++- .../storageCapacityStrategy/AddForm.vue | 12 +- .../warehouseStorageStrategy/AddForm.vue | 8 +- 7 files changed, 1105 insertions(+), 383 deletions(-) create mode 100644 src/views/wms/strategy/manageAccuracyStrategy/AddForm copy.vue diff --git a/src/views/wms/strategy/manageAccuracyStrategy/AddForm copy.vue b/src/views/wms/strategy/manageAccuracyStrategy/AddForm copy.vue new file mode 100644 index 000000000..101e0a32f --- /dev/null +++ b/src/views/wms/strategy/manageAccuracyStrategy/AddForm copy.vue @@ -0,0 +1,350 @@ + + + + + + + 规则 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 规则条件 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 规则配置 + + + + + + + + {{ + item.label + }} + + + + + + + + + + + + + + + + diff --git a/src/views/wms/strategy/manageAccuracyStrategy/AddForm.vue b/src/views/wms/strategy/manageAccuracyStrategy/AddForm.vue index 101e0a32f..d09b554c5 100644 --- a/src/views/wms/strategy/manageAccuracyStrategy/AddForm.vue +++ b/src/views/wms/strategy/manageAccuracyStrategy/AddForm.vue @@ -2,14 +2,14 @@ - - - 规则 - - + + + + 规则 + - - + + @@ -18,8 +18,8 @@ - - + + @@ -33,115 +33,112 @@ - - - - - 规则条件 - - - - - - - + + + + + 规则条件 + + + + + + - - + + - - + + - - - - - + + + - - + + - - + + + + + + + + - - - - - - + + + + - - - + + - - + + - - - - - - - - + + + + - - - - - - - - - + + + + + - - - - - 规则配置 - - - - - + + + + 规则配置 + + + + - - {{ - item.label - }} + + {{ cur.label }} - - - + + + + @@ -151,7 +148,16 @@ diff --git a/src/views/wms/strategy/repairMaterialStrategy/AddForm.vue b/src/views/wms/strategy/repairMaterialStrategy/AddForm.vue index 300061e73..9a3d9af40 100644 --- a/src/views/wms/strategy/repairMaterialStrategy/AddForm.vue +++ b/src/views/wms/strategy/repairMaterialStrategy/AddForm.vue @@ -2,14 +2,14 @@ - - - 规则 - - + + + + 规则 + - - + + @@ -18,8 +18,8 @@ - - + + @@ -33,83 +33,97 @@ - - - - - 规则条件 - - - - - - - + + + + + 规则条件 + + + + + + + + + - - + + - - + + + + + - - - - - - + + + + - - - + + - - + + - - - - - 规则配置 - - - - - - + + + + + 规则配置 + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + @@ -119,7 +133,15 @@ + +::v-deep .err-130 .el-form-item__error { + padding-left: 130px !important; +} diff --git a/src/views/wms/strategy/repairMaterialStrategy/index.vue b/src/views/wms/strategy/repairMaterialStrategy/index.vue index 2c78db3f3..8a248ec0f 100644 --- a/src/views/wms/strategy/repairMaterialStrategy/index.vue +++ b/src/views/wms/strategy/repairMaterialStrategy/index.vue @@ -2,27 +2,86 @@ - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/wms/strategy/storageCapacityStrategy/AddForm.vue b/src/views/wms/strategy/storageCapacityStrategy/AddForm.vue index b2f8006bc..ee2003610 100644 --- a/src/views/wms/strategy/storageCapacityStrategy/AddForm.vue +++ b/src/views/wms/strategy/storageCapacityStrategy/AddForm.vue @@ -239,7 +239,7 @@ const options = reactive({ // 选择物品类型/物品分组/abc类/物品/项目 const changeItemsType = () => { - formData.value.condition[1].Value = '' + formData.value.condition[0].Value = '' } // 获取仓库列表 @@ -270,7 +270,7 @@ const queryParms = { getFormLocationList(queryParms) // 选择仓库/库位/库位组/库区 const changeWarehouse = (e) => { - formData.value.condition[0].Value = '' + formData.value.condition[1].Value = '' if (e == 'WarehouseCode') { getFormWarehouseList() } else if (e == 'AreaCode') { @@ -307,13 +307,13 @@ const open = async (type: string, strategyCode: string, id?: number) => { } // 判断是获取仓库/库位/库位组/库区列表 - if (formData.value.configuration[0].ParamCode == 'WarehouseCode') { + if (formData.value.condition[1].ParamCode == 'WarehouseCode') { getFormWarehouseList() - } else if (formData.value.configuration[0].ParamCode == 'AreaCode') { + } else if (formData.value.condition[1].ParamCode == 'AreaCode') { getFormAreaList() - } else if (formData.value.configuration[0].ParamCode == 'LocationGroupCode') { + } else if (formData.value.condition[1].ParamCode == 'LocationGroupCode') { getFormLocationgrouList() - } else if (formData.value.configuration[0].ParamCode == 'LocationCode') { + } else if (formData.value.condition[1].ParamCode == 'LocationCode') { getFormLocationList() } } finally { diff --git a/src/views/wms/strategy/warehouseStorageStrategy/AddForm.vue b/src/views/wms/strategy/warehouseStorageStrategy/AddForm.vue index d866edb66..0296448b9 100644 --- a/src/views/wms/strategy/warehouseStorageStrategy/AddForm.vue +++ b/src/views/wms/strategy/warehouseStorageStrategy/AddForm.vue @@ -314,13 +314,13 @@ const open = async (type: string, strategyCode: string, id?: number) => { } // 判断是获取仓库/库位/库位组/库区列表 - if (formData.value.configuration[0].ParamCode == 'WarehouseCode') { + if (formData.value.condition[0].ParamCode == 'WarehouseCode') { getFormWarehouseList() - } else if (formData.value.configuration[0].ParamCode == 'AreaCode') { + } else if (formData.value.condition[0].ParamCode == 'AreaCode') { getFormAreaList() - } else if (formData.value.configuration[0].ParamCode == 'LocationGroupCode') { + } else if (formData.value.condition[0].ParamCode == 'LocationGroupCode') { getFormLocationgrouList() - } else if (formData.value.configuration[0].ParamCode == 'LocationCode') { + } else if (formData.value.condition[0].ParamCode == 'LocationCode') { getFormLocationList() } } finally {