完成获取算费功能开发

dev
曾超新 5 years ago
parent ae3d5dc7e2
commit e774e88691
  1. 6
      frontend/views/car/order-add.php

@ -504,11 +504,11 @@ use common\models\PriceT;
if(obj.code == 200) { if(obj.code == 200) {
if(obj.data && obj.data.QuoteStatus > 0) { if(obj.data && obj.data.QuoteStatus > 0) {
parent.layer.msg('获取成功'); parent.layer.msg('获取成功');
$('#total1').val(obj.data.BizTotal); $('#total1').val(obj.data.BizTotal.toFixed(2));
$('#total1_clear').val(($('#total1').val()/1.06).toFixed(2)); $('#total1_clear').val(($('#total1').val()/1.06).toFixed(2));
$('#total2').val(obj.data.ForceTotal); $('#total2').val(obj.data.ForceTotal.toFixed(2));
$('#total2_clear').val(($('#total2').val()/1.06).toFixed(2)); $('#total2_clear').val(($('#total2').val()/1.06).toFixed(2));
$('#total3').val(obj.data.TaxTotal); $('#total3').val(obj.data.TaxTotal.toFixed(2));
$('#total_rate').html('折扣系数:' + (obj.data.TotalRate * 100).toFixed(2) + '%'); $('#total_rate').html('折扣系数:' + (obj.data.TotalRate * 100).toFixed(2) + '%');
calc(); calc();
} else { } else {

Loading…
Cancel
Save