Browse Source

启用提示异常修复

master
zhouhongjun 1 year ago
parent
commit
5228cd7822
  1. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/base-data/bei-jian.js
  2. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/base-data/xiao-shou.js
  3. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/base-data/yin-du-jian.js

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/base-data/bei-jian.js

@ -14,7 +14,7 @@ export default {
if (item.path === "enable" || item.path === "disable") {
await appListRef.value.onClick(
async () => await request(config.edit.updateUrl, { id: rows[0].id, isCancel: item.path === "enable" ? false : true }, { method: "POST" }, true),
`确认${item.path === "open-version" ? "启用" : "停用"}选中的${rows.length}行数据吗?`,
`确认${item.path === "enable" ? "启用" : "停用"}选中的${rows.length}行数据吗?`,
true
);
}

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/base-data/xiao-shou.js

@ -15,7 +15,7 @@ export default {
if (item.path === "enable" || item.path === "disable") {
await appListRef.value.onClick(
async () => await request("settleaccount/price-list/update", { id: rows[0].id, isCancel: item.path === "enable" ? false : true }, { method: "POST" }, true),
`确认${item.path === "open-version" ? "启用" : "停用"}选中的${rows.length}行数据吗?`,
`确认${item.path === "enable" ? "启用" : "停用"}选中的${rows.length}行数据吗?`,
true
);
}

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/base-data/yin-du-jian.js

@ -14,7 +14,7 @@ export default {
if (item.path === "enable" || item.path === "disable") {
await appListRef.value.onClick(
async () => await request(config.edit.updateUrl, { id: rows[0].id, isCancel: item.path === "enable" ? false : true }, { method: "POST" }, true),
`确认${item.path === "open-version" ? "启用" : "停用"}选中的${rows.length}行数据吗?`,
`确认${item.path === "enable" ? "启用" : "停用"}选中的${rows.length}行数据吗?`,
true
);
}

Loading…
Cancel
Save