Commit a0c920dc authored by duxinyuan's avatar duxinyuan

1

parent 1cdfc242
......@@ -542,6 +542,10 @@
</div>
<div class="modal-body">
<div class="col-xs-12" style="margin-top:20px;">
<label class="col-xs-2">备注</label>
<div class="col-xs-10">
<textarea id="check_past_pict" class="form-control"></textarea>
</div>
<div class="col-xs-12" style="padding-left:30px;">
<label>上传转账图片和退款单手签版图片:</label>
</div>
......
......@@ -101,6 +101,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
//已退款
$(document).on('click','#check_back',function(e){
var pictures = $('#container_body_img_area3').find('.result');
var text = $('#check_past_pict').val();
var picName = [];
pictures.each(function(i,event){
picName[i] = $(this).find("img").attr("id")
......@@ -109,7 +110,7 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
alert("请选择图片");
return false ;
}
that.checkRefund(2,picName);
that.checkRefund(2,text,picName);
});
//二级联动
......@@ -228,12 +229,13 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整');
},
checkRefund : function(status,remark){
checkRefund : function(status,remark,pic){
var that = refund ;
var params = {
'refund_id' : that.check_id ,
'status' : status ,
'remark' : remark
'remark' : remark ,
'img_arr' : pic
}
$.post('/index/checkRefund',params ,function(data){
if(data.code == 200) {
......
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