fix: 修改支付方式是否生效文字改为是否显示,优化支付方式快捷修改和弹窗提醒

This commit is contained in:
2025-03-14 11:07:00 +08:00
parent c371df05ce
commit b54985f150
3 changed files with 8 additions and 9 deletions

View File

@@ -497,7 +497,7 @@ function refScanPayOpen(payType) {
async function getPaytype() {
const res = await payTypeApi.getList();
payTypes.list = res;
payTypes.list = res.filter((v) => v.isDisplay);
if (currentpayMoney.value * 1 <= 0) {
payTypes.sel = payTypes.list.findIndex((v) => v.payType == "cash");
}