Commit 4442dae0 authored by agping's avatar agping

bug修改

parent 8e068bfe
......@@ -162,45 +162,45 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
// 支付方式 10支付宝 20 微信 30pos机器 40转账 50现金 60其他
$("#follow_list tr").each(function (e) {
//e代表索引 从0开始 eq(0)就是第一行
var temp = $("#follow_list").find("tr").eq(e).find("td").eq(4).html(); //获取一列的值
var temp_two = $("#follow_list").find("tr").eq(e).find("td").eq(5).html();
var temp = $("#follow_list").find("tr").eq(e).find("td").eq(5).html(); //获取一列的值
var temp_two = $("#follow_list").find("tr").eq(e).find("td").eq(6).html();
// null
var temp_one = $("#follow_list").find("tr").eq(e).find("td").eq(1).html();
if(temp*1==10){
$("#follow_list").find("tr").eq(e).find("td").eq(4).html("支付宝")
if(temp_two*1==10){
$("#follow_list").find("tr").eq(e).find("td").eq(6).html("支付宝")
}
if(temp*1==20){
$("#follow_list").find("tr").eq(e).find("td").eq(4).html("微信")
if(temp_two*1==20){
$("#follow_list").find("tr").eq(e).find("td").eq(6).html("微信")
}
if(temp*1==30){
$("#follow_list").find("tr").eq(e).find("td").eq(4).html("pos机器")
if(temp_two*1==30){
$("#follow_list").find("tr").eq(e).find("td").eq(6).html("pos机器")
}
if(temp*1==40){
$("#follow_list").find("tr").eq(e).find("td").eq(4).html("转账")
if(temp_two*1==40){
$("#follow_list").find("tr").eq(e).find("td").eq(6).html("转账")
}
if(temp*1==50){
$("#follow_list").find("tr").eq(e).find("td").eq(4).html("现金")
if(temp_two*1==50){
$("#follow_list").find("tr").eq(e).find("td").eq(6).html("现金")
}
if(temp*1==60){
$("#follow_list").find("tr").eq(e).find("td").eq(4).html("其他")
if(temp_two*1==60){
$("#follow_list").find("tr").eq(e).find("td").eq(6).html("其他")
}
// 付款类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他
if(temp_two*1==10){
if(temp*1==10){
$("#follow_list").find("tr").eq(e).find("td").eq(5).html("意向金")
}
if(temp_two*1==20){
if(temp*1==20){
$("#follow_list").find("tr").eq(e).find("td").eq(5).html("定金")
}
if(temp_two*1==30){
if(temp*1==30){
$("#follow_list").find("tr").eq(e).find("td").eq(5).html("保管金")
}
if(temp_two*1==40){
if(temp*1==40){
$("#follow_list").find("tr").eq(e).find("td").eq(5).html("押金")
}
if(temp_two*1==50){
if(temp*1==50){
$("#follow_list").find("tr").eq(e).find("td").eq(5).html("租金")
}
if(temp_two*1==60){
if(temp*1==60){
$("#follow_list").find("tr").eq(e).find("td").eq(5).html("进场费")
}
if(temp_two*1==70){
......@@ -209,7 +209,11 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
if(temp_two*1==80){
$("#follow_list").find("tr").eq(e).find("td").eq(5).html("其他")
}
// null
if(temp_two*1==90){
$("#follow_list").find("tr").eq(e).find("td").eq(5).html("佣金")
}
// null 佣金
if(temp_one=='null'){
$("#follow_list").find("tr").eq(e).find("td").eq(1).html(" ")
}
......
......@@ -7,8 +7,8 @@
<td>[%= it[item]['user_phone'] %]</td>
<td>[%= it[item]['money'] %]</td>
<td>[%= it[item]['real_money'] %]</td>
<td class="pay_type">[%= it[item]['pay_type'] %]</td>
<td>[%= it[item]['type'] %]</td>
<td class="pay_type">[%= it[item]['type'] %]</td>
<td>[%= it[item]['pay_type'] %]</td>
<td>[%= it[item]['internal_address'] %]</td>
<td>[%= it[item]['house_number'] %]</td>
<td>
......
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