Commit 40dd6da6 by wangzhihui

Merge branch 'SAAS+V5.0.0' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into SAAS+V5.0.0
2 parents 1dba51a9 bb4e4069
......@@ -928,6 +928,13 @@ export const refundOrderSourceOpt = [
{ confId: 1, confValue: "小程序" }
]
// 订单管理-退款审核-退款类型
export const refundPayTypeOpt = [
{ confId: 1, confValue: "已录订单退款" },
{ confId: 2, confValue: "门店退款标记" },
{ confId: 3, confValue: "未关联流水退款" }
]
// 虚拟对公账户银盛到账模式
export const receiptModeList = [
{ confId: 1, confValue: "T+1" },
......
......@@ -134,5 +134,74 @@ export const routerName = {
}
],
component: _import("usedCarManagement/operateManagement/index")
}
},
92004: {
path: "/vehicleManagement",
name: "vehicleManagement",
meta: {
title: "车辆管理",
authId: "92004",
parentId: "920",
cache: false
},
auth: [
{
authId: "9200401",
parentId: "92004",
label: "详情",
handle: "handleDetail",
addRoutePath: [
{
authId: "9200404",
name: "车辆详情",
parentId: "92004"
},
{
authId: "9200405",
name: "编辑车辆",
parentId: "92004"
}
]
},
{
authId: "9200402",
parentId: "92004",
label: "状态变更",
handle: "handleChangeStatus"
},
{
authId: "9200403",
parentId: "92004",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
}
],
component: _import("usedCarManagement/vehicleManagement/index")
},
9200404: {
path: "/detail",
name: "vehicleDetail",
meta: {
title: "车辆详情",
authId: "9200404",
parentId: "92004",
cache: false
},
auth: [],
component: _import("usedCarManagement/vehicleManagement/detail")
},
9200405: {
path: "/detail",
name: "editVehicle",
meta: {
title: "编辑车辆",
authId: "9200405",
parentId: "92004",
cache: false
},
auth: [],
component: _import("usedCarManagement/vehicleManagement/detail")
},
}
......@@ -11,10 +11,10 @@
label-width="200px"
:inline="true">
<el-form-item label="审批编号:">
{{ detailInfo.applyCode ? detailInfo.applyCode : "-" }}
{{ detailInfo.applyCode ? detailInfo.applyCode : "--" }}
</el-form-item>
<el-form-item label="标题:">
{{ detailInfo.title ? detailInfo.title : "-" }}
{{ detailInfo.title ? detailInfo.title : "--" }}
</el-form-item>
<div class="itemDiv">
<el-form-item label="付款主体:"
......@@ -22,13 +22,13 @@
{{
detailInfo.platformMerchantShowName
? detailInfo.platformMerchantShowName
: "-"
: "--"
}}
</el-form-item>
<el-form-item label="本次付款金额:"
class="halfItem">
{{
detailInfo.payAmount ? detailInfo.payAmount.toFixed(2) : "-"
detailInfo.payAmount ? detailInfo.payAmount.toFixed(2) : "--"
}}
</el-form-item>
</div>
......@@ -39,7 +39,7 @@
{{
detailInfo.refundPoints || detailInfo.refundPoints === 0
? detailInfo.refundPoints
: "-"
: "--"
}}
</el-form-item>
<el-form-item :label="'退还积分(' + detailInfo.deliveryEmployeeName + '):'"
......@@ -47,22 +47,22 @@
{{
detailInfo.refundPoints2 || detailInfo.refundPoints2 === 0
? detailInfo.refundPoints2
: "-"
: "--"
}}
</el-form-item>
</div>
<el-form-item label="付款事由:">
{{ detailInfo.payReason ? detailInfo.payReason : "-" }}
{{ detailInfo.payReason ? detailInfo.payReason : "--" }}
</el-form-item>
<div class="itemDiv">
<el-form-item label="收款人:"
class="halfItem">
{{ detailInfo.payee ? detailInfo.payee : "-" }}
{{ detailInfo.payee ? detailInfo.payee : "--" }}
</el-form-item>
<el-form-item label="开户行:"
class="halfItem">
{{
detailInfo.openAccBankName ? detailInfo.openAccBankName : "-"
detailInfo.openAccBankName ? detailInfo.openAccBankName : "--"
}}
</el-form-item>
</div>
......@@ -72,7 +72,7 @@
? detailInfo.bankAccountNo
.replace(/\s/g, "")
.replace(/(.{4})/g, "$1 ")
: "-"
: "--"
}}
</el-form-item>
</el-form>
......@@ -109,7 +109,7 @@
<div class="info-item">
<span class="item-label">支付金额:</span>
<span>{{
item.orderAmount ? item.orderAmount.toFixed(2) : "-"
item.orderAmount ? item.orderAmount.toFixed(2) : "--"
}}</span>
</div>
</block>
......@@ -127,10 +127,10 @@
<span class="max-width">{{ detailInfo[item.name] }}</span>
</el-tooltip>
</template>
<template v-else><span>-</span></template>
<template v-else><span>--</span></template>
</template>
<template v-else>
<span>{{ detailInfo[item.name] || "-" }}</span>
<span>{{ detailInfo[item.name] || "--" }}</span>
</template>
</div>
<block v-for="(item, index) in busiInfoAttrObj.dynamic"
......@@ -174,7 +174,7 @@
<div class="title">
操作记录<el-button type="text"
class="edit-btn"
@click="handleRecordUpdate" v-if="detailInfo.approveType == 1">编辑</el-button>
@click="handleRecordUpdate" v-if="detailInfo.approveType == 1 && detailInfo.refundPayType != 2">编辑</el-button>
</div>
<div class="record-div">
<div class="record-div-d"
......
......@@ -43,31 +43,31 @@
:show-btn-ids="['9040804']" />
</span>
<!-- 补充 -->
<span style="margin-right: 10px;" v-if="scope.scope.status == 8 && !scope.scope.oaApproveStatus">
<span style="margin-right: 10px;" v-if="scope.scope.status == 8 && !scope.scope.oaApproveStatus && scope.scope.refundPayType != 2">
<auth-button :data="scope.scope"
:show-btn-ids="['9040810']" />
</span>
<!-- 审核 -->
<span style="margin-right: 10px;"
v-if="(scope.scope.status == 0 || scope.scope.status == 1 || scope.scope.status == 2) && scope.scope.approveType == 1">
v-if="(scope.scope.status == 0 || scope.scope.status == 1 || scope.scope.status == 2) && scope.scope.approveType == 1 && scope.scope.refundPayType != 2">
<auth-button :data="scope.scope"
:show-btn-ids="['9040805']" />
</span>
<!-- 结算 -->
<span style="margin-right: 10px;"
v-if="scope.scope.status == 3 && scope.scope.approveType == 1">
v-if="scope.scope.status == 3 && scope.scope.approveType == 1 && scope.scope.refundPayType != 1 && scope.scope.refundPayType != 2">
<auth-button :data="scope.scope"
:show-btn-ids="['9040806']" />
</span>
<!-- 驳回 -->
<span style="margin-right: 10px;"
v-if="(scope.scope.status == 0 || scope.scope.status == 1 || scope.scope.status == 2 || scope.scope.status == 3) && scope.scope.approveType == 1">
v-if="(scope.scope.status == 0 || scope.scope.status == 1 || scope.scope.status == 2 || scope.scope.status == 3) && scope.scope.approveType == 1 && scope.scope.refundPayType != 2">
<auth-button :data="scope.scope"
:show-btn-ids="['9040807']" />
</span>
<!-- 下载 -->
<span style="margin-right: 10px;"
v-if="scope.scope.approveType == 1 && ![7, 8].includes(scope.scope.status)">
v-if="scope.scope.approveType == 1 && ![7, 8].includes(scope.scope.status) && scope.scope.refundPayType != 2">
<auth-button :data="scope.scope"
:show-btn-ids="['9040808']" />
<span v-if="scope.scope.downCount != 0"
......@@ -113,7 +113,7 @@
<script>
import { Util, deepClone } from '@/common/util'
import { mapActions, mapState } from 'vuex'
import { refundExamine_status, refundExamine_approveTypeOpt, oaApproveStatusOpt, refundOrderSourceOpt } from '@/common/constants.js'
import { refundExamine_status, refundExamine_approveTypeOpt, oaApproveStatusOpt, refundOrderSourceOpt, refundPayTypeOpt } from '@/common/constants.js'
import examineDialog from './components/examineDialog'
import rejectDialog from './components/rejectDialog'
import detailDialog from './components/detailDialog'
......@@ -144,7 +144,8 @@ export default {
applyTime: '',
approveType: '',
oaApproveStatus: '',
refundOrderSource: ''
refundOrderSource: '',
refundPayType: ''
},
searchFormSearch: {},
showFormData: [{
......@@ -238,6 +239,14 @@ export default {
optionId: 'confId',
optionLabel: 'confValue',
optionsName: 'refundOrderSourceOpt'
}, {
label: '退款类型',
name: 'refundPayType',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confValue',
optionsName: 'refundPayTypeOpt'
}],
getListApi: refundApplyRecordPage,
tableParams: {
......@@ -370,6 +379,13 @@ export default {
formatter: (cellValue) => {
return this.baseData.approveTypeOpt.find(item => item.confId === cellValue.approveType)?.confValue
}
}, {
label: '退款类型',
prop: 'refundPayType',
width: '100px',
formatter: (cellValue) => {
return this.baseData.refundPayTypeOpt.find(item => item.confId === cellValue.refundPayType)?.confValue
}
}
]
},
......@@ -378,7 +394,8 @@ export default {
approveTypeOpt: deepClone(refundExamine_approveTypeOpt),
oaApproveStatusOpt: deepClone(oaApproveStatusOpt),
platformMerchantIdList: [],
refundOrderSourceOpt: deepClone(refundOrderSourceOpt)
refundOrderSourceOpt: deepClone(refundOrderSourceOpt),
refundPayTypeOpt: deepClone(refundPayTypeOpt)
},
infos: [],
......@@ -475,7 +492,8 @@ export default {
matchBizOrderCode: '',
approveType: '',
oaApproveStatus: '',
refundOrderSource: ''
refundOrderSource: '',
refundPayType: ''
}
this.$refs.recordTable.refreshTable(false, true)
},
......
<template>
<div class="detail-block">
<div class="title flex">{{title}}</div>
<div class="block-content">
<slot></slot>
</div>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
props: {
title: {
type: String,
default: ''
}
},
name: '',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.flex {
display: flex;
align-items: center;
}
.detail-block {
background: #ffffff;
.title {
height: 50px;
border-bottom: 1px solid #e5e5e5;
text-indent: 20px;
font-weight: 500;
color: #333333;
font-size: 16px;
}
}
</style>
\ No newline at end of file
const CAR_STATUS = {
0: '拍卖中',
1: '库存中',
2: '售出1',
3: '售出2',
4: '售出3',
5: '售出4',
6: '售出5',
7: '售出6',
8: '售出7',
9: '售出8',
}
const CAR_STATUS_COLOR = {
0: 'info',
1: 'success',
2: 'warning',
3: 'danger',
4: 'danger',
5: 'danger',
6: 'danger',
7: 'danger',
8: 'danger',
9: 'danger',
}
const CAR_STATUS_OPTIONS = Object.keys(CAR_STATUS).map(key => {
return {
label: CAR_STATUS[key],
value: key,
}
})
module.exports = {
CAR_STATUS,
CAR_STATUS_COLOR,
CAR_STATUS_OPTIONS,
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!