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
8ceb403f
Commit
8ceb403f
authored
Aug 16, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告修改
parent
d04b8787
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
74 additions
and
22 deletions
+74
-22
account_statement.html
application/index/view/finance/account_statement.html
+29
-1
wait_back_out.html
application/index/view/finance/wait_back_out.html
+2
-2
reportList.js
public/resource/js/reportList.js
+30
-0
waitBackout.js
public/resource/js/waitBackout.js
+11
-11
reportList_template_tpl.html
public/resource/template/reportList_template_tpl.html
+1
-0
wait_backout_template_tpl.html
public/resource/template/wait_backout_template_tpl.html
+1
-8
No files found.
application/index/view/finance/account_statement.html
View file @
8ceb403f
...
@@ -300,7 +300,35 @@
...
@@ -300,7 +300,35 @@
</div>
</div>
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
<!-- 弹出框 撤销成交报告 -->
<div
class=
"modal fade"
id=
"modal-back-out"
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"
>
<label
class=
"control-label"
>
撤销原因:
</label>
<textarea
class=
"form-control"
rows=
"5"
id=
"pass_cexiao"
></textarea>
<!-- <span class="use-span text-danger">(必填)</span> -->
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-info"
data-dismiss=
"modal"
class=
"pass-modal-btn-pass"
id=
"pass_ok_btn_back"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框 时间轴 -->
<!-- 弹出框 时间轴 -->
<div
class=
"modal fade"
id=
"modal-time"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-time"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-dialog"
>
...
...
application/index/view/finance/wait_back_out.html
View file @
8ceb403f
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<div
class=
"panel-heading breadcrumb"
>
<li>
<li>
<a
href=
"#"
>
成交报告
</a>
<a
href=
"#"
>
成交报告
撤销
</a>
</li>
</li>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<a
class=
"btn btn-info liudan_pic_btn"
>
第一级审核
</a>
<a
class=
"btn btn-info liudan_pic_btn"
>
第一级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第二级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第二级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第三级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第三级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
已
结单
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
已
撤销
</a>
</td>
</td>
</tr>
</tr>
...
...
public/resource/js/reportList.js
View file @
8ceb403f
...
@@ -87,6 +87,15 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -87,6 +87,15 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
_doc
.
on
(
'click'
,
'#pass_ok_btn'
,
function
()
{
_doc
.
on
(
'click'
,
'#pass_ok_btn'
,
function
()
{
bargain
.
pass
();
bargain
.
pass
();
});
});
//点击撤销,修改全局bargain_id,弹出框出来
_doc
.
on
(
'click'
,
'.report-back-out'
,
function
()
{
bargain
.
bargain_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
});
//点击撤销,确定按钮触发的事件
_doc
.
on
(
'click'
,
'#pass_ok_btn_back'
,
function
()
{
bargain
.
passBack
();
});
//点击详情按钮事件,获取报告详情
//点击详情按钮事件,获取报告详情
_doc
.
on
(
'click'
,
'.details-btn'
,
function
()
{
_doc
.
on
(
'click'
,
'.details-btn'
,
function
()
{
...
@@ -684,7 +693,28 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -684,7 +693,28 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
}
}
});
});
},
},
//撤销成交报告 通过
passBack
:
function
()
{
//点击通过
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/index/backOutToOne'
,
data
:
{
"bargain_id"
:
bargain
.
bargain_id
,
"content"
:
$
.
trim
(
$
(
"#pass_cexiao"
).
val
())
},
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
//bargain.getList(1);
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
// 开票税费
// 开票税费
taxShow
:
function
()
{
taxShow
:
function
()
{
$
.
ajax
({
$
.
ajax
({
...
...
public/resource/js/waitBackout.js
View file @
8ceb403f
...
@@ -648,14 +648,14 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
...
@@ -648,14 +648,14 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
pass
:
function
()
{
//点击通过
pass
:
function
()
{
//点击通过
var
a_url
=
''
;
var
a_url
=
''
;
if
(
bargain
.
mainTabIndex
==
0
)
{
if
(
bargain
.
mainTabIndex
==
0
)
{
a_url
=
"/index/check
ReportAttach
e/0"
a_url
=
"/index/check
BackOutOn
e/0"
};
};
if
(
bargain
.
mainTabIndex
==
1
)
{
if
(
bargain
.
mainTabIndex
==
1
)
{
a_url
=
"/index/checkReportManager/1"
a_url
=
"/index/checkBackOutTwo/1"
};
if
(
bargain
.
mainTabIndex
==
2
)
{
a_url
=
"/index/checkBackOutThree/2"
};
};
// if(bargain.mainTabIndex == 2) {
// a_url = "/index/checkReportMajordomo/2"
// };
// if(bargain.mainTabIndex == 3) {
// if(bargain.mainTabIndex == 3) {
// a_url = "/index/checkReportCashier/3"
// a_url = "/index/checkReportCashier/3"
// };
// };
...
@@ -666,8 +666,8 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
...
@@ -666,8 +666,8 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
'url'
:
a_url
,
'url'
:
a_url
,
data
:
{
data
:
{
"id"
:
bargain
.
bargain_id
,
"id"
:
bargain
.
bargain_id
,
"source"
:
1
,
"source"
:
3
,
"status"
:
1
0
,
"status"
:
2
0
,
"remark"
:
$
.
trim
(
$
(
"#pass_beizhu"
).
val
()),
"remark"
:
$
.
trim
(
$
(
"#pass_beizhu"
).
val
()),
'step'
:
bargain
.
mainTabIndex
+
1
'step'
:
bargain
.
mainTabIndex
+
1
},
},
...
@@ -1316,13 +1316,13 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
...
@@ -1316,13 +1316,13 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
switchUrl
:
function
(){
switchUrl
:
function
(){
switch
(
Number
(
this
.
mainTabIndex
)){
switch
(
Number
(
this
.
mainTabIndex
)){
case
0
:
case
0
:
return
'/index/
reportListOne/1
'
;
return
'/index/
backOutOne/5
'
;
case
1
:
case
1
:
return
'/index/
reportListTwo/2
'
;
return
'/index/
backOutTwo/7
'
;
case
2
:
case
2
:
return
'/index/
reportListThree/3
'
;
return
'/index/
backOutThree/8
'
;
case
3
:
case
3
:
return
'/index/reportList
Statement/4
'
;
return
'/index/reportList
Undone/6
'
;
default
:
default
:
return
''
;
return
''
;
}
}
...
...
public/resource/template/reportList_template_tpl.html
View file @
8ceb403f
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
<
a
class
=
"btn1 btn-success maintable-btn-account"
>
结单
<
/a
>
<
a
class
=
"btn1 btn-success maintable-btn-account"
>
结单
<
/a
>
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
<
a
class
=
"btn1 btn-success report-back-out"
href
=
"#modal-back-out"
data
-
toggle
=
"modal"
>
撤销
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
>
时间轴
<
/a
>
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
...
...
public/resource/template/wait_backout_template_tpl.html
View file @
8ceb403f
...
@@ -15,17 +15,10 @@
...
@@ -15,17 +15,10 @@
[
%
if
(
check_auth
(
'index/bargainInfo'
))
{
%
]
[
%
if
(
check_auth
(
'index/bargainInfo'
))
{
%
]
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
>
详情
<
/a
>
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
>
详情
<
/a
>
[
%
}
%
]
[
%
}
%
]
[
%
if
(
it
[
"step"
]
<
3
)
{
%
]
[
%
if
(
it
[
"step"
]
!=
6
)
{
%
]
[
%
if
(
check_auth
(
'index/checkReportAttache/0'
)
||
check_auth
(
'index/checkReportManager/1'
)
||
check_auth
(
'index/checkReportMajordomo/2'
)
||
check_auth
(
'index/checkReportCashier/3'
))
{
%
]
[
%
if
(
check_auth
(
'index/checkReportAttache/0'
)
||
check_auth
(
'index/checkReportManager/1'
)
||
check_auth
(
'index/checkReportMajordomo/2'
)
||
check_auth
(
'index/checkReportCashier/3'
))
{
%
]
<
a
class
=
"btn1 btn-success"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
>
通过
<
/a
>
<
a
class
=
"btn1 btn-success"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
>
通过
<
/a
>
[
%
}
%
]
[
%
}
%
]
[
%
}
else
if
(
it
[
"step"
]
==
3
)
{
%
]
[
%
if
(
check_auth
(
'index/toReportListOne'
))
{
%
]
<
a
class
=
"btn1 btn-success maintable-btn-trans-one"
>
转到一级审核
<
/a
>
[
%
}
%
]
[
%
if
(
check_auth
(
'index/checkOver'
))
{
%
]
<
a
class
=
"btn1 btn-success maintable-btn-account"
>
结单
<
/a
>
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
>
时间轴
<
/a
>
<
/td
>
<
/td
>
...
...
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