Browse Source

补料消耗导入

intex_online_yejiaxing
叶佳兴 1 week ago
parent
commit
d02f3202b4
  1. 36
      src/views/wms/issueManage/repleinshItemCodeConsumeRecord/repleinshItemCodeConsumeRecord.data.ts

36
src/views/wms/issueManage/repleinshItemCodeConsumeRecord/repleinshItemCodeConsumeRecord.data.ts

@ -1,5 +1,5 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime' import { dateFormatter, dateFormatter2 } from '@/utils/formatTime'
// 表单校验 // 表单校验
export const RepleinshItemCodeConsumeRecordRules = reactive({ export const RepleinshItemCodeConsumeRecordRules = reactive({
@ -23,11 +23,11 @@ export const RepleinshItemCodeConsumeRecord = useCrudSchemas(reactive<CrudSchema
field: 'qty', field: 'qty',
sort: 'custom', sort: 'custom',
}, },
{ // {
label: '单位', // label: '单位',
field: 'uom', // field: 'uom',
sort: 'custom', // sort: 'custom',
}, // },
{ {
label: '车间代码', label: '车间代码',
field: 'workshop', field: 'workshop',
@ -87,6 +87,19 @@ export const RepleinshItemCodeConsumeRecord = useCrudSchemas(reactive<CrudSchema
} }
}, },
}, },
{
label: '日期',
field: 'deliDate',
sort: 'custom',
formatter: dateFormatter2,
isForm: false
},
{
label: '便次',
field: 'deliNo',
sort: 'custom',
isSearch: true
},
{ {
label: '业务类型', label: '业务类型',
field: 'businessType', field: 'businessType',
@ -120,6 +133,15 @@ export const RepleinshItemCodeConsumeRecord = useCrudSchemas(reactive<CrudSchema
// field: 'available', // field: 'available',
// sort: 'custom', // sort: 'custom',
// }, // },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isForm: false
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -140,7 +162,7 @@ export const RepleinshItemCodeConsumeRecord = useCrudSchemas(reactive<CrudSchema
valueFormat: 'x' valueFormat: 'x'
} }
} }
}, }
// { // {
// label: '操作', // label: '操作',
// field: 'action', // field: 'action',

Loading…
Cancel
Save