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 2b335659
authored
Nov 10, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
4.32功能代码提交
1 parent
242d148a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
24 deletions
src/common/constants.js
src/plugin/axios/index_code.js
src/views/financeManage/transferAccountsManage/components/addDialog.vue
src/views/financeManage/transferAccountsManage/components/detailDialog.vue
src/views/financeManage/transferAccountsManage/index.vue
src/common/constants.js
View file @
2b33565
...
...
@@ -739,9 +739,12 @@ export const transferAccountsStatusShow = {
}
//转账管理 转账类型
export
const
transferTypeList
=
[{
confId
:
1
,
confValue
:
"服务商款项"
}]
export
const
transferTypeList
=
[
{
confId
:
1
,
confValue
:
"服务商款项"
},
{
confId
:
2
,
confValue
:
"流量方款项"
}
]
export
const
transferTypeShow
=
{
1
:
"服务商款项"
}
export
const
transferTypeShow
=
{
1
:
"服务商款项"
,
2
:
"流量方款项"
}
//提现管理 状态
export
const
withdrawalManageStatusList
=
[
...
...
src/plugin/axios/index_code.js
View file @
2b33565
...
...
@@ -150,7 +150,10 @@ service.interceptors.response.use(
// console.log(dataAxios)
// errorCreate(`${dataAxios[ruleResult.message_key]}`)
if
(
errCodes
.
includes
(
dataAxios
[
ruleResult
.
code_key
]))
{
errorCreate
(
`
${
errCodeMsg
[
dataAxios
[
ruleResult
.
code_key
]]}
`
)
return
errorCreate
(
`
${
errCodeMsg
[
dataAxios
[
ruleResult
.
code_key
]]}
`
)
}
else
{
//返回约定定义之外的错误码直接取message
return
errorCreate
(
`
${
dataAxios
[
ruleResult
.
message_key
]}
`
)
}
break
}
...
...
src/views/financeManage/transferAccountsManage/components/addDialog.vue
View file @
2b33565
This diff is collapsed.
Click to expand it.
src/views/financeManage/transferAccountsManage/components/detailDialog.vue
View file @
2b33565
...
...
@@ -60,6 +60,10 @@
v-if=
"detailInfo.rewardAndPenaltyCost || detailInfo.rewardAndPenaltyCost == 0"
>
{{
detailInfo
.
rewardAndPenaltyCost
}}
元
</el-form-item>
<el-form-item
label=
"流量费:"
v-if=
"detailInfo.shopTrafficMoney || detailInfo.shopTrafficMoney == 0"
>
{{
detailInfo
.
shopTrafficMoney
}}
元
</el-form-item>
</el-form>
</div>
<div
class=
"examine-record"
>
...
...
@@ -154,13 +158,6 @@ export default {
'驳回'
:
'reddot'
},
examineStatus
:
1
,
// statusForShow: {
// 2: { text: '运营审核', status: '通过' },
// 4: { text: '运营审核', status: '驳回' },
// 5: { text: '商务审核', status: '通过' },
// 6: { text: '商务审核', status: '驳回' },
// 7: { text: '采购驳回', status: '驳回' }
// }
transferAccountsStatusShow
:
deepClone
(
transferAccountsStatusShow
),
sceneTypeOpts
:
deepClone
(
sceneType
),
transferTypeShow
:
deepClone
(
transferTypeShow
),
...
...
@@ -230,6 +227,9 @@ export default {
if
(
this
.
detailInfo
.
marketingCost
||
this
.
detailInfo
.
marketingCost
==
0
)
{
costTypeList
.
push
(
'营销费'
)
}
if
(
this
.
detailInfo
.
shopTrafficMoney
||
this
.
detailInfo
.
shopTrafficMoney
==
0
)
{
costTypeList
.
push
(
'流量费'
)
}
if
(
costTypeList
.
length
>
0
)
{
this
.
detailInfo
.
costTypeShow
=
costTypeList
.
join
(
','
)
}
else
{
...
...
src/views/financeManage/transferAccountsManage/index.vue
View file @
2b33565
...
...
@@ -136,7 +136,8 @@ export default {
sceneTypes
:
[],
transferTrandeNo
:
''
,
withdrawTradeNo
:
''
,
transferAccountsDate
:
''
transferAccountsDate
:
''
,
transferType
:
''
},
searchFormSearch
:
{},
showFormData
:
[{
...
...
@@ -161,6 +162,7 @@ export default {
label
:
'状态'
,
name
:
'status'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
...
...
@@ -192,6 +194,15 @@ export default {
type
:
'datePicker'
,
isClear
:
true
,
pickerOptions
:
'rangePickerOptions'
},
{
label
:
'转账类型'
,
name
:
'transferType'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'transferTypeList'
}],
getListApi
:
transferAccountsRecordPage
,
tableParams
:
{
...
...
@@ -259,6 +270,9 @@ export default {
if
(
cellValue
.
marketingCost
||
cellValue
.
marketingCost
==
0
)
{
costTypeList
.
push
(
'营销费'
)
}
if
(
cellValue
.
shopTrafficMoney
||
cellValue
.
shopTrafficMoney
==
0
)
{
costTypeList
.
push
(
'流量费'
)
}
if
(
costTypeList
.
length
>
0
)
{
return
costTypeList
.
join
(
','
)
}
else
{
...
...
@@ -371,18 +385,6 @@ export default {
this
.
searchFormSearch
.
transferEndTimeStr
=
Util
.
dateFormate
(
this
.
searchFormSearch
.
transferAccountsDate
[
1
],
'YYYY-MM-DD'
)
+
' 23:59:59'
delete
this
.
searchFormSearch
.
transferAccountsDate
}
// if (this.searchFormSearch.orderCode) {
// this.searchFormSearch.orderCodes[0] = this.searchFormSearch.orderCode
// delete this.searchFormSearch.orderCode
// }
// if (this.searchFormSearch.merchantId) {
// this.searchFormSearch.merchantIds[0] = this.searchFormSearch.merchantId
// delete this.searchFormSearch.merchantId
// }
// if (this.searchFormSearch.transferOutMerchantId) {
// this.searchFormSearch.transferInMerchantId[0] = this.searchFormSearch.transferOutMerchantId
// delete this.searchFormSearch.transferOutMerchantId
// }
if
(
this
.
searchFormSearch
.
status
)
{
this
.
searchFormSearch
.
statuses
[
0
]
=
this
.
searchFormSearch
.
status
delete
this
.
searchFormSearch
.
status
...
...
@@ -424,7 +426,8 @@ export default {
sceneTypes
:
[],
transferTrandeNo
:
''
,
withdrawTradeNo
:
''
,
transferAccountsDate
:
''
transferAccountsDate
:
''
,
transferType
:
''
}
this
.
$refs
.
recordTable
.
refreshTable
(
false
,
true
)
},
...
...
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