Commit f568a273 authored by Smile's avatar Smile Committed by wux

会员等级详情页面修改

parent 95811863
......@@ -470,7 +470,7 @@
<dict-selector v-model="levelDetails.level" :disabled="levelDetailsCanEdit" clearable :type="DICT_TYPE.MEMBERSHIP_LEVELS" />
</el-form-item>
<el-form-item :label="$t('等级有效期:')">
<el-input v-model="levelDetails.validityPeriod" :disabled="levelDetailsCanEdit" style="width: 50%" ></el-input>
<el-date-picker type="datetime" :placeholder="$t('请选择日期')" :disabled="levelDetailsCanEdit" v-model="levelDetails.validityPeriod" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
<el-form-item :label="$t('等级特殊设置')">
<el-switch
......@@ -514,6 +514,7 @@ import {
import { getNodeList, getRewardsDetails } from "@/api/ecw/giftManagement"
import OperatingGift from "@/views/ecw/giftManagement/components/operatingGift.vue"
import IntegralRecord from "@/views/ecw/memberManagement/integralRecord"
import {parseTime} from "@/utils/ruoyi";
export default {
name: "memberDetails",
components: { ImageUpload, FileUpload, OperatingGift, IntegralRecord },
......@@ -803,6 +804,7 @@ export default {
this.loading = false
if (res.data.list.length > 0){
this.levelDetails = res.data.list[0]
this.levelDetails.validityPeriod=parseTime(this.levelDetails.validityPeriod)
}
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment