Commit aad0014f authored by agping's avatar agping

罚款

parent e9890596
...@@ -104,12 +104,12 @@ ...@@ -104,12 +104,12 @@
height: 80px; height: 80px;
margin-top: 3px; margin-top: 3px;
} }
.result-positive{ .result-positive,.result-positive-edit{
width: 80px; width: 80px;
float: left; float: left;
text-align: center; text-align: center;
margin-right: 20px; margin-right: 20px;
margin-top: 15px; margin-top: 5px;
} }
#container_body{ #container_body{
position: relative; position: relative;
...@@ -295,7 +295,7 @@ ...@@ -295,7 +295,7 @@
罚款详情 罚款详情
</h4> </h4>
</div> </div>
<div class="modal-body" style="height: 560px;overflow-y: auto;overflow-x: hidden;"> <div class="modal-body" style="height: 620px;overflow-y: auto;overflow-x: hidden;">
<form class="form-horizontal form-horizontal-edit"> <form class="form-horizontal form-horizontal-edit">
<div class="form-group"> <div class="form-group">
<label class="col-sm-4 control-label">罚款ID:</label> <label class="col-sm-4 control-label">罚款ID:</label>
...@@ -345,6 +345,12 @@ ...@@ -345,6 +345,12 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group to-pay-hide">
<label class="col-sm-4 control-label">滞纳金:</label>
<span style="margin-top: 7px;display: inline-block;" id="forfeit_penalty"></span>
<label class="col-sm-4 control-label">付款金额:</label>
<span style="margin-top: 7px;display: inline-block;" id="money_sum"></span>
</div>
</form> </form>
</div> </div>
......
...@@ -276,15 +276,27 @@ define(['doT', 'text!temp/fineMoney_list_template_tpl.html', 'text!temp/phoneBin ...@@ -276,15 +276,27 @@ define(['doT', 'text!temp/fineMoney_list_template_tpl.html', 'text!temp/phoneBin
$("#submit_name_edit").html(data.data.submit_agent_name); $("#submit_name_edit").html(data.data.submit_agent_name);
$("#tijiao").html(data.data.create_time); $("#tijiao").html(data.data.create_time);
$("#remark_edit").val(data.data.remarks); $("#remark_edit").val(data.data.remarks);
$("#forfeit_penalty").html(data.data.forfeit_penalty);
$("#money_sum").html(data.data.money_sum);
if(data.data.status*1 == 0){ if(data.data.status*1 == 0){
$("#edit_status").html('待支付'); $("#edit_status").html('待支付');
$(".submit_edit").show(); $(".submit_edit").show();
$(".to-pay-hide").hide();
}else if(data.data.status*1 == 1){ }else if(data.data.status*1 == 1){
$("#edit_status").html('已支付'); $("#edit_status").html('已支付');
$(".submit_edit").hide(); $(".submit_edit").hide();
$(".to-pay-hide").show();
}else{ }else{
$("#edit_status").html('已取消'); $("#edit_status").html('已取消');
$(".submit_edit").hide(); $(".submit_edit").hide();
$(".to-pay-hide").hide();
} }
if(data.data.type) { if(data.data.type) {
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
[% }else{ %] [% }else{ %]
<td class="text-center"></td> <td class="text-center"></td>
[% } %] [% } %]
<td class="text-center">[%= it[item]["money"] %]</td> <td class="text-center">[%= it[item]["forfeit_penalty"] %]</td>
<td class="text-center">[%= it[item]["money"] %]</td> <td class="text-center">[%= it[item]["money_sum int"] %]</td>
<td class="text-center">[%= it[item]["status_name"] %]</td> <td class="text-center">[%= it[item]["status_name"] %]</td>
<td class="text-center"> <td class="text-center">
[% if(it[item]["status"]*1 == 0 ){ %] [% if(it[item]["status"]*1 == 0 ){ %]
......
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