Commit 73ef4172 authored by agping's avatar agping Committed by zw

收款详情修改

parent adece3aa
......@@ -1227,8 +1227,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
doc.find("#intoPrice").val(data.money);
doc.find("#shouxu").val(data.transaction_fee);
doc.find("#realPrice").val(data.real_money);
doc.find("#getPrice").text(Math.floor(((data.price-0)*0.8 )*100)/100+ "元");
doc.find("#morePrice").text(Math.floor((data.money - ((data.price-0)*0.8))*100)/100 + "元");
doc.find("#getPrice").text(Math.floor(((data.price-0)*0.7 )*100)/100+ "元");
doc.find("#morePrice").text(Math.floor((data.money - ((data.price-0)*0.7))*100)/100 + "元");
$("#person").text(data.current_agent_name);
$("#belongT").text(data.store_name);
doc.find("#payType").val(data.pay_type);
......
......@@ -10,7 +10,7 @@
<td>[%= it[item]['price']%]</td>
<td>[%= (it[item]['price']*0.8).toFixed(2) %]</td>
<td>[%= it[item]['money']%]</td>
<td>[%= (it[item]['money']*1 - (it[item]['price']*0.8)).toFixed(2) %]</td>
<td>[%= (it[item]['money']*1 - (it[item]['price']*0.7)).toFixed(2) %]</td>
<td>[%= sw(it[item]['pay_type'])%]</td>
<td>[% if(it[item]["transfer_name"] != null) { %] [%= it[item]["transfer_name"] %] [% } %]</td>
<td>[%= it[item]['agent_name'] %]</td>
......
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 to comment