Browse Source

HL-6187任务和记录

hella_online_20241017
王宇飞 4 months ago
parent
commit
2357112a08
  1. 55
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
  2. 55
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

55
src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts

@ -186,24 +186,24 @@ export const ScrapJobMain = useCrudSchemas(
isForm:false, isForm:false,
isTableForm:false, isTableForm:false,
}, },
{ // {
label: '出库原因', // label: '出库原因',
field: 'outboundReason', // field: 'outboundReason',
dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON, // dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON,
dictClass: 'string', // dictClass: 'string',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
componentProps: { // componentProps: {
filterable: true // filterable: true
} // }
}, // },
tableForm: { // tableForm: {
type: 'Select', // type: 'Select',
filterable: true // filterable: true
} // }
}, // },
{ {
label: 'Q1通知单号', label: 'Q1通知单号',
field: 'q1Number', field: 'q1Number',
@ -922,6 +922,25 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '报废原因', label: '报废原因',
field: 'reason', field: 'reason',
dictType: DICT_TYPE.SCRAP_REASON,
dictClass: 'string',
isForm: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select',
filterable:true
},
},
{
label: '备注',
field: 'remark',
isForm: true,
isTable: true,
sort: 'custom',
table: { table: {
width: 150 width: 150
}, },

55
src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

@ -141,24 +141,24 @@ export const ScrapRecordMain = useCrudSchemas(
} }
} }
}, },
{ // {
label: '出库原因', // label: '出库原因',
field: 'outboundReason', // field: 'outboundReason',
dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON, // dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON,
dictClass: 'string', // dictClass: 'string',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
componentProps: { // componentProps: {
filterable: true // filterable: true
} // }
}, // },
tableForm: { // tableForm: {
type: 'Select', // type: 'Select',
filterable: true // filterable: true
} // }
}, // },
{ {
label: '项目代码', label: '项目代码',
field: 'projectCode', field: 'projectCode',
@ -705,6 +705,25 @@ export const ScrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '报废原因', label: '报废原因',
field: 'reason', field: 'reason',
dictType: DICT_TYPE.SCRAP_REASON,
dictClass: 'string',
isForm: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select',
filterable:true
},
},
{
label: '备注',
field: 'remark',
isForm: true,
isTable: true,
sort: 'custom',
table: { table: {
width: 150 width: 150
}, },

Loading…
Cancel
Save