Commit 0cb658c5 authored by agping's avatar agping

财务修改

parent 200d5e57
...@@ -54,9 +54,13 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s ...@@ -54,9 +54,13 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s
}); });
//时间轴按钮 //时间轴按钮
_doc.on("click", ".timeline", function() { // _doc.on("click", ".timeline", function() {
bargain.Timeline(); // bargain.bargain_id = $(this).closest('tr').attr("data-id");
}); // bargain.father_id = $(this).closest('tr').attr("data-fatherid");
// bargain.order_id = $(this).closest('tr').attr("data-orderid");
//
// bargain.Timeline();
// });
//转到一级审核 //转到一级审核
_doc.on('click', '.maintable-btn-trans-one', function(e){ _doc.on('click', '.maintable-btn-trans-one', function(e){
...@@ -421,25 +425,25 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s ...@@ -421,25 +425,25 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s
} }
}); });
}, },
Timeline: function() { //获取时间轴 // Timeline: function() { //获取时间轴
$.ajax({ // $.ajax({
'type': 'GET', // 'type': 'GET',
'url': '/index/selectReportAll', // 'url': '/index/selectReportAll',
data: { // data: {
"order_id": bargain.bargain_id // "order_id": bargain.bargain_id
}, // },
dataType: "json", // dataType: "json",
success: function(data) { // success: function(data) {
if(data.code == 200) { // if(data.code == 200) {
if(data.data) { // if(data.data) {
console.log(data.data); // console.log(data.data);
} // }
} else { // } else {
alert('获取失败!'); // alert('获取失败!');
} // }
} // }
}); // });
}, // },
bargaininfoShow: function() { //报告详情 bargaininfoShow: function() { //报告详情
var bargainId; var bargainId;
......
...@@ -54,9 +54,9 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_ ...@@ -54,9 +54,9 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_
}); });
//时间轴按钮 //时间轴按钮
_doc.on("click", ".timeline", function() { // _doc.on("click", ".timeline", function() {
bargain.Timeline(); // bargain.Timeline();
}); // });
//转到一级审核 //转到一级审核
_doc.on('click', '.maintable-btn-trans-one', function(e){ _doc.on('click', '.maintable-btn-trans-one', function(e){
...@@ -421,25 +421,25 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_ ...@@ -421,25 +421,25 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_
} }
}); });
}, },
Timeline: function() { //获取时间轴 // Timeline: function() { //获取时间轴
$.ajax({ // $.ajax({
'type': 'GET', // 'type': 'GET',
'url': '/index/selectReportAll', // 'url': '/index/selectReportAll',
data: { // data: {
"order_id": bargain.bargain_id // "order_id": bargain.bargain_id
}, // },
dataType: "json", // dataType: "json",
success: function(data) { // success: function(data) {
if(data.code == 200) { // if(data.code == 200) {
if(data.data) { // if(data.data) {
console.log(data.data); // console.log(data.data);
} // }
} else { // } else {
alert('获取失败!'); // alert('获取失败!');
} // }
} // }
}); // });
}, // },
bargaininfoShow: function() { //报告详情 bargaininfoShow: function() { //报告详情
var bargainId; var bargainId;
......
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