Commit f78a2620 by 杨明

fixed

1 parent f47bf145
......@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2021-08-13 14:12:11
* @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
*/
import Vue from 'vue'
......@@ -20,7 +20,7 @@ Vue.prototype.size = 'small'
Vue.prototype.defaultLabelWidth = '154px'
try {
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) {
console.log(e)
}
......
......@@ -48,7 +48,6 @@
</div>
</div>
<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>
</template>
<div slot="goodsListBlock" style="width: 900px" :style="{ 'margin-left': defaultLabelWidth }" v-if="selectedGoodsList && selectedGoodsList.length">
......@@ -521,7 +520,6 @@ export default {
// activityImg: '',
// promotion: '',
activityTime: [],
equityCouponSelectFlag: 2,
// goodsStock: '',
// goodsId: '',
// 优惠券
......
......@@ -198,11 +198,16 @@ export default {
}
}
},
//过滤优惠券列表
VerficationDTOList(row) {
return row.filter(i => i.discountType != 8)
},
getInfo() {
this.$apis.orderManage.orderDetail({ orderCode: this.routeInfo.orderCode }).then(res => {
if (!res) return
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.detailForm.createdDateStr = dayjs(this.detailForm.createdDate).format('YYYY-MM-DD HH:mm:ss')
if (this.orderRefund) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!