Browse Source

2024.07.15 补充提交

zweiqin 8 months ago
parent
commit
5ec42b489b
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/views/commodity/commoditySystem/addCommodity.vue

+ 8 - 0
src/views/commodity/commoditySystem/addCommodity.vue

@@ -97,6 +97,12 @@
                 <el-option label="支付即核销" :value="3" />
               </el-select>
             </el-form-item>
+            <el-form-item label="参与赠品" prop="ifGift">
+              <el-radio-group v-model="form.ifGift">
+                <el-radio :label="1">是</el-radio>
+                <el-radio :label="0">否</el-radio>
+              </el-radio-group>
+            </el-form-item>
             <el-form-item label="上架状态" prop="shelveState">
               <el-radio-group v-model="form.shelveState">
                 <el-radio :label="1">上架</el-radio>
@@ -215,6 +221,7 @@ export default {
         productMarque: '', // 商品型号
         supplierName: '', // 供应商名称
         ifLogistics: '', // 是否需要物流 1-是 0-否
+        ifGift: '', // 是否参与赠品 1-是 0-否
         distribution: '', // 配送属性。1线下核销,2快递,3支付即核销
         shelveState: '', // 是否上架 1-上架 0-不上架
         ifOversold: '', // 是否允许超卖 1-是 0-否
@@ -425,6 +432,7 @@ export default {
         classifyId: '',
         supplierName: '',
         ifLogistics: '',
+        ifGift: '',
         distribution: '',
         shelveState: ' ',
         ifOversold: '',