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
8d1e8fc8
Commit
8d1e8fc8
authored
Nov 13, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单选择无收货人时隐藏收货人输入框
parent
4ef8f1c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
edit.vue
src/views/ecw/order/edit.vue
+9
-8
No files found.
src/views/ecw/order/edit.vue
View file @
8d1e8fc8
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
</el-radio-group>
</el-radio-group>
</div>
</div>
</
template
>
</
template
>
<el-form-item
:label=
"$t('名称')"
prop=
"consigneeContactsId"
>
<el-form-item
v-if=
"hasConsignee"
:label=
"$t('名称')"
prop=
"consigneeContactsId"
>
<!-- <customer-contact-selector v-model="form.consignorContactsId" @change="consignorContact = $event" type="1" /> -->
<!-- <customer-contact-selector v-model="form.consignorContactsId" @change="consignorContact = $event" type="1" /> -->
<div
class=
"contact"
>
<div
class=
"contact"
>
<el-input
v-model=
"form.consigneeName"
placeholder=
""
:disabled=
"!hasConsignee"
/>
<el-input
v-model=
"form.consigneeName"
placeholder=
""
:disabled=
"!hasConsignee"
/>
...
@@ -79,29 +79,29 @@
...
@@ -79,29 +79,29 @@
</el-form-item>
</el-form-item>
<!-- v1.7新增 -->
<!-- v1.7新增 -->
<el-form-item
:label=
"$t('电话')"
prop=
"consigneePhone"
>
<el-form-item
v-if=
"hasConsignee"
:label=
"$t('电话')"
prop=
"consigneePhone"
>
<area-code-selector
v-model=
"form.consigneeCountryCode"
class=
"w-200 mr-10"
disabled
/>
<area-code-selector
v-model=
"form.consigneeCountryCode"
class=
"w-200 mr-10"
disabled
/>
<el-input
v-model=
"form.consigneePhone"
class=
"w-200"
disabled
/>
<el-input
v-model=
"form.consigneePhone"
class=
"w-200"
disabled
/>
</el-form-item>
</el-form-item>
<el-button
circle
icon=
"el-icon-circle-plus"
v-if=
"!showFullConsignee"
@
click=
"showFullConsignee=true"
></el-button>
<el-button
circle
icon=
"el-icon-circle-plus"
v-if=
"
hasConsignee &&
!showFullConsignee"
@
click=
"showFullConsignee=true"
></el-button>
<el-button
circle
icon=
"el-icon-remove"
v-else
@
click=
"showFullConsignee=false"
></el-button>
<el-button
circle
icon=
"el-icon-remove"
v-if=
"hasConsignee && showFullConsignee"
@
click=
"showFullConsignee=false"
></el-button>
<div
v-if=
"showFullConsignee"
>
<div
v-if=
"showFullConsignee"
>
<el-form-item
:label=
"$t('英文名称')"
prop=
"consigneeNameEn"
>
<el-form-item
v-if=
"hasConsignee"
:label=
"$t('英文名称')"
prop=
"consigneeNameEn"
>
<!-- <customer-contact-selector v-model="form.consignorContactsId" @change="consignorContact = $event" type="1" /> -->
<!-- <customer-contact-selector v-model="form.consignorContactsId" @change="consignorContact = $event" type="1" /> -->
<div
class=
"contact"
>
<div
class=
"contact"
>
<el-input
v-model=
"form.consigneeNameEn"
placeholder=
""
:disabled=
"!hasConsignee"
/>
<el-input
v-model=
"form.consigneeNameEn"
placeholder=
""
:disabled=
"!hasConsignee"
/>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('公司中文名称')"
prop=
"consigneePhone"
>
<el-form-item
v-if=
"hasConsignee"
:label=
"$t('公司中文名称')"
prop=
"consigneePhone"
>
<el-input
v-model=
"form.consigneeCompany"
:disabled=
"!hasConsignee"
/>
<el-input
v-model=
"form.consigneeCompany"
:disabled=
"!hasConsignee"
/>
</el-form-item>
</el-form-item>
<!-- v1.7新增 -->
<!-- v1.7新增 -->
<el-form-item
:label=
"$t('公司英文名称')"
prop=
"consigneePhone"
>
<el-form-item
v-if=
"hasConsignee"
:label=
"$t('公司英文名称')"
prop=
"consigneePhone"
>
<el-input
v-model=
"form.consigneeCompanyEn"
:disabled=
"!hasConsignee"
/>
<el-input
v-model=
"form.consigneeCompanyEn"
:disabled=
"!hasConsignee"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"Email"
prop=
"consigneePhone"
>
<el-form-item
v-if=
"hasConsignee"
label=
"Email"
prop=
"consigneePhone"
>
<el-input
v-model=
"form.consigneeEmail"
:disabled=
"!hasConsignee"
/>
<el-input
v-model=
"form.consigneeEmail"
:disabled=
"!hasConsignee"
/>
</el-form-item>
</el-form-item>
</div>
</div>
...
@@ -1401,6 +1401,7 @@ export default {
...
@@ -1401,6 +1401,7 @@ export default {
this
.
$set
(
this
.
form
,
this
.
contactChooseType
+
'
Phone
'
,
contact
.
phoneNew
)
this
.
$set
(
this
.
form
,
this
.
contactChooseType
+
'
Phone
'
,
contact
.
phoneNew
)
if
(
this
.
contactChooseType
==
'
consignor
'
){
if
(
this
.
contactChooseType
==
'
consignor
'
){
this
.
noConsignee
=
contact
.
noConsignee
this
.
noConsignee
=
contact
.
noConsignee
// 如果允许无收货人,则默认无收货人、控货
// 如果允许无收货人,则默认无收货人、控货
// 241023 根据最新的原型,默认有收货人
// 241023 根据最新的原型,默认有收货人
...
...
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