From 0a32b4f8c6d9c430e0441215428d36a721fede13 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Fri, 5 Jul 2024 13:23:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91=E8=B4=A7?= =?UTF-8?q?=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliverRequestMain.data.ts | 130 +++++++++++------- 1 file changed, 79 insertions(+), 51 deletions(-) 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',