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
f1d2f60e
Commit
f1d2f60e
authored
Oct 21, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户跳转报价创建页面携带客户信息bug修复
parent
406a0403
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
517 additions
and
352 deletions
+517
-352
query.vue
src/views/ecw/customer/query.vue
+494
-344
edit.vue
src/views/ecw/offer/edit.vue
+23
-8
No files found.
src/views/ecw/customer/query.vue
View file @
f1d2f60e
This diff is collapsed.
Click to expand it.
src/views/ecw/offer/edit.vue
View file @
f1d2f60e
...
...
@@ -58,7 +58,7 @@
disabled
/>
<!--
<el-input
v-if=
"$route.query.type==1 && form.relation==1"
v-model=
"$route.query.customer.defaultContactPhone"
class=
"w-200"
disabled
/>
<el-input
v-else
:value=
"`$
{form.consignorCountryCode ? '+' + form.consignorCountryCode : ''} ${form.consignorPhone || ''}`" class="w-200" disabled/> -->
</el-form-item>
<el-form-item
:label=
"$t('发货人公司')"
prop=
"consignorCompany"
>
...
...
@@ -874,7 +874,7 @@
>
<el-input v-model="form.transportVO.remarks"></el-input>
</el-form-item>
<el-form-item
:label="$t('是否拆包')"
v-if="[3, 4].indexOf(+form.transportId) > -1"
...
...
@@ -904,7 +904,7 @@
}}</span>
</el-form-item>
-->
</el-card>
<el-form-item
label=
""
class=
"mt-20"
>
...
...
@@ -991,9 +991,9 @@ export default {
data
()
{
return
{
// 遮罩层
form
:
{
relation
:
1
,
// CustomerLevel 的初始值
},
//
form: {
//
relation: 1, // CustomerLevel 的初始值
//
},
type
:
this
.
$route
.
query
.
type
,
contacts
:
null
,
contactsList
:
[],
...
...
@@ -1011,7 +1011,10 @@ export default {
// couponList: [],
fee
:
{},
// 费用
// 表单参数
form
:
{
...
createDefaultForm
()
},
form
:
{
relation
:
1
,
...
createDefaultForm
()
},
// 表单校验
labelStyle
:
"
width:120px
"
,
...
...
@@ -1059,8 +1062,18 @@ export default {
},
computed
:
{
computedStandard
()
{
if
(
this
.
$route
.
query
.
type
==
1
)
{
if
(
this
.
$route
.
query
.
type
==
=
1
)
{
// 使用计算属性动态设置 'Standard' 的值
const
type
=
this
.
$route
.
query
.
customer
.
type
if
(
type
){
// 客户类型不为空时
const
types
=
type
.
split
(
'
,
'
);
if
(
types
.
includes
(
"
0
"
))
{
this
.
form
.
relation
=
1
}
else
{
this
.
form
.
relation
=
2
}
}
switch
(
this
.
form
.
relation
)
{
case
1
:
if
(
this
.
$route
.
query
.
customer
.
defaultContactName
!=
null
)
{
...
...
@@ -1077,6 +1090,8 @@ export default {
if
(
this
.
$route
.
query
.
customer
.
defaultContactPhone
!=
null
)
{
this
.
form
.
consignorPhone
=
this
.
$route
.
query
.
customer
.
defaultContactPhone
;
this
.
form
.
consigorCountryCode
=
this
.
$route
.
query
.
customer
.
defaultCountryCode
;
this
.
form
.
consigneePhone
=
""
;
this
.
form
.
consigeeCountryCode
=
""
;
}
...
...
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