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
e5daa335
Commit
e5daa335
authored
Aug 11, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增助理OP验证(不能包含主OP)
parent
1d4e93ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+12
-3
No files found.
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
e5daa335
...
...
@@ -178,15 +178,24 @@
this
.
$message
.
error
(
'请选择线路'
)
return
;
}
if
(
this
.
postData
.
OPId
<=
0
||
this
.
postData
.
OPId
==
''
)
{
this
.
$message
.
error
(
'请选择主OP'
)
return
;
}
this
.
postData
.
AssistantId
=
""
;
var
flag
=
false
;
if
(
this
.
postData
.
Assistantlist
&&
this
.
postData
.
Assistantlist
.
length
>
0
)
{
this
.
postData
.
AssistantId
=
this
.
postData
.
Assistantlist
.
join
(
','
);
this
.
postData
.
Assistantlist
.
forEach
(
sItem
=>
{
if
(
sItem
==
this
.
postData
.
OPId
&&
!
flag
)
{
flag
=
true
;
}
if
(
this
.
postData
.
OPId
<=
0
||
this
.
postData
.
OPId
==
''
)
{
this
.
$message
.
error
(
'请选择主OP'
)
});
}
if
(
flag
)
{
this
.
$message
.
error
(
'助理OP不能包含主OP,请重新选择!'
);
return
;
}
data
.
forEach
(
item
=>
{
item
.
IsDefault
=
item
.
queryMsg
.
IsDefault
?
1
:
0
;
item
.
otherPrice
=
item
.
OtherPrice
;
...
...
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