Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8f2b2b1e
authored
Mar 26, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
发券宝-门店-筛选;客户列表-客户状态
1 parent
0073f8da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
3 deletions
src/views/customer/customerList.vue
src/views/goods/coupons.vue
src/views/customer/customerList.vue
View file @
8f2b2b1
...
...
@@ -192,7 +192,7 @@
prop=
"source"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
source
===
3
?
'现场升级'
:
'系统录入'
}}
</span>
<span>
{{
scope
.
row
.
source
===
3
?
'现场升级'
:
(
scope
.
row
.
source
===
5
?
'核销抵扣'
:
'系统录入'
)
}}
</span>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -338,10 +338,11 @@ export default {
1
:
[
1
,
3
],
2
:
[
2
,
4
,
6
]
},
// 客户状态;1-系统录入;2-现场升级
// 客户状态;1-系统录入;2-现场升级
;5-核销抵扣
sourceStatusObj
:
{
1
:
[
1
,
2
],
2
:
[
3
]
2
:
[
3
],
5
:
[
5
]
},
baseData
:
{
parkServiceList
:
[],
...
...
@@ -370,6 +371,9 @@ export default {
},
{
confId
:
2
,
confLabel
:
'现场升级'
},
{
confId
:
5
,
confLabel
:
'核销抵扣'
}]
},
total
:
0
,
...
...
src/views/goods/coupons.vue
View file @
8f2b2b1
...
...
@@ -64,8 +64,10 @@
prop=
"couponName"
>
<el-input
style=
"width: 216px;"
v-model=
"couponsForm.couponName"
placeholder=
"给目标起个名字"
maxlength=
"10"
></el-input>
</el-form-item>
<el-form-item
...
...
@@ -133,10 +135,40 @@
:relateStoreVisible=
"relateStoreVisible"
:sourcePage=
"sourcePage"
:storeApi=
"storeApi"
:storeSearchForm=
"storeSearchForm"
:storeSelected=
"storeSelected"
@
handleRelateStoreConfirm=
"handleRelateStoreConfirm"
@
handleRelateStoreClose=
"handleRelateStoreClose"
>
<el-row
slot
>
<el-form
:model=
"storeSearchForm"
:rules=
"rules"
ref=
"relate"
:inline=
"true"
>
<el-form-item
label=
"园区店:"
>
<el-input
v-model=
"storeSearchForm.yqMerchantName"
placeholder=
"园区店名称"
@
keydown
.
native=
"handleStoreInput"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"4s店:"
>
<el-input
v-model=
"storeSearchForm.merchantName"
placeholder=
"园区店名称"
@
keydown
.
native=
"handleStoreInput"
clearable
></el-input>
</el-form-item>
<el-button
type=
"primary"
@
click=
"handleSearchStore"
>
搜索
</el-button>
</el-form>
</el-row>
</relate-store-dialog>
</d2-container>
</template>
...
...
@@ -193,6 +225,10 @@ export default {
sourcePage
:
'coupons'
,
storeSelected
:
[],
storeApi
:
commodityAddSeviceMerchant
,
storeSearchForm
:
{
yqMerchantName
:
''
,
merchantName
:
''
},
// 表格参数
getListApi
:
getList
,
tableParams
:
{
...
...
@@ -316,6 +352,12 @@ export default {
this
.
relateStoreVisible
=
!
this
.
relateStoreVisible
this
.
relateCloseReset
()
},
handleStoreInput
(
e
)
{
(
e
.
keyCode
===
13
)
&&
this
.
handleSearchStore
()
},
handleSearchStore
()
{
this
.
$refs
.
relateStore
.
getSelectingList
()
},
relateCloseReset
()
{
this
.
storeSelected
=
[]
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment