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
0ef778cd
Commit
0ef778cd
authored
Nov 20, 2023
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ceb07d61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
152 additions
and
6 deletions
+152
-6
ShoppingReimbursement.vue
src/components/ShoppingStore/ShoppingReimbursement.vue
+76
-3
ShoppingReimbursement2.vue
src/components/ShoppingStore/ShoppingReimbursement2.vue
+76
-3
No files found.
src/components/ShoppingStore/ShoppingReimbursement.vue
View file @
0ef778cd
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
</div>
</div>
</td> -->
</td> -->
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"GenerateDocuments(outItem)"
>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"GenerateDocuments(outItem
,subItem.LeaderId,subItem.GuideId
)"
>
{{$t('ground.scdanju')}}
{{$t('ground.scdanju')}}
</p>
</p>
<p
style=
"cursor: pointer;color:blue;margin-top:5px;"
<p
style=
"cursor: pointer;color:blue;margin-top:5px;"
...
@@ -334,6 +334,28 @@
...
@@ -334,6 +334,28 @@
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"领队账户"
v-if=
"LeaderAccountList && LeaderAccountList.length>0"
>
<el-select
v-model=
"LeaderAccountId"
>
<el-option
v-for=
"(item,index) in LeaderAccountList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"导游账户"
v-if=
"GuideAccountList && GuideAccountList.length>0"
>
<el-select
v-model=
"GuideAccountId"
>
<el-option
v-for=
"(item,index) in GuideAccountList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"生成550手续费"
>
<el-select
v-model=
"IsFee"
>
<el-option
label=
"是"
:value=
"1"
:key=
"1"
></el-option>
<el-option
label=
"否"
:value=
"2"
:key=
"2"
></el-option>
</el-select>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
<button
class=
"hollowFixedBtn"
...
@@ -359,6 +381,11 @@
...
@@ -359,6 +381,11 @@
FinanceTypes
:
[
0
],
//佣金类型
FinanceTypes
:
[
0
],
//佣金类型
loading
:
false
,
loading
:
false
,
PayType
:
1
,
//付款方式
PayType
:
1
,
//付款方式
LeaderAccountId
:
0
,
GuideAccountId
:
0
,
LeaderAccountList
:
[],
GuideAccountList
:
[],
IsFee
:
1
,
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
8
,
pageSize
:
8
,
...
@@ -385,9 +412,20 @@
...
@@ -385,9 +412,20 @@
}
}
},
},
methods
:
{
methods
:
{
GenerateDocuments
(
outItem
){
GenerateDocuments
(
outItem
,
LeaderId
,
GuideId
){
this
.
isShowFinaceDailog
=
true
this
.
isShowFinaceDailog
=
true
this
.
CurrentOutItem
=
outItem
this
.
CurrentOutItem
=
outItem
// 处理账户
this
.
LeaderAccountList
=
[];
this
.
LeaderAccountId
=
0
;
this
.
GuideAccountList
=
[];
this
.
GuideAccountId
=
0
;
if
(
LeaderId
&&
LeaderId
>
0
){
this
.
financeinfo_post_GetClientAccountList
(
LeaderId
,
1
);
}
if
(
GuideId
&&
GuideId
>
0
){
this
.
financeinfo_post_GetClientAccountList
(
GuideId
,
2
);
}
},
},
goCreateHandBill
:
function
()
{
goCreateHandBill
:
function
()
{
let
obj
=
{}
let
obj
=
{}
...
@@ -562,7 +600,10 @@
...
@@ -562,7 +600,10 @@
TCIDs
:
that
.
CurrentOutItem
.
TCIDs
,
TCIDs
:
that
.
CurrentOutItem
.
TCIDs
,
PayType
:
that
.
PayType
,
PayType
:
that
.
PayType
,
uid
:
that
.
getLocalStorage
().
EmployeeId
,
uid
:
that
.
getLocalStorage
().
EmployeeId
,
FinanceType
:
this
.
FinanceTypes
.
join
(
','
)
FinanceType
:
this
.
FinanceTypes
.
join
(
','
),
LeaderAccountId
:
that
.
LeaderAccountId
,
GuideAccountId
:
that
.
GuideAccountId
,
IsFee
:
that
.
IsFee
};
};
that
.
loading
=
true
;
that
.
loading
=
true
;
that
.
apipost
(
"dmcstatistics_post_CheckShopDetailsDMCRate"
,
nMsg
,
res
=>
{
that
.
apipost
(
"dmcstatistics_post_CheckShopDetailsDMCRate"
,
nMsg
,
res
=>
{
...
@@ -589,6 +630,38 @@
...
@@ -589,6 +630,38 @@
// });
// });
},
},
financeinfo_post_GetClientAccountList
(
ObjID
,
type
)
{
//获取付款 对象类型 新增用
let
msg
=
{
ID
:
0
,
Type
:
7
,
ObjID
:
ObjID
,
IsJapanRan
:
true
}
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
ClientAccountList
=
[];
data
.
forEach
(
x
=>
{
let
obj
=
{
ID
:
x
.
ID
,
Name
:
x
.
AccountHolder
+
x
.
CardNum
+
`(
${
x
.
AccountAlias
}
)`
,
}
ClientAccountList
.
push
(
obj
)
})
if
(
type
==
1
){
this
.
LeaderAccountList
=
ClientAccountList
;
if
(
ClientAccountList
&&
ClientAccountList
.
length
>
0
){
this
.
LeaderAccountId
=
ClientAccountList
[
0
].
ID
;
}
}
else
{
this
.
GuideAccountList
=
ClientAccountList
;
if
(
ClientAccountList
&&
ClientAccountList
.
length
>
0
){
this
.
GuideAccountId
=
ClientAccountList
[
0
].
ID
;
}
}
}
},
err
=>
{})
},
},
},
mounted
()
{
mounted
()
{
let
myDate
=
new
Date
();
let
myDate
=
new
Date
();
...
...
src/components/ShoppingStore/ShoppingReimbursement2.vue
View file @
0ef778cd
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
</td>
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<div>
<div>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"GenerateDocuments(outItem)"
>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"GenerateDocuments(outItem
,subItem.LeaderId,subItem.GuideId
)"
>
{{$t('ground.scdanju')}}
</p>
{{$t('ground.scdanju')}}
</p>
</div>
</div>
</td>
</td>
...
@@ -221,6 +221,28 @@
...
@@ -221,6 +221,28 @@
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"领队账户"
v-if=
"LeaderAccountList && LeaderAccountList.length>0"
>
<el-select
v-model=
"LeaderAccountId"
>
<el-option
v-for=
"(item,index) in LeaderAccountList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"导游账户"
v-if=
"GuideAccountList && GuideAccountList.length>0"
>
<el-select
v-model=
"GuideAccountId"
>
<el-option
v-for=
"(item,index) in GuideAccountList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"生成550手续费"
>
<el-select
v-model=
"IsFee"
>
<el-option
label=
"是"
:value=
"1"
:key=
"1"
></el-option>
<el-option
label=
"否"
:value=
"2"
:key=
"2"
></el-option>
</el-select>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
<button
class=
"hollowFixedBtn"
...
@@ -260,6 +282,11 @@
...
@@ -260,6 +282,11 @@
total
:
0
,
total
:
0
,
},
},
PayType
:
1
,
//付款方式
PayType
:
1
,
//付款方式
LeaderAccountId
:
0
,
GuideAccountId
:
0
,
LeaderAccountList
:
[],
GuideAccountList
:
[],
IsFee
:
1
,
LineList
:
[],
LineList
:
[],
LineTeamList
:
[],
LineTeamList
:
[],
shopDataList
:
[],
shopDataList
:
[],
...
@@ -270,9 +297,20 @@
...
@@ -270,9 +297,20 @@
}
}
},
},
methods
:
{
methods
:
{
GenerateDocuments
(
outItem
){
GenerateDocuments
(
outItem
,
LeaderId
,
GuideId
){
this
.
isShowFinaceDailog
=
true
this
.
isShowFinaceDailog
=
true
this
.
CurrentOutItem
=
outItem
this
.
CurrentOutItem
=
outItem
// 处理账户
this
.
LeaderAccountList
=
[];
this
.
LeaderAccountId
=
0
;
this
.
GuideAccountList
=
[];
this
.
GuideAccountId
=
0
;
if
(
LeaderId
&&
LeaderId
>
0
){
this
.
financeinfo_post_GetClientAccountList
(
LeaderId
,
1
);
}
if
(
GuideId
&&
GuideId
>
0
){
this
.
financeinfo_post_GetClientAccountList
(
GuideId
,
2
);
}
},
},
goUrlFinancial
:
function
(
name
,
path
,
id
)
{
goUrlFinancial
:
function
(
name
,
path
,
id
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
'y'
,
tab
:
name
}
});
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
'y'
,
tab
:
name
}
});
...
@@ -400,7 +438,10 @@
...
@@ -400,7 +438,10 @@
TCIDs
:
that
.
CurrentOutItem
.
TCIDs
,
TCIDs
:
that
.
CurrentOutItem
.
TCIDs
,
PayType
:
that
.
PayType
,
PayType
:
that
.
PayType
,
uid
:
that
.
getLocalStorage
().
EmployeeId
,
uid
:
that
.
getLocalStorage
().
EmployeeId
,
FinanceType
:
this
.
FinanceTypes
FinanceType
:
this
.
FinanceTypes
,
LeaderAccountId
:
that
.
LeaderAccountId
,
GuideAccountId
:
that
.
GuideAccountId
,
IsFee
:
that
.
IsFee
};
};
that
.
loading
=
true
;
that
.
loading
=
true
;
that
.
apipost
(
"dmcstatistics_post_CheckShopDetailsDMCRate"
,
nMsg
,
res
=>
{
that
.
apipost
(
"dmcstatistics_post_CheckShopDetailsDMCRate"
,
nMsg
,
res
=>
{
...
@@ -425,6 +466,38 @@
...
@@ -425,6 +466,38 @@
}).
catch
(()
=>
{})
}).
catch
(()
=>
{})
},
},
financeinfo_post_GetClientAccountList
(
ObjID
,
type
)
{
//获取付款 对象类型 新增用
let
msg
=
{
ID
:
0
,
Type
:
7
,
ObjID
:
ObjID
,
IsJapanRan
:
true
}
this
.
apipost
(
'financeinfo_post_GetClientAccountList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
ClientAccountList
=
[];
data
.
forEach
(
x
=>
{
let
obj
=
{
ID
:
x
.
ID
,
Name
:
x
.
AccountHolder
+
x
.
CardNum
+
`(
${
x
.
AccountAlias
}
)`
,
}
ClientAccountList
.
push
(
obj
)
})
if
(
type
==
1
){
this
.
LeaderAccountList
=
ClientAccountList
;
if
(
ClientAccountList
&&
ClientAccountList
.
length
>
0
){
this
.
LeaderAccountId
=
ClientAccountList
[
0
].
ID
;
}
}
else
{
this
.
GuideAccountList
=
ClientAccountList
;
if
(
ClientAccountList
&&
ClientAccountList
.
length
>
0
){
this
.
GuideAccountId
=
ClientAccountList
[
0
].
ID
;
}
}
}
},
err
=>
{})
},
},
},
mounted
()
{
mounted
()
{
let
myDate
=
new
Date
();
let
myDate
=
new
Date
();
...
...
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