| | |
| | | <Button @click="editIndex_in = -1">取消</Button> |
| | | </div> |
| | | <div v-else> |
| | | <Button @click="handleEdit_in(row,index)">操作</Button> |
| | | <Button @click="handleEdit_in(row,index)" :loading="row.opreateBtnIn">操作</Button> |
| | | </div> |
| | | </template> |
| | | </Table> |
| | |
| | | |
| | | }, |
| | | handleEdit_in(params,index){ |
| | | this.editIndex_in=index; |
| | | params.opreateBtnIn=true |
| | | if(this.tableTwoIndustry.length>0){ |
| | | setTimeout(()=>{ |
| | | this.editIndex_in=index; |
| | | params.opreateBtnIn=false |
| | | },500) |
| | | }else{ |
| | | this.$nextTick(()=>{ |
| | | let data={ |
| | | RangeFlag:"All" |
| | | } |
| | | axios.request({ |
| | | url: '/Industry/GetIndustryList', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | this.tableTwoIndustry=res.data.Data |
| | | this.editIndex_in=index; |
| | | params.opreateBtnIn=false |
| | | } else { |
| | | |
| | | } |
| | | }, res => { |
| | | |
| | | }) |
| | | },0) |
| | | } |
| | | }, |
| | | handleSave_in(params) { |
| | | let data={ |
| | |
| | | let data={ |
| | | RangeFlag:"All" |
| | | } |
| | | setTimeout(()=>{ |
| | | axios.request({ |
| | | url: '/Industry/GetIndustryList', |
| | | data, |
| | |
| | | }, res => { |
| | | this.loadingT=false |
| | | }) |
| | | },0) |
| | | },0) |
| | | |
| | | }, |
| | | handleSave(params) { |
| | | console.log(params) |
| | |
| | | }, |
| | | changePageIndex (page) { |
| | | this.pageIndex = page |
| | | this.loading = true |
| | | this.loadingPrompt = true |
| | | let data={ |
| | | RId:this.paramsSave.row.RId, |
| | | BSId:this.paramsSave.row.BSId, |
| | |
| | | }) |
| | | } |
| | | console.log(this.sixPromptChild) |
| | | this.loadingPrompt = false |
| | | } else { |
| | | |
| | | } |
| | |
| | | this.sixPromptChild=res.data.Data.evaRecallPayParaIces |
| | | if(this.sixPromptChild!=null){ |
| | | this.sixPromptChild.forEach((val,index)=>{ |
| | | val.opreateBtnIn=false |
| | | if(val.children!=null){ |
| | | val._showChildren=this.show_children |
| | | } |
| | |
| | | // } |
| | | // } |
| | | // }) |
| | | |
| | | this.validFourth() |
| | | this.loadingfourth=false |
| | | } else { |
| | | |
| | |
| | | }else if(this.current===4||this.current ==="4"){ |
| | | this.getFifthList() |
| | | }else if(this.current===5||this.current==="5"){ |
| | | |
| | | this.getSixthList() |
| | | this.getSixthTwoList() |
| | | } |
| | | } |
| | | }, |
| | | validFourth(){ |
| | | console.log(this.ReportTypeList) |
| | | let data = { |
| | | BSId:this.ReportTypeList[0].Children[0].BSId |
| | | } |
| | | axios.request({ |
| | | url: '/FinCapitalAndDebtEx/CheckCapTotal', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | this.$Message.success("符合资产总计=负债总计+所有者权益(或股东权益)总计") |
| | | this.DontGofouth=true |
| | | } else { |
| | | this.CheckCapTotal=true |
| | | this.FromTypeParams=false |
| | | this.PeriodParams=this.ReportTypeList[0].Period |
| | | this.ProjIdParams=this.ReportTypeList[0].ProjectId |
| | | this.ReportTypeParams=this.ReportTypeList[0].ReportType |
| | | this.ShortTimeParams=this.ReportTypeList[0].ReportDate |
| | | this.SubjectIdParams=this.ReportTypeList[0].SubjectId |
| | | this.TimeStartParams=this.ReportTypeList[0].ReportDate |
| | | this.TitleParams=this.ReportTypeList[0].Title |
| | | this.idParams=this.ReportTypeList[0].Children[0].id |
| | | this.DontGofouth=false |
| | | } |
| | | }, res => { |
| | | |
| | | }) |
| | | }, |
| | | /** |
| | | * 操作步骤下一步 |
| | |
| | | this.getFourthList() |
| | | } |
| | | }else if(parseInt(this.current)===3){ |
| | | let typeList=[] |
| | | let periodList=[] |
| | | let dateList=[] |
| | | let checkType=false |
| | | let checkPeriod=false |
| | | let checkDate=false |
| | | this.fourthList.forEach((val,index)=>{ |
| | | if(this.DontGofouth===true){ |
| | | let typeList=[] |
| | | let periodList=[] |
| | | let dateList=[] |
| | | let checkType=false |
| | | let checkPeriod=false |
| | | let checkDate=false |
| | | this.fourthList.forEach((val,index)=>{ |
| | | typeList.push(val.ReportType) |
| | | periodList.push(val.Period) |
| | | dateList.push(val.ReportDate) |
| | | }) |
| | | typeList.forEach((val,index)=>{ |
| | | if(val===null||val===""){ |
| | | checkType=false |
| | | }else{ |
| | | checkType=true |
| | | } |
| | | }) |
| | | periodList.forEach((val,index)=>{ |
| | | if(val===null||val===""){ |
| | | checkPeriod=false |
| | | }else{ |
| | | checkPeriod=true |
| | | } |
| | | }) |
| | | dateList.forEach((val,index)=>{ |
| | | if(val===null||val===""){ |
| | | checkDate=false |
| | | }else{ |
| | | checkDate=true |
| | | } |
| | | }) |
| | | if(checkType===false||checkPeriod===false||checkDate===false){ |
| | | this.$Message.error("请填写完相关数据后再进行下一步操作") |
| | | return false |
| | | }else{ |
| | | let data = { |
| | | FlowId: this.current+1, |
| | | RId:this.RId, |
| | | exReportTimes:this.ReportTypeList |
| | | } |
| | | axios.request({ |
| | | url: '/EvaSubjectEx/SelectReportTime', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | this.current+=1 |
| | | this.getFifthList() |
| | | } else { |
| | | this.$Message.error(res.data.Data) |
| | | } |
| | | }, res => { |
| | | this.$Message.error(res.data.Data) |
| | | }) |
| | | typeList.forEach((val,index)=>{ |
| | | if(val===null||val===""){ |
| | | checkType=false |
| | | }else{ |
| | | checkType=true |
| | | } |
| | | }) |
| | | periodList.forEach((val,index)=>{ |
| | | if(val===null||val===""){ |
| | | checkPeriod=false |
| | | }else{ |
| | | checkPeriod=true |
| | | } |
| | | }) |
| | | dateList.forEach((val,index)=>{ |
| | | if(val===null||val===""){ |
| | | checkDate=false |
| | | }else{ |
| | | checkDate=true |
| | | } |
| | | }) |
| | | if(checkType===false||checkPeriod===false||checkDate===false){ |
| | | this.$Message.error("请填写完相关数据后再进行下一步操作") |
| | | return false |
| | | }else{ |
| | | let data = { |
| | | FlowId: this.current+1, |
| | | RId:this.RId, |
| | | exReportTimes:this.ReportTypeList |
| | | } |
| | | axios.request({ |
| | | url: '/EvaSubjectEx/SelectReportTime', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | this.current+=1 |
| | | this.getFifthList() |
| | | } else { |
| | | this.$Message.error(res.data.Data) |
| | | } |
| | | }, res => { |
| | | this.$Message.error(res.data.Data) |
| | | }) |
| | | } |
| | | }else{ |
| | | this.CheckCapTotal=true |
| | | return false |
| | | } |
| | | |
| | | }else if(parseInt(this.current)===4){ |
| | | this.current += 1 |
| | | this.getSixthList() |