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: {
width: 150
},
isForm:false,
isTable:false,
form: {
componentProps: {
disabled: true
@ -281,6 +283,8 @@ export const ScrapRequestMain = useCrudSchemas(
label: '工作中心',
field: 'workCenter',
sort: 'custom',
isTable:false,
isForm:false,
table: {
width: 150
},
@ -289,9 +293,32 @@ export const ScrapRequestMain = useCrudSchemas(
label: '订单号',
field: 'orderNumber',
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: {
width: 150
},
form: {
componentProps: {
filterable: true
}
},
tableForm: {
type: 'Select',
filterable: true
}
},
{
label: 'Q1通知单号',
@ -480,6 +507,9 @@ export const ScrapRequestMain = useCrudSchemas(
table: {
width: 180
},
isTable:false,
isForm:false,
isTableForm:false,
form: {
component: 'DatePicker',
componentProps: {
@ -620,6 +650,8 @@ export const ScrapRequestMain = useCrudSchemas(
label: '通知单描述',
field: 'noticeRemark',
sort: 'custom',
isForm:false,
isTable:false,
table: {
width: 150
}
@ -630,7 +662,10 @@ export const ScrapRequestMain = useCrudSchemas(
sort: 'custom',
table: {
width: 150
}
},
isTable:false,
isForm:false,
isTableForm:false
},
{
label: '自动提交',
@ -1023,13 +1058,13 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber',
componentProps: {
min: 0,
precision: 6
precision: 2
}
},
tableForm: {
type: 'InputNumber',
min: 0,
precision: 6
precision: 2
}
},
{
@ -1124,28 +1159,17 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
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: '项目订单号',
field: 'projectOrderNumber',
sort: 'custom',
isTable:false,
isForm:false,
isTableForm:false,
table: {
width: 150
},
@ -1159,6 +1183,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
isTableForm: false,
isForm: false,
isTable:false,
},
{
label: '项目代码',
@ -1174,6 +1199,9 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '明细备注',
field: 'remark',
sort: 'custom',
isTable:false,
isForm:false,
isTableForm:false,
table: {
width: 150
},

Loading…
Cancel
Save