Browse Source

[CI SKIP]

master
wanggang 1 year ago
parent
commit
e8ea9da100
  1. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js
  2. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/inventory.js

2
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)
),
],
},

2
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);
}

Loading…
Cancel
Save