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 0073f8da
authored
Mar 26, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
搜索项-回车刷新;财务,发券bug
1 parent
da0f30b8
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
75 additions
and
18 deletions
src/components/d2-search/index.vue
src/views/customer/customerList.vue
src/views/customer/recordList.vue
src/views/financeManage/financeList.vue
src/views/goods/commodity.vue
src/views/goods/coupons.vue
src/views/goods/product.vue
src/views/orderManage/orderList.vue
src/views/systemConfig/merchantDetail.vue
src/views/systemConfig/merchantManage.vue
src/views/systemConfig/serviceStore.vue
src/components/d2-search/index.vue
View file @
0073f8d
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
v-model=
"searchForm[item.name]"
v-model=
"searchForm[item.name]"
:disabled=
"item.isDisabled"
:disabled=
"item.isDisabled"
:clearable=
"item.isClear || false"
:clearable=
"item.isClear || false"
@
keydown
.
native=
"e => handleInputDown(e, item)"
></el-input>
></el-input>
<!-- 选择框 -->
<!-- 选择框 -->
<el-select
<el-select
...
@@ -95,6 +96,11 @@ export default {
...
@@ -95,6 +96,11 @@ export default {
// 选择框-添加其他属性
// 选择框-添加其他属性
selectAddAttr
(
value
,
targetItem
)
{
selectAddAttr
(
value
,
targetItem
)
{
targetItem
.
changeAttr
&&
targetItem
.
changeAttr
(
value
,
targetItem
)
targetItem
.
changeAttr
&&
targetItem
.
changeAttr
(
value
,
targetItem
)
},
handleInputDown
(
e
,
item
)
{
if
(
e
.
keyCode
===
13
&&
item
.
hasOwnProperty
(
'keyFn'
))
{
item
.
keyFn
()
}
}
}
}
}
}
}
...
...
src/views/customer/customerList.vue
View file @
0073f8d
...
@@ -311,12 +311,14 @@ export default {
...
@@ -311,12 +311,14 @@ export default {
label
:
'流量信息'
,
label
:
'流量信息'
,
name
:
'name'
,
name
:
'name'
,
type
:
'input'
,
type
:
'input'
,
keyFn
:
this
.
keyDowmGetList
,
placeholder
:
'请输入推荐人或转化员姓名'
,
placeholder
:
'请输入推荐人或转化员姓名'
,
isClear
:
true
isClear
:
true
},
{
},
{
label
:
'客户信息'
,
label
:
'客户信息'
,
name
:
'keyword'
,
name
:
'keyword'
,
type
:
'input'
,
type
:
'input'
,
keyFn
:
this
.
keyDowmGetList
,
placeholder
:
'车架号或客户姓名或钥匙号'
,
placeholder
:
'车架号或客户姓名或钥匙号'
,
isClear
:
true
isClear
:
true
}],
}],
...
@@ -419,6 +421,9 @@ export default {
...
@@ -419,6 +421,9 @@ export default {
this
.
count
=
res
this
.
count
=
res
})
})
},
},
keyDowmGetList
()
{
this
.
getList
()
},
getList
()
{
getList
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
params
=
{
params
=
{
...
...
src/views/customer/recordList.vue
View file @
0073f8d
...
@@ -195,7 +195,9 @@ export default {
...
@@ -195,7 +195,9 @@ export default {
},
{
},
{
label
:
'预录员'
,
label
:
'预录员'
,
name
:
'advanceUserName'
,
name
:
'advanceUserName'
,
type
:
'input'
type
:
'input'
,
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
},
{
},
{
label
:
'流量来源'
,
label
:
'流量来源'
,
name
:
'merchantId'
,
name
:
'merchantId'
,
...
@@ -252,6 +254,7 @@ export default {
...
@@ -252,6 +254,7 @@ export default {
label
:
'客户信息'
,
label
:
'客户信息'
,
name
:
'standNoOrCustomerName'
,
name
:
'standNoOrCustomerName'
,
type
:
'input'
,
type
:
'input'
,
keyFn
:
this
.
keyDowmGetList
,
placeholder
:
'客户姓名或车架号或钥匙号'
,
placeholder
:
'客户姓名或车架号或钥匙号'
,
isClear
:
true
isClear
:
true
}],
}],
...
@@ -353,6 +356,9 @@ export default {
...
@@ -353,6 +356,9 @@ export default {
resolve
()
resolve
()
})
})
},
},
keyDowmGetList
()
{
this
.
$refs
.
recordTable
.
refreshTable
()
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
userId
:
''
,
userId
:
''
,
...
...
src/views/financeManage/financeList.vue
View file @
0073f8d
...
@@ -367,7 +367,8 @@ export default {
...
@@ -367,7 +367,8 @@ export default {
label
:
'订单编号'
,
label
:
'订单编号'
,
name
:
'subOrderCode'
,
name
:
'subOrderCode'
,
type
:
'input'
,
type
:
'input'
,
isClear
:
true
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
}],
}],
tableParams
:
{
tableParams
:
{
btnId
:
''
btnId
:
''
...
@@ -502,6 +503,9 @@ export default {
...
@@ -502,6 +503,9 @@ export default {
this
.
summayData
=
res
this
.
summayData
=
res
})
})
},
},
keyDowmGetList
()
{
this
.
getList
()
},
getList
()
{
getList
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
params
=
{
params
=
{
...
...
src/views/goods/commodity.vue
View file @
0073f8d
...
@@ -154,7 +154,8 @@ export default {
...
@@ -154,7 +154,8 @@ export default {
label
:
'商品名称'
,
label
:
'商品名称'
,
name
:
'goodsName'
,
name
:
'goodsName'
,
type
:
'input'
,
type
:
'input'
,
isClear
:
true
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
},
{
},
{
label
:
'服务门店'
,
label
:
'服务门店'
,
name
:
'yqMerchantId'
,
name
:
'yqMerchantId'
,
...
@@ -299,6 +300,9 @@ export default {
...
@@ -299,6 +300,9 @@ export default {
resolve
()
resolve
()
})
})
},
},
keyDowmGetList
()
{
this
.
$refs
.
commodityTable
.
refreshTable
()
},
getOptionsList
()
{
getOptionsList
()
{
this
.
showFormData
.
forEach
((
item
,
index
)
=>
{
this
.
showFormData
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
type
===
'select'
)
{
if
(
item
.
type
===
'select'
)
{
...
...
src/views/goods/coupons.vue
View file @
0073f8d
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
:min=
"1"
:min=
"1"
:max=
"999"
:max=
"999"
size=
"mini"
size=
"mini"
@
blur=
"handleNumBlur
(scope.scope.index)"
@
change=
"handleNumChange
(scope.scope.index)"
></el-input-number>
></el-input-number>
</span>
</span>
</selected-show-table>
</selected-show-table>
...
@@ -161,12 +161,14 @@ export default {
...
@@ -161,12 +161,14 @@ export default {
label
:
'礼券名称'
,
label
:
'礼券名称'
,
name
:
'couponName'
,
name
:
'couponName'
,
type
:
'input'
,
type
:
'input'
,
isClear
:
true
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
},
{
},
{
label
:
'门店名称'
,
label
:
'门店名称'
,
name
:
'merchantName'
,
name
:
'merchantName'
,
type
:
'input'
,
type
:
'input'
,
isClear
:
true
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
}],
}],
// 新增
// 新增
couponsVisible
:
false
,
couponsVisible
:
false
,
...
@@ -208,10 +210,13 @@ export default {
...
@@ -208,10 +210,13 @@ export default {
prop
:
'couponTypeName'
prop
:
'couponTypeName'
},
{
},
{
label
:
'门店名称'
,
label
:
'门店名称'
,
prop
:
'
yqM
erchantName'
prop
:
'
m
erchantName'
},
{
},
{
label
:
'剩余数量'
,
label
:
'剩余数量'
,
prop
:
'amount'
prop
:
'amount'
,
formatter
:
cellValue
=>
{
return
cellValue
.
amount
-
cellValue
.
getAmount
}
},
{
},
{
label
:
'已核销'
,
label
:
'已核销'
,
prop
:
'usedAmount'
prop
:
'usedAmount'
...
@@ -249,6 +254,9 @@ export default {
...
@@ -249,6 +254,9 @@ export default {
async
getBaseData
()
{
async
getBaseData
()
{
this
.
baseData
.
productTypeList
=
_
.
cloneDeep
(
await
this
.
get
(
BaseData
.
productType
))
this
.
baseData
.
productTypeList
=
_
.
cloneDeep
(
await
this
.
get
(
BaseData
.
productType
))
},
},
keyDowmGetList
()
{
this
.
$refs
.
couponsTable
.
refreshTable
()
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
this
.
searchFormSearch
=
{
this
.
searchFormSearch
=
{
...
@@ -297,7 +305,7 @@ export default {
...
@@ -297,7 +305,7 @@ export default {
})
})
},
},
// 关联门店
// 关联门店
handleNum
Blur
(
idx
)
{
handleNum
Change
(
idx
)
{
this
.
couponsForm
.
merchantCouponDTOList
[
idx
].
amount
=
this
.
couponsNumList
[
idx
]
this
.
couponsForm
.
merchantCouponDTOList
[
idx
].
amount
=
this
.
couponsNumList
[
idx
]
},
},
handleAddStore
()
{
handleAddStore
()
{
...
...
src/views/goods/product.vue
View file @
0073f8d
...
@@ -129,7 +129,8 @@ export default {
...
@@ -129,7 +129,8 @@ export default {
label
:
'素材名称'
,
label
:
'素材名称'
,
name
:
'goodsName'
,
name
:
'goodsName'
,
type
:
'input'
,
type
:
'input'
,
isClear
:
true
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
}],
}],
getListApi
:
getList
,
getListApi
:
getList
,
// 表格参数
// 表格参数
...
@@ -206,6 +207,9 @@ export default {
...
@@ -206,6 +207,9 @@ export default {
}
}
})
})
},
},
keyDowmGetList
()
{
this
.
$refs
.
productTable
.
refreshTable
()
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
...
...
src/views/orderManage/orderList.vue
View file @
0073f8d
...
@@ -202,11 +202,15 @@ export default {
...
@@ -202,11 +202,15 @@ export default {
}
,
{
}
,
{
label
:
'商品名称'
,
label
:
'商品名称'
,
name
:
'orderGoodsName'
,
name
:
'orderGoodsName'
,
type
:
'input'
type
:
'input'
,
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
}
,
{
}
,
{
label
:
'客户姓名'
,
label
:
'客户姓名'
,
name
:
'customerName'
,
name
:
'customerName'
,
type
:
'input'
type
:
'input'
,
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
}
,
{
}
,
{
label
:
'服务门店'
,
label
:
'服务门店'
,
name
:
'yqMerchantId'
,
name
:
'yqMerchantId'
,
...
@@ -350,6 +354,9 @@ export default {
...
@@ -350,6 +354,9 @@ export default {
return
params
return
params
}
,
}
,
keyDowmGetList
()
{
this
.
getList
()
}
,
getList
()
{
getList
()
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
params
=
{
params
=
{
...
...
src/views/systemConfig/merchantDetail.vue
View file @
0073f8d
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<span
class=
"tips-icon"
></span>
<span
class=
"tips-icon"
></span>
</el-tooltip>
:
</el-tooltip>
:
</span>
</span>
<el-radio-group
v-model=
"form.settleTimeType"
>
<el-radio-group
v-model=
"form.settleTimeType"
:disabled=
"form.autoFlag === 'N'"
>
<div
class=
"block_item"
>
<div
class=
"block_item"
>
<el-radio
:label=
"1"
>
结算周期 T+1 日
</el-radio>
<el-radio
:label=
"1"
>
结算周期 T+1 日
</el-radio>
<!--
<span
class=
"form_tip"
>
用户支付的款项会T+1打款到商户银行卡
</span>
-->
<!--
<span
class=
"form_tip"
>
用户支付的款项会T+1打款到商户银行卡
</span>
-->
...
@@ -91,6 +91,7 @@
...
@@ -91,6 +91,7 @@
size=
"small"
size=
"small"
:min=
"1"
:min=
"1"
:max=
"31"
:max=
"31"
:disabled=
"form.settleTimeType === 1"
></el-input-number>
></el-input-number>
日
</el-radio>
日
</el-radio>
<!--
<span
class=
"form_tip"
>
用户支付的款项会在每个月1号将上月结算账单打款到商户银行卡
</span>
-->
<!--
<span
class=
"form_tip"
>
用户支付的款项会在每个月1号将上月结算账单打款到商户银行卡
</span>
-->
...
@@ -745,7 +746,7 @@ export default {
...
@@ -745,7 +746,7 @@ export default {
})
})
}
}
})
})
console
.
log
(
params
)
//
console.log(params)
updateRule
(
params
).
then
((
res
)
=>
{
updateRule
(
params
).
then
((
res
)
=>
{
this
.
$message
({
this
.
$message
({
...
@@ -756,7 +757,7 @@ export default {
...
@@ -756,7 +757,7 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'merchantManage'
name
:
'merchantManage'
})
})
})
})
.
catch
(()
=>
{})
}
else
{
}
else
{
this
.
handleSetEdit
(
'isSecondSetEdit'
,
'accountSecondValiteForm'
,
'accountSecondSetForm'
,
'accountSetForm'
,
'accountSetStruct'
)
this
.
handleSetEdit
(
'isSecondSetEdit'
,
'accountSecondValiteForm'
,
'accountSecondSetForm'
,
'accountSetForm'
,
'accountSetStruct'
)
}
}
...
...
src/views/systemConfig/merchantManage.vue
View file @
0073f8d
...
@@ -91,11 +91,15 @@ export default {
...
@@ -91,11 +91,15 @@ export default {
},
{
},
{
label
:
'商户名称'
,
label
:
'商户名称'
,
name
:
'merchantName'
,
name
:
'merchantName'
,
type
:
'input'
type
:
'input'
,
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
},
{
},
{
label
:
'园区店名称'
,
label
:
'园区店名称'
,
name
:
'yqMerchantName'
,
name
:
'yqMerchantName'
,
type
:
'input'
type
:
'input'
,
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
}],
}],
getListApi
:
getList
,
getListApi
:
getList
,
tableParams
:
{
tableParams
:
{
...
@@ -183,6 +187,9 @@ export default {
...
@@ -183,6 +187,9 @@ export default {
this
.
baseData
.
channelTypeList
=
await
this
.
get
(
BaseData
.
channelType
)
this
.
baseData
.
channelTypeList
=
await
this
.
get
(
BaseData
.
channelType
)
this
.
getOptionsList
()
this
.
getOptionsList
()
},
},
keyDowmGetList
()
{
this
.
$refs
.
merchantTable
.
refreshTable
()
},
// 财务
// 财务
handleDetail
(
row
)
{
handleDetail
(
row
)
{
this
.
close
({
tagName
:
'/merchantDetail'
})
this
.
close
({
tagName
:
'/merchantDetail'
})
...
...
src/views/systemConfig/serviceStore.vue
View file @
0073f8d
...
@@ -150,7 +150,9 @@ export default {
...
@@ -150,7 +150,9 @@ export default {
showFormData
:
[{
showFormData
:
[{
label
:
'商户名称'
,
label
:
'商户名称'
,
name
:
'merchantName'
,
name
:
'merchantName'
,
type
:
'input'
type
:
'input'
,
isClear
:
true
,
keyFn
:
this
.
keyDowmGetList
}],
}],
maxLength
:
10
,
maxLength
:
10
,
getListApi
:
getList
,
getListApi
:
getList
,
...
@@ -253,6 +255,9 @@ export default {
...
@@ -253,6 +255,9 @@ export default {
async
getBaseData
()
{
async
getBaseData
()
{
this
.
baseData
.
channelType
=
await
this
.
get
(
BaseData
.
channelType
)
this
.
baseData
.
channelType
=
await
this
.
get
(
BaseData
.
channelType
)
},
},
keyDowmGetList
()
{
this
.
$refs
.
serviceStoreTable
.
refreshTable
()
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
merchantName
:
''
merchantName
:
''
...
...
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