|
|
@ -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 { |
|
|
|