Browse Source

回退上个问题

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

6
src/components/TableForm/src/TableForm.vue

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

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

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

Loading…
Cancel
Save