|  | @@ -267,7 +267,6 @@
 | 
	
		
			
				|  |  |          <!--        <el-button :disabled="dataListSelection.length <= 0" @click.prevent="creditClick()">入库确认</el-button>-->
 | 
	
		
			
				|  |  |          <!--        <el-button :disabled="browseStatus" @click.prevent="deleteRoww(warehouseDrList)">删除</el-button>-->
 | 
	
		
			
				|  |  |          <el-button @click="getList_s()">新增</el-button>
 | 
	
		
			
				|  |  | -        <el-button @click="test_s">删除</el-button>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <el-table v-loading="loading_s" :data="agreementitemsList" @selection-change="handleSelectionChange">
 | 
	
		
			
				|  |  |          <el-table-column type="selection" width="55" align="center"/>
 | 
	
	
		
			
				|  | @@ -344,8 +343,7 @@
 | 
	
		
			
				|  |  |                size="mini"
 | 
	
		
			
				|  |  |                type="text"
 | 
	
		
			
				|  |  |                icon="el-icon-delete"
 | 
	
		
			
				|  |  | -              @click="handleDelete(scope.row)"
 | 
	
		
			
				|  |  | -              v-hasPermi="['warehouseBusiness:agreementitems:remove']"
 | 
	
		
			
				|  |  | +              @click.native.prevent="deleteRow(scope.$index, agreementitemsList)"
 | 
	
		
			
				|  |  |              >删除
 | 
	
		
			
				|  |  |              </el-button>
 | 
	
		
			
				|  |  |            </template>
 | 
	
	
		
			
				|  | @@ -595,17 +593,7 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      /** 删除按钮操作 */
 | 
	
		
			
				|  |  |      handleDelete(row) {
 | 
	
		
			
				|  |  | -      const fIds = row.fId || this.ids
 | 
	
		
			
				|  |  | -      this.$confirm('是否确认删除仓储费编号为"' + fIds + '"的数据项?', '警告', {
 | 
	
		
			
				|  |  | -        confirmButtonText: '确定',
 | 
	
		
			
				|  |  | -        cancelButtonText: '取消',
 | 
	
		
			
				|  |  | -        type: 'warning'
 | 
	
		
			
				|  |  | -      }).then(function() {
 | 
	
		
			
				|  |  | -        return delAgreement(fIds)
 | 
	
		
			
				|  |  | -      }).then(() => {
 | 
	
		
			
				|  |  | -        this.getList()
 | 
	
		
			
				|  |  | -        this.msgSuccess('删除成功')
 | 
	
		
			
				|  |  | -      })
 | 
	
		
			
				|  |  | +      console.log(row)
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      /** 导出按钮操作 */
 | 
	
		
			
				|  |  |      handleExport() {
 | 
	
	
		
			
				|  | @@ -619,7 +607,11 @@ export default {
 | 
	
		
			
				|  |  |        }).then(response => {
 | 
	
		
			
				|  |  |          this.download(response.msg)
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    deleteRow(index, rows) {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      rows.splice(index, 1);
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  </script>
 |