Browse Source

缺陷:HL-5787记录导出修改

hella_online_20240911
zhaoxuebing 2 months ago
parent
commit
40b31c8fae
  1. 41
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

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

@ -195,6 +195,9 @@ export const ScrapRecordMain = useCrudSchemas(
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '订单号', label: '订单号',
@ -203,6 +206,9 @@ export const ScrapRecordMain = useCrudSchemas(
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: 'Q1通知单号', label: 'Q1通知单号',
@ -262,6 +268,9 @@ export const ScrapRecordMain = useCrudSchemas(
table: { table: {
width: 180 width: 180
}, },
isTable:false,
isForm:false,
isTableForm:false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -337,7 +346,10 @@ export const ScrapRecordMain = useCrudSchemas(
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
} },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '出库事务类型', label: '出库事务类型',
@ -388,7 +400,10 @@ export const ScrapRecordMain = useCrudSchemas(
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
} },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '单据备注', label: '单据备注',
@ -679,25 +694,11 @@ export const ScrapRecordDetail = 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: '单价',
@ -744,6 +745,9 @@ export const ScrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm:false,
isTableForm:false,
}, },
// { // {
// label: '项目代码', // label: '项目代码',
@ -760,6 +764,9 @@ export const ScrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm:false,
isTableForm:false,
}, },
{ {
label: '接口类型', label: '接口类型',

Loading…
Cancel
Save