优化loading

This commit is contained in:
gyq
2025-04-09 17:57:51 +08:00
parent e443b5b51e
commit f466bdc9f4
10 changed files with 23 additions and 23 deletions

View File

@@ -160,9 +160,9 @@ async function showStaffDiscountHandle() {
// global.updateData(false)
}
} catch (error) {
discountLoading.value = false
console.log(error);
}
discountLoading.value = false
}
// 获取员工折扣
@@ -211,12 +211,12 @@ async function printOrderLable(isBefore = false) {
type: isBefore ? 1 : 0,
id: orderId,
});
printLoading.value = false;
ElMessage.success(`云打印${isBefore ? '预' : ''}结算单成功`);
}
} catch (error) {
console.log(error);
}
printLoading.value = false;
}
// 订单已支付