|
|
|
@ -335,12 +335,10 @@ |
|
|
|
|
<el-input class="number-input" |
|
|
|
|
v-model.trim="scope.row.value3" |
|
|
|
|
:disabled="isView || scope.row.isDisabled" |
|
|
|
|
type="number" |
|
|
|
|
size="mini"></el-input> |
|
|
|
|
<el-input class="number-input" |
|
|
|
|
v-model.trim="scope.row.value4" |
|
|
|
|
:disabled="isView || scope.row.isDisabled" |
|
|
|
|
type="number" |
|
|
|
|
size="mini"></el-input> |
|
|
|
|
<el-select :disabled="isView || scope.row.isDisabled" |
|
|
|
|
v-model="scope.row.value5" |
|
|
|
@ -1220,7 +1218,7 @@ export default { |
|
|
|
|
} else if ((!row.value3 || !row.value4) && !this.isSt) { |
|
|
|
|
this.$message.warning(`请输入交易指标区间`); |
|
|
|
|
return; |
|
|
|
|
} else if (row.value3 && row.value4 && +row.value3 > +row.value4) { |
|
|
|
|
} else if (row.value3 && row.value4 && !isNaN(row.value3) && !isNaN(row.value4) && +row.value3 > +row.value4) { |
|
|
|
|
this.$message.warning(`第一个指标必须小于第二个指标`); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|