diff --git a/src/views/basic/busType/bussinessType.vue b/src/views/basic/busType/bussinessType.vue index 0010360a..f38710bd 100644 --- a/src/views/basic/busType/bussinessType.vue +++ b/src/views/basic/busType/bussinessType.vue @@ -375,6 +375,7 @@ export default { if (this.inputQuery.sortNum < 0) { this.$message.error("排序不能小于0!"); return; + } else if (this.inputQuery.sortNum > 999) { this.$message.error("排序不能大于999!"); return; diff --git a/src/views/basic/product/productEdit.vue b/src/views/basic/product/productEdit.vue index 0553ef8c..47a0bbca 100644 --- a/src/views/basic/product/productEdit.vue +++ b/src/views/basic/product/productEdit.vue @@ -164,7 +164,7 @@ - +