fix(销售页面): 简化客户类型判断逻辑

移除对"未支付"状态的单独判断,仅保留"点击未支付"作为未支付状态的标识
This commit is contained in:
2025-08-25 20:26:43 +08:00
parent 962b430a75
commit 41058a7ab9

View File

@@ -371,7 +371,7 @@ async function getTimeline() {
let customerType = '课1-4'; // 默认类型 let customerType = '课1-4'; // 默认类型
// 根据pay_status设置具体的type // 根据pay_status设置具体的type
if (customer.pay_status === '未支付' || customer.pay_status === '点击未支付') { if (customer.pay_status === '点击未支付') {
customerType = '点击未支付'; customerType = '点击未支付';
} else if (customer.pay_status === '付定金') { } else if (customer.pay_status === '付定金') {
customerType = '付定金'; customerType = '付定金';