Bläddra i källkod

优惠卷修改问题

2297027248@qq.com 3 år sedan
förälder
incheckning
c2c2eafcfd

+ 7 - 1
src/views/coupon/Coupon_CreateCoupon.vue

@@ -229,12 +229,17 @@
           width="120px"
         >
           <template slot-scope="scope">
+             {{
+              scope.row.editFlag == "1" 
+                ? ""
+                : ""
+            }}
             <el-button
               size="mini"
               type="text"
               icon="el-icon-edit"
               @click="handleUpdate(scope.row)"
-              v-if="scope.row.editFlag"
+              v-if="scope.row.editFlag=='0'"
               >修改</el-button
             >
           </template>
@@ -910,6 +915,7 @@ export default {
       timeString = timeString.replace(/(、)$/g, "") + "可以使用劵";
       return timeString;
     },
+  
    /** 查询优惠卷模板信息*/
     getList() {
        listInfo(this.addDateRange(this.queryForm, this.dateRangeCreatedDate))

+ 1 - 1
src/views/coupon/Coupon_Statistics/issue.vue

@@ -203,7 +203,7 @@
             <el-button
               size="mini"
               type="text"
-              icon="el-icon-edit"
+              icon="el-icon-search"
               @click="handlequeryCouponUserList(scope.row.id)"
               >查看优惠卷</el-button
             >

+ 2 - 1
src/views/coupon/Coupon_Statistics/model.vue

@@ -207,12 +207,13 @@
           align="left"
           class-name="small-padding fixed-width"
           width="120px"
+          fixed="right"
         >
           <template slot-scope="scope">
             <el-button
               size="mini"
               type="text"
-              icon="el-icon-edit"
+              icon="el-icon-search"
               @click="handlequeryCouponUserList(scope.row.id)"
               v-if="scope.row.editFlag"
               >查看优惠卷</el-button

+ 17 - 7
src/views/coupon/Coupon_Statistics/realTime.vue

@@ -4,7 +4,7 @@
       :model="queryParams"
       ref="queryForm"
       :inline="true"
-      label-width="68px"
+      label-width="88px"
     >
      
       <!-- <el-form-item label="是否使用" prop="couponIsUsed">
@@ -22,7 +22,7 @@
           />
         </el-select>
       </el-form-item> -->
-       <el-form-item label="是否使用" prop="couponIsUsed">
+       <el-form-item label="使用状态" prop="couponIsUsed">
         <el-select
           v-model="queryParams.couponIsUsed"
           clearable
@@ -33,7 +33,16 @@
          
         </el-select>
       </el-form-item>
-    
+    <el-form-item label="核销手机号"  prop="verificationUserPhone">
+        <el-input
+          v-model="queryParams.verificationUserPhone"
+          placeholder="请输入手机号"
+         
+          clearable
+          size="small"
+          
+        />
+       </el-form-item>
       <el-form-item label="领取时间" prop="getCouponTime">
         <el-date-picker
           style="width: 350px"
@@ -111,7 +120,7 @@
             }}
           </template>
         </af-table-column>
-      <af-table-column label="是否使用" 
+      <af-table-column label="使用状态" 
       align="center"
        >
            <template slot-scope="scope">
@@ -120,7 +129,7 @@
             {{ scope.row.couponIsUsed == "2" ? "已核销" : "" }}
           </template>
       </af-table-column>
-      <af-table-column label="是否有效"
+      <af-table-column label="有效状态"
        align="center"
       >
        <template slot-scope="scope">
@@ -129,7 +138,7 @@
           </template>
       </af-table-column>
       <af-table-column label="用户保存id" align="center" prop="userId" v-if="false" />
-      <af-table-column label="手机号" align="center" prop="mobilePhone" />
+      <af-table-column label="用户手机号" align="center" prop="mobilePhone" />
       <af-table-column label="用户名" align="center" prop="blogNickName" />
        <af-table-column label="核销员手机号" align="center" prop="verificationUserPhone" />
       <af-table-column label="优惠券获取时间" align="center" prop="getCouponTime">
@@ -195,7 +204,8 @@ export default {
         stationId: null,
         couponIsUsed: null,
         couponIsEffective: null,
-        getCouponTime: null
+        getCouponTime: null,
+        verificationUserPhone:null
       },
       // 表单校验
       rules: {},