diff --git a/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts b/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts index c984c0959..7dc06c185 100644 --- a/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts +++ b/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts @@ -691,4 +691,7 @@ export const PreparetoissueDetailRules = reactive({ remark: [ { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], + dueTime: [ + { required: true, message: '请选择截止时间', trigger: 'change' } + ] }) \ No newline at end of file diff --git a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts index e10c5ed24..d7d235a94 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts @@ -162,7 +162,7 @@ export const ProductionMain = useCrudSchemas(reactive([ }, }, { - label: '开始日期', + label: '开始时间', field: 'beginTime', formatter: dateFormatter, detail: { @@ -183,7 +183,7 @@ export const ProductionMain = useCrudSchemas(reactive([ }, }, { - label: '结束日期', + label: '结束时间', field: 'endTime', formatter: dateFormatter, detail: { @@ -276,50 +276,50 @@ export const ProductionMain = useCrudSchemas(reactive([ }, isSearch: true, }, - { - label: '开始时间', - field: 'beginTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - form: { - component: 'DatePicker', - componentProps: { - style: {width: '100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - isForm: false, - }, - { - label: '结束时间', - field: 'endTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - form: { - component: 'DatePicker', - componentProps: { - style: {width: '100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - isForm: false, - }, + // { + // label: '开始时间', + // field: 'beginTime', + // formatter: dateFormatter, + // detail: { + // dateFormat: 'YYYY-MM-DD HH:mm:ss' + // }, + // sort: 'custom', + // table: { + // width: 180 + // }, + // form: { + // component: 'DatePicker', + // componentProps: { + // style: {width: '100%'}, + // type: 'datetime', + // dateFormat: 'YYYY-MM-DD HH:mm:ss', + // valueFormat: 'x', + // } + // }, + // isForm: false, + // }, + // { + // label: '结束时间', + // field: 'endTime', + // formatter: dateFormatter, + // detail: { + // dateFormat: 'YYYY-MM-DD HH:mm:ss' + // }, + // sort: 'custom', + // table: { + // width: 180 + // }, + // form: { + // component: 'DatePicker', + // componentProps: { + // style: {width: '100%'}, + // type: 'datetime', + // dateFormat: 'YYYY-MM-DD HH:mm:ss', + // valueFormat: 'x', + // } + // }, + // isForm: false, + // }, // { // label: '订单号', // field: 'woNumber', @@ -453,10 +453,10 @@ export const ProductionMainRules = reactive({ { required: true, message: '请选择状态', trigger: 'change' } ], beginTime: [ - { required: true, message: '请输入开始日期', trigger: 'blur' } + { required: true, message: '请输入开始时间', trigger: 'blur' } ], endTime: [ - { required: true, message: '请输入结束日期', trigger: 'blur' } + { required: true, message: '请输入结束时间', trigger: 'blur' } ], remark: [ { max: 50, message: '不得超过50个字符', trigger: 'blur' }