| | |
| | | path: '/home', |
| | | name: 'home', |
| | | meta: { |
| | | title: '项目管理', |
| | | title: '项目列表', |
| | | notCache: true, |
| | | icon: 'custom custom-xiangmuguanli' |
| | | }, |
| | |
| | | meta: { |
| | | notCache: true, |
| | | icon: 'custom custom-gongkaixinxi2', |
| | | title: '报表管理' |
| | | title: '报表列表' |
| | | }, |
| | | component: () => import('@/view/reportForms/reportFormsManage.vue') |
| | | }, |
| | |
| | | <template slot="action" slot-scope="params"> |
| | | <Tooltip content="查看" class="tableActionMargin" theme="light" transfer max-width="200" |
| | | placement="top" v-show="params.row.EvaState===4"> |
| | | <Icon custom="custom custom-chakan" size="18" |
| | | <Icon custom="custom custom-chakanjindu" size="18" |
| | | :class="defaultassetsmode? 'disabledIcon' : 'actionIcon'" @click="CheckAccessColumns(params.row)"/> |
| | | </Tooltip> |
| | | <Tooltip content="查看" v-show="params.row.EvaState!=4" class="tableActionMargin" theme="light" transfer max-width="200" |
| | | placement="top"> |
| | | <Icon custom="custom custom-chakan" size="18" |
| | | <Icon custom="custom custom-chakanjindu" size="18" |
| | | :class="defaultassetsmode||params.row.EvaState!=4 ? 'disabledIcon' : 'actionIcon'"/> |
| | | </Tooltip> |
| | | <Tooltip content="编辑" class="tableActionMargin" theme="light" transfer max-width="200" |
| | |
| | | **/ |
| | | editAccessColumns (params) { |
| | | console.log(params) |
| | | this.$router.push({path: '/chooseAssess', query: {pid: params.ProjectId,FlowId:params.FlowId,Id:params.Id}}) |
| | | this.$router.push({name: 'chooseAssess', query: {pid: params.ProjectId,FlowId:params.FlowId,Id:params.Id}}) |
| | | }, |
| | | /** |
| | | * 添加报告 |
| | |
| | | loadingSixthDown:false, |
| | | jumpTime:8, |
| | | // opreateBtn:false |
| | | CompanyId:0 |
| | | CompanyId:0, |
| | | RIdList:[], |
| | | auth_timetimer:"" |
| | | } |
| | | }, |
| | | mounted () { |
| | |
| | | } |
| | | } |
| | | }, |
| | | beforeDestroy(){ |
| | | console.log("破坏") |
| | | clearInterval(this.auth_timetimer); |
| | | }, |
| | | methods: { |
| | | getSevenList(){ |
| | | let data={ |
| | |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | let auth_timetimer = setInterval(() => { |
| | | this.auth_timetimer = setInterval(() => { |
| | | this.jumpTime--; |
| | | if (this.jumpTime <= 1) { |
| | | clearInterval(auth_timetimer); |
| | | clearInterval(this.auth_timetimer); |
| | | this.$router.push({path: '/accessReportList'}) |
| | | } |
| | | }, 1000) |
| | |
| | | }, |
| | | validFourth(){ |
| | | console.log(this.ReportTypeList) |
| | | let data = { |
| | | BSId:this.ReportTypeList[0].Children[0].BSId |
| | | } |
| | | axios.request({ |
| | | url: '/FinCapitalAndDebtEx/CheckCapTotal', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | let bisList=[] |
| | | if(this.ReportTypeList.length===1){ |
| | | 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 |
| | |
| | | this.idParams=this.ReportTypeList[0].Children[0].id |
| | | this.DontGofouth=false |
| | | } |
| | | }, res => { |
| | | }, res => { |
| | | |
| | | }) |
| | | }) |
| | | }else if(this.ReportTypeList.length>1){ |
| | | this.ReportTypeList.forEach((val,index)=>{ |
| | | bisList.push(val.Children[0].BSId) |
| | | }) |
| | | bisList=bisList.join(",") |
| | | console.log(bisList) |
| | | axios.request({ |
| | | url: '/FinCapitalAndDebtEx/CheckCapTotal', |
| | | data:{ |
| | | BSId:bisList |
| | | }, |
| | | 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 => { |
| | | |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | /** |
| | | * 操作步骤下一步 |
| | |
| | | </FormItem> |
| | | </div> |
| | | <div class="ipt_form_style"> |
| | | <label style="width:160px;display: inline-block;text-align:left;line-height: 40px;white-space: nowrap"><span v-show="firstTab!='tab3'&&firstTab!='tab2'">期末余额(元)</span><span v-show="firstTab==='tab3'||firstTab==='tab2'">本期余额(元)</span></label> |
| | | <label style="width:160px;display: inline-block;text-align:left;line-height: 40px;white-space: nowrap"><span v-show="firstTab!='tab3'&&firstTab!='tab2'">期末余额(元)</span><span v-show="firstTab==='tab3'||firstTab==='tab2'">本期金额(元)</span></label> |
| | | <FormItem prop="Endingbalance" style="width:calc(100% - 160px)!important;"> |
| | | <div class="list_edit" style="padding-left: 0px;"> |
| | | <cashInput v-model="formItem.Endingbalance" |
| | |
| | | <label style="width:160px;display: inline-block;text-align:left;margin-left: 45px;line-height: 0;margin-top: -22px;line-height: 20px">=</label> |
| | | </div> |
| | | <div class="ipt_form_style" v-show="firstTab!='tab3'"> |
| | | <label style="width:160px;display: inline-block;text-align:left;white-space: nowrap"><span v-show="firstTab==='tab1'">经营部分期末余额(元)</span><span v-show="firstTab!='tab1'&&firstTab!='tab3'">经营部分本期余额(元)</span></label> |
| | | <label style="width:160px;display: inline-block;text-align:left;white-space: nowrap"><span v-show="firstTab==='tab1'">经营部分期末余额(元)</span><span v-show="firstTab!='tab1'&&firstTab!='tab3'">经营部分本期金额(元)</span></label> |
| | | <FormItem prop="Operatingbalance" style="width:calc(100% - 160px)!important;"> |
| | | <div class="list_edit" style="padding-left: 0px;"> |
| | | <cashInput v-model="formItem.Operatingbalance" |
| | |
| | | <label style="width:160px;display: inline-block;text-align:left;margin-left: 45px;line-height: 0;margin-top: -27px;line-height: 20px">+</label> |
| | | </div> |
| | | <div class="ipt_form_style" v-show="firstTab!='tab3'"> |
| | | <label style="width:160px;display: inline-block;text-align:left;white-space: nowrap"><span v-show="firstTab==='tab1'">金融部分期末余额(元)</span><span v-show="firstTab!='tab1'&&firstTab!='tab3'">金融部分本期余额(元)</span></label> |
| | | <label style="width:160px;display: inline-block;text-align:left;white-space: nowrap"><span v-show="firstTab==='tab1'">金融部分期末余额(元)</span><span v-show="firstTab!='tab1'&&firstTab!='tab3'">金融部分本期金额(元)</span></label> |
| | | <FormItem prop="Financialbalance" style="width:calc(100% - 160px)!important;"> |
| | | <div class="list_edit" style="padding-left: 0px;" > |
| | | <cashInput v-model="formItem.Financialbalance" |
| | |
| | | this.editformatDate = 'yyyy' + '-' + '06-30' |
| | | this.edittypeDate = 'year' |
| | | } else if (params.value === '季报') { |
| | | this.editformatDate = 'yyyy' + '-03-31' |
| | | this.edittypeDate = 'month' |
| | | let date22=this.editReportModel.assetsDate |
| | | let month = parseInt(date.getMonth() + 1) |
| | | if (month===3) { |
| | | this.editformatDate = 'yyyy'+'03-31' |
| | | this.edittypeDate = 'month' |
| | | }else if(month===9){ |
| | | this.editformatDate = 'yyyy'+'09-30' |
| | | this.edittypeDate = 'month' |
| | | }else{ |
| | | this.editformatDate = 'yyyy-MM-dd' |
| | | this.edittypeDate = 'date' |
| | | } |
| | | |
| | | } else { |
| | | let date = this.editReportModel.assetsDate |
| | | let month = parseInt(date.getMonth() + 1) |
| | |
| | | } |
| | | }) |
| | | columns.push({ |
| | | title: '经营金融期末余额(元)', |
| | | title: '经营金融本期金额(元)', |
| | | key: 'BusinessMoney', |
| | | align: 'right', |
| | | minWidth: 200, |
| | |
| | | } |
| | | }) |
| | | columns.push({ |
| | | title: '金融金额期末余额(元)', |
| | | title: '金融金额本期金额(元)', |
| | | key: 'FinancialMoney', |
| | | align: 'right', |
| | | minWidth: 200, |