Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
4e57ae42
Commit
4e57ae42
authored
Dec 11, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commite
parent
b1c15938
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
317 additions
and
323 deletions
+317
-323
adjustment.html
application/index/view/finance/adjustment.html
+113
-316
adjustment.js
public/resource/js/adjustment.js
+162
-7
adjustment_template_tpl.html
public/resource/template/adjustment_template_tpl.html
+42
-0
No files found.
application/index/view/finance/adjustment.html
View file @
4e57ae42
...
...
@@ -256,7 +256,14 @@
</div>
<div
class=
"panel-body"
style=
"overflow:hidden;"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<div
class=
"btn-group btn_choose"
>
<button
type=
"button"
class=
"btn btn-info"
>
全部
</button>
<button
type=
"button"
class=
"btn btn-default"
>
审核中
</button>
<button
type=
"button"
class=
"btn btn-default"
>
已审核
</button>
<button
type=
"button"
class=
"btn btn-default"
>
已退款
</button>
<button
type=
"button"
class=
"btn btn-default"
>
已驳回
</button>
</div>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
style=
"margin-top:15px"
>
<thead>
<tr>
<td
colspan=
"15"
>
...
...
@@ -273,37 +280,20 @@
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
id=
"into_time_end"
class=
"form-control btn4 ld-Marheight"
type=
"text"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d',readOnly:true})"
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"maintable_deal_type"
>
<option
value=
""
>
入账类型
</option>
<option
value=
"10"
>
意向金
</option>
<option
value=
"20"
>
定金
</option>
<option
value=
"30"
>
保管金
</option>
<option
value=
"40"
>
押金
</option>
<option
value=
"50"
>
租金
</option>
<option
value=
"60"
>
进场费
</option>
<option
value=
"70"
>
转让费
</option>
<option
value=
"80"
>
其他
</option>
<option
value=
"90"
>
佣金
</option>
</select>
<select
class=
"form-control btn2 ld-Marheight"
id=
"maintable_pay_type"
>
<option
value=
""
>
入账方式
</option>
<option
value=
"10"
>
支付宝
</option>
<option
value=
"20"
>
微信
</option>
<option
value=
"30"
>
POS机器
</option>
<option
value=
"40"
>
转账
</option>
<option
value=
"50"
>
现金
</option>
<option
value=
"60"
>
其他
</option>
</select>
<select
class=
"form-control btn2 ld-Marheight"
id=
"come_from"
>
<option
value=
""
>
来源
</option>
<option
value=
"0"
>
提交
</option>
<option
value=
"1"
>
调整
</option>
<select
class=
"form-control btn2 ld-Marheight"
id=
"changed_type"
>
<option
value=
""
>
调整类型
</option>
<option
value=
"10"
>
意向金转意向金
</option>
<option
value=
"20"
>
意向金转中介费
</option>
<option
value=
"30"
>
意向金转案场费
</option>
<option
value=
"40"
>
保管金转保管金
</option>
<option
value=
"50"
>
保管金转案场费
</option>
<option
value=
"60"
>
保管金转案场费
</option>
</select>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
order_id"
placeholder=
"订单
ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
get_id"
placeholder=
"收款
ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
report_id"
placeholder=
"成交报告
ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shop
_id"
placeholder=
"商铺ID
"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shop_addr"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
changed_id"
placeholder=
"调整
ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
looked_id"
placeholder=
"调整前带看
ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
shoped_id"
placeholder=
"调整前商铺
ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shop
ed_addr"
placeholder=
"调整前商铺地址
"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"commit_home"
>
<option
value=
""
>
提交人所在部门
</option>
<option
value=
"0"
>
一部
</option>
...
...
@@ -315,30 +305,27 @@
<option
value=
"1"
>
二店
</option>
</select>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"comit_name"
placeholder=
"提交人姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"comit_phone"
placeholder=
"提交人手机号"
type=
"text"
value=
""
>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"search"
style=
"float:left"
>
搜索
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"reset"
style=
"float:left"
>
重置
</span>
<!--<span class="money_total_two fore-span ld-Marheight ">实付总额:</span><span id="money_total" class="money_total_two_shifu fore-span ld-Marheight">1268</span>元-->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"export"
style=
"float:left"
>
导出报表
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"export"
style=
"float:left"
>
导出excel
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"count"
style=
"float:left"
>
统计
</span>
<span
class=
"money_total_two ld-Marheight "
style=
"float:left"
>
实付总额
:
</span><span
style=
"float:left"
id=
"money_total"
class=
"money_total_two_shifu fore-span ld-Marheight"
>
1268元
</span>
<span
class=
"money_total_two ld-Marheight "
style=
"float:left"
>
调整统计
:
</span><span
style=
"float:left"
id=
"money_total"
class=
"money_total_two_shifu fore-span ld-Marheight"
>
1268元
</span>
</form>
</td>
</tr>
<tr>
<th
class=
"text-center"
>
提交时间
</th>
<th
class=
"text-center"
>
收款ID
</th>
<th
class=
"text-center"
>
订单ID
</th>
<th
class=
"text-center"
>
成交报告ID
</th>
<th
class=
"text-center"
>
调整ID
</th>
<th
class=
"text-center"
>
调整前带看ID
</th>
<th
class=
"text-center"
>
调整前收款ID
</th>
<th
class=
"text-center"
>
调整前商铺ID
</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"
>
调整后收款ID
</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>
</thead>
...
...
@@ -376,291 +363,131 @@
</div>
<!-- /.modal -->
</div>
<!--调整-->
<div
class=
"modal fade"
id=
"modal-linetime"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-width"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
调整
</h4>
</div>
<div
class=
"modal-body modal-body-height"
>
<form
class=
""
>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
商铺ID:
</span></strong>
<span
id=
"shop_id_change"
class=
"col-xs-6 ld-Marheight"
>
123456
</span>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
商铺地址:
</span></strong>
<span
id=
"shop_addr_change"
class=
"col-xs-6 ld-Marheight"
>
123456
</span>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
调整为:
</span></strong>
<div
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"change_type"
>
<option
value=
"0"
>
佣金
</option>
<option
value=
"1"
>
意向金
</option>
<option
value=
"2"
>
保管金
</option>
</select>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
调整金额:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"change_price"
/></div>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
元
</span></strong>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
成交报告ID:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"report_id_change"
/></div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
订单ID:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"into_id_change"
/></div>
</div>
</div>
<!--上传图片-->
<div
class=
"col-xs-12 p-a-0"
>
<div
class=
"col-xs-12"
>
<label>
上传资料图片:
</label>
</div>
<div
class=
"col-xs-12 p-a-0"
>
<div
class=
"file-upload-area p-a-0 "
>
<ul
class=
"img-pre-ul"
id=
"fujian_ul"
></ul>
<div
class=
"btn-area"
>
<input
class=
"btn btn-default"
type=
"file"
id=
"file_input"
data-limittop=
"10"
/>
<!--修改上传文件的最大数字-->
<button
class=
"btn btn-default"
style=
"margin-left : 144px;"
>
选择图片
</button>
</div>
<div
class=
"col-xs-12 img_area p-t-10"
>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-primary submit_edit"
id=
"saveChangeBtn"
data-dismiss=
"modal"
>
提交
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 收款详情 -->
<div
class=
"modal fade"
id=
"modal-addPic"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-width"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
收款
详情
</h4>
<h4
class=
"modal-title"
>
调整
详情
</h4>
</div>
<div
class=
"modal-body modal-body-height"
>
<form
class=
""
>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-3"
>
<div
class=
"form-group"
>
<strong><span>
入账ID:
</span></strong>
<span
id=
"ruzhangId"
>
45122
</span>
</div>
</div>
<div
class=
"col-xs-3"
>
<div
class=
"form-group"
>
<strong><span>
订单ID:
</span></strong>
<span
id=
"dingdanId"
>
45122
</span>
</div>
</div>
<div
class=
"col-xs-3"
>
<div
class=
"form-group"
>
<strong><span>
成交报告ID:
</span></strong>
<span
id=
"chengjiaobaogaoId"
>
45122
</span>
</div>
</div>
<div
class=
"col-xs-3"
>
<div
class=
"form-group"
>
<strong><span>
房源ID:
</span></strong>
<span
id=
"fangyuanId"
>
45122
</span>
</div>
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-
3 ld-Marheight"
>
提交人
:
</span></strong>
<span
id=
"
tijiaoren
"
class=
"col-xs-6 ld-Marheight"
>
forgina
</span>
<strong><span
class=
"col-xs-
4 ld-Marheight"
>
调整ID
:
</span></strong>
<span
id=
"
change_id
"
class=
"col-xs-6 ld-Marheight"
>
forgina
</span>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
房源地址:
</span></strong>
<span
id=
"address"
class=
"col-xs-6 ld-Marheight"
>
上海市南京东路123号
</span>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
调整金额:
</span></strong>
<span
id=
"change_price"
class=
"col-xs-6 ld-Marheight"
>
上海市南京东路123号
</span>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-
12
"
>
<div
class=
"col-xs-
6
"
>
<div
class=
"col-xs-
6
"
>
<div
class=
"col-xs-
12
"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
提交时间:
</span></strong>
<span
id=
"comit_time"
class=
"col-xs-6 ld-Marheight"
>
2018.12.12 10:00:00
</span>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
调整前:
</span></strong>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
入账类型:
</span></strong>
<span
id=
"intoType"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
商铺号:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"shopNo"
/></div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
入账日期:
</span></strong>
<div
class=
"col-xs-6"
>
<input
class=
"form-control"
type=
"text"
value=
"2018.12.12"
id=
"intoDate"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d',readOnly:true})"
/>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账ID:
</span></strong>
<span
id=
"befor_into_id"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
成交价:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"salePrice"
/></div>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
元
</span></strong>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
入账金额:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"intoPrice"
/></div>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
元
</span></strong>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
订单ID:
</span></strong>
<span
id=
"befor_order_id"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
手续费:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"shouxu"
/></div>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
元
</span></strong>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
房源ID:
</span></strong>
<span
id=
"befor_house_id"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
实付金额:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"realPrice"
/></div>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
元
</span></strong>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
房源地址:
</span></strong>
<span
id=
"befor_house_addr"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
应收金额:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"getPrice"
/></div>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
元
</span></strong>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账日期 :
</span></strong>
<span
id=
"befor_into_date"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
多收金额:
</span></strong>
<div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"morePrice"
/></div>
<strong><span
class=
"col-xs-2 ld-Marheight"
>
元
</span></strong>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账类型:
</span></strong>
<span
id=
"befor_into_type"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-
12
"
>
<div
class=
"col-xs-
6
"
>
<div
class=
"col-xs-
6
"
>
<div
class=
"col-xs-
12
"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
业务员:
</span></strong>
<span
id=
"person"
class=
"col-xs-6 ld-Marheight"
>
周小雨
</span>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
调整后:
</span></strong>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
所属门店:
</span></strong>
<span
id=
"belongT"
class=
" col-xs-6 ld-Marheight"
>
南京东路店
</span>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账ID:
</span></strong>
<span
id=
"after_into_id"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
最后转定时间:
</span></strong>
<div
class=
"col-xs-6"
>
<input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"lastTime"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d',readOnly:true})"
/>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
订单ID:
</span></strong>
<span
id=
"after_order_id"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
支付方式:
</span></strong>
<div
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"payType"
>
<option
value=
"1"
>
施总支付宝
</option>
</select>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
成交报告ID:
</span></strong>
<span
id=
"after_report_id"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div
>
<div
class=
"col-xs-6
"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
转账户名:
</span></strong
>
<
div
class=
"col-xs-6"
><input
class=
"form-control"
type=
"text"
value=
"2018"
id=
"payNo"
/><
/div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group
"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
房源ID:
</span></strong
>
<span
id=
"after_house_id"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span
>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
是否开业:
</span></strong>
<div
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"running"
>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
房源地址:
</span></strong>
<span
id=
"after_house_addr"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
是否分红:
</span></strong>
<div
class=
"col-xs-6"
>
<select
class=
"form-control"
id=
"fenhong"
>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账日期 :
</span></strong>
<span
id=
"after_into_date"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span>
</div>
</div>
</div
>
<div
class=
"col-xs-6
"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
来源:
</span></strong
>
<
span
id=
"comes"
class=
"col-xs-6 ld-Marheight"
>
调整
</span
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group
"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账类型:
</span></strong
>
<span
id=
"after_into_type"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span
>
<
/div
>
</div>
</div
>
<div
class=
"col-xs-6
"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
状态:
</span></strong
>
<
span
id=
"status"
class=
" col-xs-6 ld-Marheight"
>
正常
</span
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group
"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账金额:
</span></strong
>
<span
id=
"after_into_price"
class=
"col-xs-6 ld-Marheight"
>
中介费
</span
>
<
/div
>
</div>
</div>
</div>
...
...
@@ -678,33 +505,4 @@
</div>
<div
id=
"img_mask_area"
title=
"点击任意位置可关闭"
>
<img
/>
</div>
<!-- /#删除模态框 -->
<div
class=
"modal fade"
id=
"modal-delete1"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
删除
</h4>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<input
type=
"hidden"
value=
""
id=
"delete_id"
/>
确认删除吗?
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"confirm_delete"
data-dismiss=
"modal"
>
删除
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
public/resource/js/adjustment.js
View file @
4e57ae42
define
([
'doT'
,
'text!temp/
receivables
_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
receiv
=
{
define
([
'doT'
,
'text!temp/
adjustment
_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
adjustment
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
...
...
@@ -11,13 +11,42 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
receiv
.
getList
(
1
);
receiv
.
event
();
adjustment
.
getList
(
1
);
adjustment
.
event
();
},
event
:
function
()
{
var
that
=
receiv
;
var
that
=
adjustment
;
var
_doc
=
$
(
document
);
$
(
document
).
on
(
'click'
,
'.btn_choose'
,
function
(
e
){
console
.
log
(
e
);
console
.
log
(
e
.
target
.
innerHTML
);
var
value
=
e
.
target
.
innerHTML
;
$
(
'.btn-group'
).
find
(
'button.btn-info'
).
addClass
(
"btn-default"
);
$
(
'.btn-group'
).
find
(
'button.btn-info'
).
removeClass
(
"btn-info"
);
$
(
'.btn-group'
).
find
(
'button'
).
each
(
function
(){
console
.
log
(
$
(
this
).
context
.
innerHTML
)
if
(
$
(
this
).
context
.
innerHTML
==
value
){
$
(
this
).
addClass
(
"btn-info"
);
$
(
this
).
removeClass
(
"btn-default"
);
}
})
adjustment
.
getList
(
1
);
});
//搜索
$
(
document
).
on
(
'click'
,
'#search'
,
function
(
e
){
that
.
getList
(
that
.
pageNo
);
});
//重置搜索条件
$
(
document
).
on
(
'click'
,
'#reset'
,
function
(
e
){
that
.
resetAll
();
});
//导出报表
$
(
document
).
on
(
'click'
,
'#export'
,
function
(
e
){
that
.
exportExcel
();
});
//操作----时间轴
$
(
document
).
on
(
'click'
,
'.timeline'
,
function
(
e
){
var
house_id
=
e
.
target
.
dataset
.
id
;;
...
...
@@ -30,10 +59,135 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
'real_money'
:
'18'
,
'type'
:
'19'
,
'pay_type'
:
'10'
,
'internal_address'
:
'21'
,
'house_number'
:
'31'
,
'aaa'
:
'41'
,
'bbb'
:
'51'
,
'id'
:
'61'
},{
'create_time'
:
'12'
,
'income_time'
:
'13'
,
'report_agent_name'
:
'14'
,
'report_agent_phone'
:
'15'
,
'store_name'
:
'16'
,
'money'
:
'17'
,
'real_money'
:
'18'
,
'type'
:
'19'
,
'pay_type'
:
'10'
,
'internal_address'
:
'21'
,
'house_number'
:
'31'
,
'aaa'
:
'41'
,
'bbb'
:
'51'
,
'id'
:
'80'
}]
var
temp
=
document
.
getElementById
(
'
receivables
_template_tpl'
).
innerHTML
;
var
temp
=
document
.
getElementById
(
'
adjustment
_template_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#order_list"
).
html
(
doTtmpl
(
aaa
));
that
.
setValue
();
},
setValue
:
function
(){
var
that
=
adjustment
;
$
(
'#change_id'
).
text
(
"123123"
);
$
(
'#change_price'
).
text
(
"123123"
);
$
(
'#befor_into_id'
).
text
(
"123123"
);
$
(
'#befor_order_id'
).
text
(
"123123"
);
$
(
'#befor_house_id'
).
text
(
"123123"
);
$
(
'#befor_house_addr'
).
text
(
"123123"
);
$
(
'#befor_into_date'
).
text
(
"123123"
);
$
(
'#befor_into_type'
).
text
(
"123123"
);
$
(
'#after_into_id'
).
text
(
"123123"
);
$
(
'#after_order_id'
).
text
(
"123123"
);
$
(
'#after_report_id'
).
text
(
"123123"
);
$
(
'#after_house_id'
).
text
(
"123123"
);
$
(
'#after_house_addr'
).
text
(
"123123"
);
$
(
'#after_into_date'
).
text
(
"123123"
);
$
(
'#after_into_type'
).
text
(
"123123"
);
$
(
'#after_into_price'
).
text
(
"123123"
);
},
/**
* 获取表格数据
* @param {Object} no
*/
getList
:
function
(
no
){
var
that
=
adjustment
;
var
params
=
that
.
buildSearchParams
();
console
.
log
(
params
)
;
},
/**
* 重置查询条件
*/
resetAll
:
function
(){
var
commite_time_start
=
$
(
'#comit_time_start'
).
val
(
""
);
var
commite_time_end
=
$
(
'#comit_time_end'
).
val
(
""
);
var
into_time_start
=
$
(
'#into_time_start'
).
val
(
""
);
var
into_time_end
=
$
(
'#into_time_end'
).
val
(
""
);
var
changed_type
=
$
(
'#changed_type'
).
val
(
""
);
var
changed_id
=
$
(
'#changed_id'
).
val
(
""
);
var
looked_id
=
$
(
'#looked_id'
).
val
(
""
);
var
shoped_id
=
$
(
'#shoped_id'
).
val
(
""
);
var
shoped_addr
=
$
(
'#shoped_addr'
).
val
(
""
);
var
commit_home
=
$
(
'#commit_home'
).
val
(
""
);
var
commit_shop
=
$
(
'#commit_shop'
).
val
(
""
);
var
comit_name
=
$
(
'#comit_name'
).
val
(
""
);
var
comit_phone
=
$
(
'#comit_phone'
).
val
(
""
);
},
/**
* 导出报表
*/
exportExcel
:
function
(){
var
that
=
adjustment
;
var
params
=
that
.
buildSearchParams
();
$
.
post
(
''
,
params
,
function
(
data
){
console
.
log
(
data
);
})
},
/**
* 获取查询参数
*/
buildSearchParams
:
function
(){
var
commite_time_start
=
$
(
'#comit_time_start'
).
val
();
var
commite_time_end
=
$
(
'#comit_time_end'
).
val
();
var
into_time_start
=
$
(
'#into_time_start'
).
val
();
var
into_time_end
=
$
(
'#into_time_end'
).
val
();
var
changed_type
=
$
(
'#changed_type'
).
val
();
var
changed_id
=
$
(
'#changed_id'
).
val
();
var
looked_id
=
$
(
'#looked_id'
).
val
();
var
shoped_id
=
$
(
'#shoped_id'
).
val
();
var
shoped_addr
=
$
(
'#shoped_addr'
).
val
();
var
commit_home
=
$
(
'#commit_home'
).
val
();
var
commit_shop
=
$
(
'#commit_shop'
).
val
();
var
comit_name
=
$
(
'#comit_name'
).
val
();
var
comit_phone
=
$
(
'#comit_phone'
).
val
();
var
choose_type
=
$
(
'.btn-group'
).
find
(
'.btn-info'
).
html
();
var
params
=
{};
if
(
choose_type
)
{
params
.
choose_type
=
choose_type
;
}
if
(
commite_time_start
)
{
params
.
commite_time_start
=
commite_time_start
;
}
if
(
commite_time_end
)
{
params
.
commite_time_end
=
commite_time_end
;
}
if
(
into_time_start
)
{
params
.
into_time_start
=
into_time_start
;
}
if
(
into_time_end
)
{
params
.
into_time_end
=
into_time_end
;
}
if
(
changed_type
)
{
params
.
changed_type
=
changed_type
;
}
if
(
changed_id
)
{
params
.
changed_id
=
changed_id
;
}
if
(
looked_id
)
{
params
.
looked_id
=
looked_id
;
}
if
(
shoped_id
)
{
params
.
shoped_id
=
shoped_id
;
}
if
(
shoped_addr
)
{
params
.
shoped_addr
=
shoped_addr
;
}
if
(
commit_home
)
{
params
.
commit_home
=
commit_home
;
}
if
(
commit_shop
)
{
params
.
commit_shop
=
commit_shop
;
}
if
(
comit_name
)
{
params
.
comit_name
=
comit_name
;
}
if
(
comit_phone
)
{
params
.
comit_phone
=
comit_phone
;
}
return
params
;
},
};
return
receiv
;
return
adjustment
;
});
\ No newline at end of file
public/resource/template/adjustment_template_tpl.html
0 → 100644
View file @
4e57ae42
<script
id=
"adjustment_template_tpl"
type=
"text/template"
>
[
%
if
(
it
&&
it
.
length
!=
0
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'income_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'report_agent_name'
]
%
]
-
[
%=
it
[
item
][
'report_agent_phone'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'real_money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_number'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'report_agent_phone'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success add-pic"
href
=
"#modal-addPic"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success list_delete"
href
=
"#modal-delete"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"]%]'
>
撤销调整
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"13"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment