Browse Source

HL-5769上架策略点编辑按钮,规则配置中配置库区或仓库的字段不显示

hella_online_20240904
yufei_wang 3 months ago
parent
commit
9d93d144eb
  1. 2
      src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue

2
src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue

@ -1090,7 +1090,7 @@ const open = async (type: string, strategyCode: string, id?: number) => {
if (data.condition) { if (data.condition) {
formData.value.condition = JSON.parse(data.condition) formData.value.condition = JSON.parse(data.condition)
formData.value.condition.forEach((item, index) => { formData.value.condition.forEach((item, index) => {
if ((item.Operator == 'IN' || item.Operator == 'NOT IN')&& Array.isArray(item.Value)) { if ((item.Operator == 'IN' || item.Operator == 'NOT IN')&& !Array.isArray(item.Value)) {
item.Value = item.Value.split(',') item.Value = item.Value.split(',')
} }
}) })

Loading…
Cancel
Save