Browse Source

Merge branch 'intex' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into intex

intex_onlin20250418
songguoqiang 1 week ago
parent
commit
46d3258f95
  1. 4
      src/components/TableForm/src/TableForm.vue
  2. 40
      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']) { if (row[headerItem.field + 'InitOptions']) {
return row[headerItem.field + 'InitOptions'] return row[headerItem.field + 'InitOptions']
} else { } else {
return headerItem.dictType return headerItem?.tableForm?.initOptions?.length>0
? getStrDictOptions(headerItem.dictType) ? headerItem.tableForm.initOptions
: headerItem.tableForm.initOptions : headerItem.tableForm.initOptions
} }
} }

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

@ -788,25 +788,25 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
} }
}, },
{ // {
label: '从库位代码', // label: '从库位代码',
field: 'fromLocationCode', // field: 'fromLocationCode',
sort: 'custom', // sort: 'custom',
isTable:false, // isTable:false,
isForm:false, // isForm:false,
isDetail:false, // isDetail:false,
table: { // table: {
width: 150 // width: 150
}, // },
tableForm: { // tableForm: {
disabled: true // disabled: true
}, // },
form: { // form: {
componentProps: { // componentProps: {
disabled: true // disabled: true
} // }
} // }
}, // },
{ {
label: '到库位代码', label: '到库位代码',
field: 'toLocationCode', field: 'toLocationCode',
@ -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