Commit 68e676c0 by cwq0219

商品编辑-园区店;商品列表-查看;

1 parent 081ede4b
......@@ -7,7 +7,7 @@
:ref="formRef + 'd2FormRuleForm'"
v-loading="$store.state.d2admin.loading.value"
>
<div>
<!-- <div>
<el-form-item
id="yqMerchantId"
label="园区店:"
......@@ -29,7 +29,7 @@
></el-option>
</el-select>
</el-form-item>
</div>
</div> -->
<div
v-for="(i, idx) in formList"
:key="idx"
......@@ -102,11 +102,10 @@
</el-option>
</el-select>
<template v-else-if="item.type === 'button'">
<div v-if="item.name === 'linkMerchantIds'">
<div v-if="item.name === 'linkMerchants'">
<div class="add-btns">
<el-button
type="primary"
:disabled="!formData.yqMerchantId"
@click="handleClick(item.handleName)"
>{{item.btnTxt}}</el-button>
<span>已为该商品组合分配<span class="relate-btn-txt">{{formData[item.name] ? formData[item.name].length : 0}}</span>家可见店铺</span>
......@@ -115,8 +114,7 @@
:data="formData[item.name]"
style="width: 690px"
border
class="store-table"
>
class="store-table">
<el-table-column
label="序号"
align="center"
......@@ -125,8 +123,14 @@
>
</el-table-column>
<el-table-column
prop="yqMerchantName"
label="园区店名称"
align="center"
>
</el-table-column>
<el-table-column
prop="merchantName"
label="商户名称"
label="4s店名称"
align="center"
>
</el-table-column>
......@@ -405,7 +409,6 @@
v-if="relateStoreVisible"
:relateStoreVisible="relateStoreVisible"
:storeApi="storeApi"
:storeSearchForm="storeSearchForm"
:storeSelected="storeSelected"
@handleRelateStoreConfirm="handleRelateStoreConfirm"
@handleRelateStoreClose="handleRelateStoreClose"
......@@ -425,7 +428,7 @@ import _ from 'lodash'
import relateProDialog from './relateProDialog'
import relateStoreDialog from './relateStoreDialog'
import { getGoodsList } from '@/api/commodity'
import { getParkStore } from '@api/editCustomer'
// import { getParkStore } from '@api/editCustomer'
import { uploadImg } from '@/api/sys.base'
import { limitPrice, userType, ghUserType } from '@/common/constants'
export default {
......@@ -451,7 +454,7 @@ export default {
confLabel: '收入'
}],
profitOldVal: [],
parkServiceList: [],
// parkServiceList: [],
baseData: {
userTypeList: userType,
ghUserTypeList: ghUserType
......@@ -513,13 +516,13 @@ export default {
mounted() {
this.formData = _.cloneDeep(this.originData)
if (this.userInfo.beSuper) {
getParkStore({}).then(res => {
this.parkServiceList = res
})
} else {
this.formData.yqMerchantId = this.userInfo.detail.merchantId
}
// if (this.userInfo.beSuper) {
// getParkStore({}).then(res => {
// this.parkServiceList = res
// })
// } else {
this.formData.merchantId = this.userInfo.detail.merchantId
// }
if (this.formData.hasOwnProperty('upgradeGoods')) {
this.merchantDisable = this.addOrEdit === 'edit'
this.profitOldVal = this.formData.upgradeGoods.map(item => item.profitValue)
......@@ -528,9 +531,9 @@ export default {
},
methods: {
getGoodsList(merchantId) {
getGoodsList() {
return new Promise(resolve => {
getGoodsList({ yqMerchantId: merchantId }).then(res => {
getGoodsList({}).then(res => {
this.proList = res
resolve()
})
......@@ -546,7 +549,7 @@ export default {
}
},
handleAddPro(targetItem) {
this.getGoodsList(this.formData.yqMerchantId).then(res => {
this.getGoodsList().then(res => {
if (!this.formData[targetItem.relateAttr]) {
this.$message({
message: '请选择基础商品',
......@@ -566,7 +569,7 @@ export default {
})
},
handleProChange(item, targetItem, targetIndex) {
this.getGoodsList(this.formData.yqMerchantId).then(res => {
this.getGoodsList().then(res => {
var proSelectedIds = this.formData.upgradeGoods.map(item => item.goodsCode)
proSelectedIds.push(this.formData[item.relateAttr])
this.proList.forEach(item => {
......@@ -611,9 +614,9 @@ export default {
})
return true
}
this.$refs[this.formRef + 'd2FormRuleForm'].clearValidate('linkMerchantIds')
this.$refs[this.formRef + 'd2FormRuleForm'].clearValidate('linkMerchants')
this.relateStoreVisible = false
this.formData.linkMerchantIds = selectedData
this.formData.linkMerchants = selectedData
},
handleRelateStoreClose() {
this.relateStoreVisible = false
......@@ -621,10 +624,10 @@ export default {
handleClick(handleName) {
switch (handleName) {
case 'relateStore':
this.storeSelected = _.cloneDeep(this.formData.linkMerchantIds)
this.storeSearchForm = {
yqMerchantId: this.formData.yqMerchantId
}
this.storeSelected = _.cloneDeep(this.formData.linkMerchants)
// this.storeSearchForm = {
// yqMerchantId: this.formData.yqMerchantId
// }
this.relateStoreVisible = true
break
}
......@@ -683,7 +686,7 @@ export default {
this.$emit('ydMerchantChange', value)
this.formData.goodsCode && (this.formData.goodsCode = '')
this.formData.upgradeGoods = []
this.formData.linkMerchantIds = []
this.formData.linkMerchants = []
}
},
// 验证分账比例
......@@ -721,7 +724,7 @@ export default {
return true
}
}
if (!this.formData.linkMerchantIds.length) {
if (!this.formData.linkMerchants.length) {
// flag = false
return true
}
......
......@@ -4,7 +4,7 @@
title="添加绑定升级商品"
:isVisible.sync="relateProVisible"
btnOkLabel="关联"
width="937px"
width="950px"
@confirmDialog="handleRelateProConfirm"
@closeDialog="handleRelateProClose"
class="relatePro"
......@@ -31,6 +31,7 @@
prop="goodsCode"
>
<el-select
style="width: 98%;"
v-model="proInfo.goodsCode"
placeholder="请选择一款作为升级商品"
value-key="goodsCode"
......@@ -127,7 +128,7 @@
<el-form-item label="零售折扣">
<el-input
v-model="proInfo.maxUpgradeDiscount"
placeholder="请输入零售折扣"
placeholder="仅支持输入1.0~9.9的数值"
clearable
class="dis-in-block"
@input="handleMaxUpgradeDiscount"
......@@ -164,14 +165,18 @@
:rules="rules"
label-width="110px"
ref="proRuleForm2"
style="width: calc(100% - 180px)"
style="width: calc(100% - 185px)"
>
<div class="w-50">
<el-form-item
label="分润规则"
prop="profitType"
>
<el-select v-model="proInfo.profitType">
<el-select
style="width: 98%;"
v-model="proInfo.profitType"
placeholder="请选择分润规则"
>
<el-option
v-for="x in separateOpt"
:key="x.confId"
......@@ -190,7 +195,7 @@
<el-input
v-model="proInfo.profitValue"
@input="handleProfitInput"
placeholder="请输入分润比例"
placeholder="请输入0~100整数"
class="dis-in-block"
>
<i
......@@ -209,7 +214,7 @@
:rules="rules"
label-width="110px"
ref="proRuleForm3"
style="width: calc(100% - 180px)"
style="width: calc(100% - 185px)"
>
<div class="w-50">
<el-form-item
......@@ -225,7 +230,7 @@
>
<el-select
slot="prepend"
style="width: 80px;"
style="width: 75px;"
v-model="proInfo.incentiveType"
@change="handleChangeType"
>
......@@ -252,7 +257,7 @@
<el-input
v-model="proInfo.partnerProfitPer"
@input="handlePartnerProfitPer"
placeholder="请输入分润比例"
placeholder="请输入0~100整数"
class="dis-in-block"
>
<i
......@@ -430,6 +435,7 @@ export default {
display: inline-block;
height: 52px;
line-height: 36px;
margin-right: 40px;
}
.relateProDialog .w-50 {
display: inline-block;
......@@ -442,7 +448,7 @@ export default {
}
.relateProDialog .dis-in-block {
/* display: inline-block; */
width: 87%;
width: 98%;
/* margin-right: 6px; */
}
.relatePro .btn-txt {
......
......@@ -28,8 +28,13 @@
:selectable="selectable"
></el-table-column>
<el-table-column
prop="yqMerchantName"
label="园区店名称"
align="center"
></el-table-column>
<el-table-column
prop="merchantName"
label="门店名称"
label="4s店名称"
align="center"
></el-table-column>
</el-table>
......@@ -51,9 +56,14 @@
height="464px"
>
<el-table-column
prop="yqMerchantName"
label="园区店名称"
align="center"
></el-table-column>
<el-table-column
prop="merchantName"
label="4s店名称"
align="center"
label="门店名称"
></el-table-column>
</el-table>
</el-col>
......
......@@ -203,7 +203,7 @@ export const resources = {
name: 'commodity',
icon: 'document',
meta: {
title: '商品管理',
title: '升级系列',
authId: '90302',
parentId: '903',
cache: false
......@@ -240,7 +240,7 @@ export const resources = {
}, {
authId: '9030204',
parentId: '90302',
label: '查看门店',
label: '查看详情',
handle: 'handleDetail'
}, {
authId: '9030206',
......
......@@ -67,7 +67,12 @@
slot="auth-button"
slot-scope="scope"
>
<el-button type="text" size="mini" style="margin-right: 10px;" @click="handleCommodityDetail(scope.scope)">查看</el-button>
<el-button
type="text"
size="mini"
style="margin-right: 10px;"
@click="handleCommodityDetail(scope.scope)"
>查看</el-button>
<auth-button :data="scope.scope"></auth-button>
</template>
</d2-table>
......@@ -86,6 +91,13 @@
:detailData="detailData"
></store-detail>
</d2-dialog>
<!-- 查看面板 -->
<drawer-detail
v-if="drawerDetailVisible"
:drawerDetailVisible="drawerDetailVisible"
:commodityInfoId="commodityDetailInfoId"
@handleDrawerClose="handleDrawerClose"
></drawer-detail>
</d2-container>
</template>
......@@ -96,6 +108,7 @@ import { exportJsonToExcel } from '@/common/Export2Excel.js'
import { mapActions } from 'vuex'
import _ from 'lodash'
import storeDetail from './storeDetail'
import drawerDetail from './drawerDetail'
export default {
name: 'commodity',
data() {
......@@ -201,6 +214,8 @@ export default {
// 查看门店
detailVisible: false,
showClose: false,
// 商品详情
drawerDetailVisible: false,
// 基本数据
baseData: {
productTypeList: [],
......@@ -217,7 +232,8 @@ export default {
},
components: {
storeDetail
storeDetail,
drawerDetail
},
mounted() {
......@@ -336,7 +352,11 @@ export default {
})
},
handleCommodityDetail(row) {
console.log(row)
this.drawerDetailVisible = true
this.commodityDetailInfoId = row.id
},
handleDrawerClose() {
this.drawerDetailVisible = false
}
}
}
......
<!-- 查看详情 -->
<template>
<el-drawer
title="商品明细"
size="60%"
:visible="drawerDetailVisible"
:before-close="handleDrawerClose"
>
<div class="d2-drawer-content">
<el-form
class="d2-drawer-block"
label-width="110px"
:inline="true"
>
<p class="edit-sub-title">基础商品</p>
<el-form-item
class="d2-drawer-item"
label="商品名称:"
>
<span>{{commodityInfo.goodsInfo.goodsName}}</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="所属分类:"
>
<span>{{commodityInfo.goodsInfo.goodsTypeName}}</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="到店价:"
>
<span>{{commodityInfo.goodsInfo.shopPrice}}元</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="零售价格:"
>
<span>{{commodityInfo.goodsInfo.retailPrice}}元</span>
</el-form-item>
</el-form>
<el-form
class="d2-drawer-block"
label-width="110px"
:inline="true"
v-for="(item,index) in commodityInfo.upgradeGoodsList"
:key="index"
>
<p class="edit-sub-title">升级商品{{index + 1}}</p>
<el-form-item
class="d2-drawer-item"
label="商品名称:"
>
<span>{{item.goodsInfo.goodsName}}</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="所属分类:"
>
<span>{{item.goodsInfo.goodsTypeName}}</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="到店价:"
>
<span>{{item.goodsInfo.shopPrice ? (item.goodsInfo.shopPrice + '元') : '无'}}</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="零售价格:"
>
<span>{{item.goodsInfo.retailPrice ? (item.goodsInfo.retailPrice + '元') : '无'}}</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="零售折扣:"
>
<span>{{item.goodsInfo.maxUpgradeDiscount ? (item.goodsInfo.maxUpgradeDiscount + '折') : '无'}}</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="建议升级价:"
>
<span>{{item.goodsInfo.upgradePrice}}元</span>
</el-form-item>
<el-form-item
class="d2-drawer-row"
label="阳光激励费:"
>
<span v-if="item.incentiveType === 1">根据到账金额的{{item.incentiveType}}%比例分配</span>
<span v-else>根据固定金额{{item.incentiveType}}元分配</span>
</el-form-item>
<el-form-item
class="d2-drawer-row"
label="分配给4s店:"
>
<span>商品内设置</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="分润规则:"
>
<span>按{{item.profitType === 1 ? '毛利' : '收入'}}</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="分润比例:"
>
<span>{{item.profitValue}}%</span>
</el-form-item>
<el-form-item
class="d2-drawer-row"
label="分配给合伙人:"
>
<span>商品内设置</span>
</el-form-item>
<el-form-item
class="d2-drawer-item"
label="分润比例:"
>
<span>{{item.partnerProfitPer}}%</span>
</el-form-item>
</el-form>
<div>
<el-table
:data="commodityInfo.linkMerchants"
border
class="store-table"
>
<el-table-column
label="序号"
align="center"
type='index'
width="64px"
>
</el-table-column>
<el-table-column
prop="yqMerchantName"
label="园区店名称"
align="center"
>
</el-table-column>
<el-table-column
prop="merchantName"
label="4s店名称"
align="center"
>
</el-table-column>
<el-table-column
prop="merchantId"
label="商户编号"
align="center"
>
</el-table-column>
<el-table-column
prop="userType"
label="商户类型"
align="center"
>
<template slot-scope="scope">
<span>{{baseData[scope.row.channelType === 2 ? 'ghUserTypeList' : 'userTypeList'][scope.row.userType]}}</span>
</template>
</el-table-column>
</el-table>
</div>
</div>
</el-drawer>
</template>
<script>
import { getGoodsInfoById } from '@/api/commodity'
import { userType, ghUserType } from '@/common/constants'
export default {
name: 'drawerDetail',
data() {
return {
commodityInfo: {
goodsInfo: {}
},
baseData: {
userTypeList: userType,
ghUserTypeList: ghUserType
}
}
},
props: {
drawerDetailVisible: {
type: Boolean,
default: false
},
commodityInfoId: {
type: Object,
default: () => { }
}
},
mounted() {
getGoodsInfoById({ id: this.commodityInfoId }).then(res => {
this.commodityInfo = res
this.commodityInfo['linkMerchants'] = res.merchantRefList ? res.merchantRefList.map(item => Object.assign(item, item.merchantInfo)) : []
})
},
methods: {
handleDrawerClose() {
this.$emit('handleDrawerClose')
}
}
}
</script>
<style>
.el-drawer__body {
overflow: scroll;
}
.d2-drawer-content .d2-drawer-block {
border-bottom: 1px solid #e7eaec;
padding: 0 20px 20px;
margin-bottom: 20px;
}
.d2-drawer-block .d2-drawer-item {
width: 47%;
margin-bottom: 0;
}
.d2-drawer-block .d2-drawer-row {
width: 100%;
margin-bottom: 0;
}
</style>
......@@ -40,7 +40,7 @@ export default {
retailPrice: '',
maxRetailDiscount: '',
upgradeGoods: [],
linkMerchantIds: []
linkMerchants: []
},
markOldVal: {
retailPrice: '',
......@@ -48,7 +48,7 @@ export default {
maxRetailDiscount: ''
},
rules: {
yqMerchantId: [{ required: true, message: '请选择园区店', trigger: 'change' }],
// yqMerchantId: [{ required: true, message: '请选择园区店', trigger: 'change' }],
goodsCode: [{ required: true, message: '请选择产品名称', trigger: 'change' }],
shopPrice: [{ required: true, message: '请输入到店价', trigger: 'blur' }],
retailPrice: [
......@@ -60,7 +60,7 @@ export default {
}
}
],
linkMerchantIds: [{ required: true, message: '请选择关联门店', trigger: 'change' }]
linkMerchants: [{ required: true, message: '请选择关联门店', trigger: 'change' }]
},
comFormRef: 'com',
editForm: [{
......@@ -130,7 +130,7 @@ export default {
}, {
title: '分配可见门店',
formBlock: [{
name: 'linkMerchantIds',
name: 'linkMerchants',
label: '',
btnTxt: '添加绑定',
type: 'button',
......@@ -145,14 +145,15 @@ export default {
this.show = false
// add - 新增;edit - 编辑
this.addOrEdit = this.$route.params.addOrEdit
!this.userInfo.beSuper && this.getGoodsList(this.userInfo.detail.merchantId)
this.getGoodsList()
if (this.addOrEdit === 'edit') {
getGoodsInfoById({ id: this.$route.params.row.id }).then(res => {
this.userInfo.beSuper && this.getGoodsList(res.yqMerchantId)
this.userInfo.beSuper && this.getGoodsList()
var tempIndex = this.editForm.findIndex(i => i.title === '基础商品信息')
this.editForm[tempIndex].formBlock[0].isDisabled = true
this.editData = {
yqMerchantId: this.userInfo.beSuper ? res.yqMerchantId : this.userInfo.detail.merchantId,
// yqMerchantId: this.userInfo.beSuper ? res.yqMerchantId : this.userInfo.detail.merchantId,
merchantId: this.userInfo.detail.merchantId,
id: res.id,
goodsCode: res.goodsCode,
goodsName: res.goodsInfo.goodsName,
......@@ -170,7 +171,7 @@ export default {
item.profitValue = item.profitValue + ''
return item
}),
linkMerchantIds: res.merchantRefList ? res.merchantRefList.map(item => Object.assign(item, item.merchantInfo)) : []
linkMerchants: res.merchantRefList ? res.merchantRefList.map(item => Object.assign(item, item.merchantInfo)) : []
}
this.markOldVal.shopPrice = res.shopPrice
this.markOldVal.retailPrice = res.retailPrice
......@@ -188,8 +189,8 @@ export default {
methods: {
...mapActions({ close: 'd2admin/page/close' }),
getGoodsList(merchantId) {
getGoodsList({ yqMerchantId: merchantId }).then(res => {
getGoodsList() {
getGoodsList({}).then(res => {
this.editForm[0].formBlock[0].optionList = res
})
},
......@@ -199,9 +200,10 @@ export default {
this.close({ tagName: '/editCommodity' })
},
handleAddConfirm(data) {
var upgradeGoodsAttr = ['goodsCode', 'shopPrice', 'maxUpgradeDiscount', 'retailPrice', 'upgradePrice', 'profitType', 'profitValue', 'extraCost', 'incentiveCost', 'partnerProfitPer']
var upgradeGoodsAttr = ['goodsCode', 'shopPrice', 'maxUpgradeDiscount', 'retailPrice', 'upgradePrice', 'profitType', 'profitValue', 'extraCost', 'incentiveType', 'incentiveCost', 'partnerProfitPer']
var params = {
yqMerchantId: this.userInfo.beSuper ? data.yqMerchantId : this.userInfo.detail.merchantId,
// yqMerchantId: this.userInfo.beSuper ? data.yqMerchantId : this.userInfo.detail.merchantId,
merchantId: this.userInfo.detail.merchantId,
goodsCode: data.goodsCode,
retailPrice: data.retailPrice,
maxRetailDiscount: data.maxRetailDiscount,
......@@ -215,8 +217,15 @@ export default {
...tempVal
}
}) : [],
linkMerchantIds: data.linkMerchantIds ? data.linkMerchantIds.map(item => String(item.merchantId)) : []
// linkMerchantIds: data.linkMerchantIds ? data.linkMerchantIds.map(item => String(item.merchantId)) : []
linkMerchants: data.linkMerchants.map(item => {
return {
merchantId: String(item.merchantId),
yqMerchantId: item.yqMerchantId
}
})
}
// console.log(params)
if (this.addOrEdit === 'edit') {
params.id = data.id
baseGoodsUpdate(params).then(res => {
......
......@@ -49,7 +49,7 @@ export default {
goodsImgList: [{ required: true, message: '请选择产品主图', trigger: 'blur' }]
},
editData: {
yqMerchantId: '',
merchantId: '',
goodsName: '',
goodsType: '',
goodsTypeName: '',
......@@ -134,7 +134,7 @@ export default {
if (this.addOrEdit === 'edit') {
this.show = false
this.editData = _.cloneDeep(this.$route.params.form)
!this.userInfo.beSuper && (this.editData.yqMerchantId = this.userInfo.detail.merchantId)
// !this.userInfo.beSuper && (this.editData.merchantId = this.userInfo.detail.merchantId)
this.editData.thumbUrlList = [{
content: ''
}]
......@@ -143,7 +143,7 @@ export default {
this.show = true
})
} else {
this.editData.yqMerchantId = this.userInfo.beSuper ? '' : this.userInfo.detail.merchantId
// this.editData.yqMerchantId = this.userInfo.beSuper ? '' : this.userInfo.detail.merchantId
this.show = true
}
this.getBaseData()
......@@ -170,9 +170,10 @@ export default {
data.goodsTypeName = this.baseData.productType.find(item => item.goodsType === data.goodsType).goodsTypeName
data.thumbUrl = data.thumbUrlList[0].content
data.brandMerchantCode && (data.brandMerchantName = brandMerchantList.find(item => item.confId === data.brandMerchantCode).confValue)
data.merchantId = this.userInfo.detail.merchantId
if (this.addOrEdit === 'edit') {
var params = {
yqMerchantId: data.yqMerchantId,
merchantId: data.merchantId,
id: data.id,
goodsName: data.goodsName,
goodsType: data.goodsType,
......
......@@ -108,7 +108,7 @@
<el-row :gutter="20">
<el-col :span="8">
<div class="top_card">
<div class="top_card_title">客户总数(人)</div>
<div class="top_card_title">新增客户数(人)</div>
<div class="top_card_main top_card_main_multi">
<div class="top_card_md">
<span class="top_card_md_right top_card_primary">{{customerData.totalCustomerNums}}</span>
......
......@@ -11,7 +11,7 @@
<el-form-item label="交易流水:">{{detail.outTradeNo}}</el-form-item>
<el-form-item label="支付状态:">{{payStatusOpts[detail.payStatus]}}</el-form-item>
<el-form-item label="收款凭证:">
<img class="order-img" :src="detail.payVoucher"/>
<img class="order-img" :src="detail.payVoucher" @click="handleEnlargeImg"/>
</el-form-item>
</el-form>
</div>
......@@ -130,18 +130,27 @@
</p>
</div>
<el-dialog :visible="imgVisible" :before-close="handleEnlargeImg">
<img
width="100%"
:src="detail.payVoucher"
alt="图片"
>
</el-dialog>
</d2-container>
</template>
<script>
import { mapActions } from 'vuex'
import { getOrderDetail } from '@api/order'
// import { getOrderDetail } from '@api/order'
export default {
name: 'orderDetail',
data() {
return {
imgVisible: false,
detail: {
orderCode: '',
subOrderList: []
},
statusOpts: {
1: '待升级',
......@@ -192,6 +201,9 @@ export default {
// getTotalNums() {
// return this.detail.subOrderList.reduce((prev, item) => prev + item.nums, 0)
// },
handleEnlargeImg() {
this.imgVisible = !this.imgVisible
},
getSummaries(param) {
const { columns, data } = param
const sums = []
......@@ -241,6 +253,7 @@ export default {
.order-img {
width: 80px;
height: 80px;
cursor: pointer;
}
}
......
......@@ -171,12 +171,12 @@ export default {
return {
userInfo: this.$store.state.d2admin.user.info,
statusOpts: {
1: '待升级',
1: '不升级',
2: '未升级',
3: '待支付',
4: '已支付',
// 5: '已退款',
6: '已完成'
6: '已评价'
},
upgradeOpts: {
'Y': '已升级',
......@@ -246,7 +246,7 @@ export default {
baseData: {
orderStatusList: [{
confId: 1,
confLabel: '待升级'
confLabel: '不升级'
}, {
confId: 3,
confLabel: '待支付'
......@@ -258,7 +258,7 @@ export default {
confLabel: '已退款'
}, */{
confId: 6,
confLabel: '已完成'
confLabel: '已评价'
}],
upgradeList: [{
confId: 'Y',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!