优化loading
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
// 订单已支付
|
||||
|
||||
Reference in New Issue
Block a user