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