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
53d13e19
Commit
53d13e19
authored
Feb 10, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4d881832
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
categoryEdit-form.vue
src/components/sale/categoryEdit-form.vue
+1
-2
baseInfo.vue
src/components/sale/peerInfo/baseInfo.vue
+6
-5
conRight.vue
src/components/sale/peerInfo/conRight.vue
+5
-2
No files found.
src/components/sale/categoryEdit-form.vue
View file @
53d13e19
...
...
@@ -98,7 +98,7 @@
<div
class=
"row wrap"
>
<div
class=
"col-12"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.linkMan"
ref=
"linkMan"
class=
"col-12 q-pb-lg"
label=
"联系人"
/>
class=
"col-12 q-pb-lg"
label=
"联系人"
:rules=
"[val => !!val || '请填写联系人']"
/>
</div>
</div>
<div
class=
"row wrap"
>
...
...
@@ -185,7 +185,6 @@
saveCourse
()
{
this
.
$refs
.
CategoryName
.
validate
();
this
.
$refs
.
CatetoryType
.
validate
();
if
(
!
this
.
$refs
.
CategoryName
.
hasError
&&!
this
.
$refs
.
CatetoryType
.
hasError
)
{
this
.
saveCustomLoading
=
true
;
saveCustomerCategory
(
this
.
objOption
).
then
(
res
=>
{
...
...
src/components/sale/peerInfo/baseInfo.vue
View file @
53d13e19
...
...
@@ -11,14 +11,15 @@
</div>
</div>
<q-select
outlined
dense
stack-label
label=
"类型"
option-value=
"Id"
option-label=
"Name"
:rules=
"[val => !!val || '请选择类型']"
:options=
"options"
v-model=
"Data.C
ustomer
Type"
emit-value
map-options
/>
:rules=
"[val => !!val || '请选择类型']"
:options=
"options"
v-model=
"Data.C
atetory
Type"
emit-value
map-options
/>
</div>
<div
class=
"flex justify-between items-center q-my-lg"
v-else
@
click=
"showEdit('CustomerType')"
>
<span>
类型
</span>
<span
v-if=
"Data.CustomerType==1"
>
企业
</span>
<span
v-if=
"Data.CustomerType==2"
>
学校
</span>
<span
v-if=
"Data.CustomerType==3"
>
个人
</span>
<span
v-if=
"Data.CustomerType==4"
>
其他
</span>
<!--
<span>
{{
Data
.
CatetoryTypeName
}}
</span>
-->
<span
v-if=
"Data.CatetoryType==1"
>
企业
</span>
<span
v-if=
"Data.CatetoryType==2"
>
学校
</span>
<span
v-if=
"Data.CatetoryType==3"
>
个人
</span>
<span
v-if=
"Data.CatetoryType==4"
>
其他
</span>
</div>
<!-- 名称 -->
<div
class=
"q-my-sm"
v-if=
"editField=='CategoryName'"
>
...
...
src/components/sale/peerInfo/conRight.vue
View file @
53d13e19
...
...
@@ -6,12 +6,14 @@
align=
"left"
style=
"width:400px;"
>
<q-tab
:name=
"0"
label=
"联系人"
/>
<q-tab
:name=
"1"
label=
"客户"
/>
<q-tab
:name=
"2"
label=
"订单"
/>
<q-tab
:name=
"3"
label=
"返佣"
/>
<q-tab
:name=
"4"
label=
"幸福存折"
/>
</q-tabs>
<div
class=
"q-mb-lg"
>
<contract
:Id=
"Id"
v-if=
"tabs === 0"
></contract>
<customer
:Id=
"Id"
v-if=
"tabs === 1"
></customer>
<order
:Id=
"Id"
v-if=
"tabs === 2"
></order>
<rakeback
:Id=
"Id"
v-if=
"tabs === 3"
></rakeback>
...
...
@@ -24,8 +26,9 @@ import customer from "./customer";
import
order
from
"./order"
;
import
passbook
from
"./passbook"
;
import
rakeback
from
"./rakeback"
;
import
contract
from
"./contractPerson"
;
export
default
{
components
:
{
customer
,
order
,
rakeback
,
passbook
},
components
:
{
customer
,
order
,
rakeback
,
passbook
,
contract
},
props
:
{
Id
:
{
type
:
Number
,
...
...
@@ -34,7 +37,7 @@ export default {
},
data
()
{
return
{
tabs
:
1
,
tabs
:
0
};
},
mounted
()
{
...
...
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