Browse Source

优惠券添加显示门店承担比例

DELL 3 năm trước cách đây
mục cha
commit
13ca832e98

+ 5 - 0
src/views/business/coupon/index.vue

@@ -49,6 +49,11 @@
           ¥{{$numberFormat(row.discount)}}
         </template>
       </el-table-column>
+      <el-table-column label="门店承担比例" prop="channelSharedRate">
+        <template slot-scope="{row}">
+          {{row.channelSharedRate}}%
+        </template>
+      </el-table-column>
       <el-table-column label="使用场景" prop="type">
         <template slot-scope="{row}">
           {{ JSON.parse(row.type).desc }}

+ 7 - 1
src/views/business/couponPkg/components/CouponAdd.vue

@@ -62,6 +62,11 @@
             <div>¥{{ $numberFormat(scope.row.discount) }}</div>
           </template>
         </el-table-column>
+        <el-table-column label="门店承担比例" prop="channelSharedRate">
+          <template slot-scope="{row}">
+            {{row.channelSharedRate}}%
+          </template>
+        </el-table-column>
         <el-table-column label="有效期限" min-width="85">
           <template slot-scope="scope">
             <div>领取后{{ scope.row.dueDays }}天有效</div>
@@ -152,7 +157,8 @@ export default {
           updatedTime: item.updatedTime,
           type: item.type,
           discount: item.discount,
-          dueDays: item.dueDays
+          dueDays: item.dueDays,
+          channelSharedRate: item.channelSharedRate
         };
       });
     },

+ 5 - 0
src/views/business/couponPkg/create.vue

@@ -23,6 +23,11 @@
             <div>¥{{ $numberFormat(row.discount) }}</div>
           </template>
         </el-table-column>
+      <el-table-column label="门店承担比例" prop="channelSharedRate">
+        <template slot-scope="{row}">
+          {{row.channelSharedRate}}%
+        </template>
+      </el-table-column>
       <el-table-column label="使用场景" prop="type">
         <template slot-scope="{ row }">
           <div>{{ row.type.desc }}</div>

+ 5 - 0
src/views/business/marketing/components/CouponAdd.vue

@@ -64,6 +64,11 @@
             <div>¥{{ $numberFormat(scope.row.discount) }}</div>
           </template>
         </el-table-column>
+        <el-table-column label="门店承担比例" min-width="85">
+          <template slot-scope="scope">
+            <div>{{ scope.row.channelSharedRate }}%</div>
+          </template>
+        </el-table-column>
         <el-table-column label="有效期限" min-width="85">
           <template slot-scope="scope">
             <div>领取后{{ scope.row.dueDays }}天有效</div>

+ 5 - 0
src/views/business/ticket/components/CouponAdd.vue

@@ -64,6 +64,11 @@
             <div>¥{{ $numberFormat(scope.row.discount) }}</div>
           </template>
         </el-table-column>
+        <el-table-column label="门店承担比例" min-width="85">
+          <template slot-scope="scope">
+            <div>{{ scope.row.channelSharedRate }}%</div>
+          </template>
+        </el-table-column>
         <el-table-column label="有效期限" min-width="85">
           <template slot-scope="scope">
             <div>领取后{{ scope.row.dueDays }}天有效</div>