From 193776b8737fd2e27ad177f114aad090abd9580a Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Mon, 24 Jun 2024 10:56:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=9B=9E=E5=88=B0=E4=B8=8D=E5=8F=AF?= =?UTF-8?q?=E7=BB=93=E7=AE=97=E5=8D=95=E5=A2=9E=E5=8A=A0=E7=BB=93=E7=AE=97?= =?UTF-8?q?=E5=8D=95=E5=8F=B7=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/views/settle/usable.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/usable.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/usable.js index 8aa2220c..ff5aadac 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/usable.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/usable.js @@ -33,24 +33,21 @@ export default { ); } if (item.path === "back") { - const data = appListRef.value.buildQuery(); + const invbillNum = rows[0].billNum; await appListRef.value.onClick( async () => { - const result = await request(backUrl, data, { method: "POST" }, true); + const result = await request(backUrl, invbillNum, { method: "POST" }, true); if (result.errors) { if (result.data.code === 400 && result.data.fileName) { - ElMessage({ - type: "warnning", - message: "操作失败", - }); window.open(getUrl(`settleaccount/getblobfile/download/${result.data.fileName}`)); } console.log(result); } }, - `确认是否退回到不可结算单?`, + `确认将${invbillNum}退回到不可结算单?`, true ); + } }; return { appListRef, config, onCommand };