Browse Source

备料计划修改

master
陈薪名 10 months ago
parent
commit
a0a4d6e4ab
  1. 3
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts
  2. 96
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

3
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts

@ -691,4 +691,7 @@ export const PreparetoissueDetailRules = reactive({
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
dueTime: [
{ required: true, message: '请选择截止时间', trigger: 'change' }
]
}) })

96
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -162,7 +162,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '开始日期', label: '开始时间',
field: 'beginTime', field: 'beginTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
@ -183,7 +183,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '结束日期', label: '结束时间',
field: 'endTime', field: 'endTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
@ -276,50 +276,50 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true, isSearch: true,
}, },
{ // {
label: '开始时间', // label: '开始时间',
field: 'beginTime', // field: 'beginTime',
formatter: dateFormatter, // formatter: dateFormatter,
detail: { // detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' // dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, // },
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 180 // width: 180
}, // },
form: { // form: {
component: 'DatePicker', // component: 'DatePicker',
componentProps: { // componentProps: {
style: {width: '100%'}, // style: {width: '100%'},
type: 'datetime', // type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss', // dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x', // valueFormat: 'x',
} // }
}, // },
isForm: false, // isForm: false,
}, // },
{ // {
label: '结束时间', // label: '结束时间',
field: 'endTime', // field: 'endTime',
formatter: dateFormatter, // formatter: dateFormatter,
detail: { // detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' // dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, // },
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 180 // width: 180
}, // },
form: { // form: {
component: 'DatePicker', // component: 'DatePicker',
componentProps: { // componentProps: {
style: {width: '100%'}, // style: {width: '100%'},
type: 'datetime', // type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss', // dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x', // valueFormat: 'x',
} // }
}, // },
isForm: false, // isForm: false,
}, // },
// { // {
// label: '订单号', // label: '订单号',
// field: 'woNumber', // field: 'woNumber',
@ -453,10 +453,10 @@ export const ProductionMainRules = reactive({
{ required: true, message: '请选择状态', trigger: 'change' } { required: true, message: '请选择状态', trigger: 'change' }
], ],
beginTime: [ beginTime: [
{ required: true, message: '请输入开始日期', trigger: 'blur' } { required: true, message: '请输入开始时间', trigger: 'blur' }
], ],
endTime: [ endTime: [
{ required: true, message: '请输入结束日期', trigger: 'blur' } { required: true, message: '请输入结束时间', trigger: 'blur' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }

Loading…
Cancel
Save