...
|
...
|
@@ -31,7 +31,7 @@ function yohoCoinCompute(orderCompute) { |
|
|
}
|
|
|
|
|
|
if (yohoCoinData.totalYohoCoinNum < 100) {
|
|
|
yohoCoinData.yohoCoinMsg = '共{yohoCoinData.totalYohoCoinNum}有货币,满{orderCompute.yoho_coin_pay_rule.num_limit}可用';
|
|
|
yohoCoinData.yohoCoinMsg = `共${yohoCoinData.totalYohoCoinNum}有货币,满${orderCompute.yoho_coin_pay_rule.num_limit}可用`;
|
|
|
} else if (yohoCoinData.useYohoCoin > 0 || yohoCoinData.yohoCoin > 0) {
|
|
|
yohoCoinData.yohoCoinMsg = '可抵¥' + (yohoCoinData.useYohoCoin > 0 ? yohoCoinData.useYohoCoin : yohoCoinData.yohoCoin);
|
|
|
yohoCoinData.yohoCoinClick = 1;
|
...
|
...
|
@@ -127,11 +127,11 @@ function tranformPayment(data, orderInfo) { |
|
|
times[defaultKey].isSelected = true;
|
|
|
|
|
|
if (cookieTimeId) {
|
|
|
let selectTime = times.find(time => time.delivery_time_id === cookieTimeId);
|
|
|
let selectTime = times.find(time => time.id === cookieTimeId);
|
|
|
|
|
|
if (selectTime) {
|
|
|
selectTime.isSelected = true;
|
|
|
times[defaultKey].isSelected = false;
|
|
|
selectTime.isSelected = true;
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|