Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
罗超
confucius
Commits
0cc06d22
Commit
0cc06d22
authored
Feb 10, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1462068e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
customerEdit-form.vue
src/components/sale/customerEdit-form.vue
+14
-2
No files found.
src/components/sale/customerEdit-form.vue
View file @
0cc06d22
...
@@ -125,6 +125,15 @@
...
@@ -125,6 +125,15 @@
ref=
"EnterpriseName"
class=
"col-6 q-pr-lg q-pb-lg"
/>
ref=
"EnterpriseName"
class=
"col-6 q-pr-lg q-pb-lg"
/>
<q-select
stack-label
color=
"primary"
v-else
filled
label=
"客户"
option-value=
"CategoryId"
option-label=
"CategoryName"
<q-select
stack-label
color=
"primary"
v-else
filled
label=
"客户"
option-value=
"CategoryId"
option-label=
"CategoryName"
:options=
"customList"
class=
"col-6 q-pr-lg q-pb-lg"
v-model=
"objOption.CategoryId"
emit-value
map-options
/>
:options=
"customList"
class=
"col-6 q-pr-lg q-pb-lg"
v-model=
"objOption.CategoryId"
emit-value
map-options
/>
<template
v-if=
"objOption.CustomerType!=4"
>
<div
class=
"col-6"
v-if=
"!isShowEdit"
>
<q-btn
label=
"立即添加"
@
click=
"isShowEdit=true"
size=
"sm"
color=
"primary"
/>
</div>
<div
class=
"col-6"
v-if=
"isShowEdit"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.CategoryName"
lazy-rules
ref=
"CategoryName"
class=
"col-6 q-pb-lg"
label=
"名称"
/>
</div>
</
template
>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
...
@@ -237,7 +246,8 @@
...
@@ -237,7 +246,8 @@
WeChatPhoto
:
''
,
WeChatPhoto
:
''
,
CustomerType
:
1
,
//同业类型 1企业 2学校
CustomerType
:
1
,
//同业类型 1企业 2学校
EnterpriseName
:
""
,
//企业名称
EnterpriseName
:
""
,
//企业名称
CategoryId
:
''
CategoryId
:
''
,
CategoryName
:
''
},
},
EnterpriseLabelName
:
"企业名称"
,
EnterpriseLabelName
:
"企业名称"
,
saveCustomLoading
:
false
,
saveCustomLoading
:
false
,
...
@@ -247,7 +257,8 @@
...
@@ -247,7 +257,8 @@
CustomerBrandList
:
[],
//所属品牌下拉
CustomerBrandList
:
[],
//所属品牌下拉
optionTitle
:
''
,
optionTitle
:
''
,
typeOptions
:
[],
typeOptions
:
[],
customList
:[]
customList
:[],
isShowEdit
:
false
}
}
},
},
created
()
{},
created
()
{},
...
@@ -373,6 +384,7 @@
...
@@ -373,6 +384,7 @@
CatetoryType
:
Type
CatetoryType
:
Type
}
}
this
.
objOption
.
CategoryId
=
''
;
this
.
objOption
.
CategoryId
=
''
;
this
.
isShowEdit
=
false
;
queryCustomerCategoryList
(
msg
).
then
(
res
=>
{
queryCustomerCategoryList
(
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
customList
=
res
.
Data
;
this
.
customList
=
res
.
Data
;
...
...
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