Browse Source

下线结算

master
陈薪名 11 months ago
parent
commit
5f575cbcf3
  1. 63
      src/views/wms/productionManage/offlinesettlement/offlinesettlementRecordMain/offlinesettlementRecordMain.data.ts

63
src/views/wms/productionManage/offlinesettlement/offlinesettlementRecordMain/offlinesettlementRecordMain.data.ts

@ -5,12 +5,22 @@ import { dateFormatter } from '@/utils/formatTime'
* @returns {Array} 线
*/
export const OfflinesettlementRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
// {
// label: '申请单号',
// field: 'requestNumber',
// sort: 'custom',
// table: {
// width: 150
// },
// isSearch: true
// },
{
label: '申请单号',
field: 'requestNumber',
label: '单号',
field: 'number',
sort: 'custom',
table: {
width: 150
width: 150,
fixed: 'left'
},
isSearch: true
},
@ -19,7 +29,7 @@ export const OfflinesettlementRecordMain = useCrudSchemas(reactive<CrudSchema[]>
field: 'productReceiptRecordNumber',
sort: 'custom',
table: {
width: 150
width: 180
},
isSearch: true
},
@ -147,21 +157,30 @@ export const OfflinesettlementRecordMain = useCrudSchemas(reactive<CrudSchema[]>
},
},
{
label: '单据号',
field: 'number',
sort: 'custom',
label: '业务类型',
field: 'businessType',
table: {
width: 150,
fixed: 'left'
width: 150
},
isSearch: true
},
{
label: '业务类型',
field: 'businessType',
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '备注',
@ -198,25 +217,7 @@ export const OfflinesettlementRecordMain = useCrudSchemas(reactive<CrudSchema[]>
}
},
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
]))
//表单校验

Loading…
Cancel
Save