"use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[6707],{76707:function(t,a,e){e.r(a),e.d(a,{default:function(){return C}});var s=function(){var t=this,a=t._self._c;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ProjectManagementFundDetail"},[a("div",{staticClass:"vfpHeader"},[a("div",{staticClass:"titleOne"},[t._v("预算经费")]),a("el-button",{attrs:{type:"primary"},on:{click:t.back}},[t._v("返回")])],1),a("hr"),a("div",{staticClass:"AppBar"},[a("div",{staticClass:"AppBarActive",on:{click:function(a){t.state=0}}},[t._v("项目资金使用详情"),0==t.state?a("div",{staticClass:"pr1TitBass"}):t._e()]),a("div",{on:{click:function(a){t.state=1}}},[t._v("资金申报明细"),1==t.state?a("div",{staticClass:"pr1TitBass"}):t._e()])]),a("div",{attrs:{id:"ShowArea"}},[0==t.state?a("fundDetail"):t._e(),1==t.state?a("FundDetailList"):t._e()],1)])},r=[],n=(e(57658),function(){var t=this,a=t._self._c;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{id:"fundDetail"}},[a("table",{staticClass:"table",attrs:{border:"1",cellspacing:"0"}},[a("tr",{attrs:{id:"fund"}},[a("td",{ref:"fund",attrs:{rowspan:"12"}},[t._v("实际使用经费")]),a("td",[t._v("总经费")]),a("td",{attrs:{colspan:"5"},domProps:{textContent:t._s(t.total+" 元")}})]),t._m(0),t._m(1),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("小型仪器设备费")]),a("td",{domProps:{textContent:t._s(t.data["device"])}}),a("td",{attrs:{colspan:"2"}},[t._v(" 项目开展所需的小型专用仪器设备、工具、配件购置或租赁费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("材料费")]),a("td",{domProps:{textContent:t._s(t.data["Material"])}}),a("td",{attrs:{colspan:"2"}},[t._v(" 项目开展需消耗的各种原材料、辅助材料等低值易耗品的采购费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("测试化验加工费")]),a("td",{domProps:{textContent:t._s(t.data["processing"])}}),a("td",{attrs:{colspan:"2"}},[t._v(" 项目开展过程中支付给外单位的检验、测试、化验、计算、分析及加工费等费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("项目协作费")]),a("td",{domProps:{textContent:t._s(t.data["Collaboration"])}}),a("td",{attrs:{colspan:"2"}},[t._v(" 按合同规定支付给协作单位的费用 ")])]),t._m(2),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("项目成果鉴定费")]),a("td",{domProps:{textContent:t._s(t.data["APPRAISAL"])}}),a("td",{attrs:{colspan:"2"}},[t._v(" 学术会务费、评审费、鉴定费、成果集制作费等费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("参展参赛费")]),a("td",{domProps:{textContent:t._s(t.data["entery"])}}),a("td",{attrs:{colspan:"2"}},[t._v(" 参加创客展会、竞赛等所需的报名费、展位费、布展费、宣传推广费及差旅费等费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("创客交流活动费")]),a("td",{domProps:{textContent:t._s(t.data["activities"])}}),a("td",{attrs:{colspan:"2"}},[t._v(" 创客交流活动中支付给校外专家的指导费、咨询费、授课费等费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("知识产权事务费")]),a("td",{domProps:{textContent:t._s(t.data["Transaction"])}}),a("td",{attrs:{colspan:"2"}},[t._v(" 论文版面费、专利及其他知识产权事务等费用。 ")])])])])}),l=[function(){var t=this,a=t._self._c;return a("tr",[a("td",[t._v("支出类别")]),a("td",{attrs:{colspan:"2"}},[t._v("支出项目")]),a("td",[t._v("金额(元)")]),a("td",{attrs:{colspan:"4"}},[t._v("备 注")])])},function(){var t=this,a=t._self._c;return a("tr",[a("td",{attrs:{rowspan:"5"}},[t._v("直接费用")])])},function(){var t=this,a=t._self._c;return a("tr",[a("td",{attrs:{rowspan:"5"}},[t._v("间接费用")])])}],i={data(){return{loading:!1,data:{device:"",Material:"",processing:"",Collaboration:"",APPRAISAL:"",entery:"",activities:"",Transaction:""}}},methods:{getData(){if(this.loading)return;this.loading=!0;for(let a in this.data)this.data[a]=0;let t={uid:this.$store.state.userInfo.userid,pid:this.$route.query["pid"]};this.ajax.get(this.$store.state.api+"/getProjectActivityFundIsUseDetail",t).then((t=>{let a=t["data"][0];a.forEach((t=>{if(console.log(t),null==t["actualuse"]|""==t["actualuse"])return;let a=JSON.parse(t["actualuse"]);this.data["device"]+=Number(a["device"]),this.data["Material"]+=Number(a["Material"]),this.data["processing"]+=Number(a["processing"]),this.data["Collaboration"]+=Number(a["Collaboration"]),this.data["APPRAISAL"]+=Number(a["APPRAISAL"]),this.data["entery"]+=Number(a["entery"]),this.data["activities"]+=Number(a["activities"]),this.data["Transaction"]+=Number(a["Transaction"])})),this.loading=!1})).catch((t=>{console.log(t)}))}},computed:{total(){let t=0;for(let a in this.data)t+=Number(this.data[a]);return t}},mounted(){this.getData(),console.log(111)}},o=i,d=e(43736),c=(0,d.Z)(o,n,l,!1,null,"66729462",null),u=c.exports,p=function(){var t=this,a=t._self._c;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"FundDetailList"},[a("el-table",{ref:"multipleTable",staticClass:"fontSize",attrs:{data:t.tableData,"tooltip-effect":"dark",stripe:"","header-cell-style":{background:"#f2f2f2",color:"#000"}}},[a("el-table-column",{attrs:{prop:"fundNo",align:"center",label:"资金编号"}}),a("el-table-column",{attrs:{prop:"title",align:"center",label:"活动名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(" "+t._s(e.row.title?e.row.title:"-")+" ")])]}}])}),a("el-table-column",{attrs:{prop:"pro_leader",align:"center",label:"负责人"}}),a("el-table-column",{attrs:{prop:"name",align:"center",label:"所在部门"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(" "+t._s(e.row.name?e.row.name:"-")+" ")])]}}])}),a("el-table-column",{attrs:{prop:"apply",align:"center",label:"申请经费(元)"}}),a("el-table-column",{attrs:{prop:"isUse",align:"center",label:"实际使用(元)"}}),a("el-table-column",{attrs:{prop:"create_at",align:"center",label:"申请时间"}}),a("el-table-column",{attrs:{prop:"state",align:"center",label:"资金状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(" "+t._s(0==e.row.state?"未审核":"")+" "+t._s(1==e.row.state?"待审核":"")+" "+t._s(2==e.row.state?"已审核":"")+" "+t._s(3==e.row.state?"已报销":"")+" ")])]}}])})],1),a("el-pagination",{staticClass:"paginations",attrs:{"current-page":t.PageData.currentPage,"page-size":t.PageData.packageSize,layout:" prev, pager, next",background:"",total:t.PageData.total},on:{"current-change":t.handleCurrentChange}})],1)},g=[],v={data(){return{tableData:[],loading:!1,PageData:{total:0,packageSize:5,currentPage:1}}},methods:{handleCurrentChange(t){this.PageData.currentPage=t,this.getData()},getData(){if(this.loading)return;this.loading=!0;let t={uid:this.$store.state.userInfo.userid,cid:this.$route.query["pid"],nowPage:this.PageData.currentPage,lim:this.PageData.packageSize};this.ajax.get(this.$store.state.api+"/getProjectActivityAllFund",t).then((t=>{let a=t["data"][0];console.log(a),this.tableData=a,this.PageData.total=t["data"][1][0]["total"],console.log(this.tableData),this.tableData.forEach((t=>{let a=JSON.parse(t["actualuse"]),e=t["applyfund"]?JSON.parse(t["applyfund"]):[],s=0,r=0;for(let n in a)s+=Number(a[n]);for(let n in e)r+=Number(e[n]);t["isUse"]=s,t["apply"]=r})),this.loading=!1}),(t=>{console.log(t)}))}},mounted(){this.getData()}},_=v,h=(0,d.Z)(_,p,g,!1,null,null,null),f=h.exports,m={components:{fundDetail:u,FundDetailList:f},data(){return{state:0,loading:!1}},methods:{back(){this.$router.push("/ProjectManagement")}},mounted(){}},b=m,P=(0,d.Z)(b,s,r,!1,null,null,null),C=P.exports}}]); //# sourceMappingURL=6707.140f3a2a.js.map