Commit 26b52322 authored by duxinyuan's avatar duxinyuan

修改bug

parent d8c52f4c
......@@ -865,6 +865,13 @@
<div class="modal-body modal-body-height">
<form class="">
<div class="col-xs-12">
<div class="col-xs-12">
<div class="form-group">
<strong><span class="col-xs-2 ld-Marheight">退款最大金额:</span></strong>
<span id="could_price_back" class="col-xs-6 ld-Marheight"></span>
</div>
</div>
<div class="col-xs-6">
<div class="form-group">
<strong><span class="col-xs-4 ld-Marheight">退款类型:</span></strong>
......
......@@ -276,6 +276,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
} else {
}
that.getMaxBackPrice(id)
// that.getBack(id);
});
......@@ -482,6 +483,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
});
},
getMaxBackPrice : function(id){
var autgtoken = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).AuthToken;
$.get('/broker/adjustment',{'pay_id':id,'AuthToken' : autgtoken},function(data){
if(data.code == 200) {
$('#could_price_back').text(data.data.residue_money);
} else {
alert(data.msg);
}
})
},
search_person: function() { //手机号新增客户
$.ajax({
url: '/index/getBroker_new',
......
......@@ -286,6 +286,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
$('#back_time').text(data.data.creat_time);
$('#back_id').text(data.data.id);
var tag = "";
$('#check_person').empty();
for ( var i = 0 ; i < data.data.log.length ; i++ ){
console.log(data.data.log[i])
tag += '<div class="col-xs-12">';
......@@ -309,6 +310,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
$('#chech_status').text(str);
var img = data.data.img ;
var tag = '' ;
$('#photoArea').empty();
for ( var i = 0 ; i < img.length ; i++ ){
tag += ''
$('#photoArea').append('<div class="result2"><img data-imgid="{0}" src="{1}" alt="" class="diagram-image J_preview" data-bimg="{1}"/></div>'.stringFormatObj({
......
......@@ -4,8 +4,10 @@
<tr class="text-center">
<td>[%= it[item]['create_time'] %]</td>
<td>[%= it[item]['id'] %]</td>
[% if(it[item]['status'] == 1) { %]
[% if(it[item]['status'] == 0) { %]
<td>申请中</td>
[% }else if (it[item]['status'] == 1) { %]
<td>审核中</td>
[% }else if (it[item]['status'] == 2) { %]
<td>退款成功</td>
[% }else if (it[item]['status'] == 3) { %]
......
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