|
|
@@ -3094,7 +3094,8 @@ export default {
|
|
|
this.tableData1[index].value = '';
|
|
|
return;
|
|
|
}
|
|
|
- if (Number(val) > Number(this.tableData1[index].maxValue)) {
|
|
|
+ let maxValue = this.tableData1[index].maxValue;
|
|
|
+ if (maxValue && Number(val) > Number(maxValue)) {
|
|
|
this.$toast('请输入小于等于最大发放量');
|
|
|
this.tableData1[index].value = '';
|
|
|
}
|
|
|
@@ -3108,7 +3109,8 @@ export default {
|
|
|
this.tableData1[index].value = this.tableData1[index].contrastValue;
|
|
|
return;
|
|
|
}
|
|
|
- if (Number(val) > Number(this.tableData1[index].maxValue)) {
|
|
|
+ let maxValue = this.tableData1[index].maxValue;
|
|
|
+ if (maxValue && Number(val) > Number(maxValue)) {
|
|
|
this.$toast('请输入小于等于最大发放量');
|
|
|
this.tableData1[index].value = '';
|
|
|
}
|