| | |
| | | <Select v-model="params.row.ReportType" @on-change="fourthTypeChange(params)" :class="(params.row.ReportType===''||params.row.ReportType===null||params.row.ReportType==='无')?'ErrorTip':''" size="large" placeholder="请选择报告类型"> |
| | | <!--<Option value="合并报表">合并报表</Option>--> |
| | | <!--<Option value="母公司报表">母公司报表</Option>--> |
| | | <Option v-for="(item,index_01) in ReportTypeList[params.index].reportSelect" :value="item.ReportType" :label="item.ReportType">{{item.ReportType}}</Option> |
| | | <Option v-for="(item,index_01) in ReportTypeList[params.index].reportSelect" :value="item" :label="item">{{item}}</Option> |
| | | </Select> |
| | | </template> |
| | | <template slot="reportTime" slot-scope="params"> |
| | | <Select size="large" @on-change="fourthPeriodChange(params)" placeholder="请选择报告期" v-model="params.row.Period" :class="(params.row.Period===''||params.row.Period===null||params.row.Period==='无')?'ErrorTip':''"> |
| | | <Option v-for="(item,index_01) in ReportTypeList[params.index].reportDate" :value="item.Period" :label="item.Period">{{item.Period}}</Option> |
| | | <Option v-for="(item,index_01) in ReportTypeList[params.index].reportDate" :value="item" :label="item">{{item}}</Option> |
| | | </Select> |
| | | </template> |
| | | <template slot="reportYear" slot-scope="params" class="fouthDate"> |
| | |
| | | <div>Loading</div> |
| | | </Spin> |
| | | <div style="border-bottom: 1px solid #dcdee2;border-color: #e8eaec;padding: 0 0 12px 12px">请选择科目归属</div> |
| | | <div style="display: flex;margin-top: 20px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px;"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">存量现金资产</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | <div class="fifth_class_title;"> |
| | | <div style="width: 47%;display: inline-block;margin:0 1% 0 2%;"> |
| | | <Card style="width: 100%;padding: 0 12px 0 0;margin: 12px 0;" v-for="(item,index) in fifthListOne" :key="index" :value="item.CourseTitle" :label="item.CourseTitle"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right;font-size: 18px;margin-right: 10px">{{item.CourseTitle}}</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;"> |
| | | <span v-for="i in item.Children"> |
| | | <span v-show="i.TypeId===1"> |
| | | {{i.CourseTitle}} |
| | | </span> |
| | | <!--<span v-show="i.TypeId===2">--> |
| | | <!--<Select v-model="fifithSelectFirst" >--> |
| | | <!--<Option v-for="j in i" :value="j.CourseTitle">{{j.CourseTitle}}</Option>--> |
| | | <!--</Select>--> |
| | | <!--</span>--> |
| | | </span> |
| | | <!--<span v-if="item.Children[0].TypeId===2" v-for="i in item.Children">--> |
| | | <!--{{i.CourseTitle}}--> |
| | | <!--</span>--> |
| | | <!--<span v-if="item.Children[0].TypeId===2">--> |
| | | <!--<Select v-model="fifithSelectFirst">--> |
| | | <!--<Option v-for="i in item.Children" :value="i.CourseTitle">{{i.CourseTitle}}</Option>--> |
| | | <!--</Select>--> |
| | | <!--</span>--> |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <div style="width: 47%;display: inline-block;float: right;margin:0 2% 0 1%"> |
| | | <Card style="width: 100%;padding: 0 12px 0 0;margin: 12px 0;" v-for="(item,index) in fifthListTwo" :key="index" :value="item.CourseTitle" :label="item.CourseTitle"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right;font-size: 18px;margin-right:10px">{{item.CourseTitle}}</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | <Card style="width: 47%;margin:0 2% 0 1%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">应付类负债</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </Card> |
| | | </div> |
| | | </div> |
| | | <div style="display: flex;margin-top: 20px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">应收类资产</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | <Card style="width: 47%;margin:0 2% 0 1%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">票证类负债</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <div style="display: flex;margin-top: 20px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">债券投资资产</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | <Card style="width: 47%;margin:0 2% 0 1%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">融资性负债</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <div style="display: flex;margin-top: 20px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">外部股权投资资产</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | <Card style="width: 47%;margin:0 2% 0 1%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">其他负债</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <div style="margin-top: 20px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">土地房产类投资资产</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <div style="margin-top: 20px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">商品类投资资产</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <div style="margin-top: 20px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">其他投资性资产</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <div style="margin-top: 20px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">经营性资产-存货</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <div style="margin-top: 20px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">经营性资产-其他</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <div style="margin-top: 20px;padding-bottom: 12px" class="fifth_class_title"> |
| | | <Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px"> |
| | | <div style="display: flex;margin-bottom: 12px"> |
| | | <h4 style="width:160px;text-align: right">经营性资产-净现金流</h4> |
| | | <div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px"> |
| | | asdasdasd |
| | | </div> |
| | | </div> |
| | | </Card> |
| | | </div> |
| | | <!--<div style="display: flex;margin-top: 20px" class="fifth_class_title">--> |
| | | <!--<Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">应收类资产</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--<Card style="width: 47%;margin:0 2% 0 1%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">票证类负债</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--</div>--> |
| | | <!--<div style="display: flex;margin-top: 20px" class="fifth_class_title">--> |
| | | <!--<Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">债券投资资产</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--<Card style="width: 47%;margin:0 2% 0 1%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">融资性负债</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--</div>--> |
| | | <!--<div style="display: flex;margin-top: 20px" class="fifth_class_title">--> |
| | | <!--<Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">外部股权投资资产</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--<Card style="width: 47%;margin:0 2% 0 1%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">其他负债</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--</div>--> |
| | | <!--<div style="margin-top: 20px" class="fifth_class_title">--> |
| | | <!--<Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">土地房产类投资资产</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--</div>--> |
| | | <!--<div style="margin-top: 20px" class="fifth_class_title">--> |
| | | <!--<Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">商品类投资资产</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--</div>--> |
| | | <!--<div style="margin-top: 20px" class="fifth_class_title">--> |
| | | <!--<Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">其他投资性资产</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--</div>--> |
| | | <!--<div style="margin-top: 20px" class="fifth_class_title">--> |
| | | <!--<Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">经营性资产-存货</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--</div>--> |
| | | <!--<div style="margin-top: 20px" class="fifth_class_title">--> |
| | | <!--<Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">经营性资产-其他</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--</div>--> |
| | | <!--<div style="margin-top: 20px;padding-bottom: 12px" class="fifth_class_title">--> |
| | | <!--<Card style="width: 47%;margin:0 1% 0 2%;padding: 0 12px">--> |
| | | <!--<div style="display: flex;margin-bottom: 12px">--> |
| | | <!--<h4 style="width:160px;text-align: right">经营性资产-净现金流</h4>--> |
| | | <!--<div style="border:1px solid #000;width: calc(100% - 160px);height: 120px;padding: 12px">--> |
| | | <!--asdasdasd--> |
| | | <!--</div>--> |
| | | <!--</div>--> |
| | | <!--</Card>--> |
| | | <!--</div>--> |
| | | </Card> |
| | | </div> |
| | | <div style="text-align: center"> |
| | |
| | | showProjectMessage |
| | | }, |
| | | data () { |
| | | // const reportType = (rule, value, callback) => { |
| | | // if (value==='') { |
| | | // callback(new Error('请选择报告类型')) |
| | | // } else { |
| | | // callback() |
| | | // } |
| | | // } |
| | | // const Period = (rule, value, callback) => { |
| | | // if (value==='') { |
| | | // callback(new Error('请选择报告期')) |
| | | // } else { |
| | | // callback() |
| | | // } |
| | | // } |
| | | // const ReportDate = (rule, value, callback) => { |
| | | // if (value==='') { |
| | | // callback(new Error('请选择报告年份')) |
| | | // } else { |
| | | // callback() |
| | | // } |
| | | // } |
| | | return { |
| | | // reportTypeValidate:{ |
| | | // reportType: [ |
| | | // {validator:reportType,required: true, trigger: 'change'} |
| | | // ], |
| | | // }, //报告类型验证 |
| | | // periodValidate:{ |
| | | // Period: [ |
| | | // {validator:Period,required: true, trigger: 'change'} |
| | | // ], |
| | | // },//报告期验证 |
| | | // reportDateValidate:{ |
| | | // ReportDate: [ |
| | | // {validator:ReportDate,required: true, trigger: 'change'} |
| | | // ], |
| | | // },//报告期验证 |
| | | fourthList:[], //第四步table数据 |
| | | thirdList:[],//第三步table数据 |
| | | locationV:[], //地区绑定值 |
| | |
| | | reportSelect:[], //报告类型下拉数据 |
| | | reportDate:[], //报告期下拉数据 |
| | | reportTime:[], //报告时间下拉数据 |
| | | cunchutype:[], //存储类型数据 |
| | | cunchuDate:[], //存储报告期数据 |
| | | cunchuTime:[], //存储报告时间数据 |
| | | getPeriod:"", |
| | | getTimeStart:"", |
| | | getReportType:"", |
| | | rowId:0, |
| | | fifthList:[], //第五步数据获取 |
| | | fifthListOne:[], //第五步 资产 |
| | | fifthListTwo:[], //第五步负债 |
| | | fifithSelectFirst:"" |
| | | } |
| | | }, |
| | | mounted () { |
| | |
| | | }else if(this.current===3||this.current==='3'){ |
| | | this.getFourthList() |
| | | }else if(this.current===4||this.current==='4'){ |
| | | |
| | | this.getFifthList() |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | /** |
| | | * 第五步数据获取 |
| | | **/ |
| | | getFifthList(){ |
| | | let data={ |
| | | RId:this.RId |
| | | } |
| | | axios.request({ |
| | | url: '/EvaSubAttributionEx/GetEvaSubAttribution', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | this.fifthList=res.data.Data |
| | | if(this.fourthList.length>0){ |
| | | this.fifthListOne=[] |
| | | this.fifthListTwo=[] |
| | | this.fifthList.forEach((val,index)=>{ |
| | | if(val.RangeFlag===1||val.RangeFlag===0){ |
| | | this.fifthListOne.push(val) |
| | | }else{ |
| | | this.fifthListTwo.push(val) |
| | | } |
| | | }) |
| | | } |
| | | // let a=[...this.fifthList[0].Children,...this.fifthList[1].Children] |
| | | // this.fifthListOne=a |
| | | // this.fifthListTwo=this.fifthList[1].Children |
| | | console.log(this.fifthListOne) |
| | | console.log(this.fifthListTwo) |
| | | } else { |
| | | |
| | | } |
| | | }, res => { |
| | | |
| | | }) |
| | | }, |
| | | /** |
| | | * 跳转至报表管理 |
| | | **/ |
| | | goToReport(){ |
| | | this.$router.push({path: '/reportFormsManage'}) |
| | | }, |
| | | // getFourthSelectList(){ |
| | | // |
| | | // }, |
| | | firstFilter(params){ |
| | | console.log(params) |
| | | |
| | | }, |
| | | // getReportTypeList(params){ |
| | | // let data={ |
| | | // SubjectId:params.row.id, |
| | | // ProjId:this.pid, |
| | | // } |
| | | // axios.request({ |
| | | // url: '/FinBalanceSheetEx/GetBalanceSheetReportType', |
| | | // data, |
| | | // method: 'post' |
| | | // }).then(res => { |
| | | // if (res.data.Check) { |
| | | // this.ReportTypeList=res.data.Data |
| | | // } else { |
| | | // |
| | | // } |
| | | // }, res => { |
| | | // this.loadingfourth=false |
| | | // }) |
| | | // }, |
| | | /** |
| | | * 第四步报告类型 |
| | | **/ |
| | | fourthTypeChange(params){ |
| | | console.log(params) |
| | | if(params.row.ReportType===""||params.row.ReportType===null){ |
| | | this.$Message.error("请正确填写相关信息") |
| | | return false |
| | | }else{ |
| | | this.fourthList[params.index]=params.row |
| | | this.fourthList[params.index].ReportTime=params.row.ReportDate |
| | | let data={ |
| | | SubjectId:params.row.id, |
| | | ProjId:this.pid, |
| | | } |
| | | axios.request({ |
| | | url: '/FinBalanceSheetEx/GetBalanceSheetReportType', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | console.log(res.data.Data) |
| | | } else { |
| | | |
| | | } |
| | | }, res => { |
| | | |
| | | }) |
| | | this.getReportType=params.row.ReportType |
| | | this.rowId=params.row.EvaSubId |
| | | this.getFourthList() |
| | | } |
| | | }, |
| | | /** |
| | | * 第四步报告期 |
| | | **/ |
| | | fourthPeriodChange(params){ |
| | | console.log(params) |
| | | if(params.row.Period===""||params.row.Period===null){ |
| | | this.$Message.error("请正确填写相关信息") |
| | | return false |
| | | }else{ |
| | | this.fourthList[params.index]=params.row |
| | | this.fourthList[params.index].ReportTime=params.row.ReportDate |
| | | let data={ |
| | | SubjectId:params.row.id, |
| | | ProjId:this.pid, |
| | | ReportType:params.row.ReportType, |
| | | Period:params.row.Period |
| | | } |
| | | axios.request({ |
| | | url: '/FinBalanceSheetEx/GetBalanceSheetReportType', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | console.log(res.data.Data) |
| | | } else { |
| | | |
| | | } |
| | | }, res => { |
| | | |
| | | }) |
| | | this.getPeriod=params.row.Period |
| | | this.rowId=params.row.EvaSubId |
| | | this.getFourthList() |
| | | } |
| | | }, |
| | | /** |
| | | * 第四步日期选择器 |
| | | **/ |
| | | fourthDateChange(params){ |
| | | console.log(params) |
| | | if(params.row.ReportDate===""||params.row.ReportDate===null){ |
| | | this.$Message.error("请正确填写相关信息") |
| | | return false |
| | | }else{ |
| | | this.fourthList[params.index]=params.row |
| | | this.fourthList[params.index].ReportTime=params.row.ReportDate |
| | | this.getTimeStart=params.row.ReportDate |
| | | this.rowId=params.row.EvaSubId |
| | | this.getFourthList() |
| | | } |
| | | }, |
| | | /** |
| | |
| | | this.loadingfourth=true |
| | | this.fourthList=[] |
| | | let data={ |
| | | RId:this.RId |
| | | RId:this.RId, |
| | | Period:this.getPeriod, |
| | | TimeStart:this.getTimeStart, |
| | | ReportType:this.getReportType, |
| | | EvaSubId:this.rowId |
| | | } |
| | | axios.request({ |
| | | url: '/EvaSubjectEx/GetEvaSubjectList', |
| | |
| | | this.ReportTypeList=res.data.Data |
| | | this.ReportTypeList.forEach((val,index)=>{ |
| | | if(val.Children!=null){ |
| | | this.cunchutype=[] |
| | | this.reportSelect=[] |
| | | this.reportSelect.push(val.Children[0]) |
| | | val.Children.forEach((val_01,index_01)=>{ |
| | | if(this.reportSelect[0].ReportType!=val_01.ReportType){ |
| | | this.reportSelect.push(val_01) |
| | | } |
| | | this.cunchutype.push(val_01.ReportType) |
| | | }) |
| | | let a=[]; |
| | | a=new Set(this.cunchutype) |
| | | for (let i of a){ |
| | | this.reportSelect.push(i) |
| | | } |
| | | val.reportSelect=this.reportSelect |
| | | }else{ |
| | | val.reportSelect==[] |
| | | } |
| | | |
| | | }) |
| | | console.log(this.ReportTypeList) |
| | | this.ReportTypeList.forEach((val,index)=>{ |
| | | if(val.Children!=null){ |
| | | this.reportDate=[] |
| | | this.reportDate.push(val.Children[0]) |
| | | this.cunchuDate=[] |
| | | val.Children.forEach((val_01,index_01)=>{ |
| | | if(this.reportDate[0].Period!=val_01.Period){ |
| | | this.reportDate.push(val_01) |
| | | } |
| | | this.cunchuDate.push(val_01.Period) |
| | | }) |
| | | let b=[]; |
| | | b=new Set(this.cunchuDate) |
| | | for (let i of b){ |
| | | this.reportDate.push(i) |
| | | } |
| | | val.reportDate=this.reportDate |
| | | }else{ |
| | | val.reportDate==[] |
| | | } |
| | | |
| | | }) |
| | | this.ReportTypeList.forEach((val,index)=>{ |
| | | if(val.reportDate!=null){ |
| | | if(val.Children!=null){ |
| | | this.reportTime=[] |
| | | this.cunchuTime=[] |
| | | val.Children.forEach((val_01,index_01)=>{ |
| | | if(val.Period===val_01.Period){ |
| | | this.reportTime.push(val_01.TimeDate) |
| | | this.cunchuTime.push(val_01.TimeDate) |
| | | } |
| | | }) |
| | | let c=[]; |
| | | c=new Set(this.cunchuTime) |
| | | for (let i of c){ |
| | | this.reportTime.push(i) |
| | | } |
| | | val.reportTime=this.reportTime |
| | | }else{ |
| | | val.reportTime=[] |
| | |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | console.log(this.thirdList) |
| | | this.getThirdList() |
| | | } else { |
| | | |
| | |
| | | this.editIdNature=params.EvaSubId |
| | | }, |
| | | selectPro(label,index){ |
| | | // this.evaSubjectIces[index]={ |
| | | // Id:label.Id, |
| | | // PropertyId:label.PropertyId, |
| | | // ClassLabel:label.ClassLabelSet[0], |
| | | // ClassFirst:label.ClassLabelSet[1], |
| | | // ClassSecond:label.ClassLabelSet[2], |
| | | // ClassThird:label.ClassLabelSet[3], |
| | | // Country:label.Location[0], |
| | | // Province:label.Location[1], |
| | | // City:label.Location[2], |
| | | // } |
| | | // console.log(label) |
| | | // console.log(index) |
| | | |
| | | }, |
| | | changePropertyName(label,index){ |
| | | // this.evaSubjectIces[index]={ |
| | | // Id:label.Id, |
| | | // PropertyId:label.PropertyId, |
| | | // ClassLabel:label.ClassLabelSet[0], |
| | | // ClassFirst:label.ClassLabelSet[1], |
| | | // ClassSecond:label.ClassLabelSet[2], |
| | | // ClassThird:label.ClassLabelSet[3], |
| | | // Country:label.Location[0], |
| | | // Province:label.Location[1], |
| | | // City:label.Location[2], |
| | | // } |
| | | |
| | | }, |
| | | changeLocation(label,index){ |
| | | // this.evaSubjectIces[index]={ |
| | | // Id:label.Id, |
| | | // PropertyId:label.PropertyId, |
| | | // ClassLabel:label.ClassLabelSet[0], |
| | | // ClassFirst:label.ClassLabelSet[1], |
| | | // ClassSecond:label.ClassLabelSet[2], |
| | | // ClassThird:label.ClassLabelSet[3], |
| | | // Country:label.Location[0], |
| | | // Province:label.Location[1], |
| | | // City:label.Location[2], |
| | | // } |
| | | |
| | | }, |
| | | /** |
| | | * 第二层table主体性质数据获取 |
| | |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | this.rightList = res.data.Data |
| | | console.log(this.rightList) |
| | | this.loadingF=false |
| | | } else { |
| | | |
| | |
| | | this.getTableList() |
| | | }else if(this.current ===2||this.current ==="2"){ |
| | | this.getThirdList() |
| | | }else if(this.current===3||this.current ==="3"){ |
| | | this.getFourthList() |
| | | } |
| | | } |
| | | }, |
| | |
| | | return false |
| | | }else{ |
| | | let data = { |
| | | FlowId: this.current, |
| | | FlowId: this.current+1, |
| | | RId:this.RId, |
| | | exReportTimes:this.fourthList |
| | | } |
| | |
| | | this.$Message.error(res.data.Data) |
| | | }) |
| | | } |
| | | this.getFifthList() |
| | | }else if(parseInt(this.current)===4){ |
| | | |
| | | }else if(parseInt(this.current)===5){ |