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
93472477
Commit
93472477
authored
Feb 08, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制签证产品
parent
e7a366c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
3 deletions
+32
-3
ModifyVisaProduct.vue
src/components/SalesVisa/ModifyVisaProduct.vue
+6
-0
VisaProduct.vue
src/components/SalesVisa/VisaProduct.vue
+26
-3
No files found.
src/components/SalesVisa/ModifyVisaProduct.vue
View file @
93472477
...
...
@@ -994,6 +994,9 @@ getCompanyList() {
let
data
=
res
.
data
.
data
;
data
.
RB_Branch_Id
=
String
(
data
.
RB_Branch_Id
)
this
.
addMsg
=
res
.
data
.
data
;
if
(
this
.
$route
.
query
.
copy
){
this
.
addMsg
.
Name
=
'【复制】'
+
this
.
addMsg
.
Name
}
this
.
PriceDates
.
push
(
data
.
EffectiveStartDate
)
this
.
PriceDates
.
push
(
data
.
SendVisaDate
)
let
val
=
data
.
VisaCountryId
;
...
...
@@ -1087,6 +1090,9 @@ getCompanyList() {
// this.Error(`价格有效结束日期请选择${SendVisaDate}之前日期!`);
// return;
// }
if
(
this
.
$route
.
query
.
copy
){
this
.
addMsg
.
Id
=
0
}
this
.
apipost
(
"dmc_post_visa_SetVisaProduct_V1"
,
this
.
addMsg
,
...
...
src/components/SalesVisa/VisaProduct.vue
View file @
93472477
...
...
@@ -518,7 +518,18 @@
@
click=
"updateVisaStatus(scope.row)"
></el-button>
</el-tooltip>
<el-tooltip
effect=
"dark"
:content=
"$t('objFill.copy')"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
"background:#F0A748; border-color:#F0A748"
icon=
"el-icon-document-copy"
@
click=
"EditVisaProduct(scope.row,'copy')"
></el-button>
</el-tooltip>
</el-button-group>
</
template
>
</el-table-column>
...
...
@@ -723,8 +734,20 @@ export default {
}
});
},
// 修改签证产品
EditVisaProduct
(
item
){
// 修改/复制签证产品
EditVisaProduct
(
item
,
type
){
if
(
type
&&
type
==
'copy'
){
return
this
.
$router
.
push
({
name
:
"ModifyVisaProduct"
,
query
:
{
Id
:
item
.
Id
,
copy
:
1
,
blank
:
"y"
,
tab
:
"配置签证产品"
,
copy
:
true
}
});
}
this
.
$router
.
push
({
name
:
"ModifyVisaProduct"
,
query
:
{
...
...
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