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
4a828e6b
Commit
4a828e6b
authored
Jan 17, 2025
by
honghy
Committed by
wux
Jan 22, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug203 报价单校验错误
parent
444d7e2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
56 deletions
+16
-56
edit.vue
src/views/ecw/offer/edit.vue
+16
-56
No files found.
src/views/ecw/offer/edit.vue
View file @
4a828e6b
...
...
@@ -7,7 +7,7 @@
</div>
<el-form-item
:label=
"$t('所属人')"
prop=
"relation"
>
<!--
<el-radio-group
v-model=
"form.relation"
>
-->
<el-radio-group
v-model=
"form.relation"
id=
"relation"
>
<el-radio-group
v-model=
"form.relation"
id=
"relation"
@
change=
"handleChangeRelation"
>
<el-radio
:label=
"1"
>
{{
$t
(
"
发件人
"
)
}}
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
"
收件人
"
)
}}
</el-radio>
</el-radio-group>
...
...
@@ -952,61 +952,6 @@ export default {
}
},
watch
:
{
"
form.relation
"
:
function
(
newVal
)
{
// this.form.standard = this.computedStandard
if
(
this
.
$route
.
query
.
type
==
1
)
{
let
customer
=
this
.
customer
switch
(
this
.
form
.
relation
)
{
case
1
:
if
(
customer
.
name
!=
null
)
{
this
.
form
.
consignorName
=
customer
.
name
this
.
form
.
consigneeName
=
""
this
.
form
.
consignorId
=
customer
.
customerContactsId
}
if
(
customer
.
company
!=
null
)
{
this
.
form
.
consignorCompany
=
customer
.
company
this
.
form
.
consigneeCompany
=
""
}
if
(
customer
.
phoneNew
!=
null
)
{
this
.
form
.
consignorPhone
=
customer
.
phoneNew
this
.
form
.
consignorCountryCode
=
customer
.
areaCode
this
.
form
.
consigneePhone
=
""
this
.
form
.
consigneeCountryCode
=
""
}
if
(
customer
.
email
!=
null
)
{
this
.
form
.
consignorEmail
=
customer
.
email
this
.
form
.
consigneeEmail
=
""
}
console
.
log
(
customer
,
this
.
form
,
"
zs
"
)
return
case
2
:
if
(
customer
.
name
!=
null
)
{
this
.
form
.
consignorName
=
""
this
.
form
.
consigneeName
=
customer
.
name
this
.
form
.
consigneeId
=
customer
.
customerContactsId
}
if
(
customer
.
company
!=
null
)
{
this
.
form
.
consignorCompany
=
""
this
.
form
.
consigneeCompany
=
customer
.
company
}
if
(
customer
.
phoneNew
!=
null
)
{
this
.
form
.
consignorPhone
=
""
this
.
form
.
consignorCountryCode
=
""
this
.
form
.
consigneePhone
=
customer
.
phoneNew
this
.
form
.
consigneeCountryCode
=
customer
.
areaCode
}
if
(
customer
.
email
!=
null
)
{
this
.
form
.
consignorEmail
=
""
this
.
form
.
consigneeEmail
=
customer
.
email
}
return
default
:
return
""
}
}
},
// 始发地
"
form.departureId
"
()
{
this
.
getOpenedRouterList
()
...
...
@@ -1127,6 +1072,21 @@ export default {
},
methods
:
{
handleChangeRelation
(
val
)
{
if
(
val
==
1
)
{
this
.
form
.
consigneeName
=
""
this
.
form
.
consigneeCompany
=
""
this
.
form
.
consigneePhone
=
""
this
.
form
.
consigneeCountryCode
=
""
this
.
form
.
consigneeEmail
=
""
}
else
{
this
.
form
.
consignorName
=
""
this
.
form
.
consignorCompany
=
""
this
.
form
.
consignorPhone
=
""
this
.
form
.
consignorCountryCode
=
""
this
.
form
.
consignorEmail
=
""
}
},
async
getChannelList
()
{
let
query
=
{
cityId
:
this
.
form
.
objectiveId
,
...
...
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