|
@ -15,7 +15,7 @@ export default { |
|
|
if (item.path === "enable" || item.path === "disable") { |
|
|
if (item.path === "enable" || item.path === "disable") { |
|
|
await appListRef.value.onClick( |
|
|
await appListRef.value.onClick( |
|
|
async () => await request("settleaccount/price-list/update", { id: rows[0].id, isCancel: item.path === "enable" ? false : true }, { method: "POST" }, true), |
|
|
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 |
|
|
true |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|