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
40e366c1
Commit
40e366c1
authored
Dec 05, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
14d0bc0e
823c0149
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1344 additions
and
8 deletions
+1344
-8
ChoiceAddFinancialDocuments2.vue
...mponents/FinancialModule/ChoiceAddFinancialDocuments2.vue
+6
-1
ReceivablesModule.vue
.../FinancialModule/FinancialSubmodule/ReceivablesModule.vue
+19
-1
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+6
-1
platOrderquery.vue
src/components/FinancialModule/platOrderquery.vue
+1261
-0
productQuery.vue
src/components/SalesModule/productQuery.vue
+44
-5
config.js
src/router/config.js
+8
-0
No files found.
src/components/FinancialModule/ChoiceAddFinancialDocuments2.vue
View file @
40e366c1
...
...
@@ -99,6 +99,8 @@
EmployeeId
:
null
,
OrderSource
:
null
,
visaShowTab
:
false
,
tradeWay
:
''
,
platformAccount
:
''
,
}
},
computed
:
{
...
...
@@ -116,7 +118,7 @@
methods
:{
goUrl
(
path
,
id
,
Name
,
Type
,
IsUploadPic
)
{
if
(
this
.
active
==
1
){
this
.
$router
.
push
({
name
:
"addReceivablesDocuments"
,
query
:{
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增收款单'
}})
this
.
$router
.
push
({
name
:
"addReceivablesDocuments"
,
query
:{
"
tradeWay"
:
this
.
tradeWay
,
"platformAccount"
:
this
.
platformAccount
,
"
id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增收款单'
}})
}
else
if
(
this
.
active
==
2
){
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增付款单'
}})
}
else
if
(
this
.
active
==
4
){
...
...
@@ -242,6 +244,9 @@
this
.
templateID
=
this
.
$route
.
query
.
templateID
?
JSON
.
parse
(
this
.
$route
.
query
.
templateID
)
:
null
this
.
OrderSource
=
this
.
$route
.
query
.
OrderSource
?
this
.
$route
.
query
.
OrderSource
:
null
this
.
showTab
=
this
.
$route
.
query
.
Type
?
this
.
$route
.
query
.
Type
:
0
;
this
.
tradeWay
=
this
.
$route
.
query
.
tradeWay
?
this
.
$route
.
query
.
tradeWay
:
0
;
this
.
platformAccount
=
this
.
$route
.
query
.
platformAccount
?
this
.
$route
.
query
.
platformAccount
:
0
;
if
(
this
.
$route
.
query
.
visaType
){
this
.
visaShowTab
=
true
;
}
...
...
src/components/FinancialModule/FinancialSubmodule/ReceivablesModule.vue
View file @
40e366c1
...
...
@@ -75,16 +75,23 @@
<!--
<p
style=
"font-size:48px;"
@
click=
"senCashierDetaildMsg"
>
{{
Num
}}
</p>
//测试传值代码 -->
<p
class=
"rb_tit"
style=
"font-size: 16px !important;"
>
{{
GetDetail
.
CompanyName
}}
(
{{
GetDetail
.
BranchName
}}
)
</p>
<p
class=
"rb_stit"
>
<p
class=
"rb_stit"
style=
"position:relative"
>
<span
:class=
"isPrintPage?'_rb_stit_print':''"
>
{{
GetDetail
.
FinanceName
}}
</span>
<!--
<i
v-if=
"name===1"
>
(客户联)
</i>
-->
<i
v-if=
"name===1"
>
{{
$t
(
'fnc.yewulian'
)
}}
</i>
<i
v-if=
"name===2"
>
{{
$t
(
'fnc.kuaijilian'
)
}}
</i>
<a
class=
"_yewudanju"
style=
"right:0;top:0"
>
<span
style=
"border:none;padding:0"
v-if=
"GetDetail.OrderTradeWay==1"
>
平台:
</span>
<span
style=
"border:none;padding:0"
v-if=
"GetDetail.OrderTradeWay==3"
>
外交平台:
</span>
<span
style=
"border:none;padding:0"
class=
"_jump_page"
@
click=
"jumpPageNew"
>
{{
GetDetail
.
PlatFormName
}}
</span>
</a>
</p>
<p
class=
"_yewudanju"
v-if=
"GetDetail.OrderSource==8&&!isPrintPage"
>
{{
$t
(
'hotel.order_Number'
)
}}
:
<span
class=
"_jump_page"
@
click=
"GetDetail.OrderID>0?jumpPage('RegistrationList',GetDetail.TCID,1):''"
>
{{
GetDetail
.
OrderID
?
GetDetail
.
OrderID
:
'无'
}}
</span></p>
<p
class=
"_yewudanju"
v-if=
"GetDetail.OrderSource==15&&!isPrintPage"
>
{{
$t
(
'hotel.order_Number'
)
}}
:
<span
class=
"_jump_page"
@
click=
"GetDetail.OrderID>0?jumpFreePage('freeTravelOrderStatiDetails',GetDetail.OrderID,1):''"
>
{{
GetDetail
.
OrderID
?
GetDetail
.
OrderID
:
'无'
}}
</span></p>
<p
class=
"_yewudanju"
v-if=
"GetDetail.OrderSource==1&&!isPrintPage"
>
{{
$t
(
'hotel.order_Number'
)
}}
:
<span
class=
"_jump_page"
@
click=
"GetDetail.OrderID>0?jumpFreePage('OpHotelOrderDetail',GetDetail.OrderID,1):''"
>
{{
GetDetail
.
OrderID
?
GetDetail
.
OrderID
:
'无'
}}
</span></p>
<p
class=
"_yewudanju"
v-if=
"GetDetail.OrderSource==3&&!isPrintPage"
>
{{
$t
(
'hotel.order_Number'
)
}}
:
<span
class=
"_jump_page"
@
click=
"GetDetail.OrderID>0?jumpFreePage('scenOrderDetails',GetDetail.OrderID,1):''"
>
{{
GetDetail
.
OrderID
?
GetDetail
.
OrderID
:
'无'
}}
</span></p>
<p
class=
"_yewudanju"
v-if=
"isPrintPage"
>
{{
$t
(
'fnc.dayinshijian'
)
}}
:
<span
>
{{
printTime
}}
</span></p>
<div
class=
"rb_top_row _r_mb5"
>
<p
v-if=
"GetDetail.CashierDetail&&GetDetail.CashierDetail[0]"
>
{{
$t
(
'fnc.fkuanzhanghu'
)
}}
:
<span
class=
"_r_name _no_border"
>
{{
GetDetail
.
CashierDetail
[
0
].
Alias
}}
</span></p>
...
...
@@ -312,6 +319,17 @@ export default {
sendMsg
(){
this
.
$emit
(
'helloPP'
,
'1'
)
},
jumpPageNew
(){
this
.
$router
.
push
({
name
:
'platOrderquery'
,
query
:
{
platName
:
this
.
GetDetail
.
PlatFormName
,
TradeWay
:
this
.
GetDetail
.
OrderTradeWay
,
PlatformAccount
:
this
.
GetDetail
.
PlatformAccountId
,
tab
:
'平台订单查询'
}
})
},
jumpFreePage
(
path
,
id
){
this
.
$router
.
push
({
name
:
path
,
...
...
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
40e366c1
...
...
@@ -613,6 +613,8 @@ export default {
templateType
:
1
,
setCode
:
''
,
shouxufei
:
0
,
tradeWay
:
''
,
platformAccount
:
''
,
}
},
methods
:{
...
...
@@ -1087,7 +1089,8 @@ export default {
this
.
msg
.
detailList
.
forEach
(
x
=>
{
delete
x
.
rate
;
});
this
.
msg
.
OrderTradeWay
=
this
.
tradeWay
;
this
.
msg
.
PlatformAccountId
=
this
.
platformAccount
;
this
.
loading
=
true
;
this
.
apipost
(
'Financial_post_Set'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
...
...
@@ -1518,6 +1521,8 @@ export default {
},
created
(){
let
that
=
this
;
this
.
tradeWay
=
this
.
$route
.
query
.
tradeWay
?
this
.
$route
.
query
.
tradeWay
:
0
;
this
.
platformAccount
=
this
.
$route
.
query
.
platformAccount
?
this
.
$route
.
query
.
platformAccount
:
0
;
this
.
orderObj
=
this
.
$route
.
query
.
orderObj
?
JSON
.
parse
(
this
.
$route
.
query
.
orderObj
):
null
;
if
(
this
.
orderObj
!=
null
&&
this
.
orderObj
.
OrderSource
===
8
&&
this
.
orderObj
.
tipObj
==
1
){
that
.
Description
=
"旅客名单:"
;
...
...
src/components/FinancialModule/platOrderquery.vue
0 → 100644
View file @
40e366c1
This diff is collapsed.
Click to expand it.
src/components/SalesModule/productQuery.vue
View file @
40e366c1
...
...
@@ -452,7 +452,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
'addMsg.TradeWay==1'
>
<el-col
:span=
"4"
v-if=
'addMsg.TradeWay==1
|| addMsg.TradeWay==3
'
>
<el-form-item
:label=
"$t('fnc.fkuanzhanghu')"
>
<el-select
filterable
v-model=
'addMsg.PlatformAccount'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
'item in PlatformAccountList'
:label=
'item.Alias'
:value=
'item.ID'
:key=
'item.ID'
>
...
...
@@ -460,7 +460,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
'addMsg.TradeWay==1'
>
<el-col
:span=
"4"
v-if=
'addMsg.TradeWay==1
|| addMsg.TradeWay==3
'
>
<el-form-item
:label=
"$t('salesModule.PlatOrder')"
prop=
"PlatformOrder"
>
<el-input
v-model=
'addMsg.PlatformOrder'
@
input=
'platformOrderMethods'
maxlength=
'20'
></el-input>
</el-form-item>
...
...
@@ -1136,7 +1136,10 @@
showPrice
:
false
,
showPay
:
false
,
showZhan
:
false
}
},
PlatformAccountList1
:[],
PlatformAccountList2
:[],
}
},
components
:
{
...
...
@@ -1570,7 +1573,18 @@
this
.
getTotalPrice
();
this
.
getTicheng
();
},
tradeWayMethods
()
{
tradeWayMethods
(
val
)
{
if
(
val
==
3
){
this
.
addMsg
.
TradeWay
==
''
;
this
.
addMsg
.
PlatformAccount
=
''
this
.
PlatformAccountList
=
this
.
PlatformAccountList2
;
}
if
(
val
==
1
){
this
.
addMsg
.
TradeWay
==
''
;
this
.
addMsg
.
PlatformAccount
=
''
this
.
PlatformAccountList
=
this
.
PlatformAccountList1
;
}
if
(
this
.
addMsg
.
TradeWay
==
2
)
{
this
.
addMsg
.
PlatformOrder
=
''
this
.
addMsg
.
PlatformAccount
=
''
...
...
@@ -2008,6 +2022,13 @@
if
(
this
.
addMsg
.
GroupType
==
4
)
{
ChirdNum
=
0
}
// 判断交易方式是外交平台和平台付款
if
(
this
.
addMsg
.
TradeWay
==
1
||
this
.
addMsg
.
TradeWay
==
3
){
if
(
this
.
addMsg
.
PlatformAccount
==
''
){
this
.
Error
(
'请选择收款账户!'
);
return
;
}
}
this
.
addMsg
.
TCID
=
this
.
addObj
.
TCID
this
.
addMsg
.
GuestNum
=
Number
(
this
.
addMsg
.
ManNum
)
+
ChirdNum
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
...
...
@@ -2038,6 +2059,7 @@
this
.
getMinPrice
(
obj
.
LineID
);
this
.
getScenicRefund
(
obj
.
TCID
);
this
.
getPlatformAccount
(
obj
.
PlatformAccountTypeId
);
this
.
getPlatformAccountNew
();
this
.
clearMsg
()
// let str = ''
// if (obj.OtherPrice > 0 ) {
...
...
@@ -2054,7 +2076,24 @@
TypeId
:
typeIdtwo
,
BranchId
:
platBranchId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PlatformAccountList
=
res
.
data
.
data
this
.
PlatformAccountList1
=
res
.
data
.
data
}
},
err
=>
{})
},
getPlatformAccountNew
()
{
this
.
apipost
(
'Financial_get_GetDiplomacyPlatformList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PlatformAccountList2
=
[];
let
data
=
res
.
data
.
data
;
data
.
forEach
(
item
=>
{
let
obj
=
{
Alias
:
item
.
Name
,
ID
:
item
.
ID
,
}
this
.
PlatformAccountList2
.
push
(
obj
)
})
}
},
err
=>
{})
},
...
...
src/router/config.js
View file @
40e366c1
...
...
@@ -2938,6 +2938,14 @@ export default {
title
:
'收入确认单'
},
},
{
// 财务往来单据 平台订单查询
path
:
'/platOrderquery'
,
name
:
'platOrderquery'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/platOrderquery'
],
resolve
),
meta
:
{
title
:
'平台订单查询'
},
},
{
//财务 现金日报表
path
:
'/CashReport'
,
name
:
'CashReport'
,
...
...
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