From e8ea9da100b4bc0694ae6239ac6e4de12173cde8 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Mon, 25 Sep 2023 16:10:03 +0800 Subject: [PATCH] [CI SKIP] --- .../host/SettleAccount.HttpApi.Host/wwwroot/router/business.js | 2 +- .../wwwroot/views/settle/inventory.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js index b2bba542..0d4b7757 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js @@ -383,7 +383,7 @@ export default [ createButton( "sync", "title=同步到QAD&isTop=true", - (_, q) => q.filters.some((o) => o.column === "state" && o.value === 4) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) + (_, q) => q.filters.some((o) => o.column === "state" && o.value === 5) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) ), ], }, diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/inventory.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/inventory.js index ecbec75e..09e31965 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/inventory.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/inventory.js @@ -26,7 +26,7 @@ export default { : item.path === "reject" ? `确认退回选中的${rows.length}行数据吗?` : `确认选中的${rows.length}行数据客户已收票吗?`; - const data = rows.map((o) => o.invbillNum); + const data = rows.map((o) => o.billNum); const url = config.edit.approvalUrl; await appListRef.value.onClick(async () => await request(url, data, { method: "POST" }), message, true); }