|
@@ -35,7 +35,7 @@
|
|
|
<div class="input-group input-group-sm">
|
|
|
<input type="number" class="pay-input form-control nospin text-right" max="<%- max_pr %>"
|
|
|
min="1" placeholder="请填写支付比例,将自动计算本期金额" data-type="0"
|
|
|
- value="<%- advance.pay_ratio %>">
|
|
|
+ value="<%- advance.cur_amount && ctx.helper.mul(ctx.helper.div(advance.cur_amount, advancePayTotal), 100, 2) || 0 %>">
|
|
|
<div class="input-group-append"><span class="input-group-text">%</span></div>
|
|
|
</div>
|
|
|
</td>
|
|
@@ -53,7 +53,7 @@
|
|
|
<tr>
|
|
|
<th width="150">支付比例</th>
|
|
|
<td class="text-right">
|
|
|
- <%- advance.pay_ratio || 0 %>%
|
|
|
+ <%- advance.cur_amount && ctx.helper.mul(ctx.helper.div(advance.cur_amount, advancePayTotal), 100, 2) || 0 %>%
|
|
|
</td>
|
|
|
<th width="150">本期金额</th>
|
|
|
<td class="text-right">
|