Browse Source

YT-1058上架策略规则条件中的物料类型和ABC类回显不正确

intex
zhang_li 1 week ago
parent
commit
3448975c17
  1. 3
      src/views/wms/basicDataManage/itemManage/itembasic/index.vue
  2. 2
      src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue

3
src/views/wms/basicDataManage/itemManage/itembasic/index.vue

@ -371,11 +371,14 @@ const changeTabs = (item) => {
tabsExtend.value = false
allSchemas.value = Itembasic.allSchemas
}
if (detailAllSchemas.value && detailAllSchemas.value.tableColumns) {
detailAllSchemas.value.tableColumns.map((item,index) => {
if (item.field == 'action') {
detailAllSchemas.value.tableColumns.splice(index,1)
}
})
}
//
tableObjectExtend.value = [{
key: 'itemCode',

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

@ -1242,9 +1242,11 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.condition.forEach((item, index) => {
if ((item.Operator == 'IN' || item.Operator == 'NOT IN')&& !Array.isArray(item.Value)) {
if (item.ParamCode != 'WarehouseCode' && item.ParamCode != 'AreaCode' && item.ParamCode != 'LocationGroupCode' && item.ParamCode != 'LocationCode') {
if (item.Value) {
item.Value = item.Value.split(',')
}
}
}
})
}
if (data.configuration) {

Loading…
Cancel
Save