@@ -634,7 +634,7 @@
if (this.model.operation.isDiscount){
let sign = false;
this.model.operation.discount_count.forEach((item,i)=>{
- if (!item || (i!==0 && item<=this.model.operation.discount_count[i-1])){
+ if (!item || (i!==0 && Number(item)<=Number(this.model.operation.discount_count[i-1]))){
this.$set(this.errors,"discount_count_"+i,["非法满减值"]);
sign = true;
}
@@ -1559,4 +1559,4 @@
},
});
</script>
-@stop
+@stop