소스 검색

修改bug

chenrui 2 년 전
부모
커밋
98b95fbb1a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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: '确认要删除全部已选产品吗?',