diff --git a/src/views/basic/busType/bussinessType.vue b/src/views/basic/busType/bussinessType.vue index 35f4f899..79aef221 100644 --- a/src/views/basic/busType/bussinessType.vue +++ b/src/views/basic/busType/bussinessType.vue @@ -376,6 +376,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 @@ - +