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
b6c60923
Commit
b6c60923
authored
Apr 14, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
57fd1c38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
15 deletions
+20
-15
addFinancialDocumentsSPF.vue
src/components/FinancialModule/addFinancialDocumentsSPF.vue
+20
-15
No files found.
src/components/FinancialModule/addFinancialDocumentsSPF.vue
View file @
b6c60923
...
...
@@ -502,7 +502,9 @@
<p>
手配费:
<span>
<el-select
v-model=
'HandFee.BranchId'
class=
"w135 _border_b_1"
@
change=
"chooseHandFee"
>
<el-select
v-model=
'HandFee.BranchId'
class=
"w135 _border_b_1"
placeholder=
"请选择手配费"
@
change=
"chooseHandFee"
>
<el-option
v-for=
'item in HandFeeList'
:label=
'item.BranchName'
:value=
'item.BranchId'
...
...
@@ -522,13 +524,13 @@
style=
"border-collapse:collapse;margin-top: 10px;"
>
<tr>
<th
colspan=
"3"
>
明细
</th>
<th
rowspan=
"2"
>
合计
</th>
<th
rowspan=
"2"
width=
"150"
>
合计
</th>
<th
rowspan=
"2"
>
{{$t('hotel.hotel_remark')}}
</th>
</tr>
<tr>
<th
width=
"
10
0"
>
类型
</th>
<th
width=
"1
0
0"
>
数量
</th>
<th
width=
"1
0
0"
>
金额
</th>
<th
width=
"
8
0"
>
类型
</th>
<th
width=
"1
5
0"
>
数量
</th>
<th
width=
"1
5
0"
>
金额
</th>
</tr>
<
template
v-for=
"(x,index) in HandFeeDetail.DetailList"
>
<tr
v-if=
"x.show"
class=
"addList2"
>
...
...
@@ -781,8 +783,7 @@ export default {
TCID
:
''
,
HandFeeList
:
[],
//手配费配置列表
HandFee
:{
BranchId
:
null
,
Type
:
null
BranchId
:
null
},
HandFeeDetail
:
null
,
//已选手配费信息
TypeListArr
:
[
...
...
@@ -795,6 +796,7 @@ export default {
}
},
methods
:{
// 是否开启手配费
getHandFee
(){
if
(
this
.
isHandFee
){
this
.
chooseHandFee
()
...
...
@@ -803,6 +805,7 @@ export default {
this
.
msg
.
KingdeeBranchId
=
null
}
},
// 获取当前手配费选项
chooseHandFee
(){
if
(
this
.
msg
.
detailList
.
length
>
0
){
let
HandFeeObj
=
this
.
HandFeeList
.
map
(
item
=>
{
if
(
item
.
BranchId
==
this
.
HandFee
.
BranchId
)
return
item
})
...
...
@@ -827,7 +830,7 @@ export default {
}
})
}
else
{
this
.
HandFeeDetail
.
DetailList
.
forEach
((
y
,
indexs
)
=>
{
this
.
HandFeeDetail
&&
this
.
HandFeeDetail
.
DetailList
.
forEach
((
y
,
indexs
)
=>
{
y
.
show
=
false
})
}
...
...
@@ -850,8 +853,8 @@ export default {
arrList
(
x
.
DetailList
)
})
this
.
HandFeeList
=
res
.
data
.
data
;
this
.
HandFee
.
BranchId
=
this
.
HandFeeList
[
0
].
BranchId
this
.
HandFeeDetail
.
CurrencyName
=
this
.
HandFeeList
[
0
].
CurrencyName
//
this.HandFee.BranchId = this.HandFeeList[0].BranchId
//
this.HandFeeDetail.CurrencyName = this.HandFeeList[0].CurrencyName
}
},
err
=>
{}
...
...
@@ -1044,16 +1047,20 @@ export default {
AddFinancial
(
z
){
//保存
// 手配费参数
if
(
this
.
isHandFee
){
this
.
msg
.
KingdeeBranchId
=
this
.
HandFeeDetail
.
BranchId
if
(
!
this
.
HandFee
.
BranchId
){
this
.
Error
(
'请选择手配费'
)
return
}
this
.
msg
.
KingdeeBranchId
=
this
.
HandFee
.
BranchId
this
.
msg
.
HandFeeList
=
[]
for
(
let
i
=
0
;
i
<
4
;
i
++
){
if
(
this
.
HandFeeDetail
.
DetailList
[
i
].
show
&&
(
!
this
.
HandFeeDetail
.
DetailList
[
i
].
Num
if
(
this
.
HandFeeDetail
&&
this
.
HandFeeDetail
.
DetailList
[
i
].
show
&&
(
!
this
.
HandFeeDetail
.
DetailList
[
i
].
Num
||!
this
.
HandFeeDetail
.
DetailList
[
i
].
Unit_Price
)){
this
.
Error
(
'手配费数量及金额需大于0'
)
return
}
}
this
.
HandFeeDetail
.
DetailList
.
forEach
(
x
=>
{
this
.
HandFeeDetail
&&
this
.
HandFeeDetail
.
DetailList
.
forEach
(
x
=>
{
let
obj
=
{
Type
:
x
.
Type
,
Num
:
x
.
Num
,
...
...
@@ -1065,8 +1072,6 @@ export default {
}
})
}
// console.log(this.msg,'----HandFeeList',this.msg.KingdeeBranchId)
// return
if
(
z
){
this
.
msg
.
Status
=
0
;
}
else
{
...
...
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