浏览代码

礼包码分组

Administrator 1 月之前
父节点
当前提交
81d6737c9d

+ 4 - 0
src/views/operation/giftcode/fixedGeneration/index.vue

@@ -22,6 +22,9 @@
         <el-form-item label="礼包道具" prop="itemInfo">
           <el-input v-model="ruleForm.itemInfo" placeholder="可填列表,逗号间隔,格式:1001-100,1002-200" />
         </el-form-item>
+        <el-form-item label="礼包分组" prop="codeGroup">
+          <el-input v-model="ruleForm.codeGroup" placeholder="可选项,在一个分组里面的礼包码,每个玩家只能用一个" />
+        </el-form-item>
         <el-form-item label="礼包生效时间" required>
           <el-col :span="7">
             <el-form-item prop="validTime">
@@ -72,6 +75,7 @@ const ruleForm = reactive({
   validTime: '',
   invalidTime: '',
   giftItems: '',
+  codeGroup:'',
   itemInfo:[]
 })
 

+ 4 - 0
src/views/operation/giftcode/randomGeneration/index.vue

@@ -19,6 +19,9 @@
         <el-form-item label="礼包道具" prop="itemInfo">
           <el-input v-model="ruleForm.itemInfo" placeholder="可填列表,逗号间隔,格式:1001-100,1002-200" />
         </el-form-item>
+        <el-form-item label="礼包分组" prop="codeGroup">
+          <el-input v-model="ruleForm.codeGroup" placeholder="可选项,在一个分组里面的礼包码,每个玩家只能用一个" />
+        </el-form-item>
         <el-form-item label="礼包生效时间" required>
           <el-col :span="7">
             <el-form-item prop="validTime">
@@ -76,6 +79,7 @@ const ruleForm = reactive({
   invalidTime: '',
   giftItems: '',
   itemInfo:[],
+  codeGroup: '',
   randomCount: null,
   result:''
 })