Commit f4fd1d6d authored by agping's avatar agping

开业申请

parent dd0c1728
...@@ -448,7 +448,7 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl ...@@ -448,7 +448,7 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
}; };
//无新的图片上传 不调用接口 //无新的图片上传 不调用接口
if(imgname.join(',')) { if(imgname.join(',')) {
_data['open_img'] = imgname.join(','); _data['open_img'] = JSON.stringify(imgname);;
} }
if(!($(".remark-financial-open").val())){ if(!($(".remark-financial-open").val())){
alert('请填写开业说明'); alert('请填写开业说明');
...@@ -467,7 +467,7 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl ...@@ -467,7 +467,7 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
success: function(_data) { success: function(_data) {
if(typeof _data === 'object') { if(typeof _data === 'object') {
alert('保存成功'); alert('保存成功');
$("#modal_open").hide(); $("#modal_open").modal('hide');
bargain.getList(); bargain.getList();
} else { } else {
alert(data.msg); alert(data.msg);
......
...@@ -210,7 +210,6 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', ' ...@@ -210,7 +210,6 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
checkRefund : function(){ checkRefund : function(){
var that = refund ; var that = refund ;
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存 var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
console.log(user_info_obj);
var params = { var params = {
'open_id' : that.check_id , 'open_id' : that.check_id ,
'status' : refund.status , 'status' : refund.status ,
......
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