陈薪名 9 months ago
parent
commit
115b00b8c0
  1. 3
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
  2. 23
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

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

@ -244,6 +244,9 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
export const DeliverPlanMainRules = reactive({ 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' }

23
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -48,6 +48,29 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '送达日期',
field: 'deliveryDate',
isTable: true,
isForm: true,
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',
}
}
},
{ {
label: '时间窗口', label: '时间窗口',
field: 'timeWindow', field: 'timeWindow',

Loading…
Cancel
Save