Browse Source

下线结算

master
陈薪名 12 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} 线 * @returns {Array} 线
*/ */
export const OfflinesettlementRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ export const OfflinesettlementRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
// {
// label: '申请单号',
// field: 'requestNumber',
// sort: 'custom',
// table: {
// width: 150
// },
// isSearch: true
// },
{ {
label: '申请单号', label: '单号',
field: 'requestNumber', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150,
fixed: 'left'
}, },
isSearch: true isSearch: true
}, },
@ -19,7 +29,7 @@ export const OfflinesettlementRecordMain = useCrudSchemas(reactive<CrudSchema[]>
field: 'productReceiptRecordNumber', field: 'productReceiptRecordNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
isSearch: true isSearch: true
}, },
@ -147,21 +157,30 @@ export const OfflinesettlementRecordMain = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '单据号', label: '业务类型',
field: 'number', field: 'businessType',
sort: 'custom',
table: { table: {
width: 150, width: 150
fixed: 'left'
}, },
isSearch: true
}, },
{ {
label: '业务类型', label: '是否可用',
field: 'businessType', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
}, },
{ {
label: '备注', 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