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: [
{ 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',
formatter: dateFormatter,
detail: {
@ -183,7 +183,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '结束日期',
label: '结束时间',
field: 'endTime',
formatter: dateFormatter,
detail: {
@ -276,50 +276,50 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
},
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' }

Loading…
Cancel
Save