Browse Source

解决了赠送代金券问题

wzy 1 year ago
parent
commit
434c83bc55
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/views/commodity/commoditySystem/addComponent.vue

+ 3 - 4
src/views/commodity/commoditySystem/addComponent.vue

@@ -84,12 +84,11 @@
           </el-table-column>
           <el-table-column label="赠送代金券">
             <template slot-scope="scope">
-              <span>代金券</span>
-              <!-- <el-input-number
-                v-model="scope.row.presenter_voucher" :controls="false" :max="999" :min="0"
+             <el-input-number
+                v-model="scope.row.presenterVoucher" :controls="false" :max="scope.row.price" :min="0"
                 :precision="2"
                 :step="0.01" style="width: auto;"
-              /> -->
+              />
             </template>
           </el-table-column>
           <el-table-column label="代金卷最大抵扣额度(一般设置全额抵扣)">