Browse Source

缺陷:HL-5787报废出库

hella_online_20240911
zhaoxuebing 3 months ago
parent
commit
66c80fcd85
  1. 62
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

62
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -153,6 +153,8 @@ export const ScrapRequestMain = useCrudSchemas(
table: { table: {
width: 150 width: 150
}, },
isForm:false,
isTable:false,
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: true
@ -281,6 +283,8 @@ export const ScrapRequestMain = useCrudSchemas(
label: '工作中心', label: '工作中心',
field: 'workCenter', field: 'workCenter',
sort: 'custom', sort: 'custom',
isTable:false,
isForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -289,9 +293,32 @@ export const ScrapRequestMain = useCrudSchemas(
label: '订单号', label: '订单号',
field: 'orderNumber', field: 'orderNumber',
sort: 'custom', sort: 'custom',
isTable:false,
isForm:false,
table: {
width: 150
},
},
{
label: '出库原因',
field: 'outboundReason',
dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON,
dictClass: 'string',
formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
return cellValue
},
table: { table: {
width: 150 width: 150
}, },
form: {
componentProps: {
filterable: true
}
},
tableForm: {
type: 'Select',
filterable: true
}
}, },
{ {
label: 'Q1通知单号', label: 'Q1通知单号',
@ -480,6 +507,9 @@ export const ScrapRequestMain = useCrudSchemas(
table: { table: {
width: 180 width: 180
}, },
isTable:false,
isForm:false,
isTableForm:false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -620,6 +650,8 @@ export const ScrapRequestMain = useCrudSchemas(
label: '通知单描述', label: '通知单描述',
field: 'noticeRemark', field: 'noticeRemark',
sort: 'custom', sort: 'custom',
isForm:false,
isTable:false,
table: { table: {
width: 150 width: 150
} }
@ -630,7 +662,10 @@ export const ScrapRequestMain = useCrudSchemas(
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
} },
isTable:false,
isForm:false,
isTableForm:false
}, },
{ {
label: '自动提交', label: '自动提交',
@ -1023,13 +1058,13 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
min: 0, min: 0,
precision: 6 precision: 2
} }
}, },
tableForm: { tableForm: {
type: 'InputNumber', type: 'InputNumber',
min: 0, min: 0,
precision: 6 precision: 2
} }
}, },
{ {
@ -1124,28 +1159,17 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '原因', label: '原因',
field: 'reason', field: 'reason',
dictType: DICT_TYPE.SCRAP_REASON,
dictClass: 'string',
formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
return cellValue
},
table: { table: {
width: 150 width: 150
}, },
form: {
componentProps: {
filterable: true
}
},
tableForm: {
type: 'Select',
filterable: true
}
}, },
{ {
label: '项目订单号', label: '项目订单号',
field: 'projectOrderNumber', field: 'projectOrderNumber',
sort: 'custom', sort: 'custom',
isTable:false,
isForm:false,
isTableForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -1159,6 +1183,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
isTable:false,
}, },
{ {
label: '项目代码', label: '项目代码',
@ -1174,6 +1199,9 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '明细备注', label: '明细备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
isTable:false,
isForm:false,
isTableForm:false,
table: { table: {
width: 150 width: 150
}, },

Loading…
Cancel
Save