Commit eac2f902 authored by duxinyuan's avatar duxinyuan

`1111

parent ada1f255
......@@ -19,6 +19,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
type_num : '' ,
houseNmuber : '' ,
pay_id :'' ,
transfer_name : '' ,
init: function() {
//初始化dot
$(document.body).append(template);
......@@ -166,7 +167,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
var id = e.target.dataset.id;
var type = e.target.dataset.type ;
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.transfer_name = e.target.dataset.transfer_name
that.pay_id = id ;
// that.order_id = order_id ;
// that.order_no = e.target.dataset.order_no ;
......@@ -626,7 +628,8 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
'report_id' : that.report_id,
'industry_type' : that.yetai ? that.yetai : '' ,
'income_time' : that.income_time ,
'pay_id' : that.pay_id
'pay_id' : that.pay_id ,
'transfer_name' : that.transfer_name
};
var obj = {
......
......@@ -34,7 +34,7 @@
[% if(check_auth('index/getAdjustment')) { %]
[% 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"]%]'
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>
[% } %]
[% } %]
<!--<a class="btn1 btn-success money_back" href="#modal-back" data-toggle="modal" data-id='[%= it[item]["id"]%]'>退款</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