|
@@ -2,7 +2,7 @@
|
|
* @Author: wj 1454560336@qq.com
|
|
* @Author: wj 1454560336@qq.com
|
|
* @Date: 2023-11-01 14:21:43
|
|
* @Date: 2023-11-01 14:21:43
|
|
* @LastEditors: wenjie 1454560336@qq.com
|
|
* @LastEditors: wenjie 1454560336@qq.com
|
|
- * @LastEditTime: 2024-09-18 18:22:30
|
|
|
|
|
|
+ * @LastEditTime: 2024-10-23 14:53:16
|
|
* @FilePath: \admin-manage\src\views\operationManage\orderManage\orderDetail.vue
|
|
* @FilePath: \admin-manage\src\views\operationManage\orderManage\orderDetail.vue
|
|
* @Description:
|
|
* @Description:
|
|
*
|
|
*
|
|
@@ -118,12 +118,66 @@
|
|
|
|
|
|
<div class="title">商品信息</div>
|
|
<div class="title">商品信息</div>
|
|
|
|
|
|
|
|
+ <el-table
|
|
|
|
+ :data="tableData[0].goodsList[0].goodsInfo.products"
|
|
|
|
+ tooltip-effect="dark"
|
|
|
|
+ border
|
|
|
|
+ v-loading="loading"
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ v-if="tableData[0].goodsList[0].jobFlowMap == 'Kfc'"
|
|
|
|
+ >
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="shopName"
|
|
|
|
+ align="center"
|
|
|
|
+ label="商品图"
|
|
|
|
+ show-overflow-tooltip
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <img :src="scope.row.imageUrl" alt="" class="icon">
|
|
|
|
+
|
|
|
|
+ <!-- <img src="@/assets/recharge.png" v-if="scope.row.goodsList[0].jobFlowMap == 'video2'" alt="" class="icon">
|
|
|
|
+ <img v-else :src="scope.row.goodsList[0].goodsInfo.activityCover||scope.row.goodsList[0].goodsInfo.goodsPath" alt="" class="icon"> -->
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="shopName"
|
|
|
|
+ align="center"
|
|
|
|
+ label="商品名"
|
|
|
|
+ show-overflow-tooltip
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{scope.row.nameCn + ' x ' + scope.row.quantity}}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="goodsAmount"
|
|
|
|
+ align="center"
|
|
|
|
+ label="售价"
|
|
|
|
+ show-overflow-tooltip
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{scope.row.sellPrice }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="createTime"
|
|
|
|
+ align="center"
|
|
|
|
+ label="商品类型"
|
|
|
|
+ show-overflow-tooltip
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{formatData(tableData[0]).type }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ </el-table>
|
|
|
|
+
|
|
<el-table
|
|
<el-table
|
|
:data="tableData"
|
|
:data="tableData"
|
|
tooltip-effect="dark"
|
|
tooltip-effect="dark"
|
|
border
|
|
border
|
|
v-loading="loading"
|
|
v-loading="loading"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
|
+ v-else
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="shopName"
|
|
prop="shopName"
|
|
@@ -132,8 +186,10 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <img src="@/assets/recharge.png" v-if="scope.row.goodsList[0].jobFlowMap == 'video2'" alt="" class="icon">
|
|
|
|
- <img v-else :src="scope.row.goodsList[0].goodsInfo.activityCover||scope.row.goodsList[0].goodsInfo.goodsPath" alt="" class="icon">
|
|
|
|
|
|
+ <img :src="formatData(scope.row).icon" alt="" class="icon">
|
|
|
|
+
|
|
|
|
+ <!-- <img src="@/assets/recharge.png" v-if="scope.row.goodsList[0].jobFlowMap == 'video2'" alt="" class="icon">
|
|
|
|
+ <img v-else :src="scope.row.goodsList[0].goodsInfo.activityCover||scope.row.goodsList[0].goodsInfo.goodsPath" alt="" class="icon"> -->
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -163,7 +219,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- {{goodsTypeObj[scope.row.goodsList[0].goodsInfo.goodsType] || formatType(scope.row) }}
|
|
|
|
|
|
+ {{goodsTypeObj[scope.row.goodsList[0].goodsInfo.goodsType] || formatData(scope.row).type }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -466,6 +522,8 @@ import {auditRefund,transfer,orderDetail,subOrdersConfirm,getReserve} from '@/ap
|
|
return '电影票'
|
|
return '电影票'
|
|
}else if(row.goodsList[0].jobFlowMap == 'video2'){
|
|
}else if(row.goodsList[0].jobFlowMap == 'video2'){
|
|
return '视频会员'
|
|
return '视频会员'
|
|
|
|
+ }else if(row.goodsList[0].jobFlowMap == 'video2'){
|
|
|
|
+ return '视频会员'
|
|
}else{
|
|
}else{
|
|
return '-'
|
|
return '-'
|
|
}
|
|
}
|
|
@@ -474,6 +532,8 @@ import {auditRefund,transfer,orderDetail,subOrdersConfirm,getReserve} from '@/ap
|
|
if(row.goodsList[0].jobFlowMap == 'XiaoJu'){
|
|
if(row.goodsList[0].jobFlowMap == 'XiaoJu'){
|
|
if(row.goodsList[0].extend.hasOwnProperty('notifyOrderInfo')){
|
|
if(row.goodsList[0].extend.hasOwnProperty('notifyOrderInfo')){
|
|
return {
|
|
return {
|
|
|
|
+ type:'加油充电',
|
|
|
|
+ icon:row.goodsList[0].goodsInfo.goodsPath,
|
|
paymentTime:row.goodsList[0].extend.notifyOrderInfo.payTime,
|
|
paymentTime:row.goodsList[0].extend.notifyOrderInfo.payTime,
|
|
paymentWay:'-',
|
|
paymentWay:'-',
|
|
price:(row.goodsList[0].goodsInfo.storePrice/100).toFixed(2) +'/L',
|
|
price:(row.goodsList[0].goodsInfo.storePrice/100).toFixed(2) +'/L',
|
|
@@ -482,6 +542,8 @@ import {auditRefund,transfer,orderDetail,subOrdersConfirm,getReserve} from '@/ap
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
return {
|
|
return {
|
|
|
|
+ type:'加油充电',
|
|
|
|
+ icon:row.goodsList[0].goodsInfo.goodsPath,
|
|
paymentTime:'-',
|
|
paymentTime:'-',
|
|
paymentWay:'',
|
|
paymentWay:'',
|
|
price:(row.goodsList[0].goodsInfo.storePrice/100).toFixed(2) +'/L',
|
|
price:(row.goodsList[0].goodsInfo.storePrice/100).toFixed(2) +'/L',
|
|
@@ -491,6 +553,8 @@ import {auditRefund,transfer,orderDetail,subOrdersConfirm,getReserve} from '@/ap
|
|
}
|
|
}
|
|
}else if(row.goodsList[0].jobFlowMap == 'Activity'){
|
|
}else if(row.goodsList[0].jobFlowMap == 'Activity'){
|
|
return {
|
|
return {
|
|
|
|
+ type:'活动报名',
|
|
|
|
+ icon:row.goodsList[0].goodsInfo.activityCover,
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
price:row.goodsList[0].goodsInfo.price,
|
|
price:row.goodsList[0].goodsInfo.price,
|
|
@@ -499,6 +563,8 @@ import {auditRefund,transfer,orderDetail,subOrdersConfirm,getReserve} from '@/ap
|
|
}
|
|
}
|
|
}else if(row.goodsList[0].jobFlowMap == 'Ticket'){
|
|
}else if(row.goodsList[0].jobFlowMap == 'Ticket'){
|
|
return {
|
|
return {
|
|
|
|
+ type:'景区门票',
|
|
|
|
+ icon:row.goodsList[0].goodsInfo.goodsPath,
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
price:row.goodsList[0].goodsInfo.salePrice,
|
|
price:row.goodsList[0].goodsInfo.salePrice,
|
|
@@ -507,6 +573,8 @@ import {auditRefund,transfer,orderDetail,subOrdersConfirm,getReserve} from '@/ap
|
|
}
|
|
}
|
|
}else if(row.goodsList[0].jobFlowMap == 'Hotel'){
|
|
}else if(row.goodsList[0].jobFlowMap == 'Hotel'){
|
|
return {
|
|
return {
|
|
|
|
+ type:'酒店住宿',
|
|
|
|
+ icon:row.goodsList[0].goodsInfo.goodsPath,
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
price:row.goodsList[0].goodsInfo.totalPrice/row.goodsList[0].goodsInfo.numberofRooms,
|
|
price:row.goodsList[0].goodsInfo.totalPrice/row.goodsList[0].goodsInfo.numberofRooms,
|
|
@@ -516,6 +584,8 @@ import {auditRefund,transfer,orderDetail,subOrdersConfirm,getReserve} from '@/ap
|
|
}
|
|
}
|
|
else if(row.goodsList[0].jobFlowMap == 'YPP'){
|
|
else if(row.goodsList[0].jobFlowMap == 'YPP'){
|
|
return {
|
|
return {
|
|
|
|
+ type:'电影票',
|
|
|
|
+ icon:row.goodsList[0].goodsInfo.goodsPath,
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
price:row.goodsList[0].goodsInfo.originPrice,
|
|
price:row.goodsList[0].goodsInfo.originPrice,
|
|
@@ -525,6 +595,8 @@ import {auditRefund,transfer,orderDetail,subOrdersConfirm,getReserve} from '@/ap
|
|
}
|
|
}
|
|
else if(row.goodsList[0].jobFlowMap == 'video2'){
|
|
else if(row.goodsList[0].jobFlowMap == 'video2'){
|
|
return {
|
|
return {
|
|
|
|
+ type:'视频会员',
|
|
|
|
+ icon:require('@/assets/recharge.png'),
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
price:row.goodsList[0].payAmount,
|
|
price:row.goodsList[0].payAmount,
|
|
@@ -532,8 +604,31 @@ import {auditRefund,transfer,orderDetail,subOrdersConfirm,getReserve} from '@/ap
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ else if(row.goodsList[0].jobFlowMap == 'QiuXiang'){
|
|
|
|
+ return {
|
|
|
|
+ type:'秋香代驾',
|
|
|
|
+ icon:row.goodsList[0].goodsInfo.goodsPath,
|
|
|
|
+ paymentTime:row.payment?row.payment.paymentTime:'',
|
|
|
|
+ paymentWay:row.payment?row.payment.paymentWay:'',
|
|
|
|
+ price:row.goodsList[0].goodsInfo.realPrice,
|
|
|
|
+ goodsName:row.goodsList[0].goodsInfo.goodsName,
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ else if(row.goodsList[0].jobFlowMap == 'Kfc'){
|
|
|
|
+ return {
|
|
|
|
+ type:'大牌点餐',
|
|
|
|
+ icon:row.goodsList[0].goodsInfo.goodsPath,
|
|
|
|
+ paymentTime:row.payment?row.payment.paymentTime:'',
|
|
|
|
+ paymentWay:row.payment?row.payment.paymentWay:'',
|
|
|
|
+ price:row.goodsList[0].goodsInfo.realPrice,
|
|
|
|
+ goodsName:row.goodsList[0].goodsInfo.goodsName,
|
|
|
|
+ }
|
|
|
|
+ }
|
|
else{
|
|
else{
|
|
return {
|
|
return {
|
|
|
|
+ type:'-',
|
|
|
|
+ icon:row.goodsList[0].goodsInfo.goodsPath,
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentTime:row.payment?row.payment.paymentTime:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
paymentWay:row.payment?row.payment.paymentWay:'',
|
|
price:row.goodsList[0].goodsInfo.realPrice,
|
|
price:row.goodsList[0].goodsInfo.realPrice,
|