diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts index b579f0938..fe8b22b0b 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts @@ -681,6 +681,86 @@ export const UnplannedreceiptRequestMainRules = reactive({ ], }) +export const ItembasicShow = useCrudSchemas( +   reactive([ + { + label: '品番', + field: 'code', + sort: 'custom', + isSearch: true, + table: { + }, + }, + + { + label: '品名', + field: 'name', + sort: 'custom', + isSearch: true, + table: { + }, + }, + { + label: '描述1', + field: 'desc1', + sort: 'custom', + table: { + } , + // isTableForm:false + }, + { + label: '描述2', + field: 'desc2', + sort: 'custom', + table: { + } , + }, + { + label: '物料状态', + field: 'status', + sort: 'custom', + dictType: DICT_TYPE.ITEM_STATUS, + dictClass: 'string', + isSearch: true, + isTable: true, + table: { + } + }, + { + label: '计量单位', + field: 'uom', + sort: 'custom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', + isSearch: true, + isTable: true, + table: { + } + }, + { + label: '种类', + field: 'category', + sort: 'custom', + dictType: DICT_TYPE.ITEM_CATEGORY, + dictClass: 'string', + isTable: false, + isDetail:false, + table: { + } , + }, + { + label: '类型', + field: 'type', + sort: 'custom', + dictType: DICT_TYPE.ITEM_TYPE, + dictClass: 'string', + isTable: true, + table: { + } , + }, +   ]) + ) + /** * @returns {Array} 计划外入库申请子表 */ @@ -713,7 +793,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive