|  | @@ -76,10 +76,19 @@
 | 
	
		
			
				|  |  |                :option="advantageProject"
 | 
	
		
			
				|  |  |                v-model="advantageProjectForm"
 | 
	
		
			
				|  |  |                :data="advantageProjectData"
 | 
	
		
			
				|  |  | +              ref="crudProject"
 | 
	
		
			
				|  |  |                @row-save="rowSaveProject"
 | 
	
		
			
				|  |  |                @row-update="rowUpdateProject"
 | 
	
		
			
				|  |  |                @row-del="rowDelProject"
 | 
	
		
			
				|  |  | -          ></avue-crud>
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  | +            <template slot-scope="{row,index}" slot="menu">
 | 
	
		
			
				|  |  | +              <el-button
 | 
	
		
			
				|  |  | +                  type="text"
 | 
	
		
			
				|  |  | +                  size="small"
 | 
	
		
			
				|  |  | +                  @click="rowCellTwo(row,index)"
 | 
	
		
			
				|  |  | +              >{{row.$cellEdit?'保存':'修改'}}</el-button>
 | 
	
		
			
				|  |  | +            </template>
 | 
	
		
			
				|  |  | +          </avue-crud>
 | 
	
		
			
				|  |  |          </basic-container>
 | 
	
		
			
				|  |  |          <containerTitle title="附件上传"></containerTitle>
 | 
	
		
			
				|  |  |          <basic-container style="margin-bottom: 40px">
 | 
	
	
		
			
				|  | @@ -126,7 +135,7 @@
 | 
	
		
			
				|  |  |        </el-row>
 | 
	
		
			
				|  |  |          <span slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  |            <el-button @click="dialogVisible = false">取 消</el-button>
 | 
	
		
			
				|  |  | -          <el-button type="primary" @click="importGoods" :disabled="tableData.length>1?true:false">导入</el-button>
 | 
	
		
			
				|  |  | +          <el-button type="primary" @click="importGoods">导入</el-button>
 | 
	
		
			
				|  |  |          </span>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
		
			
				|  |  |    </div>
 | 
	
	
		
			
				|  | @@ -597,16 +606,18 @@ export default {
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  |      //点击行可编辑
 | 
	
		
			
				|  |  |      handleRowClick(row, event, column) {
 | 
	
		
			
				|  |  | -      this.$message({
 | 
	
		
			
				|  |  | -        showClose: true,
 | 
	
		
			
				|  |  | -        message: '序号' + row.$index,
 | 
	
		
			
				|  |  | -        type: 'success',
 | 
	
		
			
				|  |  | -      });
 | 
	
		
			
				|  |  | +      console.log(row.$index)
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    //商品编辑
 | 
	
		
			
				|  |  |      rowCell(row, index) {
 | 
	
		
			
				|  |  |        console.log(row)
 | 
	
		
			
				|  |  |        this.$refs.crudContact.rowCell(row, index)
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    //费用编辑
 | 
	
		
			
				|  |  | +    rowCellTwo(row, index) {
 | 
	
		
			
				|  |  | +      console.log(row)
 | 
	
		
			
				|  |  | +      this.$refs.crudProject.rowCell(row, index)
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      //确认导入触发
 | 
	
		
			
				|  |  |      importGoods(){
 | 
	
		
			
				|  |  |        this.contactsData = this.contactsData.concat(this.tableData)
 | 
	
	
		
			
				|  | @@ -662,7 +673,7 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      //新增费用明细保存触发
 | 
	
		
			
				|  |  |      rowSaveProject(row, done, loading){
 | 
	
		
			
				|  |  | -      this.advantageProjectData.push(row)
 | 
	
		
			
				|  |  | +      // this.advantageProjectData.push(row)
 | 
	
		
			
				|  |  |        done()
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      //修改费用明细触发
 |