Commit ffa4bcb9 authored by duxinyuan's avatar duxinyuan

1

parent 71fdedd6
...@@ -18,6 +18,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -18,6 +18,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
pay_type : '' , pay_type : '' ,
type_num : '' , type_num : '' ,
houseNmuber : '' , houseNmuber : '' ,
pay_id :'' ,
init: function() { init: function() {
//初始化dot //初始化dot
$(document.body).append(template); $(document.body).append(template);
...@@ -166,6 +167,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -166,6 +167,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
var type = e.target.dataset.type ; var type = e.target.dataset.type ;
var order_id = e.target.dataset.order_id ; var order_id = e.target.dataset.order_id ;
that.type_num = e.target.dataset.type_num that.type_num = e.target.dataset.type_num
that.pay_id = id ;
// that.order_id = order_id ; // that.order_id = order_id ;
// that.order_no = e.target.dataset.order_no ; // that.order_no = e.target.dataset.order_no ;
// that.report_id = e.target.dataset.report_id; // that.report_id = e.target.dataset.report_id;
...@@ -231,6 +233,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -231,6 +233,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$('.img_area').empty(); $('.img_area').empty();
$('#reportArea').hide(); $('#reportArea').hide();
$('#intoIdArea').hide(); $('#intoIdArea').hide();
$("#into_id_change").removeAttr("readOnly")
}); });
//调整 //调整
$("#modal-linetime").on("shown.bs.modal", function(event){ $("#modal-linetime").on("shown.bs.modal", function(event){
...@@ -613,13 +616,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -613,13 +616,17 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
saveChange : function(no){ saveChange : function(no){
var that = receiv; var that = receiv;
console.log(that); console.log(that);
if ( that.pay_id - 0 < 1 ){
alert("参数错误!");
}
var params = { var params = {
'order_id' : that.order_id , 'order_id' : that.order_id ,
'order_no' : that.order_no, 'order_no' : that.order_no,
'agent_id' : that.agent_id, 'agent_id' : that.agent_id,
'report_id' : that.report_id, 'report_id' : that.report_id,
'industry_type' : that.yetai ? that.yetai : '' , 'industry_type' : that.yetai ? that.yetai : '' ,
'income_time' : that.income_time 'income_time' : that.income_time ,
'pay_id' : that.pay_id
}; };
var obj = { var obj = {
......
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