Commit 30a186d1 by 李长胜

修改会员服务disabled

1 parent 2722a221
......@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5",
"glsx-common": "^1.4.6",
"glsx-components": "^1.3.3",
"glsx-components": "^1.3.5",
"lodash": "^4.17.21",
"vue": "^2.6.10",
"vue-router": "^3.1.3",
......
......@@ -25,7 +25,7 @@
ruleForm.effectiveDays = val.replace(/[^\d]/g, '')
}
"
:disabled="disabledContent"
:disabled="title== '查看' || title =='编辑' || ruleForm.effectiveType !=1"
placeholder="请输入"
size="small"
style="width: 100px"
......@@ -34,7 +34,7 @@
</el-radio>
<!-- effectiveStartTime effectiveEndTime +具体时间 -->
<el-radio :label="2">
<el-date-picker :size="small" :disabled="disabledContent" style="width: 230px" v-model="ruleForm.daterange" type="daterange" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions || {}"></el-date-picker>
<el-date-picker :size="small" :disabled="title== '查看' || title =='编辑' || ruleForm.effectiveType !=2" style="width: 230px" v-model="ruleForm.daterange" type="daterange" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions || {}"></el-date-picker>
</el-radio>
</el-radio-group>
</div>
......@@ -46,12 +46,12 @@
<!-- useType:1 useAmount:6 -->
<el-radio :label="1">
有效期内可使用
<el-button @click="sub1" class="addsubBtn" :disabled="disabledContent">-</el-button>
<span class="numWrap">{{ ruleForm.limitTime1 }}</span>
<el-button @click="add1" class="addsubBtn" :disabled="disabledContent">+</el-button>
<el-button @click="sub1" class="addsubBtn" :disabled="title== '查看' || title =='编辑' || ruleForm.customUseLimit !=1">-</el-button>
<div class="numWrap">{{ ruleForm.limitTime1 }}</div>
<el-button @click="add1" class="addsubBtn" :disabled="title== '查看' || title =='编辑' || ruleForm.customUseLimit !=1">+</el-button>
次
</el-radio>
<el-radio :label="2">
<el-radio :label="2" >
有效期内每
<el-input
v-model="ruleForm.limitDays"
......@@ -61,15 +61,15 @@
ruleForm.limitDays = val.replace(/[^\d]/g, '')
}
"
:disabled="disabledContent"
:disabled="title== '查看' || title =='编辑' || ruleForm.customUseLimit !=2"
placeholder="请输入"
size="small"
style="width: 100px"
></el-input>
天内可使用
<el-button @click.stop="sub2" class="addsubBtn" :disabled="disabledContent">-</el-button>
<el-button @click.stop="sub2" class="addsubBtn" :disabled="title== '查看' || title =='编辑' || ruleForm.customUseLimit !=2">-</el-button>
<span class="numWrap">{{ ruleForm.limitTime2 }}</span>
<el-button @click.stop="add2" class="addsubBtn" :disabled="disabledContent">+</el-button>
<el-button @click.stop="add2" class="addsubBtn" :disabled="title== '查看' || title =='编辑' || ruleForm.customUseLimit !=2">+</el-button>
次
</el-radio>
</el-radio-group>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!