Browse Source

同步 修复master分支的bug复制至海拉分支

master_hella_20240701
chenfang 8 months ago
parent
commit
66d2a48264
  1. 32
      src/views/wms/basicDataManage/orderManage/shift/shift.data.ts
  2. 3
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
  3. 28
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

32
src/views/wms/basicDataManage/orderManage/shift/shift.data.ts

@ -32,28 +32,28 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180,
}, },
form: { form: {
component: 'DatePicker', component: 'TimePicker',
componentProps: { componentProps: {
style: {width:'100%'}, style: {width:'100%'},
type: 'datetime', type: 'time',
dateFormat: 'YYYY-MM-DD HH:mm:ss', dateFormat: 'HH:mm:ss',
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isSearch: true, isSearch: true,
search: { search: {
show: true, show: true,
component: 'DatePicker', component: 'TimePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'HH:mm:ss',
type: 'daterange', type: 'timeSelect',
} }
} }
}, },
@ -63,28 +63,28 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'HH:mm:ss',
}, },
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
}, },
form: { form: {
component: 'DatePicker', component: 'TimePicker',
componentProps: { componentProps: {
style: {width:'100%'}, style: {width:'100%'},
type: 'datetime', type: 'time',
dateFormat: 'YYYY-MM-DD HH:mm:ss', dateFormat: 'HH:mm:ss',
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isSearch: true, isSearch: true,
search: { search: {
show: true, show: true,
component: 'DatePicker', component: 'TimePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'HH:mm:ss',
type: 'daterange', type: 'timeSelect',
} }
} }
}, },

3
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -317,6 +317,9 @@ export const DeliverPlanMainRules = reactive({
customerCode: [ customerCode: [
{ required: true, message: '请选择客户代码', trigger: 'change' } { required: true, message: '请选择客户代码', trigger: 'change' }
], ],
planDate: [
{ required: true, message: '计划日期不能为空', trigger: 'change' }
],
available: [ available: [
{ required: true, message: '请选择是否可用', trigger: 'change' } { required: true, message: '请选择是否可用', trigger: 'change' }
], ],

28
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

@ -251,6 +251,20 @@ export const DemandforecastingMainRules = reactive({
* @returns {Array} * @returns {Array}
*/ */
export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 180
},
isTableForm: false,
form: {
componentProps: {
disbaled: true
}
}
},
{ {
label: '预测时间类型', label: '预测时间类型',
field: 'predictTimeType', field: 'predictTimeType',
@ -387,20 +401,6 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
}] }]
} }
}, },
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 180
},
isTableForm: false,
form: {
componentProps: {
disbaled: true
}
}
},
{ {
label: '物料代码', label: '物料代码',
field: 'itemCode', field: 'itemCode',

Loading…
Cancel
Save