Commit 1b637322 by 张立顺

转账添加审核流程和分钟提示修改

1 parent 5a71abff
...@@ -26,7 +26,13 @@ export function transferAccountsRecordUpdateStatus(data) { ...@@ -26,7 +26,13 @@ export function transferAccountsRecordUpdateStatus(data) {
data.method = `${path}transferAccountsRecord.updateStatus` data.method = `${path}transferAccountsRecord.updateStatus`
return request(data, RequestMethods.POST) 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) { export function batchOperatorAudit(data) {
data.method = `${path}transferAccountsRecord.batchOperatorAudit` data.method = `${path}transferAccountsRecord.batchOperatorAudit`
......
...@@ -715,6 +715,7 @@ export const upgradeFlags = [ ...@@ -715,6 +715,7 @@ export const upgradeFlags = [
// 转账管理 状态 // 转账管理 状态
export const transferAccountsStatusList = [ export const transferAccountsStatusList = [
{ confId: 0, confValue: "商务领导审核" },
{ confId: 1, confValue: "运营审核" }, { confId: 1, confValue: "运营审核" },
{ confId: 2, confValue: "财务确认" }, { confId: 2, confValue: "财务确认" },
{ confId: 3, confValue: "转账中" }, { confId: 3, confValue: "转账中" },
...@@ -727,6 +728,7 @@ export const transferAccountsStatusList = [ ...@@ -727,6 +728,7 @@ export const transferAccountsStatusList = [
] ]
export const transferAccountsStatusShow = { export const transferAccountsStatusShow = {
0: "商务领导审核",
1: "运营审核", 1: "运营审核",
2: "财务确认", 2: "财务确认",
3: "转账中", 3: "转账中",
......
...@@ -126,17 +126,26 @@ export const routerName = { ...@@ -126,17 +126,26 @@ export const routerName = {
handle: "handleAdd" handle: "handleAdd"
}, },
{ {
authId: "9050512",
parentId: "90505",
label: "批量商务审核",
category: "Button",
type: "primary",
handle: "handleLeaderAllExamine"
},
{
authId: "9050502", authId: "9050502",
parentId: "90505", parentId: "90505",
label: "批量审核", label: "批量运营审核",
category: "Button", category: "Button",
type: "primary", type: "primary",
handle: "handleBatchExamine" handle: "handleBatchExamine"
}, },
{ {
authId: "9050503", authId: "9050503",
parentId: "90505", parentId: "90505",
label: "批量确认", label: "批量财务确认",
category: "Button", category: "Button",
type: "primary", type: "primary",
handle: "handleBatchConfirm" handle: "handleBatchConfirm"
...@@ -184,6 +193,12 @@ export const routerName = { ...@@ -184,6 +193,12 @@ export const routerName = {
parentId: "90505", parentId: "90505",
label: "重新发起提现", label: "重新发起提现",
handle: "handleReWithdrawal" handle: "handleReWithdrawal"
},
{
authId: "9050511",
parentId: "90505",
label: "商务领导审核",
handle: "handleLeaderExamine"
} }
], ],
component: _import("financeManage/transferAccountsManage/index") component: _import("financeManage/transferAccountsManage/index")
......
<!-- 商务领导审核 -->
<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>
...@@ -472,12 +472,13 @@ ...@@ -472,12 +472,13 @@
</p> </p>
<br /> <br />
<p>分润模式说明:</p> <p>分润模式说明:</p>
<p> <p>默认按不扣除手续费进行计算</p>
<!-- <p>
若流量方分润扣除手续费,则收入=实收金额,毛利=实收金额-产品成本; 若流量方分润扣除手续费,则收入=实收金额,毛利=实收金额-产品成本;
</p> </p>
<p> <p>
若流量方分润不扣除手续费,则收入=原支付金额,毛利=原支付金额-产品成本。 若流量方分润不扣除手续费,则收入=原支付金额,毛利=原支付金额-产品成本。
</p> </p> -->
<br /> <br />
<p>按收入比例:以收入*(定义的比例)进行费用计算;</p> <p>按收入比例:以收入*(定义的比例)进行费用计算;</p>
<p>按毛利比例:以毛利*(定义的比例)进行费用计算;</p> <p>按毛利比例:以毛利*(定义的比例)进行费用计算;</p>
......
...@@ -206,7 +206,8 @@ export default { ...@@ -206,7 +206,8 @@ export default {
// prop: 'orderCode', // prop: 'orderCode',
width: '200px', width: '200px',
formatter: (cellValue) => { formatter: (cellValue) => {
return this.targetMerchantType[cellValue.targetMerchantType] + ':' + cellValue.merchantName // realityMerchantName 实际分账对象
return this.targetMerchantType[cellValue.targetMerchantType] + ':' + cellValue.realityMerchantName
} }
}, { }, {
label: '分账类目', label: '分账类目',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!