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
8e7ea6cf
Commit
8e7ea6cf
authored
Apr 14, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
99da3cf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
139 deletions
+1
-139
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+1
-139
No files found.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
8e7ea6cf
...
...
@@ -477,6 +477,7 @@
</el-option>
</el-select></span>
</p>
<
template
v-if=
"GetDetail.FrID!=0"
>
<p
v-if=
"GetDetail.OrderSource==9&&GetDetail.SourceID>0"
>
{{
$t
(
"fnc.gnpiaowu"
)
}}
:
<span
class=
"_jump_page _font_bold"
@
click=
"jumpPage('SettlementOrder',GetDetail,2)"
>
{{
GetDetail
.
SourceID
}}
</span></p>
<p
v-if=
"GetDetail.OrderSource==10&&GetDetail.SourceID>0"
>
{{
$t
(
'active.cl_qianzheng'
)
}}
:
<span
class=
"_jump_page _font_bold"
@
click=
"jumpPage('VisaProductCopy',GetDetail,3)"
>
{{
GetDetail
.
SourceID
}}
</span></p>
...
...
@@ -491,69 +492,7 @@
</div>
<!-- <p v-if="GetDetail.OrderSource==4&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail.SourceID,4)" class="_jump_page _font_bold">机票收支</p> -->
</template>
<el-tooltip
content=
"配置手配费"
placement=
"top"
>
<el-switch
v-model=
"isHandFee"
>
</el-switch>
</el-tooltip>
</div>
<
template
v-if=
"isHandFee"
>
<div>
<p>
手配费:
<span>
<el-select
v-model=
'HandFee.Id'
class=
"w135 _border_b_1"
@
change=
"chooseHandFee"
>
<el-option
v-for=
'item in HandFeeList'
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
</span>
<template
v-if=
"HandFeeDetail"
>
适用公司:
{{
HandFeeDetail
.
BranchName
}}
手配费币种:
{{
HandFeeDetail
.
CurrencyName
}}
</
template
>
</p>
</div>
<table
v-if=
"HandFeeDetail"
class=
"Receipt_table"
border=
"1"
bordercolor=
"#106BAF"
style=
"border-collapse:collapse;margin-top: 10px;"
>
<tr>
<!-- <th rowspan="2" width="150">公司</th>
<th rowspan="2" width="150">手配费币种</th> -->
<th
colspan=
"3"
>
明细
</th>
<th
rowspan=
"2"
>
{{$t('hotel.hotel_remark')}}
</th>
</tr>
<tr>
<th
width=
"100"
>
类型
</th>
<th
width=
"100"
>
数量
</th>
<th
width=
"100"
>
金额
</th>
</tr>
<tr
class=
"addList1"
v-for=
"(x,index) in HandFeeDetail.HandFeeList"
>
<!-- <td :rowspan="HandFeeDetail.HandFeeList.length" v-if="index==0">
{{HandFeeDetail.BranchName}}
</td>
<td :rowspan="HandFeeDetail.HandFeeList.length" v-if="index==0">
{{HandFeeDetail.CurrencyName}}
</td> -->
<td>
<el-select
v-model=
'x.Type'
placeholder=
"选择类型"
class=
"w80 _border_b_1"
>
<el-option
v-for=
'item in TypeListArr'
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
</td>
<td><el-input
v-model=
"x.Num"
type=
"Number"
@
keyup
.
native=
"checkInteger(x,'Num')"
class=
"w80 _border_b_1"
></el-input></td>
<td><el-input
v-model=
"x.Unit_Price"
type=
"Number"
@
keyup
.
native=
"checkInteger(x,'Number')"
class=
"w80 _border_b_1"
></el-input></td>
<td><el-input
v-model=
"x.Remark"
type=
"textarea"
></el-input></td>
</tr>
</table>
</template>
</div>
<div
class=
"_remark"
>
<p>
{{$t('system.label_info')}}
</p>
...
...
@@ -772,78 +711,9 @@ export default {
StandardCurrencyId
:
0
,
StandardCurrencyName
:
''
,
TCID
:
''
,
HandFeeList
:
[],
//手配费配置列表
HandFee
:{
Id
:
null
,
Type
:
null
},
HandFeeDetail
:
null
,
TypeListArr
:
[
{
Name
:
'房'
,
Id
:
1
,
disabled
:
false
},
{
Name
:
'餐'
,
Id
:
2
,
disabled
:
false
},
{
Name
:
'车'
,
Id
:
3
,
disabled
:
false
},
{
Name
:
'门票'
,
Id
:
4
,
disabled
:
false
},
],
//类型
isHandFee
:
false
}
},
methods
:{
chooseHandFee
(){
if
(
this
.
msg
.
detailList
.
length
==
0
)
return
let
HandFeeObj
=
this
.
HandFeeList
.
map
(
item
=>
{
if
(
item
.
Id
==
this
.
HandFee
.
Id
)
return
item
})
this
.
msg
.
detailList
.
forEach
((
x
,
index
)
=>
{
if
(
x
.
CostTypeName
.
indexOf
(
'房'
)
!=-
1
||
x
.
CostTypeName
.
indexOf
(
'餐'
)
!=-
1
||
x
.
CostTypeName
.
indexOf
(
'车'
)
!=-
1
||
x
.
CostTypeName
.
indexOf
(
'门票'
)
!=-
1
){
let
Obj
=
{
Type
:
null
,
Unit_Price
:
x
.
UnitPrice
,
Num
:
x
.
Number
,
Remark
:
null
}
if
(
x
.
CostTypeName
.
indexOf
(
'房'
)
!=-
1
){
Obj
.
Type
=
1
}
if
(
x
.
CostTypeName
.
indexOf
(
'餐'
)
!=-
1
){
Obj
.
Type
=
2
}
if
(
x
.
CostTypeName
.
indexOf
(
'车'
)
!=-
1
){
Obj
.
Type
=
3
}
if
(
x
.
CostTypeName
.
indexOf
(
'门票'
)
!=-
1
){
Obj
.
Type
=
4
}
let
isPush
=
true
HandFeeObj
[
0
].
HandFeeList
.
forEach
((
y
,
indexs
)
=>
{
if
(
index
==
indexs
){
isPush
=
false
y
.
Type
=
Obj
.
Type
y
.
Unit_Price
=
x
.
UnitPrice
y
.
Num
=
x
.
Number
}
})
if
(
isPush
&&
HandFeeObj
[
0
].
HandFeeList
.
length
<
5
)
HandFeeObj
[
0
].
HandFeeList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
Obj
)))
}
})
this
.
HandFeeDetail
=
HandFeeObj
[
0
]
// this.$forceUpdate()
// console.log(this.HandFeeDetail)
},
//获取手配费所有配置
GetHandFeeList
()
{
this
.
apipost
(
"handfee_post_GetHandFeeList"
,
{
BranchId
:
-
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
arrList
=
function
(
arr
){
arr
.
forEach
(
item
=>
{
item
.
HandFeeList
=
[]
})
}
arrList
(
res
.
data
.
data
)
this
.
HandFeeList
=
res
.
data
.
data
;
this
.
HandFee
.
Id
=
this
.
HandFeeList
[
0
].
Id
}
},
err
=>
{}
);
},
deleteRow
(
i
,
obj
){
obj
.
show
=
false
;
this
.
msg
.
Description
=
this
.
Description
;
...
...
@@ -1267,7 +1137,6 @@ export default {
bTotalPriceTo
:
''
,
show
:
false
,
}
this
.
chooseHandFee
()
},
chages
(
e
){
//处理输入框不能输入问题
this
.
$forceUpdate
()
...
...
@@ -1948,13 +1817,6 @@ export default {
if
((
this
.
$route
.
query
.
type
&&
this
.
$route
.
query
.
type
==
2
)
||
(
this
.
$route
.
query
.
Type
&&
this
.
$route
.
query
.
Type
==
2
)){
this
.
MaxMoney
();
}
if
(
this
.
$route
.
query
.
id
==
245
||
this
.
$route
.
query
.
id
==
246
||
this
.
$route
.
query
.
id
==
247
||
this
.
$route
.
query
.
id
==
248
){
this
.
GetHandFeeList
()
//获取手配费配置
this
.
isHandFee
=
true
}
let
userInfo
=
this
.
getLocalStorage
();
this
.
department
=
userInfo
.
DepartName
;
this
.
EmployeeId
=
userInfo
.
EmployeeId
;
...
...
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