Commit 679562d0 authored by duxinyuan's avatar duxinyuan

修改bug

parent b9c8fed5
......@@ -1375,6 +1375,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
getBackParams : function(){
var that = receiv;
var sysans = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo')));
console.log(sysans);
var params = {} ;
var back_type = $('#back_type').val();
var back_price = $('#back_price').val();
......@@ -1390,9 +1392,9 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
params.order_id = that.back_order_id;
params.order_no = that.back_order_no;
params.report_id = that.back_report_id;
params.agent_id = that.back_agent_id;
params.agent_name = that.back_agent_name;
params.agent_id = that.back_agent_id;
params.agent_id = sysans.id;
params.agent_name = sysans.name;
// params.agent_id = that.back_agent_id;
if ( back_type - 0 > -1 ){
params.type = back_type ;
} else {
......
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