Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
3203a1e9
Commit
3203a1e9
authored
Nov 13, 2024
by
zs嵩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建报价单增值服务多选
parent
964f0d55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
edit.vue
src/views/ecw/offer/edit.vue
+8
-4
No files found.
src/views/ecw/offer/edit.vue
View file @
3203a1e9
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('目的国')"
prop=
"destCountryId"
>
<el-form-item
:label=
"$t('目的国')"
prop=
"destCountryId"
>
<el-select
v-model=
"form.destCountryId"
:placeholder=
"$t('请选择目的国')"
class=
"w-200"
>
<el-select
v-model=
"form.destCountryId"
:placeholder=
"$t('请选择目的国')"
class=
"w-200"
>
<el-option
v-for=
"item in AddressProvince"
:key=
"item.guojia"
:label=
"item.guojiaName"
:value=
"item.guojia"
/>
<el-option
v-for=
"item in AddressProvince"
:key=
"item.guojia"
:label=
"item.guojiaName"
:value=
"item.guojia"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -576,7 +576,8 @@ const createDefaultForm = () => {
...
@@ -576,7 +576,8 @@ const createDefaultForm = () => {
control
:
false
,
control
:
false
,
isCargoControl
:
false
,
isCargoControl
:
false
,
prodCreateReqVOList
:
[],
prodCreateReqVOList
:
[],
transportVO
:
{}
transportVO
:
{},
serviceType
:
[]
}
}
}
}
export
default
{
export
default
{
...
@@ -743,7 +744,7 @@ export default {
...
@@ -743,7 +744,7 @@ export default {
endTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
有效期结束时间不能为空
"
)
}],
endTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
有效期结束时间不能为空
"
)
}],
transportId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
选择运输方式
"
)
}],
transportId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
选择运输方式
"
)
}],
// departureId: [{required: true, message: this.$t('请选择始发城市')}],
// departureId: [{required: true, message: this.$t('请选择始发城市')}],
destCountryId
:
[{
required
:
true
,
message
:
this
.
$t
(
'
请选择目的国家
'
)
}],
destCountryId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择目的国家
"
)
}],
channelId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
选择出货渠道
"
)
}],
channelId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
选择出货渠道
"
)
}],
stopTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
不能为空
"
)
}],
stopTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
不能为空
"
)
}],
relation
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择所属人
"
)
}],
relation
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择所属人
"
)
}],
...
@@ -1149,6 +1150,8 @@ export default {
...
@@ -1149,6 +1150,8 @@ export default {
getOffer
(
this
.
$route
.
query
.
id
||
this
.
$route
.
query
.
copyId
).
then
((
res
)
=>
{
getOffer
(
this
.
$route
.
query
.
id
||
this
.
$route
.
query
.
copyId
).
then
((
res
)
=>
{
let
formData
=
res
.
data
let
formData
=
res
.
data
formData
.
serviceType
=
formData
.
serviceType
?
formData
.
serviceType
.
split
(
"
,
"
).
filter
((
item
)
=>
item
!=
""
)
:
[]
formData
.
serviceType
=
formData
.
serviceType
?
formData
.
serviceType
.
split
(
"
,
"
).
filter
((
item
)
=>
item
!=
""
)
:
[]
console
.
log
(
formData
.
serviceType
)
formData
.
prodCreateReqVOList
=
[]
formData
.
prodCreateReqVOList
=
[]
if
(
formData
.
transportVO
&&
formData
.
transportVO
.
packageType
)
{
if
(
formData
.
transportVO
&&
formData
.
transportVO
.
packageType
)
{
formData
.
transportVO
.
packageTypeArr
=
formData
.
transportVO
.
packageType
.
split
(
"
,
"
).
filter
((
item
)
=>
item
&&
item
!=
""
)
formData
.
transportVO
.
packageTypeArr
=
formData
.
transportVO
.
packageType
.
split
(
"
,
"
).
filter
((
item
)
=>
item
&&
item
!=
""
)
...
@@ -1352,7 +1355,8 @@ export default {
...
@@ -1352,7 +1355,8 @@ export default {
}
else
{
}
else
{
data
=
Object
.
assign
({},
this
.
form
,
{
data
=
Object
.
assign
({},
this
.
form
,
{
prodCreateReqVOList
:
this
.
getProductListWithDefaultValue
(),
prodCreateReqVOList
:
this
.
getProductListWithDefaultValue
(),
status
status
,
serviceType
:
this
.
form
.
serviceType
.
join
(
"
,
"
)
})
})
}
}
...
...
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