From c247462e015367027091761a66118156794963a6 Mon Sep 17 00:00:00 2001 From: zhangli <2235006734@qq.com> Date: Wed, 25 Oct 2023 19:52:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=9E=B6=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../downShelfStrategy/AddForm copy.vue | 523 ++++++++++++ .../strategy/downShelfStrategy/AddForm.vue | 746 ++++++++++-------- .../wms/strategy/downShelfStrategy/index.vue | 89 ++- .../wms/strategy/upShelfStrategy/AddForm.vue | 9 +- 4 files changed, 1028 insertions(+), 339 deletions(-) create mode 100644 src/views/wms/strategy/downShelfStrategy/AddForm copy.vue diff --git a/src/views/wms/strategy/downShelfStrategy/AddForm copy.vue b/src/views/wms/strategy/downShelfStrategy/AddForm copy.vue new file mode 100644 index 000000000..419a7ef11 --- /dev/null +++ b/src/views/wms/strategy/downShelfStrategy/AddForm copy.vue @@ -0,0 +1,523 @@ + + + + + + + 规则 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 规则条件 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 规则配置 + + + + + + + + + + + + + + + + + + + {{ + item.label }} + + + + + + + + + + {{ item.label + }} + + + + + + + + + + {{ item.label + }} + + + + + + + + + + {{ item.label + }} + + + + + + + + + + {{ item.label + }} + + + + + + + + + + + + + + + + {{ + item.label + }} + + + + + + + + + + + + + + + + + + + + 小时 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/wms/strategy/downShelfStrategy/AddForm.vue b/src/views/wms/strategy/downShelfStrategy/AddForm.vue index 419a7ef11..468ee08b1 100644 --- a/src/views/wms/strategy/downShelfStrategy/AddForm.vue +++ b/src/views/wms/strategy/downShelfStrategy/AddForm.vue @@ -1,15 +1,15 @@ - + - - - 规则 - + + + + 规则 - - + + @@ -18,8 +18,8 @@ - - + + @@ -33,240 +33,211 @@ - - - - - 规则条件 - - - - - - - + + + + + + 规则条件 + + + + + + - - + + - - + + - - - - - + + + - - + + - - + + - - - - - - - + + - - + + + + + + + + - - + + + - - - - - - + + + + - - + + - - - - - - + + + + - - + + - - - - - - - - - + + + + + - - - - - 规则配置 - - - - - - - + + + + + 规则配置 + + + + + + - - + + - - - - + + - - {{ - item.label }} + + {{ + cur.label }} - - - - + + - - {{ item.label - }} + + {{ + cur.label }} - - - - + + - - {{ item.label - }} + + {{ + cur.label }} - - - - + + - - {{ item.label - }} + + {{ + cur.label }} - - - - + + - - {{ item.label - }} + + {{ + cur.label }} - - - - - + + + - - - - + + - - {{ - item.label - }} + + {{ cur.label }} - - - - - + + + + - - - - - + + + - - - - - 小时 + + + 小时 - - - - - + + + - - - - - + + + - - - - - + + + - - + + @@ -276,7 +247,17 @@ diff --git a/src/views/wms/strategy/upShelfStrategy/AddForm.vue b/src/views/wms/strategy/upShelfStrategy/AddForm.vue index c365c722a..711e4873f 100644 --- a/src/views/wms/strategy/upShelfStrategy/AddForm.vue +++ b/src/views/wms/strategy/upShelfStrategy/AddForm.vue @@ -231,7 +231,7 @@ const formData = ref({ ], configuration: [ // 仓库 - { ParamCode: 'WarehouseCode', Value: "" }, + { ParamCode: 'LocationCode', Value: "" }, // 优先空库位 { ParamCode: 'EmptyLocationFirst', Value: false }, // 优先非空库位 @@ -323,22 +323,19 @@ const changeCalculation = () => { const getFormWarehouseList = async () => { options.warehouseList = await getWarehouseList(); } -getFormWarehouseList() // 获取库区列表 const getFormAreaList = async () => { options.warehouseList = await getAreaList(); } -getFormWarehouseList() // 获取库位组列表 const getFormLocationgrouList = async () => { options.warehouseList = await getLocationgroupList(); } -getFormWarehouseList() // 获取库位列表 const getFormLocationList = async () => { options.warehouseList = await getLocationList(); } -getFormWarehouseList() +getFormLocationList() // 选择仓库/库位/库位组/库区 const changeWarehouse = (e) => { formData.value.configuration[0].Value = '' @@ -463,7 +460,7 @@ const resetForm = () => { configuration: [ // 仓库 - { ParamCode: 'WarehouseCode', Value: "" }, + { ParamCode: 'LocationCode', Value: "" }, // 优先空库位 { ParamCode: 'EmptyLocationFirst', Value: false }, // 优先非空库位