Commit f78a2620 by 杨明

fixed

1 parent f47bf145
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2021-08-13 14:12:11 * @Date: 2021-08-13 14:12:11
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-02-27 10:20:00 * @LastEditTime: 2023-03-10 18:08:50
* @FilePath: \scrm\scrm-sub-blog\src\main.js * @FilePath: \scrm\scrm-sub-blog\src\main.js
*/ */
import Vue from 'vue' import Vue from 'vue'
...@@ -20,7 +20,7 @@ Vue.prototype.size = 'small' ...@@ -20,7 +20,7 @@ Vue.prototype.size = 'small'
Vue.prototype.defaultLabelWidth = '154px' Vue.prototype.defaultLabelWidth = '154px'
try { try {
const loginpath = JSON.parse(sessionStorage.getItem('SCRM_BASE_SESSION'))?.loginpath const loginpath = JSON.parse(sessionStorage.getItem('SCRM_BASE_SESSION'))?.loginpath
if (loginpath !== '/oss') Vue.prototype.loginpath = true if (loginpath === '/oss') Vue.prototype.loginpath = true
} catch (e) { } catch (e) {
console.log(e) console.log(e)
} }
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
</div> </div>
</div> </div>
<template slot="selectGoodsBtn"> <template slot="selectGoodsBtn">
<div><el-switch :active-value="2" :inactive-value="1" v-model="editForm.equityCouponSelectFlag"></el-switch></div>
<el-button type="default" class="el-icon-plus" @click="handleGoodsAdd">选择福利券</el-button> <el-button type="default" class="el-icon-plus" @click="handleGoodsAdd">选择福利券</el-button>
</template> </template>
<div slot="goodsListBlock" style="width: 900px" :style="{ 'margin-left': defaultLabelWidth }" v-if="selectedGoodsList && selectedGoodsList.length"> <div slot="goodsListBlock" style="width: 900px" :style="{ 'margin-left': defaultLabelWidth }" v-if="selectedGoodsList && selectedGoodsList.length">
...@@ -521,7 +520,6 @@ export default { ...@@ -521,7 +520,6 @@ export default {
// activityImg: '', // activityImg: '',
// promotion: '', // promotion: '',
activityTime: [], activityTime: [],
equityCouponSelectFlag: 2,
// goodsStock: '', // goodsStock: '',
// goodsId: '', // goodsId: '',
// 优惠券 // 优惠券
......
...@@ -198,11 +198,16 @@ export default { ...@@ -198,11 +198,16 @@ export default {
} }
} }
}, },
//过滤优惠券列表
VerficationDTOList(row) {
return row.filter(i => i.discountType != 8)
},
getInfo() { getInfo() {
this.$apis.orderManage.orderDetail({ orderCode: this.routeInfo.orderCode }).then(res => { this.$apis.orderManage.orderDetail({ orderCode: this.routeInfo.orderCode }).then(res => {
if (!res) return if (!res) return
this.detailForm = res this.detailForm = res
this.tableData = res.expandedGoldUserCouponDTOS || [] const tableData = res.expandedGoldUserCouponDTOS || []
this.tableData = tableData.filter(i => i.discountType != 8)
this.orderRefund = res.orderRefund || null this.orderRefund = res.orderRefund || null
this.detailForm.createdDateStr = dayjs(this.detailForm.createdDate).format('YYYY-MM-DD HH:mm:ss') this.detailForm.createdDateStr = dayjs(this.detailForm.createdDate).format('YYYY-MM-DD HH:mm:ss')
if (this.orderRefund) { if (this.orderRefund) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!