| | |
| | | this.workType=row.baseOperationType |
| | | this.editConfig.title = val |
| | | getOperationInfo(row.operationId).then((res)=>{ |
| | | res.data.details.map((item) => { |
| | | let params=JSON.parse( |
| | | JSON.stringify(res.data) |
| | | ); |
| | | params.details.map((item) => { |
| | | item.fromLocationId = item.fromLocation.jointName |
| | | item.toLocationId = item.toLocation.jointName |
| | | }) |
| | | res.data.location = { |
| | | value: res.data.location.id || res.data.location.value, |
| | | label: res.data.location.jointName || res.data.location.label |
| | | params.location = { |
| | | value:params.location.id || params.location.value, |
| | | label: params.location.jointName || params.location.label |
| | | } |
| | | res.data.toLocation = { |
| | | value: res.data.toLocation.id || res.data.toLocation.value, |
| | | label: res.data.toLocation.jointName || res.data.toLocation.label |
| | | params.toLocation = { |
| | | value: params.toLocation.id || params.toLocation.value, |
| | | label: params.toLocation.jointName || params.toLocation.label |
| | | } |
| | | res.data.locationID = res.data.location.jointName |
| | | res.data.locationId = res.data.location.value |
| | | params.locationID = params.location.jointName |
| | | params.locationId =params.location.value |
| | | params.managerObj={ |
| | | label:params.manager, |
| | | value:params.managerId |
| | | } |
| | | params.accountantObj={ |
| | | label:params.accountant, |
| | | value:params.accountantId |
| | | } |
| | | params.custodianObj={ |
| | | label:params.custodian, |
| | | value:params.custodianId |
| | | } |
| | | this.editConfig.infomation = { |
| | | ...res.data |
| | | ...params |
| | | } |
| | | this.editConfig.visible = true |
| | | }) |