Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
9928f99e
Commit
9928f99e
authored
Jul 12, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签证财务单据 服务费单据、其他单据制单
parent
8692c50b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
257 additions
and
17 deletions
+257
-17
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+6
-2
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+6
-2
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+1
-0
VisaFinancialDocuments.vue
src/components/SalesModule/VisaFinancialDocuments.vue
+244
-13
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
9928f99e
...
@@ -926,6 +926,8 @@
...
@@ -926,6 +926,8 @@
<!-- <td v-else-if="OrderSource==10&&GetDetail.SourceID>0"
<!-- <td v-else-if="OrderSource==10&&GetDetail.SourceID>0"
@click="jumpPage('FinancialOrder',GetDetail.SourceID,3)"> <span class="_jump_page _font_bold">签证收支</span>
@click="jumpPage('FinancialOrder',GetDetail.SourceID,3)"> <span class="_jump_page _font_bold">签证收支</span>
</td> -->
</td> -->
<td
v-if=
"GetDetail.OrderSource==10&&o.TCNUM&&o.TCID"
@
click=
"jumpPage('VisaFinancialDocuments',o.TCID,3,o.TCNUM)"
>
<span
class=
"_jump_page _font_bold"
>
签证收支
</span></td>
<td
v-if=
"GetDetail.OrderID&&OrderSource==10"
>
签证订单:
<span
<td
v-if=
"GetDetail.OrderID&&OrderSource==10"
>
签证订单:
<span
@
click=
"jumpPage(isOrderOP?'VisaProductEditOrderQZ':'VisaProductEditOrder',GetDetail,9,GetDetail.OrderID)"
@
click=
"jumpPage(isOrderOP?'VisaProductEditOrderQZ':'VisaProductEditOrder',GetDetail,9,GetDetail.OrderID)"
class=
"_jump_page _font_bold"
>
{{GetDetail.OrderID}}
</span></td>
class=
"_jump_page _font_bold"
>
{{GetDetail.OrderID}}
</span></td>
...
@@ -2830,8 +2832,10 @@
...
@@ -2830,8 +2832,10 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
path
,
name
:
path
,
query
:
{
query
:
{
OrderSource
:
id
.
OrderSource
,
TCID
:
id
,
SourceID
:
id
.
SourceID
,
TCNUM
:
OrderID
,
// OrderSource: id.OrderSource,
// SourceID: id.SourceID,
blank
:
'y'
blank
:
'y'
}
}
})
})
...
...
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
9928f99e
...
@@ -948,6 +948,8 @@
...
@@ -948,6 +948,8 @@
class=
"_jump_page _font_bold"
>
国内票务
</span>
</td>
class=
"_jump_page _font_bold"
>
国内票务
</span>
</td>
<!--
<td
v-else-if=
"OrderSource==10&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,3)"
>
<!--
<td
v-else-if=
"OrderSource==10&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,3)"
>
<span
class=
"_jump_page _font_bold"
>
签证收支
</span></td>
-->
<span
class=
"_jump_page _font_bold"
>
签证收支
</span></td>
-->
<td
v-if=
"GetDetail.OrderSource==10&&o.TCNUM&&o.TCID"
@
click=
"jumpPage('VisaFinancialDocuments',o.TCID,3,o.TCNUM)"
>
<span
class=
"_jump_page _font_bold"
>
签证收支--
</span></td>
<td
v-if=
"GetDetail.OrderID&&OrderSource==10"
>
签证订单:
<span
<td
v-if=
"GetDetail.OrderID&&OrderSource==10"
>
签证订单:
<span
@
click=
"jumpPage(isOrderOP?'VisaProductEditOrderQZ':'VisaProductEditOrder',GetDetail,8,GetDetail.OrderID)"
@
click=
"jumpPage(isOrderOP?'VisaProductEditOrderQZ':'VisaProductEditOrder',GetDetail,8,GetDetail.OrderID)"
class=
"_jump_page _font_bold"
>
{{
GetDetail
.
OrderID
}}
</span></td>
class=
"_jump_page _font_bold"
>
{{
GetDetail
.
OrderID
}}
</span></td>
...
@@ -2229,8 +2231,10 @@
...
@@ -2229,8 +2231,10 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
path
,
name
:
path
,
query
:
{
query
:
{
OrderSource
:
id
.
OrderSource
,
TCID
:
id
,
SourceID
:
id
.
SourceID
,
TCNUM
:
OrderID
,
// OrderSource: id.OrderSource,
// SourceID: id.SourceID,
blank
:
'y'
blank
:
'y'
}
}
})
})
...
...
src/components/FinancialModule/addFinancialDocuments.vue
View file @
9928f99e
...
@@ -1527,6 +1527,7 @@
...
@@ -1527,6 +1527,7 @@
this
.
msg
.
ECOrderList
=
this
.
orderObj
.
ECOrderList
?
this
.
orderObj
.
ECOrderList
:
[];
this
.
msg
.
ECOrderList
=
this
.
orderObj
.
ECOrderList
?
this
.
orderObj
.
ECOrderList
:
[];
this
.
msg
.
EduCommissionEmp
=
this
.
orderObj
.
EduCommissionEmp
?
this
.
orderObj
.
EduCommissionEmp
:
null
this
.
msg
.
EduCommissionEmp
=
this
.
orderObj
.
EduCommissionEmp
?
this
.
orderObj
.
EduCommissionEmp
:
null
this
.
msg
.
MatchFrId
=
this
.
orderObj
.
MatchFrId
?
this
.
orderObj
.
MatchFrId
:
0
;
this
.
msg
.
MatchFrId
=
this
.
orderObj
.
MatchFrId
?
this
.
orderObj
.
MatchFrId
:
0
;
this
.
msg
.
StandardCurrencyName
=
this
.
orderObj
.
StandardCurrencyName
?
this
.
orderObj
.
StandardCurrencyName
:
''
}
}
if
(
this
.
orderObj
&&
this
.
orderObj
.
OtherType
&&
this
.
orderObj
.
OtherType
==
75
&&
this
.
orderObj
.
ReFinances
==
''
){
if
(
this
.
orderObj
&&
this
.
orderObj
.
OtherType
&&
this
.
orderObj
.
OtherType
==
75
&&
this
.
orderObj
.
ReFinances
==
''
){
this
.
Error
(
`成本月结数据不能为空!`
)
this
.
Error
(
`成本月结数据不能为空!`
)
...
...
src/components/SalesModule/VisaFinancialDocuments.vue
View file @
9928f99e
<
style
>
<
style
scoped
>
._btn
{
font-size
:
12px
;
color
:
#333333
;
cursor
:
pointer
;
}
._btn
:hover
{
color
:
red
;
}
.right
>
.iconfont
{
font-size
:
12px
;
display
:
inline-block
;
margin-left
:
10px
;
}
.right
>
.iconfont.icon-gengduo
{
transform
:
rotate
(
0deg
);
font-size
:
12px
;
}
.right
>
.iconfont.icon-gengduo._rotate
{
transform
:
rotate
(
180deg
);
}
.Finance-box
{
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
center
;
}
.Finance-box
>
div
{
cursor
:
pointer
;
padding
:
0
10px
5px
0
;
}
.page_SalesFinancialDetail
{}
.page_SalesFinancialDetail
{}
.page_SalesFinancialDetail
p
.sfd_tit
{
.page_SalesFinancialDetail
p
.sfd_tit
{
border-left
:
3px
solid
#E95252
;
border-left
:
3px
solid
#E95252
;
...
@@ -129,6 +158,153 @@
...
@@ -129,6 +158,153 @@
<li><span>
待审金额:
</span><span
:class=
"
{color_red:(allMoneyP-shiMoneyP)!==allMoneyP}">
{{
moneyFormat
(
allMoneyP
-
shiMoneyP
)
}}
</span></li>
<li><span>
待审金额:
</span><span
:class=
"
{color_red:(allMoneyP-shiMoneyP)!==allMoneyP}">
{{
moneyFormat
(
allMoneyP
-
shiMoneyP
)
}}
</span></li>
</ul>
</ul>
</div>
</div>
<div
style=
"display: flex;justify-content: space-between;"
>
<p
class=
"sfd_tit clearfix"
><span>
名单
</span></p>
<div
v-if=
"RollCallListAll&&RollCallListAll.length>3"
class=
"right"
style=
"display: flex;align-items: end;margin-bottom: 5px;"
>
<span
class=
"_btn"
v-if=
"tableShow"
@
click=
"tableShow=false,RollCallList=RollCallListLess"
>
收起
<i
class=
"iconfont icon-gengduo _rotate"
style=
"font-size: 12px;"
></i>
</span>
<span
class=
"_btn"
v-else
@
click=
"tableShow=true,RollCallList=RollCallListAll"
>
展开
<i
class=
"iconfont icon-gengduo"
style=
"font-size: 12px;"
></i>
</span>
</div>
</div>
<div>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"teamRevenueExpenditureTable"
>
<tr>
<th
width=
"100"
>
姓名
</th>
<th>
成本单据
</th>
<th>
保险单据
</th>
<th>
服务单据
</th>
</tr>
<template
v-for=
"(outItem,index) in RollCallList"
>
<!-- v-if="outItem.CostRelationList.length>0||outItem.InsureRelationList.length>0||outItem.ServiceRelationList.length>0" -->
<tr>
<td
style=
"white-space:nowrap; "
>
{{
outItem
.
guestName
}}
</td>
<td>
<div
class=
"Finance-box"
>
<div
v-for=
"(subItem,subIndex) in outItem.CostRelationList"
>
<span
@
click=
"goUrl('财务单据','FinancialDocumentsDetail',subItem.FinanceId)"
><span>
{{
subItem
.
FinanceId
}}
</span>
</span>
<i
v-if=
"subItem.Status==1"
class=
"iconfont icon-daiqueren"
style=
"color: #4BCA81"
></i>
<i
v-if=
"subItem.Status==4"
class=
"iconfont icon-yiquxiao"
style=
"color: #4BCA81"
></i>
<i
v-if=
"subItem.Status==2"
class=
"iconfont icon-yiqueren"
style=
"color: #959595"
></i>
<i
v-if=
"subItem.Status==3"
class=
"iconfont icon-shenhebohui"
style=
"color: #E95252"
></i>
<i
v-if=
"subItem.Status==0"
class=
"iconfont icon-zancun"
style=
"color: #FF9C01"
></i>
<el-popover
popper-class=
"detailsIT_Journal"
width=
"250"
trigger=
"click"
>
<div
style=
"height: auto;max-height: 220px;background-color: #FFFFFF;"
>
<div
class=
"changLog"
>
<p
class=
"_log_t"
>
流程日志
</p>
<ul
style=
"padding-left: 20px;max-height: 180px;overflow: auto;"
v-if=
"GetFinancLogList"
v-loading=
'LogLoading'
>
<li
style=
"border-left: 1px solid #E9E9E9;position: relative;padding-bottom: 10px;padding-left: 20px;padding-top: 10px;"
v-for=
"(log,li) in GetFinancLogList"
>
<span
style=
"background-color: #47BF8C;width: 7px;height: 7px;border-radius: 50%;display: inline-block;position: absolute;left: -4px;top: 19px;"
></span>
<p>
<span
class=
"_color_blue"
>
{{
log
.
EmName
}}
</span>
<span
class=
"fr changLog_time"
>
{{
log
.
UpdateDate
}}
</span>
</p>
<p
class=
"_dtel"
>
{{
log
.
StartValue
}}
</p>
</li>
</ul>
<ul
v-else
>
<li>
暂无修改日志
</li>
</ul>
</div>
</div>
<span
slot=
"reference"
style=
"cursor: pointer;"
@
click=
"Financial_post_GetFinancLogList(subItem.FinanceId)"
>
{{
subItem
.
StatusStr
}}
</span>
</el-popover>
</div>
{{
outItem
.
CostRelationList
.
length
==
0
?
'无'
:
''
}}
</div>
</td>
<td>
<div
class=
"Finance-box"
>
<div
v-for=
"(subItem,subIndex) in outItem.InsureRelationList"
>
<span
@
click=
"goUrl('财务单据','FinancialDocumentsDetail',subItem.FinanceId)"
><span>
{{
subItem
.
FinanceId
}}
</span>
</span>
<i
v-if=
"subItem.Status==1"
class=
"iconfont icon-daiqueren"
style=
"color: #4BCA81"
></i>
<i
v-if=
"subItem.Status==4"
class=
"iconfont icon-yiquxiao"
style=
"color: #4BCA81"
></i>
<i
v-if=
"subItem.Status==2"
class=
"iconfont icon-yiqueren"
style=
"color: #959595"
></i>
<i
v-if=
"subItem.Status==3"
class=
"iconfont icon-shenhebohui"
style=
"color: #E95252"
></i>
<i
v-if=
"subItem.Status==0"
class=
"iconfont icon-zancun"
style=
"color: #FF9C01"
></i>
<el-popover
popper-class=
"detailsIT_Journal"
width=
"250"
trigger=
"click"
>
<div
style=
"height: auto;max-height: 220px;background-color: #FFFFFF;"
>
<div
class=
"changLog"
>
<p
class=
"_log_t"
>
流程日志
</p>
<ul
style=
"padding-left: 20px;max-height: 180px;overflow: auto;"
v-if=
"GetFinancLogList"
v-loading=
'LogLoading'
>
<li
style=
"border-left: 1px solid #E9E9E9;position: relative;padding-bottom: 10px;padding-left: 20px;padding-top: 10px;"
v-for=
"(log,li) in GetFinancLogList"
>
<span
style=
"background-color: #47BF8C;width: 7px;height: 7px;border-radius: 50%;display: inline-block;position: absolute;left: -4px;top: 19px;"
></span>
<p>
<span
class=
"_color_blue"
>
{{
log
.
EmName
}}
</span>
<span
class=
"fr changLog_time"
>
{{
log
.
UpdateDate
}}
</span>
</p>
<p
class=
"_dtel"
>
{{
log
.
StartValue
}}
</p>
</li>
</ul>
<ul
v-else
>
<li>
暂无修改日志
</li>
</ul>
</div>
</div>
<span
slot=
"reference"
style=
"cursor: pointer;"
@
click=
"Financial_post_GetFinancLogList(subItem.FinanceId)"
>
{{
subItem
.
StatusStr
}}
</span>
</el-popover>
{{
outItem
.
InsureRelationList
.
length
-
1
==
subIndex
?
''
:
'、'
}}
</div>
{{
outItem
.
InsureRelationList
.
length
==
0
?
'无'
:
''
}}
</div>
</td>
<td>
<div
class=
"Finance-box"
>
<div
v-for=
"(subItem,subIndex) in outItem.ServiceRelationList"
>
<span
@
click=
"goUrl('财务单据','FinancialDocumentsDetail',subItem.FinanceId)"
><span>
{{
subItem
.
FinanceId
}}
</span>
</span>
<i
v-if=
"subItem.Status==1"
class=
"iconfont icon-daiqueren"
style=
"color: #4BCA81"
></i>
<i
v-if=
"subItem.Status==4"
class=
"iconfont icon-yiquxiao"
style=
"color: #4BCA81"
></i>
<i
v-if=
"subItem.Status==2"
class=
"iconfont icon-yiqueren"
style=
"color: #959595"
></i>
<i
v-if=
"subItem.Status==3"
class=
"iconfont icon-shenhebohui"
style=
"color: #E95252"
></i>
<i
v-if=
"subItem.Status==0"
class=
"iconfont icon-zancun"
style=
"color: #FF9C01"
></i>
<el-popover
popper-class=
"detailsIT_Journal"
width=
"250"
trigger=
"click"
>
<div
style=
"height: auto;max-height: 220px;background-color: #FFFFFF;"
>
<div
class=
"changLog"
>
<p
class=
"_log_t"
>
流程日志
</p>
<ul
style=
"padding-left: 20px;max-height: 180px;overflow: auto;"
v-if=
"GetFinancLogList"
v-loading=
'LogLoading'
>
<li
style=
"border-left: 1px solid #E9E9E9;position: relative;padding-bottom: 10px;padding-left: 20px;padding-top: 10px;"
v-for=
"(log,li) in GetFinancLogList"
>
<span
style=
"background-color: #47BF8C;width: 7px;height: 7px;border-radius: 50%;display: inline-block;position: absolute;left: -4px;top: 19px;"
></span>
<p>
<span
class=
"_color_blue"
>
{{
log
.
EmName
}}
</span>
<span
class=
"fr changLog_time"
>
{{
log
.
UpdateDate
}}
</span>
</p>
<p
class=
"_dtel"
>
{{
log
.
StartValue
}}
</p>
</li>
</ul>
<ul
v-else
>
<li>
暂无修改日志
</li>
</ul>
</div>
</div>
<span
slot=
"reference"
style=
"cursor: pointer;"
@
click=
"Financial_post_GetFinancLogList(subItem.FinanceId)"
>
{{
subItem
.
StatusStr
}}
</span>
</el-popover>
</div>
{{
outItem
.
ServiceRelationList
.
length
==
0
?
'无'
:
''
}}
</div>
</td>
</tr>
</
template
>
<tr
v-if=
"RollCallList.length===0"
>
<td
class=
"noDataNotice"
colspan=
"4"
>
<div>
<p
class=
"iconfont icon-kong"
></p>
<p
class=
"text"
>
{{`暂无数据`}}
</p>
</div>
</td>
</tr>
</table>
</div>
<p
class=
"sfd_tit clearfix"
>
收款单
<p
class=
"sfd_tit clearfix"
>
收款单
<input
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
type=
"button"
value=
"增加签证财务单据"
class=
"normalBtn"
@
click=
"OpenOrder(1)"
>
<input
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
type=
"button"
value=
"增加签证财务单据"
class=
"normalBtn"
@
click=
"OpenOrder(1)"
>
<input
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
type=
"button"
value=
"增加保险财务单据"
class=
"normalBtn"
@
click=
"OpenOrder2(1)"
>
<input
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
type=
"button"
value=
"增加保险财务单据"
class=
"normalBtn"
@
click=
"OpenOrder2(1)"
>
...
@@ -148,7 +324,7 @@
...
@@ -148,7 +324,7 @@
<th
width=
"120"
>
当前状态
</th>
<th
width=
"120"
>
当前状态
</th>
</tr>
</tr>
<tr
v-for=
"(item, index) in dataList"
>
<tr
v-for=
"(item, index) in dataList"
>
<td
width=
"100"
@
click=
"goUrl('财务单据','FinancialDocumentsDetail',item.FrID)"
><span>
{{
item
.
FrID
}}
</span></t
h
>
<td
width=
"100"
@
click=
"goUrl('财务单据','FinancialDocumentsDetail',item.FrID)"
><span>
{{item.FrID}}
</span></t
d
>
<td
width=
""
>
<td
width=
""
>
<
template
v-for=
"(s,si) in item.CostTypeList"
>
<
template
v-for=
"(s,si) in item.CostTypeList"
>
<span
style=
"background-color: rgba(64,158,255,.1);display: inline-block;padding: 0 5px;height: 22px;line-height: 20px;font-size: 12px;color: #646464;border-radius: 4px;box-sizing: border-box;border: 1px solid rgba(64,158,255,.2);white-space: nowrap;margin-bottom: 4px;margin-right: 4px;"
>
{{
s
}}
</span>
<span
style=
"background-color: rgba(64,158,255,.1);display: inline-block;padding: 0 5px;height: 22px;line-height: 20px;font-size: 12px;color: #646464;border-radius: 4px;box-sizing: border-box;border: 1px solid rgba(64,158,255,.2);white-space: nowrap;margin-bottom: 4px;margin-right: 4px;"
>
{{
s
}}
</span>
...
@@ -234,8 +410,10 @@
...
@@ -234,8 +410,10 @@
</table>
</table>
<p
class=
"sfd_tit clearfix"
>
付款单
<p
class=
"sfd_tit clearfix"
>
付款单
<!-- <input type="button" v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" value="预付款冲抵" class="normalBtn" @click="OpenOrder2(2,'Offset')"> -->
<!-- <input type="button" v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" value="预付款冲抵" class="normalBtn" @click="OpenOrder2(2,'Offset')"> -->
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加签证财务单据"
class=
"normalBtn"
@
click=
"OpenOrder(2)"
>
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加签证财务单据"
class=
"normalBtn"
@
click=
"OpenOrder(2,'ServiceCharge',1)"
>
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加保险财务单据"
class=
"normalBtn"
@
click=
"OpenOrder2(2)"
>
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加保险财务单据"
class=
"normalBtn"
@
click=
"OpenOrder2(2,'ServiceCharge',2)"
>
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加服务费财务单据"
class=
"normalBtn"
@
click=
"OpenOrder2(2,'ServiceCharge',3)"
>
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加其他财务单据"
class=
"normalBtn"
@
click=
"OpenOrder2(2)"
>
</p>
</p>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"teamRevenueExpenditureTable"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"teamRevenueExpenditureTable"
>
<tr>
<tr>
...
@@ -252,7 +430,7 @@
...
@@ -252,7 +430,7 @@
<th
width=
"120"
>
当前状态
</th>
<th
width=
"120"
>
当前状态
</th>
</tr>
</tr>
<tr
v-for=
"(item, index) in dataListP"
>
<tr
v-for=
"(item, index) in dataListP"
>
<td
width=
"100"
@
click=
"goUrl('财务单据','FinancialDocumentsDetail',item.FrID)"
><span>
{{item.FrID}}
</span></t
h
>
<td
width=
"100"
@
click=
"goUrl('财务单据','FinancialDocumentsDetail',item.FrID)"
><span>
{{item.FrID}}
</span></t
d
>
<td
width=
""
>
<td
width=
""
>
<
template
v-for=
"(s,si) in item.CostTypeList"
>
<
template
v-for=
"(s,si) in item.CostTypeList"
>
<span
style=
"background-color: rgba(64,158,255,.1);display: inline-block;padding: 0 5px;height: 22px;line-height: 20px;font-size: 12px;color: #646464;border-radius: 4px;box-sizing: border-box;border: 1px solid rgba(64,158,255,.2);white-space: nowrap;margin-bottom: 4px;margin-right: 4px;"
>
{{
s
}}
</span>
<span
style=
"background-color: rgba(64,158,255,.1);display: inline-block;padding: 0 5px;height: 22px;line-height: 20px;font-size: 12px;color: #646464;border-radius: 4px;box-sizing: border-box;border: 1px solid rgba(64,158,255,.2);white-space: nowrap;margin-bottom: 4px;margin-right: 4px;"
>
{{
s
}}
</span>
...
@@ -362,11 +540,12 @@
...
@@ -362,11 +540,12 @@
</ul>
</ul>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"mini"
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
size=
"mini"
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
size=
"mini"
style=
"background:#E95252;color:#fff;border:none"
@
click=
"addFinancialOrder"
>
确 定
</el-button>
<el-button
size=
"mini"
style=
"background:#E95252;color:#fff;border:none"
@
click=
"addFinancialOrder"
:loading=
"ServiceChargeLoading"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
<!-- 预付款冲抵 -->
<!-- 预付款冲抵 -->
<offset
:isShow=
"cdState"
:obj=
"queryObj"
@
close=
"cdState=false"
<offset
v-if=
"cdState&&Offset=='Offset'"
:isShow=
"cdState"
:obj=
"queryObj"
@
close=
"cdState=false"
@
success=
"cdState=false,dialogVisible=false"
></offset>
@
success=
"cdState=false,dialogVisible=false"
></offset>
</div>
</div>
</template>
</template>
...
@@ -376,6 +555,10 @@ export default {
...
@@ -376,6 +555,10 @@ export default {
components
:
{
offset
},
components
:
{
offset
},
data
()
{
data
()
{
return
{
return
{
tableShow
:
false
,
RollCallListAll
:
[],
RollCallList
:
[],
ServiceChargeLoading
:
false
,
Offset
:
null
,
Offset
:
null
,
queryObj
:
null
,
queryObj
:
null
,
cdState
:
false
,
cdState
:
false
,
...
@@ -442,6 +625,7 @@ export default {
...
@@ -442,6 +625,7 @@ export default {
checkList
:[],
checkList
:[],
checkListAll
:[],
checkListAll
:[],
checkd
:
false
,
checkd
:
false
,
type2
:
null
,
}
}
},
},
methods
:
{
methods
:
{
...
@@ -523,13 +707,29 @@ export default {
...
@@ -523,13 +707,29 @@ export default {
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
},
null
)
},
null
)
this
.
GetPriceGuestAndFinanceList
()
},
GetPriceGuestAndFinanceList
(){
this
.
apipost
(
'Financial_post_GetPriceGuestAndFinanceList'
,{
TCID
:
this
.
tcid
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
RollCallListAll
=
res
.
data
.
data
this
.
RollCallListLess
=
res
.
data
.
data
.
filter
((
item
,
index
)
=>
index
<
3
)
this
.
RollCallList
=
this
.
RollCallListLess
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
})
},
},
OpenOrder2
(
num
,
Offset
){
OpenOrder2
(
num
,
Offset
,
type
){
if
(
Offset
){
if
(
Offset
==
'Offset'
){
this
.
Offset
=
Offset
this
.
Offset
=
Offset
}
else
{
}
else
if
(
Offset
==
'ServiceCharge'
){
this
.
Offset
=
Offset
}
else
{
this
.
Offset
=
null
this
.
Offset
=
null
}
}
this
.
type2
=
type
?
type
:
null
this
.
checkd
=
false
;
this
.
checkd
=
false
;
this
.
checkList
=
[];
this
.
checkList
=
[];
this
.
checkListAll
=
[];
this
.
checkListAll
=
[];
...
@@ -551,7 +751,13 @@ export default {
...
@@ -551,7 +751,13 @@ export default {
}
}
})
})
},
},
OpenOrder
(
num
){
OpenOrder
(
num
,
Offset
,
type
){
if
(
Offset
==
'ServiceCharge'
){
this
.
Offset
=
Offset
}
else
{
this
.
Offset
=
null
}
this
.
type2
=
type
?
type
:
null
this
.
checkd
=
false
;
this
.
checkd
=
false
;
this
.
checkList
=
[];
this
.
checkList
=
[];
this
.
checkListAll
=
[];
this
.
checkListAll
=
[];
...
@@ -631,7 +837,7 @@ export default {
...
@@ -631,7 +837,7 @@ export default {
'orderObj'
:
JSON
.
stringify
(
orderObj
)
'orderObj'
:
JSON
.
stringify
(
orderObj
)
}
}
});
});
}
else
{
}
else
if
(
this
.
Offset
==
'Offset'
)
{
let
query
=
{};
let
query
=
{};
query
=
{
query
=
{
path
:
'SaleOrderModule'
,
path
:
'SaleOrderModule'
,
...
@@ -643,10 +849,35 @@ export default {
...
@@ -643,10 +849,35 @@ export default {
}
}
this
.
queryObj
=
query
this
.
queryObj
=
query
this
.
cdState
=
true
this
.
cdState
=
true
}
else
if
(
this
.
Offset
==
'ServiceCharge'
){
let
GuestIds
=
userInfo
.
map
(
x
=>
{
return
x
.
Id
})
this
.
ServiceChargeLoading
=
true
this
.
apipost
(
'Financial_post_SetFinanceTravelVisaCode'
,
{
GuestIds
:
GuestIds
.
join
(
','
),
FType
:
this
.
type2
},
res
=>
{
this
.
ServiceChargeLoading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dialogVisible
=
false
;
orderObj
.
StandardCurrencyName
=
res
.
data
.
data
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:{
"Type"
:
this
.
type
,
"companyID"
:
this
.
OutBranchId
,
"path"
:
""
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
)
}
});
}
})
}
}
},
},
},
mounted
()
{
SetFinanceTravelVisa
(){
}
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
GetSupperOrderEditAuth
();
this
.
GetSupperOrderEditAuth
();
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
qjGroupId
=
this
.
QjGroupId
();
...
...
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