diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts index a1c199d2f..860ccfe75 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts @@ -68,16 +68,16 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( } } }, - { - label: '发货单号', - field: 'asnNumber', - sort: 'custom', - table: { - width: 150 - }, - isSearch: true, - isForm: true - }, + // { + // label: '发货单号', + // field: 'asnNumber', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isSearch: true, + // isForm: true + // }, { label: '要货计划单号', field: 'ppNumber', @@ -118,26 +118,58 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( } }, { - label: '联系人姓名', - field: 'contactName', + label: '要求到货时间', + field: 'planArriveTime1', + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, sort: 'custom', - isTable:false, table: { - width: 150 + width: 180 + }, + isTable:false, + form: { + component: 'DatePicker', + componentProps: { + style: { width: '100%' }, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } }, }, { - label: '联系人电话', - field: 'contactPhone', + label: '采购订单', + field: 'poNumber', + isForm:true, + isTableForm:false, + }, + { + label: '计划到货时间', + field: 'planArriveTime', + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, sort: 'custom', - isTable:false, table: { - width: 150 + width: 180 + }, + isTable:false, + form: { + component: 'DatePicker', + componentProps: { + style: { width: '100%' }, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } }, }, { - label: '联系人电子邮件', - field: 'contactEmail', + label: '发货联系人姓名', + field: 'contactName', sort: 'custom', isTable:false, table: { @@ -145,20 +177,38 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( }, }, { - label: '供应商发货仓库代码', - field: 'fromWarehouseCode', + label: '发货联系人电话', + field: 'contactPhone', sort: 'custom', isTable:false, table: { width: 150 }, - form: { - componentProps: { - disbaled: true - } - }, - isForm: true }, + // { + // label: '联系人电子邮件', + // field: 'contactEmail', + // sort: 'custom', + // isTable:false, + // table: { + // width: 150 + // }, + // }, + // { + // label: '供应商发货仓库代码', + // field: 'fromWarehouseCode', + // sort: 'custom', + // isTable:false, + // table: { + // width: 150 + // }, + // form: { + // componentProps: { + // disbaled: true + // } + // }, + // isForm: true + // }, { label: '到仓库代码', field: 'toWarehouseCode', @@ -189,29 +239,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( }, isForm: false }, - { - label: '计划到货时间', - field: 'planArriveTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - isTable:false, - form: { - disabled:true, - component: 'DatePicker', - componentProps: { - style: { width: '100%' }, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - }, + { label: '承运商', field: 'carrierCode',