From a291ba27b095188893433ba2de252ab9d62ffe7c Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sun, 12 Oct 2025 11:34:59 +0800 Subject: [PATCH] =?UTF-8?q?v1.9=20=E4=BC=98=E5=8C=96=E4=BA=91=E6=89=93?= =?UTF-8?q?=E5=8D=B0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/fee/printSmallPayFeeApi.js | 2 +- src/views/fee/printSmallPayFeeList.vue | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/api/fee/printSmallPayFeeApi.js b/src/api/fee/printSmallPayFeeApi.js index 9ab0d26b7..2cb721e9e 100644 --- a/src/api/fee/printSmallPayFeeApi.js +++ b/src/api/fee/printSmallPayFeeApi.js @@ -77,7 +77,7 @@ export function listMachinePrinter(params) { export function printPayFeeDetail(data) { return new Promise((resolve, reject) => { request({ - url: '/print/printPayFeeDetail', + url: '/print.printPayFeeDetail', method: 'post', data: { ...data, diff --git a/src/views/fee/printSmallPayFeeList.vue b/src/views/fee/printSmallPayFeeList.vue index 67579a554..e4070dc2e 100644 --- a/src/views/fee/printSmallPayFeeList.vue +++ b/src/views/fee/printSmallPayFeeList.vue @@ -265,7 +265,11 @@ export default { quantity: this.printSmallPayFeeInfo.quantity, detailId: detailIds.join(',') } - await printPayFeeDetail(data) + const {code,msg} = await printPayFeeDetail(data) + if (code != 0) { + this.$message.error(msg) + return; + } this.cloudPrintVisible = false this.$message.success(this.$t('printSmallPayFee.submitSuccess')) } catch (error) {