Commit 7071617b authored by agping's avatar agping

1

parent 0f1f5c36
......@@ -928,19 +928,6 @@
</div>
</div>
<div class="col-xs-12">
<div class="col-xs-6 ky">
<div class="form-group">
<strong><span class="col-xs-3 ld-Marheight">是否开业:</span></strong>
<div class="col-xs-6">
<!--<span id="running" class="col-xs-6 ld-Marheight"></span>-->
<select class="form-control" id="running" disabled="disabled">
<option value="3">请选择</option>
<option value="0"></option>
<option value="1"></option>
</select>
</div>
</div>
</div>
<div class="col-xs-6 xqac">
<div class="form-group">
<strong><span class="col-xs-3 ld-Marheight">是否分红:</span></strong>
......@@ -953,13 +940,27 @@
</div>
</div>
</div>
<div class="col-xs-6 ky">
<div class="form-group">
<!--<strong><span class="col-xs-3 ld-Marheight">是否开业:</span></strong>-->
<div class="col-xs-6">
<!--<span id="running" class="col-xs-6 ld-Marheight"></span>-->
<!--<select class="form-control" id="running" disabled="disabled">
<option value="3">请选择</option>
<option value="0">否</option>
<option value="1">是</option>
</select>-->
</div>
</div>
</div>
</div>
<div class="col-xs-12">
<div class="col-xs-6 ky">
<div class="form-group">
<strong><span class="col-xs-3 ld-Marheight">开业确定时间:</span></strong>
<!--<strong><span class="col-xs-3 ld-Marheight">开业确定时间:</span></strong>-->
<!--<div class="col-xs-6">-->
<span id="open_time" class="col-xs-6 ld-Marheight"></span>
<!--<span id="open_time" class="col-xs-6 ld-Marheight"></span>-->
<!--</div>-->
</div>
</div>
......
......@@ -1036,7 +1036,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
'agent_id' : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).id,
'report_id' : that.report_id,
'industry_type' : that.yetai ? that.yetai : '' ,
'income_time' : that.income_time ,
'income_time' : (new Date(that.income_time)).getTime()*0.001,
'pay_id' : that.pay_id ,
'transfer_name' : that.transfer_name,
};
......@@ -1091,7 +1091,8 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
params.house_number = $('#shop_id_change_shop').val()
if ( $('#change_type').val() == 10 || $('#change_type').val() == 30 ){
if ($('#change_time').val()){//最后转定时间
params.last_transfer_time = $('#change_time').val()
params.last_transfer_time = (new Date($('#change_time').val())).getTime()*0.001;
};
} else {
......@@ -1160,8 +1161,9 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
$.post('/office_index/getCollectionEdit',params,function(data){
if(data.code == 200) {
$('#modal-addPic').modal('hide');//操作成功后 在隐藏弹窗
if(receiv.is_baocun_bargainID*1 == 0){//判断点击的是哪个 保存详情的按钮
$('#modal-addPic').modal('hide');//操作成功后 在隐藏弹窗
that.getList(that.pageNo);
}else{
that.getMoneyDetail(receiv.collection_id_liu);
......@@ -1211,7 +1213,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
if ($('#payNo').val()){//支付户名
params.transfer_name = $('#payNo').val()
};
params.is_open = $('#running').val()
// params.is_open = $('#running').val()
if ($('#fenhong').val()){//分红
params.is_dividend = $('#fenhong').val()
};
......@@ -1493,7 +1495,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
doc.find("#tijiaoren").text(data.agent_name);
doc.find("#address").text(data.address);
doc.find("#comit_time").text(data.create_time);
doc.find("#open_time").text(data.open_time);//开业确定时间
// doc.find("#open_time").text(data.open_time);//开业确定时间
//判断收款详情的类型
if(data.type == 91){
......@@ -1565,7 +1567,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
doc.find("#payType").val(data.pay_type);
doc.find("#payNo").val(data.transfer_name);
// doc.find("#running").text(data.is_open == 1 ? "是":"否");//收款页面 是否开业变成可编辑的
doc.find("#running").val(data.is_open);//收款页面 是否开业变成可编辑的
// doc.find("#running").val(data.is_open);//收款页面 是否开业变成可编辑的
doc.find("#fenhong").val(data.is_dividend);
doc.find('#pinpai').text(data.industry_type);
var source_id = data.source_id ;
......
......@@ -1054,7 +1054,7 @@ define(['doT', 'text!temp/real_time_performance_office_template_tpl.html', 'text
if(typeof data === 'object') {
if(data.code == 200) {
var doTtmpl = doT.template(document.getElementById('newshop_number_details_tpl').innerHTML);
$("#newshop_number_details_list").html(doTtmpl(data.data));
$("#newshop_number_details_list").html(doTtmpl(data.data.list));
//获取统计时间
$('#newshop_details_time_start').html(realtime.time_search_start);
$('#newshop_details_time_end').html(realtime.time_search_end);
......
......@@ -509,56 +509,48 @@
<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>
<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>
<th class="text-center">租金总价</th>
<th class="text-center">租金单价</th>
<th class="text-center">面积(㎡)</th>
<th class="text-center">工位</th>
</tr>
[% for(var item in it){ %]
[% if(it[item]["status"] != 3) { %]
<tr data-id="[%= it[item]['id'] %]" data-orderid="[%= it[item]['order_id'] %]">
<td class="text-center">[%= it[item]['id'] %]</td>
<td class="text-center">
[% if(it[item]["shop_type"] == 0) { %]
商场
[% }else{ %]
街铺
[% } %]
</td>
<td class="text-center">[%= hideStr(it[item]['internal_title']) %]</td>
<td class="text-center">
[% if (it[item]['rent_type'] == 1) { %]
[%= it[item]["rent_price"] / 100 %]
[% } else if (it[item]['rent_type'] == 2) { %]
[%= it[item]["rent_price"] / 100 %] %
[% }else{ %]
[%= it[item]["rent_price"] / 100 %] //
[% } %]
</td>
<td class="text-center">
[% if(it[item]["shop_type"] == 0) { %]
[%= it[item]["shop_area_start"] + '-' + it[item]["shop_area_end"] %]
[% }else{ %]
[%= it[item]["shop_area_start"] %]
<td>[%= it[item]['id'] %]</td>
<td>
[% if (it[item]['type'] == 1) { %]
写字楼
[% } else if (it[item]['type'] == 2) { %]
商住两用
[% }else if (it[item]['type'] == 3) { %]
园区
[% }else if (it[item]['type'] == 4) { %]
洋房
[% }else if (it[item]['type'] == 5) { %]
联合办公
[% }else if (it[item]['type'] == 6) { %]
厂房
[% } %]
</td>
<td class="text-left">[%= it[item]['industry_type'] %]</td>
<td class="text-center">[%= it[item]['last_phone_follow_time'] %]</td>
<td>
[% if(it[item]["status"] == 1) { %]
上架
[% }else if(it[item]["status"] == 2){ %]
下架
[% }else{ %]
回收
<td>[%= it[item]['title'] %]</td>
<td>
[% if (it[item]['floor_tag'] == 1) { %]
底层
[% } else if (it[item]['floor_tag'] == 2) { %]
中层
[% }else if (it[item]['floor_tag'] == 3) { %]
高层
[% } %]
</td>
<td>[%=it[item]["price_total"] %]/</td>
<td>[%=it[item]["price"] %]//</td>
<td>[%=it[item]["area"] %]</td>
<td>[%=it[item]["station_start"] %]-[%=it[item]["station_end"] %]</td>
</tr>
[% } %]
[% } %]
[% }else{ %]
<tr>
<td colspan="10" style="text-align:center;"> 暂无数据</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