Browse Source

YT-2257 记录增加取货日期

intex_zhaoxuebing
赵雪冰 5 days ago
parent
commit
50fca2ebd0
  1. 65
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts

65
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts

@ -158,6 +158,29 @@ export const SupplierdeliverRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '取货日期',
field: 'schdShipDate',
sort: 'custom',
isDetail: true,
isTable: false,
isTableForm: false,
formatter: dateFormatter2,
form: {
component: 'DatePicker',
componentProps: {
disabled: true,
format: 'YYYY-MM-DD',
valueFormat: 'x',
}
},
table: {
width: 150
},
detail: {
dateFormat:'YYYY-MM-DD'
}
},
{
label: '承运商',
field: 'carrierCode',
@ -623,27 +646,27 @@ export const SupplierdeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}
},
},
{
label: '取货日期',
field: 'pickDate',
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'date',
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
},
},
// {
// label: '取货日期',
// field: 'pickDate',
// formatter: dateFormatter2,
// detail: {
// dateFormat: 'YYYY-MM-DD'
// },
// sort: 'custom',
// table: {
// width: 180
// },
// form: {
// component: 'DatePicker',
// componentProps: {
// style: { width: '100%' },
// type: 'date',
// dateFormat: 'YYYY-MM-DD',
// valueFormat: 'x',
// }
// },
// },
{
label: '生产日期',
field: 'produceDate',

Loading…
Cancel
Save