Commit 9ba232c6 by zhangxw

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

…stem into zhangxw_dev_v4.25.1
2 parents d066b412 922cec84
......@@ -141,3 +141,15 @@ export function cancelDivideAccountsAPI(data) {
data.method = `${path2}order.cancelProfitAllocation`
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 = {
parentId: "90401"
}
]
},
{
authId: "9040112",
parentId: "90401",
label: "查看订单",
handle: "handleDetail",
addRoutePath: [
{
authId: "90407",
name: "查看订单",
parentId: "90401"
}
]
}
],
component: _import("orderManage/orderList")
......@@ -238,5 +251,17 @@ export const routerName = {
activePath: "/vehicleDamageList"
},
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 {
},
mounted() {
if (this.scene == '0' || this.scene == '3') {
if (this.scene == '0' || this.scene == '2' || this.scene == '3' || this.scene == '4') {
/** 1.0场景和1.3场景隐藏园区店对账单入口 */
this.yqCheckVisible = false
}
......
......@@ -6,17 +6,18 @@
style="background: #E7EAEC;">
<!-- @tab-click="tabClick" -->
<el-tabs v-model="searchForm.sceneType">
<!-- <el-tab-pane label="1.0新车车损升级"
name="0" /> -->
<el-tab-pane :label="sceneList['1']"
name="1" />
<!-- <el-tab-pane label="1.2次新车膨胀金活动"
name="2" /> -->
<el-tab-pane v-if="!specialAccout"
:label="sceneList['2']"
name="2" />
<el-tab-pane v-if="!specialAccout"
:label="sceneList['3']"
name="3" />
<el-tab-pane :label="sceneList['0']"
name="0" />
<el-tab-pane :label="sceneList['4']"
name="4" />
</el-tabs>
<el-card class="finance_list_summary"
:body-style="{ padding: 0 }"
......@@ -854,7 +855,7 @@ export default {
'searchForm.sceneType': {
handler(val) {
// console.log('searchForm.sceneType', val)
if (val == 0) {
if (val == 0 || val == 4) {
/** 1.0场景(暂无业务支撑)
1)隐藏顶部统计区域部分;
2)隐藏园区店相关的筛选字段;
......@@ -887,19 +888,21 @@ export default {
this.sellerName_visible = true
this.shopProfitType_visible = false
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
this.showFormData[this.findFormIdx('businessModel')].isHide = false
this.sellerName_visible = true
this.shopProfitType_visible = false
} else if (val == 3) {
}
// 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
// this.showFormData[this.findFormIdx('businessModel')].isHide = false
// this.sellerName_visible = true
// this.shopProfitType_visible = false
// }
else if (val == 2 || val == 3) {
/** 1.3场景
1)隐藏顶部统计区域部分;
2)隐藏园区店相关的筛选字段;
......
......@@ -2,115 +2,118 @@
<template>
<d2-container>
<div class="order-detail">
<div class="edit-box">
<div class="container m-b-20">
<p class="edit-title">订单信息</p>
<el-form label-width="100px"
:inline="true">
<el-row v-for="(item, index) in detailFormDataRow"
:key="index">
<el-form-item v-for="(subItem, subIndex) in item.rowList"
:key="subIndex"
:label="subItem.label"
class="row-item">
<div class="" v-if="subItem.isImage">
<img v-if="detailForm[subItem.name]" class="order-img"
:src="detailForm[subItem.name]"
@click="handleEnlargeImg(detailForm[subItem.name])">
<span v-else>-</span>
</div>
<span v-else class="detail-txt ellipsis-1"
:title="detailForm[subItem.name]">{{
<div class="edit-box">
<div class="container m-b-20">
<p class="edit-title">订单信息</p>
<el-form label-width="100px"
:inline="true">
<el-row v-for="(item, index) in detailFormDataRow"
:key="index">
<el-form-item v-for="(subItem, subIndex) in item.rowList"
:key="subIndex"
:label="subItem.label"
class="row-item">
<div class=""
v-if="subItem.isImage">
<img v-if="detailForm[subItem.name]"
class="order-img"
:src="detailForm[subItem.name]"
@click="handleEnlargeImg(detailForm[subItem.name])">
<span v-else>-</span>
</div>
<span v-else
class="detail-txt ellipsis-1"
:title="detailForm[subItem.name]">{{
detailForm[subItem.name]
? detailForm[subItem.name] + (subItem.suffix || "")
: "-"
}}</span>
</el-form-item>
</el-row>
<template v-if="detailForm.formDescribe">
<el-form-item label="其他信息">{{
</el-form-item>
</el-row>
<template v-if="detailForm.formDescribe">
<el-form-item label="其他信息">{{
detailForm.formDescribe
}}</el-form-item>
</template>
</el-form>
</div>
<div :class="['container', orderRefund ? 'm-b-20' : 'edit-container']">
<p class="edit-title">发货信息</p>
<el-form label-width="100px"
:inline="true">
<el-form-item label="物流信息">
<span>{{ detailForm.deliveryCompany }}&nbsp;&nbsp;&nbsp;{{
</template>
</el-form>
</div>
<div :class="['container', orderRefund ? 'm-b-20' : 'edit-container']">
<p class="edit-title">发货信息</p>
<el-form label-width="100px"
:inline="true">
<el-form-item label="物流信息">
<span>{{ detailForm.deliveryCompany }}&nbsp;&nbsp;&nbsp;{{
detailForm.deliveryNumber
}}</span>
</el-form-item>
</el-form>
<div v-if="orderGoods.length"
class="p-l-40">
<table class="show-table">
<tbody>
<tr v-for="(item, index) in orderGoods"
:key="index"
style="height: 70px">
<td><img :src="item.goodsImage"
class="img-60" /></td>
<td>{{ item.goodsName }}</td>
<td>{{ item.specificationData }}</td>
<td>
{{
</el-form-item>
</el-form>
<div v-if="orderGoods.length"
class="p-l-40">
<table class="show-table">
<tbody>
<tr v-for="(item, index) in orderGoods"
:key="index"
style="height: 70px">
<td><img :src="item.goodsImage"
class="img-60" /></td>
<td>{{ item.goodsName }}</td>
<td>{{ item.specificationData }}</td>
<td>
{{
item.activityPrice ? item.activityPrice : item.retailPrice
}}元 * {{ item.goodsNumber }}
</td>
</tr>
<tr v-if="detailForm.subOrderCoupon"
style="height: 40px">
<td style="text-align: left"
colspan="3">优惠券</td>
<td>{{ detailForm.subOrderCoupon.discountAmount }}元</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr v-if="detailForm.subOrderCoupon"
style="height: 40px">
<td style="text-align: left"
colspan="3">优惠券</td>
<td>{{ detailForm.subOrderCoupon.discountAmount }}元</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="container edit-container"
v-if="orderRefund">
<p class="edit-title">售后信息</p>
<el-form label-width="100px"
:inline="true">
<el-row v-for="(item, index) in afterInfoDataRow"
:key="index">
<el-form-item v-for="(subItem, subIndex) in item.rowList"
:key="subIndex"
:label="subItem.label">
<span class="detail-txt ellipsis-1"
:title="orderRefund[subItem.name]">{{ orderRefund[subItem.name] || "-" }}</span>
</el-form-item>
</el-row>
</el-form>
<div class="form-img">
<div class="container edit-container"
v-if="orderRefund">
<p class="edit-title">售后信息</p>
<el-form label-width="100px"
:inline="true">
<el-form-item label="售后凭证">
<div class="flex">
<span v-for="(item, index) in orderRefund.imgUrls"
:key="index">
<el-image class="img-60 comment-img"
:src="item"
:preview-src-list="[item]"></el-image>
</span>
</div>
</el-form-item>
<el-row v-for="(item, index) in afterInfoDataRow"
:key="index">
<el-form-item v-for="(subItem, subIndex) in item.rowList"
:key="subIndex"
:label="subItem.label">
<span class="detail-txt ellipsis-1"
:title="orderRefund[subItem.name]">{{ orderRefund[subItem.name] || "-" }}</span>
</el-form-item>
</el-row>
</el-form>
<div class="form-img">
<el-form label-width="100px"
:inline="true">
<el-form-item label="售后凭证">
<div class="flex">
<span v-for="(item, index) in orderRefund.imgUrls"
:key="index">
<el-image class="img-60 comment-img"
:src="item"
:preview-src-list="[item]"></el-image>
</span>
</div>
</el-form-item>
</el-form>
</div>
</div>
</div>
<!-- <GLFooter> -->
<div class="footer_box">
<el-button @click="handleCancel"
class="footer_btn"
size="medium">取消</el-button>
</div>
<!-- </GLFooter> -->
</div>
<!-- <GLFooter> -->
<div class="footer_box">
<el-button @click="handleCancel"
class="footer_btn"
size="medium">取消</el-button>
</div>
<!-- </GLFooter> -->
</div>
<el-dialog :visible="imgVisible"
:before-close="handleEnlargeImg">
<img width="100%"
......@@ -118,7 +121,7 @@
alt="图片">
</el-dialog>
</d2-container>
</template>
<script>
......@@ -421,22 +424,25 @@ export default {
},
handleCancel() {
this.$router.push({
path: "/orderList"
name: 'orderList',
params: {
tabPane: "3",
tabLabel: "crowd-funding"
}
})
}
}
}
</script>
<style lang="scss" scoped>
.order-detail .el-form--inline .el-form-item {
margin: 0;
}
.order-detail{
.order-detail {
display: flex;
flex-flow: column;
justify-content: center;
.footer_box{
.footer_box {
text-align: center;
}
}
......
......@@ -19,12 +19,16 @@
import Order from "./order.vue"
import CrowdFunding from "./crowdfunding.vue"
import carDamage from "./carDamage.vue"
import configUpgradation from "./configUpgradation.vue"
import integralShopping from "./integralShopping.vue"
export default {
name: "OrderList",
components: {
Order,
CrowdFunding,
carDamage
carDamage,
configUpgradation,
integralShopping
},
data() {
return {
......@@ -35,18 +39,31 @@ export default {
name: "1"
},
{
label: "售后众筹",
label: "次新车转化",
name: "2"
},
{
label: "会员权益/升级",
label: "售后众筹",
name: "3"
},
{
label: "会员权益/升级",
name: "4"
},
{
label: "积分商城",
name: "5"
}
],
tabName: "Order"
}
},
mounted() { },
mounted() {
if (this.$route.params.tabPane) {
this.activeName = this.$route.params.tabPane
this.tabName = this.$route.params.tabLabel
}
},
watch: {},
methods: {
async getBaseData() {
......@@ -56,8 +73,10 @@ export default {
handleClick() {
let arr = {
1: "order",
2: "crowd-funding",
3: "carDamage"
2: "config-upgradation",
3: "crowd-funding",
4: "carDamage",
5: "integral-shopping",
}
this.tabName = arr[+this.activeName]
}
......
......@@ -4,17 +4,26 @@
<!-- class="order-detail" -->
<d2-container>
<!-- <div class="offline-account"> -->
<div class="header" slot="header" style="padding: 10px 20px;">
<d2-search ref="showSearch" class="show-search" :search-form="searchForm" :search-select-obj="searchSelectObj"
:form-data="showFormData" />
<div class="header"
slot="header"
style="padding: 10px 20px;">
<d2-search ref="showSearch"
class="show-search"
:search-form="searchForm"
:search-select-obj="searchSelectObj"
:form-data="showFormData" />
<div class="up-btns">
<el-button @click="handleSearch" size="small" type="primary">
<el-button @click="handleSearch"
size="small"
type="primary">
查询
</el-button>
<el-button size="small" @click="handleReset">
<el-button size="small"
@click="handleReset">
重置
</el-button>
<el-button size="small" @click="handleRecord">
<el-button size="small"
@click="handleRecord">
返回
</el-button>
</div>
......@@ -23,34 +32,48 @@
<d2-container> -->
<div class="d2-container-content">
<d2-table-header :left-span="13">
<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
}}</span>条,未补录<span class="count-txt">{{ countObj.waitInputCount }}</span>条,未关联<span class="count-txt">{{
<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
}}</span>条,未补录<span class="count-txt">{{ countObj.waitInputCount }}</span>条,未关联<span
class="count-txt">{{
countObj.notAssociatedCount }}</span>条,无需补录<span class="count-txt">{{ countObj.needNoSupplementCount
}}</span>条,待确认补录<span class="count-txt">{{ countObj.waitConfirmInputCount }}</span>条。</span>
<!-- <el-button type="primary" @click="batchRecord">
批量确认补录
</el-button> -->
<el-button type="primary" @click="batchUpdateYqMerchant">
<el-button type="primary"
@click="batchUpdateYqMerchant">
<!-- 批量修改所属园区店 -->
批量修改所属服务对接
</el-button>
<el-button type="primary" @click="batchMarkAsNoUse">
<el-button type="primary"
@click="batchMarkAsNoUse">
批量标记为无需补录
</el-button>
<el-button type="primary" @click="handleExport">
<el-button type="primary"
@click="handleExport">
导出
</el-button>
</d2-table-header>
<!-- :beforeSearchFn="beforeSearchFn" -->
<d2-table ref="recordTable" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams"
:before-search-fn="beforeSearchFn" :selectable-fn="selectableFn">
<template slot="auth-button" slot-scope="scope">
<d2-table ref="recordTable"
:get-list-api="getListApi"
: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'">
<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 type="text"
v-if="scope.scope.inputStatus == '0'"
@click="relatActivityOrder(scope.scope)">
......@@ -77,22 +100,39 @@
分账记录
</el-button> -->
</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>
</d2-table>
</div>
</d2-container>
<!-- 批量修改所属园区店 -->
<update-yqMerchant-dialog :merchant-visible="merchantDialogVisible" :id-list="ids" v-if="merchantDialogVisible"
@dialogClose="dialogClose" />
<update-yqMerchant-dialog :merchant-visible="merchantDialogVisible"
:id-list="ids"
v-if="merchantDialogVisible"
@dialogClose="dialogClose" />
<!-- 关联活动订单 -->
<relat-activity-order-dialog :relat-activity-visible="relatActivityVisible" :order-id="orderId"
v-if="relatActivityVisible" @dialogClose="relatDialogClose" />
<relat-activity-order-dialog :relat-activity-visible="relatActivityVisible"
:order-id="orderId"
v-if="relatActivityVisible"
@dialogClose="relatDialogClose" />
<!-- 选择分账规则 -->
<choose-rule-dialog :rule-visible="ruleVisible" :record-info="recordInfo" v-if="ruleVisible"
@dialogClose="ruleDialogClose" />
<choose-rule-dialog :rule-visible="ruleVisible"
:record-info="recordInfo"
v-if="ruleVisible"
@dialogClose="ruleDialogClose" />
<!-- 选择分账规则 -->
<rule-info-dialog :rule-info-visible="ruleInfoVisible" :record-info="recordInfo" v-if="ruleInfoVisible"
@dialogClose="ruleInfoDialogClose" />
<rule-info-dialog :rule-info-visible="ruleInfoVisible"
:record-info="recordInfo"
v-if="ruleInfoVisible"
@dialogClose="ruleInfoDialogClose" />
</div>
</template>
......
......@@ -226,9 +226,9 @@ export default {
// return
this.$router.replace(this.$route.query.redirect || _current)
})
}).finally(() => {
this.logining = false
})
}).finally(() => {
this.logining = false
})
},
// 提交登录信息
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!