Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 6f423a74
authored
Jan 11, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.3.1' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
into xuyl_dev_v3.3.1.1
2 parents
6153ef98
5f1190c5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
201 additions
and
152 deletions
src/api/modules/seckillActivity.js
src/views/orderManage/index.vue
src/views/orderManage/orderDetail.vue
src/views/seckillActivity/editCrowdFund.vue
src/api/modules/seckillActivity.js
View file @
6f423a7
...
@@ -182,6 +182,17 @@ const getPayListApi = params => {
...
@@ -182,6 +182,17 @@ const getPayListApi = params => {
})
})
}
}
/**支付商户管理-下拉列表 */
const
getPayMerchatListApi
=
params
=>
{
params
.
method
=
'entmicro.api.payment.pageListPayment'
return
http
({
url
:
'rop-scrm-entmicro/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
/**数据看板员工排名 */
/**数据看板员工排名 */
const
getRankListApi
=
params
=>
{
const
getRankListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.ranking.page'
params
.
method
=
'scrm.api.shopmall.activity.ranking.page'
...
@@ -267,4 +278,4 @@ const liveroomOverview = params => {
...
@@ -267,4 +278,4 @@ const liveroomOverview = params => {
sign
:
true
sign
:
true
})
})
}
}
export
default
{
exportDailyOrderQuantityStatistics
,
liveroomDetailexport
,
liveroomDetailpage
,
getDailyOrderQuantityStatistics
,
liveroomOverview
,
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getPayListApi
,
getRankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
}
export
default
{
exportDailyOrderQuantityStatistics
,
liveroomDetailexport
,
liveroomDetailpage
,
getDailyOrderQuantityStatistics
,
liveroomOverview
,
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getPayListApi
,
get
PayMerchatListApi
,
get
RankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
}
src/views/orderManage/index.vue
View file @
6f423a7
...
@@ -21,10 +21,10 @@
...
@@ -21,10 +21,10 @@
<div
class=
"flex-default tabs"
>
<div
class=
"flex-default tabs"
>
<el-tabs
v-model=
"searchForm.requestSource"
@
tab-click=
"handleTabClick"
>
<el-tabs
v-model=
"searchForm.requestSource"
@
tab-click=
"handleTabClick"
>
<el-tab-pane
label=
"全部订单"
name=
"0"
></el-tab-pane>
<el-tab-pane
label=
"全部订单"
name=
"0"
></el-tab-pane>
<el-tab-pane
v-if=
"!isSpecialMerchat"
label=
"已付款"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"已付款"
name=
"1"
></el-tab-pane>
<el-tab-pane
v-if=
"!isSpecialMerchat"
label=
"未付款"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"未付款"
name=
"2"
></el-tab-pane>
<el-tab-pane
v-if=
"!isSpecialMerchat"
label=
"已退款"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"已退款"
name=
"3"
></el-tab-pane>
<el-tab-pane
v-if=
"!isSpecialMerchat"
label=
"售后订单"
name=
"4"
></el-tab-pane>
<el-tab-pane
label=
"售后订单"
name=
"4"
></el-tab-pane>
</el-tabs>
</el-tabs>
</div>
</div>
<el-button
class=
"default-blue-btn"
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
class=
"default-blue-btn"
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
...
@@ -164,7 +164,6 @@ export default {
...
@@ -164,7 +164,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
size
:
'small'
,
size
:
'small'
,
isSpecialMerchat
:
true
,
url
:
url
,
url
:
url
,
isEdit
:
true
,
isEdit
:
true
,
orderCode
:
''
,
orderCode
:
''
,
...
@@ -311,29 +310,29 @@ export default {
...
@@ -311,29 +310,29 @@ export default {
type
:
'input'
,
type
:
'input'
,
maxlength
:
50
maxlength
:
50
},
},
{
//
{
label
:
'车架号'
,
//
label: '车架号',
name
:
'vin'
,
//
name: 'vin',
labelWidth
:
56
,
//
labelWidth: 56,
type
:
'input'
,
//
type: 'input',
maxlength
:
50
//
maxlength: 50
},
//
},
{
//
{
label
:
'推荐人'
,
//
label: '推荐人',
name
:
'shareStaffName'
,
//
name: 'shareStaffName',
labelWidth
:
56
,
//
labelWidth: 56,
type
:
'input'
,
//
type: 'input',
maxlength
:
100
//
maxlength: 100
},
//
},
{
//
{
label
:
'推荐人类型'
,
//
label: '推荐人类型',
name
:
'shareStaffSource'
,
//
name: 'shareStaffSource',
type
:
'select'
,
//
type: 'select',
optionList
:
[],
//
optionList: [],
optionId
:
'confId'
,
//
optionId: 'confId',
optionLabel
:
'confName'
,
//
optionLabel: 'confName',
optionsName
:
'shareStaffSourceList'
//
optionsName: 'shareStaffSourceList'
},
//
},
{
{
label
:
'活动名称'
,
label
:
'活动名称'
,
name
:
'activityName'
,
name
:
'activityName'
,
...
@@ -348,20 +347,20 @@ export default {
...
@@ -348,20 +347,20 @@ export default {
type
:
'input'
,
type
:
'input'
,
maxlength
:
100
maxlength
:
100
},
},
{
//
{
label
:
'手机号'
,
//
label: '手机号',
name
:
'customerPhone'
,
//
name: 'customerPhone',
labelWidth
:
56
,
//
labelWidth: 56,
type
:
'input'
,
//
type: 'input',
maxlength
:
11
//
maxlength: 11
},
//
},
{
//
{
label
:
'推荐人手机号'
,
//
label: '推荐人手机号',
name
:
'shareStaffPhone'
,
//
name: 'shareStaffPhone',
labelWidth
:
56
,
//
labelWidth: 56,
type
:
'input'
,
//
type: 'input',
maxlength
:
11
//
maxlength: 11
},
//
},
{
{
label
:
'测试单'
,
label
:
'测试单'
,
name
:
'orderType'
,
name
:
'orderType'
,
...
@@ -519,7 +518,7 @@ export default {
...
@@ -519,7 +518,7 @@ export default {
fn
:
'商品发货'
fn
:
'商品发货'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
!
this
.
isSpecialMerchat
&&
row
.
deliveryType
==
2
&&
row
.
orderStatus
==
6
return
row
.
deliveryType
==
2
&&
row
.
orderStatus
==
6
},
},
listeners
:
{
listeners
:
{
click
:
this
.
handleExpressInfo
click
:
this
.
handleExpressInfo
...
@@ -546,7 +545,7 @@ export default {
...
@@ -546,7 +545,7 @@ export default {
type
:
'text'
type
:
'text'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
!
this
.
isSpecialMerchat
&&
row
.
afterSaleStatus
==
4
return
row
.
afterSaleStatus
==
4
},
},
listeners
:
{
listeners
:
{
click
:
this
.
handleReceiving
click
:
this
.
handleReceiving
...
@@ -567,45 +566,45 @@ export default {
...
@@ -567,45 +566,45 @@ export default {
return
cellValue
.
customerName
||
'-'
return
cellValue
.
customerName
||
'-'
}
}
},
},
{
//
{
label
:
'手机号'
,
//
label: '手机号',
prop
:
'customerPhone'
,
//
prop: 'customerPhone',
width
:
160
,
//
width: 160,
formatter
:
cellValue
=>
{
//
formatter: cellValue => {
return
cellValue
.
customerPhone
||
'-'
//
return cellValue.customerPhone || '-'
}
//
}
},
//
},
{
//
{
label
:
'其他'
,
//
label: '其他',
prop
:
'otherInformation'
,
//
prop: 'otherInformation',
width
:
210
//
width: 210
},
//
},
{
{
label
:
'微信名称'
,
label
:
'微信名称'
,
prop
:
'weChatName'
,
prop
:
'weChatName'
,
addHtml
:
'weChatName'
,
addHtml
:
'weChatName'
,
width
:
210
width
:
210
},
},
{
//
{
label
:
'推荐人'
,
//
label: '推荐人',
prop
:
'shareStaffName'
,
//
prop: 'shareStaffName',
width
:
210
,
//
width: 210,
addHtml
:
'shareStaffName'
//
addHtml: 'shareStaffName'
},
//
},
{
//
{
label
:
'指派人'
,
//
label: '指派人',
prop
:
'assignName'
,
//
prop: 'assignName',
width
:
210
,
//
width: 210,
addHtml
:
'assignName'
//
addHtml: 'assignName'
},
//
},
{
//
{
label
:
'推荐人手机号'
,
//
label: '推荐人手机号',
prop
:
'shareStaffPhone'
,
//
prop: 'shareStaffPhone',
width
:
160
,
//
width: 160,
formatter
:
cellValue
=>
{
//
formatter: cellValue => {
return
cellValue
.
shareStaffPhone
||
'-'
//
return cellValue.shareStaffPhone || '-'
}
//
}
},
//
},
{
{
label
:
'订单时间'
,
label
:
'订单时间'
,
prop
:
'createdDate'
,
prop
:
'createdDate'
,
...
@@ -622,20 +621,20 @@ export default {
...
@@ -622,20 +621,20 @@ export default {
return
cellValue
.
payDate
?
dayjs
(
cellValue
.
payDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
return
cellValue
.
payDate
?
dayjs
(
cellValue
.
payDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}
}
},
},
{
//
{
label
:
'核销时间'
,
//
label: '核销时间',
prop
:
'verificationDate'
,
//
prop: 'verificationDate',
width
:
'180'
,
//
width: '180',
formatter
:
cellValue
=>
{
//
formatter: cellValue => {
return
cellValue
.
verificationDate
?
dayjs
(
cellValue
.
verificationDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
//
return cellValue.verificationDate ? dayjs(cellValue.verificationDate).format('YYYY-MM-DD HH:mm:ss') : '-'
}
//
}
},
//
},
{
//
{
label
:
'车架号'
,
//
label: '车架号',
prop
:
'vinNo'
,
//
prop: 'vinNo',
width
:
130
,
//
width: 130,
addHtml
:
'vinNo'
//
addHtml: 'vinNo'
},
//
},
{
{
label
:
'订单状态'
,
label
:
'订单状态'
,
prop
:
'orderStatus'
,
prop
:
'orderStatus'
,
...
@@ -763,7 +762,7 @@ export default {
...
@@ -763,7 +762,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
checkMerchant
()
//
this.checkMerchant()
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
...
@@ -858,18 +857,18 @@ export default {
...
@@ -858,18 +857,18 @@ export default {
})
})
},
},
checkMerchant
()
{
//
checkMerchant() {
this
.
$apis
.
orderManage
.
checkMerchartApi
({}).
then
(
res
=>
{
//
this.$apis.orderManage.checkMerchartApi({}).then(res => {
this
.
isSpecialMerchat
=
res
//
this.isSpecialMerchat = res
var
hideList
=
[
'售后状态'
,
'订单类型'
,
'结算方式'
,
'商户订单号'
,
'车架号'
,
'推荐人'
,
'推荐人类型'
,
'手机号'
,
'推荐人手机号'
]
//
var hideList = ['售后状态', '订单类型', '结算方式', '商户订单号', '车架号', '推荐人', '推荐人类型', '手机号', '推荐人手机号']
if
(
this
.
isSpecialMerchat
)
{
//
if (this.isSpecialMerchat) {
hideList
.
forEach
(
item
=>
{
//
hideList.forEach(item => {
this
.
showOrHideAttr
(
'searchFormData'
,
item
,
true
)
//
this.showOrHideAttr('searchFormData', item, true)
})
//
})
this
.
deleteAttr
([
'手机号'
,
'其他'
,
'微信名称'
,
'推荐人'
,
'推荐人手机号'
,
'车架号'
,
'商户订单号'
])
//
this.deleteAttr(['手机号', '其他', '微信名称', '推荐人', '推荐人手机号', '车架号', '商户订单号'])
}
//
}
})
//
})
},
//
},
secondConfirm
(
title
,
txt
,
apiModule
,
apiName
,
apiParams
,
fn
,
isResetPage
=
true
)
{
secondConfirm
(
title
,
txt
,
apiModule
,
apiName
,
apiParams
,
fn
,
isResetPage
=
true
)
{
this
.
$confirm
(
txt
,
title
,
{
this
.
$confirm
(
txt
,
title
,
{
...
@@ -1091,9 +1090,6 @@ export default {
...
@@ -1091,9 +1090,6 @@ export default {
},
},
handleTabClick
()
{
handleTabClick
()
{
if
(
this
.
isSpecialMerchat
)
{
return
true
}
this
.
handleSearch
()
this
.
handleSearch
()
},
},
...
...
src/views/orderManage/orderDetail.vue
View file @
6f423a7
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
:title=
"detailForm[subItem.name]"
>
{{
detailForm
[
subItem
.
name
]
?
detailForm
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
:title=
"detailForm[subItem.name]"
>
{{
detailForm
[
subItem
.
name
]
?
detailForm
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<
el-form-item
label=
"其他信息"
>
{{
detailForm
.
formDescribe
}}
</el-form-item
>
<
!--
<el-form-item
label=
"其他信息"
>
{{
detailForm
.
formDescribe
}}
</el-form-item>
--
>
</el-form>
</el-form>
</div>
</div>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
...
@@ -121,22 +121,22 @@ export default {
...
@@ -121,22 +121,22 @@ export default {
label
:
'订单时间'
,
label
:
'订单时间'
,
name
:
'createdDateStr'
name
:
'createdDateStr'
},
},
{
//
{
label
:
'手机号码'
,
//
label: '手机号码',
name
:
'customerPhone'
//
name: 'customerPhone'
},
//
},
{
//
{
label
:
'推荐人'
,
//
label: '推荐人',
name
:
'shareStaffName'
//
name: 'shareStaffName'
},
//
},
{
//
{
label
:
'推荐人类型'
,
//
label: '推荐人类型',
name
:
'shareStaffTypeName'
//
name: 'shareStaffTypeName'
},
//
},
{
//
{
label
:
'车架号'
,
//
label: '车架号',
name
:
'vin'
//
name: 'vin'
},
//
},
{
{
label
:
'门店信息'
,
label
:
'门店信息'
,
name
:
'merchantName'
name
:
'merchantName'
...
@@ -166,10 +166,10 @@ export default {
...
@@ -166,10 +166,10 @@ export default {
label
:
'尾款'
,
label
:
'尾款'
,
name
:
'crowdFundingPrice'
name
:
'crowdFundingPrice'
},
},
{
//
{
label
:
'发货地址'
,
//
label: '发货地址',
name
:
'shipAddress'
//
name: 'shipAddress'
},
//
},
{
{
label
:
'微信名称'
,
label
:
'微信名称'
,
name
:
'weChatName'
name
:
'weChatName'
...
@@ -288,22 +288,22 @@ export default {
...
@@ -288,22 +288,22 @@ export default {
this
.
detailFormData
.
splice
(
idx
,
1
)
this
.
detailFormData
.
splice
(
idx
,
1
)
}
}
// 其他信息
// 其他信息
var
formDescribeObj
=
{
//
var formDescribeObj = {
label
:
'其他信息'
,
//
label: '其他信息',
name
:
'formDescribe'
,
//
name: 'formDescribe',
contentName
:
'formContent'
,
//
contentName: 'formContent',
attrList
:
[
'First'
,
'Second'
]
//
attrList: ['First', 'Second']
}
//
}
this
.
detailForm
[
formDescribeObj
.
name
]
=
''
//
this.detailForm[formDescribeObj.name] = ''
this
.
detailForm
[
formDescribeObj
.
name
]
=
this
.
detailForm
.
plateNo
?
'车牌号:'
+
this
.
detailForm
.
plateNo
+
' '
:
''
//
this.detailForm[formDescribeObj.name] = this.detailForm.plateNo ? '车牌号:' + this.detailForm.plateNo + ' ' : ''
this
.
detailForm
[
formDescribeObj
.
name
]
+=
this
.
detailForm
.
vehicleType
?
'品牌车型:'
+
this
.
detailForm
.
vehicleType
+
' '
:
''
//
this.detailForm[formDescribeObj.name] += this.detailForm.vehicleType ? '品牌车型:' + this.detailForm.vehicleType + ' ' : ''
formDescribeObj
.
attrList
.
forEach
(
item
=>
{
//
formDescribeObj.attrList.forEach(item => {
let
label
=
this
.
detailForm
[
formDescribeObj
.
name
+
item
]
//
let label = this.detailForm[formDescribeObj.name + item]
let
value
=
this
.
detailForm
[
formDescribeObj
.
contentName
+
item
]
//
let value = this.detailForm[formDescribeObj.contentName + item]
if
(
label
)
{
//
if (label) {
this
.
detailForm
[
formDescribeObj
.
name
]
+=
label
+
':'
+
value
+
' '
//
this.detailForm[formDescribeObj.name] += label + ':' + value + ' '
}
//
}
})
//
})
// 商品名称
// 商品名称
this
.
detailForm
.
goodsName
=
this
.
detailForm
.
orderGoods
.
length
?
this
.
detailForm
.
orderGoods
.
map
(
item
=>
item
.
goodsName
).
join
(
','
)
:
'-'
this
.
detailForm
.
goodsName
=
this
.
detailForm
.
orderGoods
.
length
?
this
.
detailForm
.
orderGoods
.
map
(
item
=>
item
.
goodsName
).
join
(
','
)
:
'-'
this
.
formToRow
(
'detailFormData'
)
this
.
formToRow
(
'detailFormData'
)
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
6f423a7
...
@@ -468,7 +468,9 @@ export default {
...
@@ -468,7 +468,9 @@ export default {
reservationInstallContactsName
:
''
,
reservationInstallContactsName
:
''
,
reservationInstallContactsPhone
:
''
,
reservationInstallContactsPhone
:
''
,
targetStock
:
''
,
targetStock
:
''
,
paymentAccountSource
:
'1'
,
paymentAccountId
:
''
,
paymentAccountId
:
''
,
payMannerId
:
''
,
// 战报内容配置
// 战报内容配置
activityActionReport
:
{
activityActionReport
:
{
produceReportSummary
:
''
,
produceReportSummary
:
''
,
...
@@ -1100,6 +1102,28 @@ export default {
...
@@ -1100,6 +1102,28 @@ export default {
addHtml
:
'live'
addHtml
:
'live'
},
},
{
{
label
:
'账户类型'
,
name
:
'paymentAccountSource'
,
type
:
'radio'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionList
:
[
{
confId
:
'1'
,
confName
:
'广联'
},
{
confId
:
'2'
,
confName
:
'服务商'
}
],
isDisabled
:
false
,
handleRadioChange
:
(
value
,
targetItem
)
=>
{
this
.
editForm
.
paymentAccountId
=
''
this
.
configEditFormData
.
find
(
item
=>
item
.
name
==
'paymentAccountId'
).
optionList
=
value
==
'1'
?
this
.
baseData
.
payList
:
this
.
baseData
.
payMerchatList
}
},
{
label
:
'定金收款账户'
,
label
:
'定金收款账户'
,
name
:
'paymentAccountId'
,
name
:
'paymentAccountId'
,
type
:
'select'
,
type
:
'select'
,
...
@@ -1218,7 +1242,11 @@ export default {
...
@@ -1218,7 +1242,11 @@ export default {
COVER_LIVE
:
'https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/COVER_LIVE.gif'
,
COVER_LIVE
:
'https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/COVER_LIVE.gif'
,
COVER_REPLAY
:
'https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/COVER_REPLAY.gif'
COVER_REPLAY
:
'https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/COVER_REPLAY.gif'
}),
}),
defaultFloatingMaskDiagram
:
'https://wx.glsx.com.cn/upload/biz/ba63349f-8e9e-4e80-be3b-45cc38dcf13f.gif'
defaultFloatingMaskDiagram
:
'https://wx.glsx.com.cn/upload/biz/ba63349f-8e9e-4e80-be3b-45cc38dcf13f.gif'
,
baseData
:
{
payList
:
[],
payMerchatList
:
[]
}
}
}
},
},
...
@@ -1256,7 +1284,7 @@ export default {
...
@@ -1256,7 +1284,7 @@ export default {
true
true
)
)
})
})
this
.
changeFormAttr
(
'configEditFormData'
,
'isDisabled'
,
[
'定金收款账户'
],
true
)
this
.
changeFormAttr
(
'configEditFormData'
,
'isDisabled'
,
[
'
账户类型'
,
'
定金收款账户'
],
true
)
}
}
}
}
},
},
...
@@ -1807,6 +1835,8 @@ export default {
...
@@ -1807,6 +1835,8 @@ export default {
this
.
handleMusicChange
(
this
.
musicList
.
length
-
1
)
this
.
handleMusicChange
(
this
.
musicList
.
length
-
1
)
}
}
}
}
// 定金收款账户
this
.
editForm
.
paymentAccountSource
=
this
.
editForm
.
paymentAccountSource
?
this
.
editForm
.
paymentAccountSource
+
''
:
'1'
// 表单设置
// 表单设置
this
.
editForm
.
formDescribeCheck
=
[]
this
.
editForm
.
formDescribeCheck
=
[]
this
.
editForm
.
selectCarNumberFlag
=
this
.
editForm
.
selectCarNumberFlag
||
1
this
.
editForm
.
selectCarNumberFlag
=
this
.
editForm
.
selectCarNumberFlag
||
1
...
@@ -2191,15 +2221,27 @@ export default {
...
@@ -2191,15 +2221,27 @@ export default {
this
.
liveEditFormData
.
find
(
item
=>
item
.
name
==
'liveBroadcastRoomId'
).
optionList
=
staff
this
.
liveEditFormData
.
find
(
item
=>
item
.
name
==
'liveBroadcastRoomId'
).
optionList
=
staff
})
})
},
},
// 定金收款账户
getPayMerchatList
()
{
getPayList
()
{
this
.
$apis
.
seckillActivity
.
getPayMerchatListApi
({
pageNum
:
1
,
pageSize
:
9999
}).
then
(
res
=>
{
this
.
$apis
.
seckillActivity
.
getPayListApi
({}).
then
(
res
=>
{
res
.
list
.
forEach
(
item
=>
{
this
.
configEditFormData
.
find
(
item
=>
item
.
name
==
'paymentAccountId'
).
optionList
=
res
item
.
id
=
item
.
payMannerId
this
.
editForm
.
paymentAccountId
=
this
.
editForm
.
paymentAccountId
||
res
.
find
(
item
=>
item
.
isDefault
==
'Y'
).
id
item
.
accountName
=
item
.
mchName
})
this
.
baseData
.
payMerchatList
=
res
.
list
this
.
configEditFormData
.
find
(
item
=>
item
.
name
==
'paymentAccountId'
).
optionList
=
this
.
editForm
.
paymentAccountSource
==
1
?
this
.
baseData
.
payList
:
this
.
baseData
.
payMerchatList
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
editStatus
=
false
this
.
editStatus
=
false
})
})
})
})
},
// 定金收款账户
getPayList
()
{
this
.
$apis
.
seckillActivity
.
getPayListApi
({}).
then
(
res
=>
{
this
.
baseData
.
payList
=
res
this
.
editForm
.
paymentAccountSource
=
this
.
editForm
.
paymentAccountSource
||
'1'
this
.
editForm
.
paymentAccountId
=
this
.
editForm
.
paymentAccountId
||
this
.
editForm
.
payMannerId
||
res
.
find
(
item
=>
item
.
isDefault
==
'Y'
).
id
this
.
getPayMerchatList
()
})
}
}
}
}
}
}
...
...
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