Commit 8ec2d5e5 authored by liwenhong's avatar liwenhong

Merge branch 'lwh/head-distribution'

parents 7d128317 7109a7fe
......@@ -265,9 +265,9 @@
for (let i = 1; i < this.configForm.result.length; i++) {
if (!this.configForm.result[i].assess_order_num || !this.configForm.result[i].reward_amount) {
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("请输入比上一档位大的考核单量");
} 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("请输入比上一档位大的奖励金额");
}
}
......
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