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: '承运商', label: '承运商',
field: 'carrierCode', field: 'carrierCode',
@ -623,27 +646,27 @@ export const SupplierdeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
}, },
{ // {
label: '取货日期', // label: '取货日期',
field: 'pickDate', // field: 'pickDate',
formatter: dateFormatter2, // formatter: dateFormatter2,
detail: { // detail: {
dateFormat: 'YYYY-MM-DD' // dateFormat: 'YYYY-MM-DD'
}, // },
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 180 // width: 180
}, // },
form: { // form: {
component: 'DatePicker', // component: 'DatePicker',
componentProps: { // componentProps: {
style: { width: '100%' }, // style: { width: '100%' },
type: 'date', // type: 'date',
dateFormat: 'YYYY-MM-DD', // dateFormat: 'YYYY-MM-DD',
valueFormat: 'x', // valueFormat: 'x',
} // }
}, // },
}, // },
{ {
label: '生产日期', label: '生产日期',
field: 'produceDate', field: 'produceDate',

Loading…
Cancel
Save