Commit f4eaac50 authored by duxinyuan's avatar duxinyuan

1

parent beb846f0
...@@ -1418,18 +1418,33 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -1418,18 +1418,33 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
} }
if ( back_no ){ if ( back_no ){
params.receipt_number = back_no ; params.receipt_number = back_no ;
} else {
alert("请输入退款凭证编号");
return false;
} }
if ( back_reason ){ if ( back_reason ){
params.refund_cause = back_reason ; params.refund_cause = back_reason ;
} else {
alert("请输入退款原因");
return false;
} }
if ( back_price_user ){ if ( back_price_user ){
params.card_no = back_price_user ; params.card_no = back_price_user ;
} else {
alert("请输入退款账户");
return false;
} }
if ( back_bank ){ if ( back_bank ){
params.bank = back_bank ; params.bank = back_bank ;
} else {
alert("请输入开户行");
return false;
} }
if ( back_bank_name ){ if ( back_bank_name ){
params.name = back_bank_name ; params.name = back_bank_name ;
} else {
alert("请输入户名");
return false;
} }
// if ( back_phone ){ // if ( back_phone ){
// params.phone = back_phone ; // params.phone = back_phone ;
...@@ -1444,6 +1459,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -1444,6 +1459,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
} }
if ( back_others ){ if ( back_others ){
params.remark = back_others ; params.remark = back_others ;
} else {
alert("请输入其他原因");
return false;
} }
//图片数据处理 //图片数据处理
var pictures = $('#container_body_img_area3').find('.result'); var pictures = $('#container_body_img_area3').find('.result');
......
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