Commit dcde33eb by 吕明尚

修改优惠卷显示

parent 69a37ad7
...@@ -165,10 +165,10 @@ ...@@ -165,10 +165,10 @@
<!--序号--> <!--序号-->
<el-table-column type="index" width="55" align="center" label="序号"/> <el-table-column type="index" width="55" align="center" label="序号"/>
<!-- <el-table-column label="ID" align="center" prop="id"/>--> <!-- <el-table-column label="ID" align="center" prop="id"/>-->
<el-table-column label="用户手机号" align="center" prop="phone"/> <el-table-column label="用户手机号" align="center" prop="phone" width="130px"/>
<el-table-column label="用户昵称" align="center" prop="nickName"/> <el-table-column label="用户昵称" align="center" prop="nickName"/>
<el-table-column label="优惠券编码" align="center" prop="couponCode" width="350px"/> <el-table-column label="优惠券编码" align="center" prop="couponCode" width="150px"/>
<el-table-column label="优惠券名称" align="center" prop="name" width="240px"/> <el-table-column label="优惠券名称" align="center" prop="name" width="300px"/>
<el-table-column label="优惠券类型" align="center" prop="couponType"> <el-table-column label="优惠券类型" align="center" prop="couponType">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.store_coupon_type" :value="scope.row.couponType"/> <dict-tag :options="dict.type.store_coupon_type" :value="scope.row.couponType"/>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<el-table v-loading="loading" :data="couponList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="couponList" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center"/>--> <!-- <el-table-column type="selection" width="55" align="center"/>-->
<el-table-column type="index" width="55" align="center" label="序号"/> <el-table-column type="index" width="55" align="center" label="序号"/>
<el-table-column label="优惠券名称" align="center" prop="name"/> <el-table-column label="优惠券名称" align="center" prop="name" width="300px"/>
<el-table-column label="优惠券类型" align="center" prop="couponType"> <el-table-column label="优惠券类型" align="center" prop="couponType">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.store_coupon_type" :value="scope.row.couponType"/> <dict-tag :options="dict.type.store_coupon_type" :value="scope.row.couponType"/>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<el-table v-loading="loading" :data="couponList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="couponList" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center"/>--> <!-- <el-table-column type="selection" width="55" align="center"/>-->
<el-table-column type="index" width="55" align="center" label="序号"/> <el-table-column type="index" width="55" align="center" label="序号"/>
<el-table-column label="优惠券名称" align="center" prop="name"/> <el-table-column label="优惠券名称" align="center" prop="name" width="300px"/>
<el-table-column label="优惠券类型" align="center" prop="couponType"> <el-table-column label="优惠券类型" align="center" prop="couponType">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.store_coupon_type" :value="scope.row.couponType"/> <dict-tag :options="dict.type.store_coupon_type" :value="scope.row.couponType"/>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-row> <el-row>
<el-table @row-click="clickRow" ref="table" :data="dataList" height="500px"> <el-table @row-click="clickRow" ref="table" :data="dataList" height="500px">
<el-table-column label="套餐名称" align="center" prop="name"/> <el-table-column label="套餐名称" align="center" prop="name" width="300px"/>
<el-table-column label="有效期开始" align="center" prop="startDate"> <el-table-column label="有效期开始" align="center" prop="startDate">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.startDate, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.startDate, '{y}-{m}-{d}') }}</span>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-row> <el-row>
<el-table @row-click="clickRow" ref="table" :data="dataList" height="500px"> <el-table @row-click="clickRow" ref="table" :data="dataList" height="500px">
<el-table-column label="套餐名称" align="center" prop="name"/> <el-table-column label="套餐名称" align="center" prop="name" width="300px"/>
<el-table-column label="有效期开始" align="center" prop="startDate"> <el-table-column label="有效期开始" align="center" prop="startDate">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.startDate, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.startDate, '{y}-{m}-{d}') }}</span>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<el-table v-loading="loading" :data="couponList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="couponList" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center"/>--> <!-- <el-table-column type="selection" width="55" align="center"/>-->
<el-table-column type="index" width="55" align="center" label="序号"/> <el-table-column type="index" width="55" align="center" label="序号"/>
<el-table-column label="优惠券名称" align="center" prop="name"/> <el-table-column label="优惠券名称" align="center" prop="name" width="300px"/>
<el-table-column label="优惠券类型" align="center" prop="couponType"> <el-table-column label="优惠券类型" align="center" prop="couponType">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.store_coupon_type" :value="scope.row.couponType"/> <dict-tag :options="dict.type.store_coupon_type" :value="scope.row.couponType"/>
......
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