Browse Source

隔离移库到库位状态字典回显问题

intex_onlin20250418
张立 2 weeks ago
parent
commit
b359135567
  1. 4
      src/components/TableForm/src/TableForm.vue
  2. 2
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOkTOHOLD/inventorymoveRequestMain.data.ts

4
src/components/TableForm/src/TableForm.vue

@ -561,8 +561,8 @@ const initSelectOptions = (headerItem, row) => {
if (row[headerItem.field + 'InitOptions']) {
return row[headerItem.field + 'InitOptions']
} else {
return headerItem.dictType
? getStrDictOptions(headerItem.dictType)
return headerItem?.tableForm?.initOptions?.length>0
? headerItem.tableForm.initOptions
: headerItem.tableForm.initOptions
}
}

2
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOkTOHOLD/inventorymoveRequestMain.data.ts

@ -900,7 +900,7 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
{
label: '到库存状态',
field: 'toInventoryStatus',
// dictType: DICT_TYPE.INVENTORY_STATUS,
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',

Loading…
Cancel
Save