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
98d37a61
Commit
98d37a61
authored
Feb 10, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
9c40f3a0
0cc06d22
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 @
98d37a61
...
...
@@ -125,6 +125,15 @@
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"
: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
class=
"row wrap"
>
<div
class=
"col-6"
>
...
...
@@ -237,7 +246,8 @@
WeChatPhoto
:
''
,
CustomerType
:
1
,
//同业类型 1企业 2学校
EnterpriseName
:
""
,
//企业名称
CategoryId
:
''
CategoryId
:
''
,
CategoryName
:
''
},
EnterpriseLabelName
:
"企业名称"
,
saveCustomLoading
:
false
,
...
...
@@ -247,7 +257,8 @@
CustomerBrandList
:
[],
//所属品牌下拉
optionTitle
:
''
,
typeOptions
:
[],
customList
:[]
customList
:[],
isShowEdit
:
false
}
},
created
()
{},
...
...
@@ -373,6 +384,7 @@
CatetoryType
:
Type
}
this
.
objOption
.
CategoryId
=
''
;
this
.
isShowEdit
=
false
;
queryCustomerCategoryList
(
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
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