Commit 16e6ad91 authored by agping's avatar agping Committed by hujun

财务修改

parent a3887e1e
......@@ -147,7 +147,21 @@
<!--分佣提成-->
</div>
<div class="Tswitch Tswitch_two">收款记录</div>
<div class="Tswitch Tswitch_two">
<table class="table table-striped table-bordered table-hover table-condensed" id="tcaozuo_hide">
<thead>
<tr>
<th class="text-center">入账时间</th>
<th class="text-center">入账金额(元)</th>
<th class="text-center">入账类型</th>
<th class="text-center">入账方式</th>
<th class="text-center">操作人</th>
</tr>
</thead>
<tbody class="text-center" id="tcaozuo_table">
</table>
</div>
<br><br><br><br>
</div>
<div class="modal-footer">
......
......@@ -152,7 +152,21 @@
<!--分佣提成-->
</div>
<div class="Tswitch Tswitch_two">收款记录</div>
<div class="Tswitch Tswitch_two">
<table class="table table-striped table-bordered table-hover table-condensed" id="tcaozuo_hide">
<thead>
<tr>
<th class="text-center">入账时间</th>
<th class="text-center">入账金额(元)</th>
<th class="text-center">入账类型</th>
<th class="text-center">入账方式</th>
<th class="text-center">操作人</th>
</tr>
</thead>
<tbody class="text-center" id="tcaozuo_table">
</table>
</div>
<br><br><br><br>
</div>
<div class="modal-footer">
......
......@@ -150,7 +150,21 @@
<!--分佣提成-->
</div>
<div class="Tswitch Tswitch_two">收款记录</div>
<div class="Tswitch Tswitch_two">
<table class="table table-striped table-bordered table-hover table-condensed" id="tcaozuo_hide">
<thead>
<tr>
<th class="text-center">入账时间</th>
<th class="text-center">入账金额(元)</th>
<th class="text-center">入账类型</th>
<th class="text-center">入账方式</th>
<th class="text-center">操作人</th>
</tr>
</thead>
<tbody class="text-center" id="tcaozuo_table">
</table>
</div>
<br><br><br><br>
</div>
<div class="modal-footer">
......
......@@ -147,7 +147,21 @@
<!--分佣提成-->
</div>
<div class="Tswitch Tswitch_two">收款记录</div>
<div class="Tswitch Tswitch_two">
<table class="table table-striped table-bordered table-hover table-condensed" id="tcaozuo_hide">
<thead>
<tr>
<th class="text-center">入账时间</th>
<th class="text-center">入账金额(元)</th>
<th class="text-center">入账类型</th>
<th class="text-center">入账方式</th>
<th class="text-center">操作人</th>
</tr>
</thead>
<tbody class="text-center" id="tcaozuo_table">
</table>
</div>
<br><br><br><br>
</div>
<div class="modal-footer">
......
......@@ -165,7 +165,6 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
var temp_two = $("#follow_list").find("tr").eq(e).find("td").eq(5).html();
// null
var temp_one = $("#follow_list").find("tr").eq(e).find("td").eq(1).html();
console.log(temp_one);
if(temp*1==10){
$("#follow_list").find("tr").eq(e).find("td").eq(4).html("支付宝")
}
......
......@@ -258,7 +258,91 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
}
});
},
// 新增分佣提成
Records:function(){//分佣提成数据
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
$.ajax({
'type': 'GET',
'url' : '/index/payLogList',
data: {"id":follow.house_id},
dataType: "json",
success: function(data){
if(data.code == 200){
if (data.data) {
var caozuo_table="";
$.each(data['data'], function(i, item) {
caozuo_table +='<tr><td>'+item.create_time+'</td><td>'+item.money+'</td><td>'+item.type
+'</td><td>'+item.pay_type+'</td><td>'+item.agent_name+'</td></tr>';
});
$("#tcaozuo_table").html(caozuo_table);
$("#tcaozuo_table tr").each(function (e) { //不能为空
var temp_one = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html();
var temp = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html(); //获取一列的值
var temp_two = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html();
// 支付方式 10支付宝 20 微信 30pos机器 40转账 50现金 60其他
if(temp*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("支付宝")
}
if(temp*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("微信")
}
if(temp*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("pos机器")
}
if(temp*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("转账")
}
if(temp*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("现金")
}
if(temp*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("其他")
}
// 付款类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他
if(temp_two*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("意向金")
}
if(temp_two*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("定金")
}
if(temp_two*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("保管金")
}
if(temp_two*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("押金")
}
if(temp_two*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("租金")
}
if(temp_two*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("进场费")
}
if(temp_two*1==70){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("转让费")
}
if(temp_two*1==80){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("其他")
};
if(temp_one=='null'){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html(" ")
}
});
}
} else {
alert('获取失败!');
}
}
});
},
newCommission:function(){//新增分佣提成
$.ajax({
'type': 'POST',
......@@ -304,18 +388,6 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
$("#records").removeClass("btn-info");
$("#records").addClass("btn-default");
},
Records:function(){
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
},
Submit_follow: function() { //提交
$.ajax({
......
......@@ -258,7 +258,91 @@ define(['doT', 'text!temp/refundorder_template_tpl.html', 'css!style/home.css',
}
});
},
// 新增分佣提成
Records:function(){//分佣提成数据
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
$.ajax({
'type': 'GET',
'url' : '/index/payLogList',
data: {"id":follow.house_id},
dataType: "json",
success: function(data){
if(data.code == 200){
if (data.data) {
var caozuo_table="";
$.each(data['data'], function(i, item) {
caozuo_table +='<tr><td>'+item.create_time+'</td><td>'+item.money+'</td><td>'+item.type
+'</td><td>'+item.pay_type+'</td><td>'+item.agent_name+'</td></tr>';
});
$("#tcaozuo_table").html(caozuo_table);
$("#tcaozuo_table tr").each(function (e) { //不能为空
var temp_one = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html();
var temp = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html(); //获取一列的值
var temp_two = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html();
// 支付方式 10支付宝 20 微信 30pos机器 40转账 50现金 60其他
if(temp*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("支付宝")
}
if(temp*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("微信")
}
if(temp*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("pos机器")
}
if(temp*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("转账")
}
if(temp*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("现金")
}
if(temp*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("其他")
}
// 付款类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他
if(temp_two*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("意向金")
}
if(temp_two*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("定金")
}
if(temp_two*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("保管金")
}
if(temp_two*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("押金")
}
if(temp_two*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("租金")
}
if(temp_two*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("进场费")
}
if(temp_two*1==70){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("转让费")
}
if(temp_two*1==80){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("其他")
};
if(temp_one=='null'){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html(" ")
}
});
}
} else {
alert('获取失败!');
}
}
});
},
newCommission:function(){//新增分佣提成
$.ajax({
'type': 'POST',
......@@ -304,18 +388,6 @@ define(['doT', 'text!temp/refundorder_template_tpl.html', 'css!style/home.css',
$("#records").removeClass("btn-info");
$("#records").addClass("btn-default");
},
Records:function(){
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
},
Submit_follow: function() { //提交
$.ajax({
......
......@@ -233,10 +233,58 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
});
$("#tcaozuo_table").html(caozuo_table);
$("#tcaozuo_table tr").each(function (e) { //不能为空
var temp = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(6).html(); //获取一列的值
if(temp=='null'){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(6).html(" ")
}
var temp_one = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html();
var temp = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html(); //获取一列的值
var temp_two = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html();
// 支付方式 10支付宝 20 微信 30pos机器 40转账 50现金 60其他
if(temp*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("支付宝")
}
if(temp*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("微信")
}
if(temp*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("pos机器")
}
if(temp*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("转账")
}
if(temp*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("现金")
}
if(temp*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("其他")
}
// 付款类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他
if(temp_two*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("意向金")
}
if(temp_two*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("定金")
}
if(temp_two*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("保管金")
}
if(temp_two*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("押金")
}
if(temp_two*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("租金")
}
if(temp_two*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("进场费")
}
if(temp_two*1==70){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("转让费")
}
if(temp_two*1==80){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("其他")
};
if(temp_one=='null'){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html(" ")
}
});
}
} else {
......
......@@ -166,6 +166,91 @@ define (['doT', 'text!temp/statement_template_tpl.html', 'css!style/home.css','c
}
});
},
Records:function(){//分佣提成数据
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
$.ajax({
'type': 'GET',
'url' : '/index/payLogList',
data: {"id":business.house_id},
dataType: "json",
success: function(data){
if(data.code == 200){
if (data.data) {
var caozuo_table="";
$.each(data['data'], function(i, item) {
caozuo_table +='<tr><td>'+item.create_time+'</td><td>'+item.money+'</td><td>'+item.type
+'</td><td>'+item.pay_type+'</td><td>'+item.agent_name+'</td></tr>';
});
$("#tcaozuo_table").html(caozuo_table);
$("#tcaozuo_table tr").each(function (e) { //不能为空
var temp_one = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html();
var temp = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html(); //获取一列的值
var temp_two = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html();
// 支付方式 10支付宝 20 微信 30pos机器 40转账 50现金 60其他
if(temp*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("支付宝")
}
if(temp*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("微信")
}
if(temp*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("pos机器")
}
if(temp*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("转账")
}
if(temp*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("现金")
}
if(temp*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("其他")
}
// 付款类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他
if(temp_two*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("意向金")
}
if(temp_two*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("定金")
}
if(temp_two*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("保管金")
}
if(temp_two*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("押金")
}
if(temp_two*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("租金")
}
if(temp_two*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("进场费")
}
if(temp_two*1==70){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("转让费")
}
if(temp_two*1==80){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("其他")
};
if(temp_one=='null'){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html(" ")
}
});
}
} else {
alert('获取失败!');
}
}
});
},
newCommission:function(){//新增分佣提成
$.ajax({
'type': 'POST',
......@@ -210,18 +295,6 @@ define (['doT', 'text!temp/statement_template_tpl.html', 'css!style/home.css','c
$("#records").removeClass("btn-info");
$("#records").addClass("btn-default");
},
Records:function(){
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
},
getList: function (pageNo) {
business.pageNo = pageNo;
......
......@@ -162,6 +162,91 @@ define (['doT', 'text!temp/statement_backout_template_tpl.html', 'css!style/home
}
});
},
Records:function(){//分佣提成数据
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
$.ajax({
'type': 'GET',
'url' : '/index/payLogList',
data: {"id":business.house_id},
dataType: "json",
success: function(data){
if(data.code == 200){
if (data.data) {
var caozuo_table="";
$.each(data['data'], function(i, item) {
caozuo_table +='<tr><td>'+item.create_time+'</td><td>'+item.money+'</td><td>'+item.type
+'</td><td>'+item.pay_type+'</td><td>'+item.agent_name+'</td></tr>';
});
$("#tcaozuo_table").html(caozuo_table);
$("#tcaozuo_table tr").each(function (e) { //不能为空
var temp_one = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html();
var temp = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html(); //获取一列的值
var temp_two = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html();
// 支付方式 10支付宝 20 微信 30pos机器 40转账 50现金 60其他
if(temp*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("支付宝")
}
if(temp*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("微信")
}
if(temp*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("pos机器")
}
if(temp*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("转账")
}
if(temp*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("现金")
}
if(temp*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("其他")
}
// 付款类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他
if(temp_two*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("意向金")
}
if(temp_two*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("定金")
}
if(temp_two*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("保管金")
}
if(temp_two*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("押金")
}
if(temp_two*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("租金")
}
if(temp_two*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("进场费")
}
if(temp_two*1==70){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("转让费")
}
if(temp_two*1==80){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("其他")
};
if(temp_one=='null'){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html(" ")
}
});
}
} else {
alert('获取失败!');
}
}
});
},
newCommission:function(){//新增分佣提成
$.ajax({
'type': 'POST',
......@@ -207,18 +292,6 @@ define (['doT', 'text!temp/statement_backout_template_tpl.html', 'css!style/home
$("#records").removeClass("btn-info");
$("#records").addClass("btn-default");
},
Records:function(){
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
},
getList: function (pageNo) {
business.pageNo = pageNo;
......
......@@ -205,6 +205,91 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
}
});
},
Records:function(){//分佣提成数据
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
$.ajax({
'type': 'GET',
'url' : '/index/payLogList',
data: {"id":follow.house_id},
dataType: "json",
success: function(data){
if(data.code == 200){
if (data.data) {
var caozuo_table="";
$.each(data['data'], function(i, item) {
caozuo_table +='<tr><td>'+item.create_time+'</td><td>'+item.money+'</td><td>'+item.type
+'</td><td>'+item.pay_type+'</td><td>'+item.agent_name+'</td></tr>';
});
$("#tcaozuo_table").html(caozuo_table);
$("#tcaozuo_table tr").each(function (e) { //不能为空
var temp_one = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html();
var temp = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html(); //获取一列的值
var temp_two = $("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html();
// 支付方式 10支付宝 20 微信 30pos机器 40转账 50现金 60其他
if(temp*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("支付宝")
}
if(temp*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("微信")
}
if(temp*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("pos机器")
}
if(temp*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("转账")
}
if(temp*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("现金")
}
if(temp*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(3).html("其他")
}
// 付款类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他
if(temp_two*1==10){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("意向金")
}
if(temp_two*1==20){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("定金")
}
if(temp_two*1==30){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("保管金")
}
if(temp_two*1==40){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("押金")
}
if(temp_two*1==50){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("租金")
}
if(temp_two*1==60){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("进场费")
}
if(temp_two*1==70){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("转让费")
}
if(temp_two*1==80){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(2).html("其他")
};
if(temp_one=='null'){
$("#tcaozuo_table").find("tr").eq(e).find("td").eq(4).html(" ")
}
});
}
} else {
alert('获取失败!');
}
}
});
},
newCommission:function(){//新增分佣提成
$.ajax({
'type': 'POST',
......@@ -250,18 +335,6 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$("#records").removeClass("btn-info");
$("#records").addClass("btn-default");
},
Records:function(){
$(".Tswitch").eq(0).hide();
$(".Tswitch").eq(1).hide();
$(".Tswitch").eq(2).show();
$("#information").removeClass("btn-info");
$("#information").addClass("btn-default");
$("#fees").removeClass("btn-info");
$("#fees").addClass("btn-default");
$("#records").removeClass("btn-default");
$("#records").addClass("btn-info");
},
//专员审核
Commissioner: function(pageNo) {
......
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