Browse Source

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

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

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

@ -371,11 +371,14 @@ const changeTabs = (item) => {
tabsExtend.value = false
allSchemas.value = Itembasic.allSchemas
}
detailAllSchemas.value.tableColumns.map((item,index) => {
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',

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

@ -1241,8 +1241,10 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.condition = JSON.parse(data.condition)
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.ParamCode != 'WarehouseCode' && item.ParamCode != 'AreaCode' && item.ParamCode != 'LocationGroupCode' && item.ParamCode != 'LocationCode') {
if (item.Value) {
item.Value = item.Value.split(',')
}
}
}
})

Loading…
Cancel
Save