diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts index 753c0fa35..7d06a9c15 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts @@ -195,6 +195,9 @@ export const ScrapRecordMain = useCrudSchemas( table: { width: 150 }, + isTable:false, + isForm:false, + isTableForm:false, }, { label: '订单号', @@ -203,6 +206,9 @@ export const ScrapRecordMain = useCrudSchemas( table: { width: 150 }, + isTable:false, + isForm:false, + isTableForm:false, }, { label: 'Q1通知单号', @@ -262,6 +268,9 @@ export const ScrapRecordMain = useCrudSchemas( table: { width: 180 }, + isTable:false, + isForm:false, + isTableForm:false, form: { component: 'DatePicker', componentProps: { @@ -337,7 +346,10 @@ export const ScrapRecordMain = useCrudSchemas( sort: 'custom', table: { width: 150 - } + }, + isTable:false, + isForm:false, + isTableForm:false, }, { label: '出库事务类型', @@ -388,7 +400,10 @@ export const ScrapRecordMain = useCrudSchemas( sort: 'custom', table: { width: 150 - } + }, + isTable:false, + isForm:false, + isTableForm:false, }, { label: '单据备注', @@ -679,25 +694,11 @@ export const ScrapRecordDetail = useCrudSchemas(reactive([ }, }, { - label: '原因', + label: '报废原因', field: 'reason', - dictType: DICT_TYPE.SCRAP_REASON, - dictClass: 'string', - formatter: (_: Recordable, __: TableColumn, cellValue: number) => { - return cellValue - }, table: { width: 150 }, - form: { - componentProps: { - filterable: true - } - }, - tableForm: { - type: 'Select', - filterable: true - } }, { label: '单价', @@ -744,6 +745,9 @@ export const ScrapRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTable:false, + isForm:false, + isTableForm:false, }, // { // label: '项目代码', @@ -760,6 +764,9 @@ export const ScrapRecordDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTable:false, + isForm:false, + isTableForm:false, }, { label: '接口类型',