提交 ee3c7282 编写于 作者: tao.wu's avatar tao.wu

no message

上级 d2cba9e8
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<div style="display: flex;"> <div style="display: flex;">
<el-form-item prop="timeNo"> <el-form-item prop="timeNo">
<el-input <el-input
style="width:200px;"
v-model="itemTimeForm.timeNo" v-model="itemTimeForm.timeNo"
type="number" type="number"
size="small" size="small"
...@@ -41,7 +42,7 @@ ...@@ -41,7 +42,7 @@
clearable /> clearable />
</el-form-item> </el-form-item>
<el-form-item prop="timeUnit" class="ml20"> <el-form-item prop="timeUnit" class="ml20">
<el-select v-model="itemTimeForm.timeUnit" placeholder="请选择" @change="choseTimeUit" :disabled="itemTimeForm.isDisabled"> <el-select style="width:200px;" v-model="itemTimeForm.timeUnit" placeholder="请选择" @change="choseTimeUit" :disabled="itemTimeForm.isDisabled">
<el-option <el-option
v-for="(item,index) in markOptions" v-for="(item,index) in markOptions"
:key="index" :key="index"
...@@ -152,9 +153,6 @@ ...@@ -152,9 +153,6 @@
data() { data() {
const checkDay = (rule, value, callback)=>{ const checkDay = (rule, value, callback)=>{
const num = parseFloat(value); const num = parseFloat(value);
if(!num){
return callback(new Error('请输入数字'));
}
if(num < 0 || num > 100){ if(num < 0 || num > 100){
return callback(new Error('数字范围0-99')); return callback(new Error('数字范围0-99'));
} }
......
...@@ -243,6 +243,9 @@ ...@@ -243,6 +243,9 @@
this.baseInfo.patientIdList.push(item.patientId); this.baseInfo.patientIdList.push(item.patientId);
}) })
this.baseInfo.hasSelectedNum = this.hasSelectedList.length; this.baseInfo.hasSelectedNum = this.hasSelectedList.length;
if(this.baseInfo.hasSelectedNum > 0){
this.noChoice = false;
}
}, },
continueAdd(val) { continueAdd(val) {
this.isShowSelectedDialog = val; this.isShowSelectedDialog = val;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册