Commit 1e4028d0 authored by agping's avatar agping

1

parent c2ae9b2a
......@@ -1025,7 +1025,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
getRole: function(fn) {
var userObj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo')));
$.ajax({
url: '/office_index/getCommission',
url: '/office/getCommission',
type: 'GET',
async: true,
data: {
......@@ -1371,10 +1371,10 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
pass: function() { //点击通过
var a_url = '';
if(bargain.mainTabIndex == 1) {
a_url = "/index/checkReportAttache/1"
a_url = "/office_index/checkReportAttache/1"
};
if(bargain.mainTabIndex == 2) {
a_url = "/index/checkReportManager/2"
a_url = "/office_index/checkReportManager/2"
};
// if(bargain.mainTabIndex == 2) {
// a_url = "/index/checkReportMajordomo/2"
......@@ -1840,6 +1840,7 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
},
newAddTax: function(obj) {
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
var _tempTableObj = $('.addtax-modal-tax-table');
_tempTableObj.attr('data-type',obj['type']);
var _url = '';
......@@ -1850,6 +1851,8 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
$('#modal_new_tax .modal-title').html('新增开票');
_url = '/office_index/searchBargainAgents';
_data['bargain_id'] = bargain.bargain_id;
_data['AuthToken'] = user_info_obj.AuthToken;
}else{
$('#modal_new_tax .modal-title').html('编辑开票');
_tempTableObj.attr('data-recordid',obj['id']);
......
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