Commit cb330af9 authored by duxinyuan's avatar duxinyuan

1

parent b217a1fa
...@@ -21,6 +21,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -21,6 +21,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
pay_id :'' , pay_id :'' ,
transfer_name : '' , transfer_name : '' ,
totalCount : 0 , totalCount : 0 ,
receipt_number :'' ,
init: function() { init: function() {
//初始化dot //初始化dot
$(document.body).append(template); $(document.body).append(template);
...@@ -171,6 +172,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -171,6 +172,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
that.type_num = e.target.dataset.type_num; that.type_num = e.target.dataset.type_num;
that.transfer_name = e.target.dataset.transfer_name that.transfer_name = e.target.dataset.transfer_name
that.pay_id = id ; that.pay_id = id ;
that.receipt_number = e.target.dataset.receipt_number;
// 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;
...@@ -658,12 +660,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -658,12 +660,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
jsonArray.push(obj); jsonArray.push(obj);
params.collecting_bill = JSON.stringify(jsonArray) ; params.collecting_bill = JSON.stringify(jsonArray) ;
// if ( $('#change_type').val() == 10 || $('#change_type').val() == 30)
//条件验证 //条件验证
params.house_number = that.houseNmuber; params.house_number = that.houseNmuber;
if ( $('#change_type').val() == 10 || $('#change_type').val() == 30 ){ if ( $('#change_type').val() == 10 || $('#change_type').val() == 30 ){
if ($('#change_time').val()){//最后转定时间 if ($('#change_time').val()){//最后转定时间
params.last_transfer_time = $('#change_time').val() params.last_transfer_time = $('#change_time').val()
}; };
params.receipt_number = that.receipt_number ;
// if ($('#shop_id_change_shop').text()){//商铺号 // if ($('#shop_id_change_shop').text()){//商铺号
// //
// }; // };
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
[% } %] [% } %]
[% if(check_auth('index/getAdjustment')) { %] [% if(check_auth('index/getAdjustment')) { %]
[% if( it[item]['type_num'] == 10 || it[item]['type_num'] == 30 ) { %] [% if( it[item]['type_num'] == 10 || it[item]['type_num'] == 30 ) { %]
<a class="btn1 btn-success money_change" href="#modal-linetime" data-toggle="modal" data-type='[%= it[item]['type'] %]' data-id='[%= it[item]["id"]%]' <a class="btn1 btn-success money_change" href="#modal-linetime" data-toggle="modal" data-type='[%= it[item]['type'] %]' data-id='[%= it[item]["id"]%]' data-receipt_number='[%= it[item]['receipt_number'] %]'
data-transfer_name = '[%= it[item]['transfer_name'] %]' data-order_id = '[%= it[item]['order_id'] %]' data-type_num = '[%= it[item]['type_num'] %]' data-income_time='[%= it[item]['income_time'] %]' data-pay_type='[%= it[item]['pay_type_num'] %]' >调整</a> data-transfer_name = '[%= it[item]['transfer_name'] %]' data-order_id = '[%= it[item]['order_id'] %]' data-type_num = '[%= it[item]['type_num'] %]' data-income_time='[%= it[item]['income_time'] %]' data-pay_type='[%= it[item]['pay_type_num'] %]' >调整</a>
[% } %] [% } %]
[% } %] [% } %]
......
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