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
1b9109cd
Commit
1b9109cd
authored
Jan 20, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8297f75b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
14 deletions
+25
-14
VisaFinancialDocuments.vue
src/components/SalesModule/VisaFinancialDocuments.vue
+25
-14
No files found.
src/components/SalesModule/VisaFinancialDocuments.vue
View file @
1b9109cd
...
...
@@ -313,7 +313,7 @@
</div>
<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',1)"
>
<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,'ServiceCharge',2)"
>
<input
type=
"button"
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
value=
"增加服务费财务单据"
class=
"normalBtn"
@
click=
"OpenOrder2(2,'ServiceCharge',3)"
>
...
...
@@ -560,7 +560,7 @@
</span>
</el-dialog>
<!-- 预付款冲抵 -->
<offset
v-if=
"cdState&&Offset=='Offset'"
:isShow=
"cdState"
:obj=
"queryObj"
@
close=
"cdState=false"
<offset
:isShow=
"cdState"
:obj=
"queryObj"
@
close=
"cdState=false"
@
success=
"cdState=false,dialogVisible=false"
></offset>
</div>
</template>
...
...
@@ -888,18 +888,29 @@ export default {
}
});
}
else
if
(
this
.
Offset
==
'Offset'
){
let
query
=
{};
query
=
{
path
:
'SaleOrderModule'
,
companyID
:
this
.
OutBranchId
,
visaType
:
true
,
blank
:
'y'
,
orderObj
:
JSON
.
stringify
(
orderObj
),
Type
:
this
.
type
,
templateID
:
JSON
.
stringify
(
this
.
isSignMonth
),
}
this
.
queryObj
=
query
this
.
cdState
=
true
let
GuestIds
=
userInfo
.
map
(
x
=>
{
return
x
.
Id
})
this
.
ServiceChargeLoading
=
true
this
.
apipost
(
'Financial_post_SetFinanceTravelVisaCode'
,
{
GuestIds
:
GuestIds
.
join
(
','
),
FType
:
1
},
res
=>
{
this
.
ServiceChargeLoading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
orderObj
.
StandardCurrencyName
=
res
.
data
.
data
let
query
=
{};
query
=
{
path
:
'SaleOrderModule'
,
companyID
:
this
.
OutBranchId
,
visaType
:
true
,
blank
:
'y'
,
orderObj
:
JSON
.
stringify
(
orderObj
),
Type
:
this
.
type
,
//templateID: JSON.stringify(this.isSignMonth),
}
this
.
queryObj
=
query
this
.
cdState
=
true
}
})
}
else
if
(
this
.
Offset
==
'ServiceCharge'
){
let
GuestIds
=
userInfo
.
map
(
x
=>
{
return
x
.
Id
})
this
.
ServiceChargeLoading
=
true
...
...
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