| | |
| | | <el-input v-model="form.agent_user" type="number" :disabled="form.open_agent_user==0" style="width: 160px;margin-left: 10px;"></el-input> |
| | | <span class="ml10">人</span> |
| | | </div> |
| | | <div class="d-s-c mt16"> |
| | | <el-checkbox v-model="form.is_purchase_count">购买VIP专区商品次数</el-checkbox> |
| | | <el-input v-model="form.purchase_count" type="number" :disabled="form.is_purchase_count==0" style="width: 160px;margin-left: 10px;"></el-input> |
| | | <span class="ml10">次</span> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | |
| | | third_percent: 0, |
| | | auto_upgrade: 1, |
| | | condition_type: 'and', |
| | | first_loop_percent: [] // 循环比例 |
| | | first_loop_percent: [], // 循环比例 |
| | | /*是否打开购买VIP专区商品次数*/ |
| | | is_purchase_count:0, |
| | | /*购买VIP专区商品次数*/ |
| | | purchase_count:0, |
| | | }, |
| | | /*左边长度*/ |
| | | formLabelWidth: '120px', |
| | |
| | | self.submit_loading = true; |
| | | params.open_agent_money=params.open_agent_money==true?1:0; |
| | | params.open_agent_user=params.open_agent_user==true?1:0; |
| | | params.is_purchase_count=params.is_purchase_count==true?1:0; |
| | | GradeApi.addgrade(params, true).then(data => { |
| | | self.submit_loading = false; |
| | | self.$message({ |