From 0fa6deb956c4df4e9fe2ad3f4605cf4c0e584555 Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Wed, 11 Sep 2024 08:55:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E5=BC=80=E7=A5=A8=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/supplierinvoiceRequestDetail/index.ts | 4 +- .../supplierinvoiceInvoiced.data.ts | 56 ++++++++++++------- 2 files changed, 38 insertions(+), 22 deletions(-) diff --git a/src/api/wms/supplierinvoiceRequestDetail/index.ts b/src/api/wms/supplierinvoiceRequestDetail/index.ts index f20a6fe16..cab62a1d5 100644 --- a/src/api/wms/supplierinvoiceRequestDetail/index.ts +++ b/src/api/wms/supplierinvoiceRequestDetail/index.ts @@ -44,9 +44,9 @@ export const getPoNumberPoLineInfo = async (params) => { if (params.isSearch) { delete params.isSearch const data = {...params} - return await request.post({ url: `/wms/supplierinvoice-request-detail/getPoNumbersenior`, data}) + return await request.post({ url: `/wms/supplierinvoice-request-detail/getInvoicedSenior`, data}) }else{ - return await request.get({ url: `/wms/supplierinvoice-request-detail/getPoNumberPoLineInfo`, params}) + return await request.get({ url: `/wms/supplierinvoice-request-detail/getInvoicedPage`, params}) } } diff --git a/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts b/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts index df6ed9b46..51a203719 100644 --- a/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts +++ b/src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts @@ -143,25 +143,25 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive([ } }, - { - label: '发票申请状态', - field: 'requestStatus', - dictType: DICT_TYPE.INVOICE_REQUEST_STATUS, - dictClass: 'string', - isTable: true, - isForm:false, - sort: 'custom', - table: { - width: 150 - }, - isSearch: false, - form: { - value: '1', - componentProps: { - disabled: true - } - } - }, + // { + // label: '发票申请状态', + // field: 'requestStatus', + // dictType: DICT_TYPE.INVOICE_REQUEST_STATUS, + // dictClass: 'string', + // isTable: true, + // isForm:false, + // sort: 'custom', + // table: { + // width: 150 + // }, + // isSearch: false, + // form: { + // value: '1', + // componentProps: { + // disabled: true + // } + // } + // }, { @@ -181,13 +181,29 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive([ }, }, { - label: '可开票数量', + label: '票据总数', field: 'invoicableQuantity', sort: 'custom', table: { width: 150 }, }, + { + label: '实际开票数量', + field: 'issuedInvoicableQuantity', + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '可开票数量', + field: 'invoiceAvailableQuantity', + sort: 'custom', + table: { + width: 150 + }, + }, { label: '零件号', field: 'itemCode',