Commit a0c920dc authored by duxinyuan's avatar duxinyuan

1

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