From 834b78104530e3cdc488c69e88b03e190dd9a8b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Sun, 9 Jun 2024 18:24:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E5=BC=80=E7=A5=A8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceInvoiced/index.vue | 2 +- .../supplierinvoiceInvoiced.data.ts | 74 ++++++++++--------- 2 files changed, 39 insertions(+), 37 deletions(-) diff --git a/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue b/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue index f25e4cbdb..8eb82cd74 100644 --- a/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue +++ b/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue @@ -109,7 +109,7 @@ const { getList, setSearchParams } = tableMethods const HeadButttondata = [ // defaultButtons.defaultAddBtn({hasPermi:'wms:supplierinvoice-invoiced:create'}), // 新增 // defaultButtons.defaultImportBtn({hasPermi:'wms:supplierinvoice-invoiced:import'}), // 导入 - // defaultButtons.defaultExportBtn({hasPermi:'wms:supplierinvoice-invoiced:export'}), // 导出 + defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置 diff --git a/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts b/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts index 89c1358c3..bc0f16f29 100644 --- a/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts +++ b/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts @@ -10,6 +10,40 @@ export const SupplierinvoiceInvoicedRules = reactive({ }) export const SupplierinvoiceInvoiced = useCrudSchemas(reactive([ + { + label: '供应商代码', + field: 'supplierCode', + sort: 'custom', + isSearch: true, + table: { + width: 150 + }, + }, + { + label: '订单号', + field: 'poNumber', + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '物流单据号', + field: 'recvBillNum', + sort: 'custom', + isSearch: true, + table: { + width: 150 + }, + }, + { + label: '发货单号', + field: 'asnBillNum', + sort: 'custom', + table: { + width: 150 + }, + }, { label: '供应商送货日期', field: 'supplierDeliveryTime', @@ -38,9 +72,10 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive([ isForm: false, }, { - label: '物流收货日期', - field: 'logisticsReceiptTime', + label: '收货日期', + field: 'prhRcpDate', sort: 'custom', + isSearch: true, formatter: dateFormatter2, search: { component: 'DatePicker', @@ -85,40 +120,7 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive([ width: 150 }, }, - { - label: '供应商代码', - field: 'supplierCode', - sort: 'custom', - isSearch: true, - table: { - width: 150 - }, - }, - { - label: '订单号', - field: 'poNumber', - sort: 'custom', - table: { - width: 150 - }, - }, - { - label: '物流单据号', - field: 'recvBillNum', - sort: 'custom', - isSearch: true, - table: { - width: 150 - }, - }, - { - label: '发货单号', - field: 'asnBillNum', - sort: 'custom', - table: { - width: 150 - }, - }, + { label: '状态', field: 'status',