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
20e01bfb
Commit
20e01bfb
authored
Nov 23, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
5702b200
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
custom-form.vue
src/components/sale/custom-form.vue
+24
-4
No files found.
src/components/sale/custom-form.vue
View file @
20e01bfb
...
...
@@ -9,6 +9,26 @@
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
@
click=
"EditCustom(null)"
label=
"新增客户"
/>
</div>
</
template
>
<
template
v-slot:body-cell-CustomerState=
"props"
>
<q-td>
<q-chip
color=
"teal"
text-color=
"white"
size=
"sm"
v-if=
"props.row.CustomerState==1"
>
{{
props
.
row
.
CustomerStateStr
}}
</q-chip>
<q-chip
color=
"red"
text-color=
"white"
size=
"sm"
v-if=
"props.row.CustomerState==4"
>
{{
props
.
row
.
CustomerStateStr
}}
</q-chip>
</q-td>
</
template
>
<
template
v-slot:body-cell-ApproveState=
"props"
>
<q-td>
<q-chip
color=
"teal"
text-color=
"white"
size=
"sm"
v-if=
"props.row.ApproveState==1"
>
{{
props
.
row
.
ApproveStateStr
}}
</q-chip>
<q-chip
color=
"red"
text-color=
"white"
size=
"sm"
v-if=
"props.row.ApproveState==0"
>
{{
props
.
row
.
ApproveStateStr
}}
</q-chip>
</q-td>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
style=
"width:200px;"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
...
...
@@ -64,15 +84,15 @@
align
:
'left'
},
{
name
:
'CustomerState
Str
'
,
name
:
'CustomerState'
,
label
:
'账号状态'
,
field
:
'CustomerState
Str
'
,
field
:
'CustomerState'
,
align
:
'left'
},
{
name
:
'ApproveState
Str
'
,
name
:
'ApproveState'
,
label
:
'审核状态'
,
field
:
'ApproveState
Str
'
,
field
:
'ApproveState'
,
align
:
'left'
},
{
...
...
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