Commit 9faf9dc4 by 前端

Merge branch 'dev_v4.25.1' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into dev_v4.25.1
2 parents 7899be82 5d0f7c88
...@@ -141,3 +141,15 @@ export function cancelDivideAccountsAPI(data) { ...@@ -141,3 +141,15 @@ export function cancelDivideAccountsAPI(data) {
data.method = `${path2}order.cancelProfitAllocation` data.method = `${path2}order.cancelProfitAllocation`
return request(data, "post") return request(data, "post")
} }
// 配置升级订单-订单核销
export function verification(data) {
data.method = `${path2}configUpgradeOrder.verification`
return request(data, "post")
}
// 配置升级订单-退款
export function refund(data) {
data.method = `${path2}configUpgradeOrder.refund`
return request(data, "post")
}
...@@ -123,6 +123,19 @@ export const routerName = { ...@@ -123,6 +123,19 @@ export const routerName = {
parentId: "90401" parentId: "90401"
} }
] ]
},
{
authId: "9040112",
parentId: "90401",
label: "查看订单",
handle: "handleDetail",
addRoutePath: [
{
authId: "90407",
name: "查看订单",
parentId: "90401"
}
]
} }
], ],
component: _import("orderManage/orderList") component: _import("orderManage/orderList")
...@@ -238,5 +251,17 @@ export const routerName = { ...@@ -238,5 +251,17 @@ export const routerName = {
activePath: "/vehicleDamageList" activePath: "/vehicleDamageList"
}, },
component: _import("vehicleDamage/vehicleDamageDetail") component: _import("vehicleDamage/vehicleDamageDetail")
},
90407: {
path: "/configUpgradationDetail",
name: "configUpgradationDetail",
meta: {
title: "订单详情",
authId: "90407",
parentId: "90401",
cache: false,
activePath: "/orderList"
},
component: _import("orderManage/configUpgradationDetail")
} }
} }
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
}, },
mounted() { mounted() {
if (this.scene == '0' || this.scene == '3' || this.scene == '4') { if (this.scene == '0' || this.scene == '2' || this.scene == '3' || this.scene == '4') {
/** 1.0场景和1.3场景隐藏园区店对账单入口 */ /** 1.0场景和1.3场景隐藏园区店对账单入口 */
this.yqCheckVisible = false this.yqCheckVisible = false
} }
......
...@@ -6,12 +6,11 @@ ...@@ -6,12 +6,11 @@
style="background: #E7EAEC;"> style="background: #E7EAEC;">
<!-- @tab-click="tabClick" --> <!-- @tab-click="tabClick" -->
<el-tabs v-model="searchForm.sceneType"> <el-tabs v-model="searchForm.sceneType">
<!-- <el-tab-pane label="1.0新车车损升级"
name="0" /> -->
<el-tab-pane :label="sceneList['1']" <el-tab-pane :label="sceneList['1']"
name="1" /> name="1" />
<!-- <el-tab-pane label="1.2次新车膨胀金活动" <el-tab-pane v-if="!specialAccout"
name="2" /> --> :label="sceneList['2']"
name="2" />
<el-tab-pane v-if="!specialAccout" <el-tab-pane v-if="!specialAccout"
:label="sceneList['3']" :label="sceneList['3']"
name="3" /> name="3" />
...@@ -889,19 +888,21 @@ export default { ...@@ -889,19 +888,21 @@ export default {
this.sellerName_visible = true this.sellerName_visible = true
this.shopProfitType_visible = false this.shopProfitType_visible = false
this.yq_visible = true this.yq_visible = true
} else if (val == 2) {
/** 1.2场景(暂无业务支撑)
1)隐藏顶部统计区域部分;
2)隐藏流量方比例,流量费=流量方各项分账类目之和 */
this.sunmmaryVisible = false
if (this.findFormIdx('yqMerchantId') != -1) {
this.showFormData[this.findFormIdx('yqMerchantId')].isHide = false
} }
this.showFormData[this.findFormIdx('merchantId')].isHide = false // else if (val == 2) {
this.showFormData[this.findFormIdx('businessModel')].isHide = false // /** 1.2场景(暂无业务支撑)
this.sellerName_visible = true // 1)隐藏顶部统计区域部分;
this.shopProfitType_visible = false // 2)隐藏流量方比例,流量费=流量方各项分账类目之和 */
} else if (val == 3) { // this.sunmmaryVisible = false
// if (this.findFormIdx('yqMerchantId') != -1) {
// this.showFormData[this.findFormIdx('yqMerchantId')].isHide = false
// }
// this.showFormData[this.findFormIdx('merchantId')].isHide = false
// this.showFormData[this.findFormIdx('businessModel')].isHide = false
// this.sellerName_visible = true
// this.shopProfitType_visible = false
// }
else if (val == 2 || val == 3) {
/** 1.3场景 /** 1.3场景
1)隐藏顶部统计区域部分; 1)隐藏顶部统计区域部分;
2)隐藏园区店相关的筛选字段; 2)隐藏园区店相关的筛选字段;
......
...@@ -13,13 +13,16 @@ ...@@ -13,13 +13,16 @@
:key="subIndex" :key="subIndex"
:label="subItem.label" :label="subItem.label"
class="row-item"> class="row-item">
<div class="" v-if="subItem.isImage"> <div class=""
<img v-if="detailForm[subItem.name]" class="order-img" v-if="subItem.isImage">
<img v-if="detailForm[subItem.name]"
class="order-img"
:src="detailForm[subItem.name]" :src="detailForm[subItem.name]"
@click="handleEnlargeImg(detailForm[subItem.name])"> @click="handleEnlargeImg(detailForm[subItem.name])">
<span v-else>-</span> <span v-else>-</span>
</div> </div>
<span v-else class="detail-txt ellipsis-1" <span v-else
class="detail-txt ellipsis-1"
:title="detailForm[subItem.name]">{{ :title="detailForm[subItem.name]">{{
detailForm[subItem.name] detailForm[subItem.name]
? detailForm[subItem.name] + (subItem.suffix || "") ? detailForm[subItem.name] + (subItem.suffix || "")
...@@ -421,22 +424,25 @@ export default { ...@@ -421,22 +424,25 @@ export default {
}, },
handleCancel() { handleCancel() {
this.$router.push({ this.$router.push({
path: "/orderList" name: 'orderList',
params: {
tabPane: "3",
tabLabel: "crowd-funding"
}
}) })
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.order-detail .el-form--inline .el-form-item { .order-detail .el-form--inline .el-form-item {
margin: 0; margin: 0;
} }
.order-detail{ .order-detail {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
justify-content: center; justify-content: center;
.footer_box{ .footer_box {
text-align: center; text-align: center;
} }
} }
......
...@@ -19,12 +19,14 @@ ...@@ -19,12 +19,14 @@
import Order from "./order.vue" import Order from "./order.vue"
import CrowdFunding from "./crowdfunding.vue" import CrowdFunding from "./crowdfunding.vue"
import carDamage from "./carDamage.vue" import carDamage from "./carDamage.vue"
import configUpgradation from "./configUpgradation.vue"
export default { export default {
name: "OrderList", name: "OrderList",
components: { components: {
Order, Order,
CrowdFunding, CrowdFunding,
carDamage carDamage,
configUpgradation
}, },
data() { data() {
return { return {
...@@ -35,18 +37,27 @@ export default { ...@@ -35,18 +37,27 @@ export default {
name: "1" name: "1"
}, },
{ {
label: "售后众筹", label: "次新车转化",
name: "2" name: "2"
}, },
{ {
label: "会员权益/升级", label: "售后众筹",
name: "3" name: "3"
},
{
label: "会员权益/升级",
name: "4"
} }
], ],
tabName: "Order" tabName: "Order"
} }
}, },
mounted() { }, mounted() {
if (this.$route.params.tabPane) {
this.activeName = this.$route.params.tabPane
this.tabName = this.$route.params.tabLabel
}
},
watch: {}, watch: {},
methods: { methods: {
async getBaseData() { async getBaseData() {
...@@ -56,8 +67,9 @@ export default { ...@@ -56,8 +67,9 @@ export default {
handleClick() { handleClick() {
let arr = { let arr = {
1: "order", 1: "order",
2: "crowd-funding", 2: "config-upgradation",
3: "carDamage" 3: "crowd-funding",
4: "carDamage"
} }
this.tabName = arr[+this.activeName] this.tabName = arr[+this.activeName]
} }
......
...@@ -4,17 +4,26 @@ ...@@ -4,17 +4,26 @@
<!-- class="order-detail" --> <!-- class="order-detail" -->
<d2-container> <d2-container>
<!-- <div class="offline-account"> --> <!-- <div class="offline-account"> -->
<div class="header" slot="header" style="padding: 10px 20px;"> <div class="header"
<d2-search ref="showSearch" class="show-search" :search-form="searchForm" :search-select-obj="searchSelectObj" slot="header"
style="padding: 10px 20px;">
<d2-search ref="showSearch"
class="show-search"
:search-form="searchForm"
:search-select-obj="searchSelectObj"
:form-data="showFormData" /> :form-data="showFormData" />
<div class="up-btns"> <div class="up-btns">
<el-button @click="handleSearch" size="small" type="primary"> <el-button @click="handleSearch"
size="small"
type="primary">
查询 查询
</el-button> </el-button>
<el-button size="small" @click="handleReset"> <el-button size="small"
@click="handleReset">
重置 重置
</el-button> </el-button>
<el-button size="small" @click="handleRecord"> <el-button size="small"
@click="handleRecord">
返回 返回
</el-button> </el-button>
</div> </div>
...@@ -23,34 +32,48 @@ ...@@ -23,34 +32,48 @@
<d2-container> --> <d2-container> -->
<div class="d2-container-content"> <div class="d2-container-content">
<d2-table-header :left-span="13"> <d2-table-header :left-span="13">
<span slot="left" class="leftSpan">共<span class="count-txt">{{ countObj.totalCount }}</span>条交易记录,总金额<span <span slot="left"
class="leftSpan">共<span
class="count-txt">{{ countObj.totalCount }}</span>条交易记录,总金额<span
class="count-txt">{{ countObj.totalAmount }}</span>元,已补录<span class="count-txt">{{ countObj.inputtedCount class="count-txt">{{ countObj.totalAmount }}</span>元,已补录<span class="count-txt">{{ countObj.inputtedCount
}}</span>条,未补录<span class="count-txt">{{ countObj.waitInputCount }}</span>条,未关联<span class="count-txt">{{ }}</span>条,未补录<span class="count-txt">{{ countObj.waitInputCount }}</span>条,未关联<span
class="count-txt">{{
countObj.notAssociatedCount }}</span>条,无需补录<span class="count-txt">{{ countObj.needNoSupplementCount countObj.notAssociatedCount }}</span>条,无需补录<span class="count-txt">{{ countObj.needNoSupplementCount
}}</span>条,待确认补录<span class="count-txt">{{ countObj.waitConfirmInputCount }}</span>条。</span> }}</span>条,待确认补录<span class="count-txt">{{ countObj.waitConfirmInputCount }}</span>条。</span>
<!-- <el-button type="primary" @click="batchRecord"> <!-- <el-button type="primary" @click="batchRecord">
批量确认补录 批量确认补录
</el-button> --> </el-button> -->
<el-button type="primary" @click="batchUpdateYqMerchant"> <el-button type="primary"
@click="batchUpdateYqMerchant">
<!-- 批量修改所属园区店 --> <!-- 批量修改所属园区店 -->
批量修改所属服务对接 批量修改所属服务对接
</el-button> </el-button>
<el-button type="primary" @click="batchMarkAsNoUse"> <el-button type="primary"
@click="batchMarkAsNoUse">
批量标记为无需补录 批量标记为无需补录
</el-button> </el-button>
<el-button type="primary" @click="handleExport"> <el-button type="primary"
@click="handleExport">
导出 导出
</el-button> </el-button>
</d2-table-header> </d2-table-header>
<!-- :beforeSearchFn="beforeSearchFn" --> <!-- :beforeSearchFn="beforeSearchFn" -->
<d2-table ref="recordTable" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams" <d2-table ref="recordTable"
:before-search-fn="beforeSearchFn" :selectable-fn="selectableFn"> :get-list-api="getListApi"
<template slot="auth-button" slot-scope="scope"> :search-form="searchFormSearch"
:table-params="tableParams"
:before-search-fn="beforeSearchFn"
:selectable-fn="selectableFn">
<template slot="auth-button"
slot-scope="scope">
<!-- 已分帐无可操作内容 --> <!-- 已分帐无可操作内容 -->
<div v-if="scope.scope.inputStatus !== '6'"> <div v-if="scope.scope.inputStatus !== '6'">
<el-button type="text" v-if="scope.scope.inputStatus == '1'" @click="orderDetail(scope.scope)"> <el-button type="text"
v-if="scope.scope.inputStatus == '1'"
@click="orderDetail(scope.scope)">
订单详情 订单详情
</el-button> </el-button>
<!-- <el-button type="text" <!-- <el-button type="text"
v-if="scope.scope.inputStatus == '0'" v-if="scope.scope.inputStatus == '0'"
@click="relatActivityOrder(scope.scope)"> @click="relatActivityOrder(scope.scope)">
...@@ -77,21 +100,38 @@ ...@@ -77,21 +100,38 @@
分账记录 分账记录
</el-button> --> </el-button> -->
</div> </div>
<!-- 仅预支付状态显示 -->
<!-- <span v-if="scope.scope.tailOrderStatus == '3'">
<el-button type="text" size="mini" style="margin-left: 10px" @click="record(scope.scope)">
确认补录
</el-button>
<el-button type="text" size="mini" style="margin-left: 10px" @click="cancelRelat(scope.scope)">
取消关联
</el-button>
</span> -->
</template> </template>
</d2-table> </d2-table>
</div> </div>
</d2-container> </d2-container>
<!-- 批量修改所属园区店 --> <!-- 批量修改所属园区店 -->
<update-yqMerchant-dialog :merchant-visible="merchantDialogVisible" :id-list="ids" v-if="merchantDialogVisible" <update-yqMerchant-dialog :merchant-visible="merchantDialogVisible"
:id-list="ids"
v-if="merchantDialogVisible"
@dialogClose="dialogClose" /> @dialogClose="dialogClose" />
<!-- 关联活动订单 --> <!-- 关联活动订单 -->
<relat-activity-order-dialog :relat-activity-visible="relatActivityVisible" :order-id="orderId" <relat-activity-order-dialog :relat-activity-visible="relatActivityVisible"
v-if="relatActivityVisible" @dialogClose="relatDialogClose" /> :order-id="orderId"
v-if="relatActivityVisible"
@dialogClose="relatDialogClose" />
<!-- 选择分账规则 --> <!-- 选择分账规则 -->
<choose-rule-dialog :rule-visible="ruleVisible" :record-info="recordInfo" v-if="ruleVisible" <choose-rule-dialog :rule-visible="ruleVisible"
:record-info="recordInfo"
v-if="ruleVisible"
@dialogClose="ruleDialogClose" /> @dialogClose="ruleDialogClose" />
<!-- 选择分账规则 --> <!-- 选择分账规则 -->
<rule-info-dialog :rule-info-visible="ruleInfoVisible" :record-info="recordInfo" v-if="ruleInfoVisible" <rule-info-dialog :rule-info-visible="ruleInfoVisible"
:record-info="recordInfo"
v-if="ruleInfoVisible"
@dialogClose="ruleInfoDialogClose" /> @dialogClose="ruleInfoDialogClose" />
</div> </div>
</template> </template>
......
...@@ -226,10 +226,10 @@ export default { ...@@ -226,10 +226,10 @@ export default {
// return // return
this.$router.replace(this.$route.query.redirect || _current) this.$router.replace(this.$route.query.redirect || _current)
}) })
})
}).finally(() => { }).finally(() => {
this.logining = false this.logining = false
}) })
})
}, },
// 提交登录信息 // 提交登录信息
submit() { submit() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!