From 2e210a0527c1927460204509442566b3577c5957 Mon Sep 17 00:00:00 2001 From: zhang_li Date: Wed, 16 Jul 2025 08:39:42 +0800 Subject: [PATCH] =?UTF-8?q?YT-2863=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E7=94=B3=E8=AF=B7=E5=92=8C=E8=AE=B0=E5=BD=95=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E3=80=90=E8=B0=83=E5=B7=AE=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E3=80=91TAB=E9=A1=B5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceRequestMain/index.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 3fa00debf..ee8f443de 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -873,14 +873,16 @@ const buttonTableClick = async (val, row) => { // handleApp(row.id) // 校验是否上传调差附件,、价差合计、返利未税金额、索赔税额有一项是0的时候或者调差附件未上传的时候要提示未 - // const fileList = await FileApi.getFileList({ - // tableId: row.masterId || row.id, - // tableName: 'adjustmentAttachment' - // }) - // if (row.differencePriceTotalMain || row.discountAmount1 || row.claimTaxAmount || !fileList || fileList.length == 0) { - // message.alertWarning('请上传调差附件!') - // return - // } + const fileList = await FileApi.getFileList({ + tableId: row.masterId || row.id, + tableName: 'adjustmentAttachment' + }) + if (row.differencePriceTotalMain || row.discountAmount1 || row.claimTaxAmount) { + if (!fileList || fileList.length == 0) { + message.alertWarning('请上传调差附件!') + return + } + } // 校验是否可以开票 const res = await checkInvoicingCalendar() if (res?.flag) {