Commit 28f1c732 by 朱继来

新客价订单改单删除优惠提示

parent 369b402e
Showing with 9 additions and 3 deletions
......@@ -2073,9 +2073,15 @@
var freight_fee = $('input[name=freight_fee]').val() ? $('input[name=freight_fee]').val() : 0;
var last_paid = parseFloat(order_amount + parseFloat(pay_preferential)).toFixed(2); // 实际支付金额
var content = '<div class="submit-check">'+
'<p class="error">请核对订单金额,谨慎操作!</p>'+
'<p><label>商品总金额:</label>'+currencySign + goods_amount+'</p>';
var content = '<div class="submit-check">';
if (new_client_price) {
content += '<p class="error">该单为新客价订单,如改单将删除整单优惠,请核对订单金额,谨慎操作!</p>';
} else {
content += '<p class="error">请核对订单金额,谨慎操作!</p>';
}
content += '<p><label>商品总金额:</label>'+currencySign + goods_amount+'</p>';
if (new_client_price) {
content += '<p><label>新客价金额:</label>'+new_client_price+'</p>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment