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
dfae09c6
Commit
dfae09c6
authored
Mar 30, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b9cebde8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
15 deletions
+41
-15
leaderPay2.vue
src/components/leaderPay2.vue
+41
-15
No files found.
src/components/leaderPay2.vue
View file @
dfae09c6
...
@@ -1153,18 +1153,18 @@
...
@@ -1153,18 +1153,18 @@
<table
class=
"leaderPayTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<table
class=
"leaderPayTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tr>
<tr>
<th></th>
<th></th>
<th>
本位币
</th>
<th>
原币
</th>
<th>
费用类型
</th>
<th>
费用类型
</th>
<th>
原币
</th>
<th>
汇率
</th>
<th>
汇率
</th>
<th>
本位币
</th>
<th>
备注
</th>
<th>
备注
</th>
</tr>
</tr>
<tr
v-for=
"(item,index) in fzList"
:key=
"index"
>
<tr
v-for=
"(item,index) in fzList"
:key=
"index"
>
<td><input
type=
"checkbox"
:value=
"item"
v-model=
"checkList1"
@
change=
"ckeckOne1"
></td>
<td><input
type=
"checkbox"
:value=
"item"
v-model=
"checkList1"
@
change=
"ckeckOne1"
></td>
<td>
{{item.Money}}
</td>
<td>
{{item.OriginalMoney}}
</td>
<td>
{{item.CostTypeName}}
</td>
<td>
{{item.CostTypeName}}
</td>
<td>
{{item.OriginalMoney}}
</td>
<td>
{{item.Rate}}
</td>
<td>
{{item.Rate}}
</td>
<td>
{{item.Money}}
</td>
<td>
{{item.Remark}}
</td>
<td>
{{item.Remark}}
</td>
</tr>
</tr>
<tr
v-if=
"fzList.length==0"
>
<tr
v-if=
"fzList.length==0"
>
...
@@ -1279,10 +1279,12 @@
...
@@ -1279,10 +1279,12 @@
FinanceId
:
''
,
FinanceId
:
''
,
},
},
fzList
:[],
fzList
:[],
fzObj
:{},
};
};
},
},
methods
:
{
methods
:
{
goUrlfk
(){
goUrlfk
(){
let
obj
=
this
.
fzObj
;
let
that
=
this
;
let
that
=
this
;
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList1
))
let
checkList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkList1
))
...
@@ -1296,21 +1298,44 @@
...
@@ -1296,21 +1298,44 @@
}
}
let
arr
=
[];
let
arr
=
[];
var
TCArr
=
[
this
.
fkZDmsg
.
TCNUM
];
// var TCArr = [this.fkZDmsg.TCNUM];
// let orderObj = {
// OrderID: 0,
// OrderSource: 8,
// Obj: {},
// TCIDList: TCArr
// }
that
.
fkZDmsg
.
ReFinanceId
=
this
.
checkList1
[
0
].
FinanceId
;
that
.
fkZDmsg
.
Rate
=
this
.
checkList1
[
0
].
Rate
;
var
msg
=
JSON
.
stringify
(
that
.
fkZDmsg
);
// let routeData = this.$router.resolve({
// name: 'ChoiceAddFinancialDocuments',
// query: {czmsg:msg,'orderObj': JSON.stringify(orderObj),companyID: this.OutBranchId,Type: 2,searchTitle:'报账'}
// })
// window.open(routeData.href, '_blank')
let
id
=
[];
if
(
obj
.
LineId
==
this
.
LineId
)
{
id
=
[
75
]
}
else
{
id
=
[
59
,
63
,
78
];
}
let
TCIDARR
=
[
obj
.
TCIDS
];
let
orderObj
=
{
let
orderObj
=
{
OrderID
:
0
,
OrderID
:
0
,
OrderSource
:
8
,
OrderSource
:
8
,
Obj
:
{},
Obj
:
{},
TCIDList
:
TCArr
SourceID
:
0
,
}
CostType
:
57
,
that
.
fkZDmsg
.
ReFinanceId
=
this
.
checkList1
[
0
].
FinanceId
;
TCIDList
:
TCIDARR
,
that
.
fkZDmsg
.
Rate
=
this
.
checkList1
[
0
].
Rate
;
Money
:
obj
.
LeaderGetPriceT
,
var
msg
=
JSON
.
stringify
(
that
.
fkZDmsg
);
TCNUMS
:
obj
.
TCNUMS
let
routeData
=
this
.
$router
.
resolve
({
};
name
:
'ChoiceAddFinancialDocuments'
,
let
fullPath
=
query
:
{
czmsg
:
msg
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
companyID
:
this
.
OutBranchId
,
Type
:
2
}
`/ChoiceAddFinancialDocuments?searchTitle='报账'&czmsg=
${
msg
}
&Type=
${
2
}
&templateID=
${
JSON
.
stringify
(
id
)}
&companyID=
${
obj
.
OutBranchId
}
&orderObj=
${
JSON
.
stringify
(
orderObj
)}
&blank=y&tab=领队报账`
;
})
let
dom
=
document
.
querySelector
(
"#blankLink"
);
window
.
open
(
routeData
.
href
,
'_blank'
)
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
click
();
},
},
ckeckOne1
(){
ckeckOne1
(){
if
(
this
.
checkList1
.
length
==
2
){
if
(
this
.
checkList1
.
length
==
2
){
...
@@ -1324,6 +1349,7 @@
...
@@ -1324,6 +1349,7 @@
this
.
cdState1
=
true
;
this
.
cdState1
=
true
;
this
.
fkZDmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
fkZDmsg
.
TCNUM
=
item
.
TCIDS
;
this
.
checkList1
=
[];
this
.
checkList1
=
[];
this
.
fzObj
=
item
;
},
},
fzgetList
(){
fzgetList
(){
this
.
apipost
(
"Financial_get_GetFinanceRate"
,
this
.
fzMsg
,
res
=>
{
this
.
apipost
(
"Financial_get_GetFinanceRate"
,
this
.
fzMsg
,
res
=>
{
...
...
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