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 1b637322
authored
Jan 25, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
转账添加审核流程和分钟提示修改
1 parent
5a71abff
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
157 additions
and
5 deletions
src/api/transferAccountsManage.js
src/common/constants.js
src/router/modules/905_financialManagement.js
src/views/financeManage/transferAccountsManage/components/leaderExamineDialog.vue
src/views/financeManage/transferAccountsManage/index.vue
src/views/systemConfig/merchant/financialRules/components/classificationCpt.vue
src/views/systemConfig/merchant/financialRules/components/merchantTestDialog.vue
src/views/systemConfig/merchant/merchantManage.vue
src/api/transferAccountsManage.js
View file @
1b63732
...
...
@@ -26,7 +26,13 @@ export function transferAccountsRecordUpdateStatus(data) {
data
.
method
=
`
${
path
}
transferAccountsRecord.updateStatus`
return
request
(
data
,
RequestMethods
.
POST
)
}
// dj.api.smartcarlife./1.0.0
// 批量商务领导审核
export
function
batchBusinessAudit
(
data
)
{
data
.
method
=
`
${
path
}
transferAccountsRecord.batchBusinessAudit`
return
request
(
data
,
RequestMethods
.
POST
)
}
// 批量运营审核
export
function
batchOperatorAudit
(
data
)
{
data
.
method
=
`
${
path
}
transferAccountsRecord.batchOperatorAudit`
...
...
src/common/constants.js
View file @
1b63732
...
...
@@ -715,6 +715,7 @@ export const upgradeFlags = [
// 转账管理 状态
export
const
transferAccountsStatusList
=
[
{
confId
:
0
,
confValue
:
"商务领导审核"
},
{
confId
:
1
,
confValue
:
"运营审核"
},
{
confId
:
2
,
confValue
:
"财务确认"
},
{
confId
:
3
,
confValue
:
"转账中"
},
...
...
@@ -727,6 +728,7 @@ export const transferAccountsStatusList = [
]
export
const
transferAccountsStatusShow
=
{
0
:
"商务领导审核"
,
1
:
"运营审核"
,
2
:
"财务确认"
,
3
:
"转账中"
,
...
...
src/router/modules/905_financialManagement.js
View file @
1b63732
...
...
@@ -126,17 +126,26 @@ export const routerName = {
handle
:
"handleAdd"
},
{
authId
:
"9050512"
,
parentId
:
"90505"
,
label
:
"批量商务审核"
,
category
:
"Button"
,
type
:
"primary"
,
handle
:
"handleLeaderAllExamine"
},
{
authId
:
"9050502"
,
parentId
:
"90505"
,
label
:
"批量审核"
,
label
:
"批量
运营
审核"
,
category
:
"Button"
,
type
:
"primary"
,
handle
:
"handleBatchExamine"
},
{
authId
:
"9050503"
,
parentId
:
"90505"
,
label
:
"批量确认"
,
label
:
"批量
财务
确认"
,
category
:
"Button"
,
type
:
"primary"
,
handle
:
"handleBatchConfirm"
...
...
@@ -184,6 +193,12 @@ export const routerName = {
parentId
:
"90505"
,
label
:
"重新发起提现"
,
handle
:
"handleReWithdrawal"
},
{
authId
:
"9050511"
,
parentId
:
"90505"
,
label
:
"商务领导审核"
,
handle
:
"handleLeaderExamine"
}
],
component
:
_import
(
"financeManage/transferAccountsManage/index"
)
...
...
src/views/financeManage/transferAccountsManage/components/leaderExamineDialog.vue
0 → 100644
View file @
1b63732
<!-- 商务领导审核 -->
<
template
>
<baseDialog
:dialog-config=
"dialogConfig"
:is-show
.
sync=
"visible"
class=
"accountDailog"
@
handleClick=
"handleAddConfirm"
>
<div
class=
"reject-dialog"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"formRef"
label-width=
"150px"
default-width=
"350px"
:form-ref=
"examineRef"
:form-obj=
"infoForm"
:form-data=
"editFormData"
:form-rules=
"formRules"
></glsx-combi-form>
<span
:style=
"
{ 'margin-left': '150px' }">审核通过后,转账业务单据自动流转至运营审核。
</span>
</div>
</baseDialog>
</
template
>
<
script
>
import
{
transferAccountsRecordUpdateStatus
,
batchBusinessAudit
}
from
'@api/transferAccountsManage'
// import { deepClone } from '@/common/util'
export
default
{
name
:
'LeaderExamineDialog'
,
data
()
{
return
{
userInfo
:
this
.
$store
.
state
.
d2admin
.
user
.
info
,
// txtObj: {
// procurementReview: '说明:订单审核后会自动流转至商务进行复审',
// procurementBusiness: '说明:订单审核后会自动流转至供应商进行确认并发货'
// },
infoForm
:
{
remark
:
''
},
dialogConfig
:
{
title
:
'商务领导审核'
,
width
:
'600px'
},
examineRef
:
'examineRef'
,
formRules
:
{
// sendOutMerchantId: [{ required: true, message: '请选择发货主体', trigger: 'change' }]
},
editFormData
:
[{
label
:
'备注'
,
name
:
'remark'
,
type
:
'input'
,
maxlength
:
50
,
inputType
:
'textarea'
,
showLimit
:
true
,
rows
:
4
}],
baseData
:
{
// shippingEntityList: []
}
}
},
props
:
{
// fromPage: {
// type: String,
// default: 'procurementReview'
// },
examineVisible
:
{
type
:
Boolean
,
default
:
false
},
// paramsObj: {
// type: Object,
// default: {}
// }
infoList
:
{
type
:
Array
,
default
:
()
=>
{
}
}
},
computed
:
{
visible
:
{
get
()
{
return
this
.
examineVisible
},
set
(
newVal
)
{
this
.
$emit
(
'dialogClose'
,
{
flag
:
newVal
,
attrName
:
'leaderExamineDialogVisible'
})
}
}
},
mounted
()
{
},
methods
:
{
handleAddConfirm
()
{
var
params
=
{}
params
.
remark
=
this
.
infoForm
.
remark
params
.
status
=
1
if
(
this
.
infoList
.
length
>
1
)
{
params
.
orderCodeList
=
this
.
infoList
.
map
((
item
)
=>
{
return
item
.
orderCode
})
}
else
{
params
.
orderCode
=
this
.
infoList
[
0
].
orderCode
}
console
.
log
(
params
)
const
_api
=
this
.
infoList
.
length
>
1
?
batchBusinessAudit
:
transferAccountsRecordUpdateStatus
_api
(
params
).
then
(
res
=>
{
this
.
notice
.
okTips
(
'操作成功'
)
this
.
visible
=
true
})
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.reject-dialog
{
margin
:
65px
0
;
.reject-input
{
::v-deep
.el-textarea__inner
{
height
:
70px
;
}
}
.el-textarea
.el-input__count
{
right
:
90px
;
bottom
:
-10px
;
font-size
:
12px
;
color
:
#999999
;
}
.tips
{
color
:
#999999
;
}
}
</
style
>
src/views/financeManage/transferAccountsManage/index.vue
View file @
1b63732
This diff is collapsed.
Click to expand it.
src/views/systemConfig/merchant/financialRules/components/classificationCpt.vue
View file @
1b63732
...
...
@@ -472,12 +472,13 @@
</p>
<br
/>
<p>
分润模式说明:
</p>
<p>
<p>
默认按不扣除手续费进行计算
</p>
<!--
<p>
若流量方分润扣除手续费,则收入=实收金额,毛利=实收金额-产品成本;
</p>
<p>
若流量方分润不扣除手续费,则收入=原支付金额,毛利=原支付金额-产品成本。
</p>
</p>
-->
<br
/>
<p>
按收入比例:以收入*(定义的比例)进行费用计算;
</p>
<p>
按毛利比例:以毛利*(定义的比例)进行费用计算;
</p>
...
...
src/views/systemConfig/merchant/financialRules/components/merchantTestDialog.vue
View file @
1b63732
...
...
@@ -206,7 +206,8 @@ export default {
// prop: 'orderCode',
width
:
'200px'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
targetMerchantType
[
cellValue
.
targetMerchantType
]
+
':'
+
cellValue
.
merchantName
// realityMerchantName 实际分账对象
return
this
.
targetMerchantType
[
cellValue
.
targetMerchantType
]
+
':'
+
cellValue
.
realityMerchantName
}
},
{
label
:
'分账类目'
,
...
...
src/views/systemConfig/merchant/merchantManage.vue
View file @
1b63732
This diff is collapsed.
Click to expand it.
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