|  | @@ -33,7 +33,6 @@
 | 
	
		
			
				|  |  |                                 size="small"
 | 
	
		
			
				|  |  |                                 icon="el-icon-delete"
 | 
	
		
			
				|  |  |                                 plain
 | 
	
		
			
				|  |  | -                               v-if="permission.agreementprice_delete"
 | 
	
		
			
				|  |  |                                 @click="handleDelete">删 除
 | 
	
		
			
				|  |  |                      </el-button>
 | 
	
		
			
				|  |  |                  </template>
 | 
	
	
		
			
				|  | @@ -319,6 +318,7 @@
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        rowDel(row) {
 | 
	
		
			
				|  |  | +      if (row.status === 1) {
 | 
	
		
			
				|  |  |          this.$confirm("确定将选择数据删除?", {
 | 
	
		
			
				|  |  |            confirmButtonText: "确定",
 | 
	
		
			
				|  |  |            cancelButtonText: "取消",
 | 
	
	
		
			
				|  | @@ -334,12 +334,27 @@
 | 
	
		
			
				|  |  |                message: "操作成功!"
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |            });
 | 
	
		
			
				|  |  | +      } else {
 | 
	
		
			
				|  |  | +        this.$message({
 | 
	
		
			
				|  |  | +          message: '非禁用状态无法删除',
 | 
	
		
			
				|  |  | +          type: 'warning'
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        handleDelete() {
 | 
	
		
			
				|  |  |          if (this.selectionList.length === 0) {
 | 
	
		
			
				|  |  |            this.$message.warning("请选择至少一条数据");
 | 
	
		
			
				|  |  |            return;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        for (const selection of this.selectionList) {
 | 
	
		
			
				|  |  | +          if (selection.status == 0) {
 | 
	
		
			
				|  |  | +            this.$message.warning("选中的数据中有启用数据,启用数据不可删除!");
 | 
	
		
			
				|  |  | +            return;
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          this.$confirm("确定将选择数据删除?", {
 | 
	
		
			
				|  |  |            confirmButtonText: "确定",
 | 
	
		
			
				|  |  |            cancelButtonText: "取消",
 |