chenrui %!s(int64=2) %!d(string=hai) anos
pai
achega
98b95fbb1a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/views/salesManagement/salesQuery/edit.vue

+ 4 - 0
src/views/salesManagement/salesQuery/edit.vue

@@ -311,6 +311,10 @@ export default {
     },
     handleBatchDelAll () {
       const _this = this
+      if (_this.dataSource.length == 0) {
+        _this.$message.warning('暂无可删除的已选产品!')
+        return
+      }
       this.$confirm({
         title: '提示',
         content: '确认要删除全部已选产品吗?',