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
3f3ba255
Commit
3f3ba255
authored
May 07, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务修改
parent
e298e283
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
113 additions
and
55 deletions
+113
-55
refundList.html
application/index/view/finance/refundList.html
+0
-0
refund_order_list.html
application/index/view/finance/refund_order_list.html
+15
-1
refundList.js
public/resource/js/refundList.js
+44
-20
refundOrderList.js
public/resource/js/refundOrderList.js
+4
-0
reportList.js
public/resource/js/reportList.js
+36
-32
stateMent.js
public/resource/js/stateMent.js
+4
-0
statementBackout.js
public/resource/js/statementBackout.js
+4
-0
waitBackout.js
public/resource/js/waitBackout.js
+4
-0
refund_template_tpl.html
public/resource/template/refund_template_tpl.html
+1
-1
wait_backout_template_tpl.html
public/resource/template/wait_backout_template_tpl.html
+1
-1
No files found.
application/index/view/finance/refundList.html
View file @
3f3ba255
This diff is collapsed.
Click to expand it.
application/index/view/finance/refund_order_list.html
View file @
3f3ba255
...
@@ -147,7 +147,21 @@
...
@@ -147,7 +147,21 @@
<!--分佣提成-->
<!--分佣提成-->
</div>
</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>
<br><br><br><br>
</div>
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
...
...
public/resource/js/refundList.js
View file @
3f3ba255
...
@@ -34,8 +34,17 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -34,8 +34,17 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
follow
.
Edit
();
follow
.
Edit
();
});
});
$
(
document
).
delegate
(
"#confirm_edit"
,
"click"
,
function
()
{
//点击操作跟进详情
$
(
document
).
delegate
(
".is_pass"
,
"click"
,
function
()
{
//点击编辑
follow
.
confirmEdit
();
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
follow
.
house_id
);
});
$
(
document
).
delegate
(
"#modal-rejected"
,
"click"
,
function
()
{
//点击编辑
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
follow
.
house_id
);
});
$
(
document
).
delegate
(
"#confirm_rejected"
,
"click"
,
function
()
{
//点击驳回确定
follow
.
confirmRejected
();
});
});
$
(
document
).
delegate
(
".caozuo"
,
"click"
,
function
()
{
//点击分佣提成
$
(
document
).
delegate
(
".caozuo"
,
"click"
,
function
()
{
//点击分佣提成
follow
.
Caozuo
();
follow
.
Caozuo
();
...
@@ -172,24 +181,39 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
...
@@ -172,24 +181,39 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
}
}
});
});
},
},
confirmEdit
:
function
(){
//修改报告详情
confirmRejected
:
function
(){
//驳回提交
$
.
ajax
({
console
.
log
(
$
(
'.btn-info'
).
index
());
'type'
:
'POST'
,
var
a_url
;
'url'
:
'/index/editBargainInfo'
,
if
(
$
(
'.btn-info'
).
index
()
==
0
){
data
:
{
"id"
:
follow
.
house_id
,
a_url
=
"/index/checkReportAttache/0"
"scale_fee"
:
$
(
".commission"
).
val
(),
};
"practical_fee"
:
$
(
".practical_fee"
).
val
()
if
(
$
(
'.btn-info'
).
index
()
==
1
)
{
},
a_url
=
"/index/checkReportManager/1"
dataType
:
"json"
,
};
success
:
function
(
data
){
if
(
$
(
'.btn-info'
).
index
()
==
2
)
{
if
(
data
.
code
==
200
){
a_url
=
"/index/checkReportMajordomo/2"
if
(
data
.
data
)
{
};
}
if
(
$
(
'.btn-info'
).
index
()
==
3
)
{
}
else
{
a_url
=
"/index/checkReportCashier/3"
alert
(
'获取失败!'
);
};
}
// console.log($('.btn-info').index());
}
console
.
log
(
follow
.
house_id
);
});
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
a_url
,
data
:
{
"id"
:
follow
.
house_id
,
"remark"
:
$
(
"#rejected_text"
).
val
(),
},
dataType
:
"json"
,
success
:
function
(
data
){
if
(
data
.
code
==
200
){
if
(
data
.
data
)
{
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
},
//通过
//通过
confirmPass
:
function
(){
//点击通过
confirmPass
:
function
(){
//点击通过
...
...
public/resource/js/refundOrderList.js
View file @
3f3ba255
...
@@ -33,6 +33,10 @@ define(['doT', 'text!temp/refundorder_template_tpl.html', 'css!style/home.css',
...
@@ -33,6 +33,10 @@ define(['doT', 'text!temp/refundorder_template_tpl.html', 'css!style/home.css',
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击操作跟进详情
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击操作跟进详情
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
follow
.
Edit
();
follow
.
Edit
();
});
$
(
document
).
delegate
(
".is_pass"
,
"click"
,
function
()
{
//点击编辑
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
follow
.
house_id
);
});
});
$
(
document
).
delegate
(
"#confirm_edit"
,
"click"
,
function
()
{
//点击操作跟进详情
$
(
document
).
delegate
(
"#confirm_edit"
,
"click"
,
function
()
{
//点击操作跟进详情
follow
.
confirmEdit
();
follow
.
confirmEdit
();
...
...
public/resource/js/reportList.js
View file @
3f3ba255
...
@@ -147,38 +147,42 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -147,38 +147,42 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
},
},
//通过
//通过
confirmPass
:
function
(){
//点击通过
confirmPass
:
function
(){
//点击通过
var
a_url
;
var
a_url
;
if
(
$
(
'.btn-info'
).
index
()
==
0
){
if
(
$
(
'.btn-info'
).
index
()
==
0
){
a_url
=
"/index/checkReportAttache/0"
a_url
=
"/index/checkReportAttache/0"
};
};
if
(
$
(
'.btn-info'
).
index
()
==
1
)
{
if
(
$
(
'.btn-info'
).
index
()
==
1
)
{
a_url
=
"/index/checkReportManager/1"
a_url
=
"/index/checkReportManager/1"
};
};
if
(
$
(
'.btn-info'
).
index
()
==
2
)
{
if
(
$
(
'.btn-info'
).
index
()
==
2
)
{
a_url
=
"/index/checkReportMajordomo/2"
a_url
=
"/index/checkReportMajordomo/2"
};
};
if
(
$
(
'.btn-info'
).
index
()
==
3
)
{
if
(
$
(
'.btn-info'
).
index
()
==
3
)
{
a_url
=
"/index/checkReportCashier/3"
a_url
=
"/index/checkReportCashier/3"
};
};
// console.log($('.btn-info').index());
$
.
ajax
({
console
.
log
(
follow
.
house_id
);
'type'
:
'POST'
,
$
.
ajax
({
'url'
:
a_url
,
'type'
:
'POST'
,
data
:
{
"id"
:
bargain
.
bargain_id
,
'url'
:
a_url
,
"source"
:
1
,
data
:
{
"id"
:
bargain
.
bargain_id
,
"status"
:
10
,
"source"
:
1
,
"remark"
:
$
(
"#note_text"
).
val
(),
"status"
:
10
,
},
"remark"
:
$
(
"#note_text"
).
val
(),
dataType
:
"json"
,
},
success
:
function
(
data
){
dataType
:
"json"
,
if
(
data
.
code
==
200
){
success
:
function
(
data
){
bargain
.
getList
(
1
);
if
(
data
.
code
==
200
){
}
else
{
if
(
data
.
data
)
{
alert
(
'通过失败!'
);
console
.
log
(
666
);
}
}
}
}
else
{
});
alert
(
'获取失败!'
);
},
}
}
});
},
Caozuo
:
function
(){
//分佣提成数据
Caozuo
:
function
(){
//分佣提成数据
$
.
ajax
({
$
.
ajax
({
'type'
:
'GET'
,
'type'
:
'GET'
,
...
...
public/resource/js/stateMent.js
View file @
3f3ba255
...
@@ -47,6 +47,10 @@ define (['doT', 'text!temp/statement_template_tpl.html', 'css!style/home.css','c
...
@@ -47,6 +47,10 @@ define (['doT', 'text!temp/statement_template_tpl.html', 'css!style/home.css','c
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击编辑
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击编辑
business
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
business
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
business
.
Edit
();
business
.
Edit
();
});
$
(
document
).
delegate
(
".is_pass"
,
"click"
,
function
()
{
//点击编辑
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
follow
.
house_id
);
});
});
$
(
document
).
delegate
(
"#confirm_edit"
,
"click"
,
function
()
{
//点击编辑确定
$
(
document
).
delegate
(
"#confirm_edit"
,
"click"
,
function
()
{
//点击编辑确定
business
.
confirmEdit
();
business
.
confirmEdit
();
...
...
public/resource/js/statementBackout.js
View file @
3f3ba255
...
@@ -43,6 +43,10 @@ define (['doT', 'text!temp/statement_backout_template_tpl.html', 'css!style/home
...
@@ -43,6 +43,10 @@ define (['doT', 'text!temp/statement_backout_template_tpl.html', 'css!style/home
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击编辑
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击编辑
business
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
business
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
business
.
Edit
();
business
.
Edit
();
});
$
(
document
).
delegate
(
".is_pass"
,
"click"
,
function
()
{
//点击编辑
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
follow
.
house_id
);
});
});
$
(
document
).
delegate
(
"#confirm_edit"
,
"click"
,
function
()
{
//点击确定编辑
$
(
document
).
delegate
(
"#confirm_edit"
,
"click"
,
function
()
{
//点击确定编辑
business
.
confirmEdit
();
business
.
confirmEdit
();
...
...
public/resource/js/waitBackout.js
View file @
3f3ba255
...
@@ -33,6 +33,10 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
...
@@ -33,6 +33,10 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击操作跟进详情
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击操作跟进详情
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
follow
.
Edit
();
follow
.
Edit
();
});
$
(
document
).
delegate
(
".is_pass"
,
"click"
,
function
()
{
//点击编辑
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
follow
.
house_id
);
});
});
$
(
document
).
delegate
(
"#confirm_edit"
,
"click"
,
function
()
{
//点击操作跟进详情
$
(
document
).
delegate
(
"#confirm_edit"
,
"click"
,
function
()
{
//点击操作跟进详情
follow
.
confirmEdit
();
follow
.
confirmEdit
();
...
...
public/resource/template/refund_template_tpl.html
View file @
3f3ba255
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<
td
>
[
%=
it
[
item
][
'refund_money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'refund_money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'card_no'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'card_no'
]
%
]
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-success edit"
href
=
"#modal-
edit
"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
驳回
<
/a
>
<
a
class
=
"btn1 btn-success edit"
href
=
"#modal-
rejected
"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
驳回
<
/a
>
<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
通过
<
/a
>
<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
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]["id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
时间轴
<
/a
>
<
/td
>
<
/td
>
...
...
public/resource/template/wait_backout_template_tpl.html
View file @
3f3ba255
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<
td
>
<
td
>
<
a
class
=
"btn1 btn-success edit"
href
=
"#modal-edit"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-success edit"
href
=
"#modal-edit"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
通过
<
/a
>
<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
通过
<
/a
>
<
a
class
=
"btn1 btn-success genjing"
href
=
"#modal-follow"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a
>
<
!--
<
a
class
=
"btn1 btn-success genjing"
href
=
"#modal-follow"
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]["id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
时间轴
<
/a
>
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
...
...
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