Commit 7109a7fe authored by liwenhong's avatar liwenhong

fix:金额字符类型

parent 7fa45289
...@@ -265,9 +265,9 @@ ...@@ -265,9 +265,9 @@
for (let i = 1; i < this.configForm.result.length; i++) { for (let i = 1; i < this.configForm.result.length; i++) {
if (!this.configForm.result[i].assess_order_num || !this.configForm.result[i].reward_amount) { if (!this.configForm.result[i].assess_order_num || !this.configForm.result[i].reward_amount) {
return this.$message.error("输入不能为空"); return this.$message.error("输入不能为空");
} else if (this.configForm.result[i - 1].assess_order_num >= this.configForm.result[i].assess_order_num) { } else if (+this.configForm.result[i - 1].assess_order_num >= +this.configForm.result[i].assess_order_num) {
return this.$message.error("请输入比上一档位大的考核单量"); return this.$message.error("请输入比上一档位大的考核单量");
} else if (this.configForm.result[i - 1].reward_amount >= this.configForm.result[i].reward_amount) { } else if (+this.configForm.result[i - 1].reward_amount >= +this.configForm.result[i].reward_amount) {
return this.$message.error("请输入比上一档位大的奖励金额"); return this.$message.error("请输入比上一档位大的奖励金额");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment