(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c035d"],{"418b":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e._self._c;return t("div",[t("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[e._v("首页")]),t("el-breadcrumb-item",[e._v("交易申请")])],1),t("el-card",{staticClass:"box-card"},[t("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"待审批",name:"first"}},[t("el-form",{attrs:{model:e.form,"label-width":"100px"}},[t("el-card",{staticClass:"box-card",staticStyle:{height:"80px"}},[t("el-row",{staticClass:"row-bg",attrs:{gutter:20,type:"flex",justify:"space-between"}},[t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{label:"申请时间:"}},[t("el-date-picker",{attrs:{type:"date",size:"mini",format:"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.form.date,callback:function(t){e.$set(e.form,"date",t)},expression:"form.date"}})],1)],1),t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{label:"企业名称:"}},[t("el-input",{attrs:{size:"mini",placeholder:"请输入企业名称"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),t("el-col",{staticStyle:{margin:"5px"},attrs:{span:4}},[t("el-divider",{attrs:{direction:"vertical"}}),t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.getPropertyList}},[e._v("查询")]),t("el-button",{attrs:{size:"mini"},on:{click:e.add}},[e._v("新增")])],1)],1)],1)],1),t("el-card",{staticClass:"box-heard"},[t("alltitle",{attrs:{msg:"交易申请列表"}}),t("el-table",{staticStyle:{width:"100%","margin-top":"10px"},attrs:{border:"",stripe:!0,data:e.tableData}},[e._l(e.colums,(function(a,l){return[a.template?e._e():t("el-table-column",{key:a.k,attrs:{align:"center",label:a.label,prop:a.prop,width:a.width,"column-key":a.columnKey,filters:a.filters,formatter:a.format,type:a.type,"filter-method":a.filterMethod,"show-overflow-tooltip":!0}}),"actionBar"==a.prop?t("el-table-column",{key:l,attrs:{align:"center",label:a.label,prop:a.prop,width:a.width},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.remove(a.row)}}},[e._v("删除")]),t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.toEdit(a.row)}}},[e._v("编辑")])]}}],null,!0)}):e._e()]}))],2),t("el-pagination",{staticClass:"postop",staticStyle:{float:"right"},attrs:{"current-page":e.currentPage4,"page-sizes":[10,20,50,100],"page-size":1,layout:"total, sizes, prev, pager, next, jumper",total:e.tableData1.length},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1),t("el-tab-pane",{attrs:{label:"已审批",name:"second"}},[t("el-form",{attrs:{model:e.form,"label-width":"100px"}},[t("el-card",{staticClass:"box-card",staticStyle:{height:"80px"}},[t("el-row",{staticClass:"row-bg",attrs:{gutter:20,type:"flex",justify:"space-between"}},[t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{label:"因子名称:"}},[t("el-input",{attrs:{size:"mini",placeholder:"请输入因子名称"},model:{value:e.form.divisorName,callback:function(t){e.$set(e.form,"divisorName",t)},expression:"form.divisorName"}})],1)],1),t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{label:"适用行业:"}},[t("el-input",{attrs:{size:"mini",placeholder:"请输入适用行业"},model:{value:e.form.trade,callback:function(t){e.$set(e.form,"trade",t)},expression:"form.trade"}})],1)],1),t("el-col",{staticStyle:{margin:"5px"},attrs:{span:4}},[t("el-divider",{attrs:{direction:"vertical"}}),t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.getPropertyList}},[e._v("查询")]),t("el-button",{attrs:{size:"mini"},on:{click:e.add}},[e._v("新增")])],1)],1)],1)],1),t("el-card",{staticClass:"box-heard"},[t("alltitle",{attrs:{msg:"交易申请列表"}}),t("el-table",{staticStyle:{width:"100%","margin-top":"10px"},attrs:{border:"",stripe:!0,data:e.tableData}},[e._l(e.colums,(function(a,l){return[a.template?e._e():t("el-table-column",{key:l,attrs:{align:"center",label:a.label,prop:a.prop,width:a.width,"column-key":a.columnKey,filters:a.filters,formatter:a.format,type:a.type,"filter-method":a.filterMethod,"show-overflow-tooltip":!0}})]}))],2),t("el-pagination",{staticClass:"postop",staticStyle:{float:"right"},attrs:{"current-page":e.currentPage4,"page-sizes":[10,20,50,100],"page-size":1,layout:"total, sizes, prev, pager, next, jumper",total:e.tableData1.length},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)],1)],1)],1)},r=[],o=(a("fcd3"),{watch:{activeName(e){this.tableData="activeName"==e?this.tableData:this.tableData1}},data(){return{currentPage4:1,activeName:"first",propertys:[{value:"1",label:"二氧化碳"},{value:"2",label:"甲烷"},{value:"3",label:"氧化亚氮"},{value:"4",label:"氢氟碳化物"},{value:"5",label:"全氟碳化物"},{value:"6",label:"六氟化硫"},{value:"7",label:"三氟化硫"},{value:"8",label:"水泥"}],colums:[{width:"100px",type:"index",label:"序号"},{prop:"date",label:"申请时间"},{prop:"name",label:"企业名称"},{prop:"money",label:"配额数量(吨)"},{prop:"condition",label:"履约数量(吨)"},{prop:"energy",label:"CCER持有量(吨)"},{prop:"model",label:"交易模式"},{prop:"status",label:"状态"},{prop:"actionBar",label:"操作",template:!0,width:"140px"}],tableData:[{date:"2022-02-26",name:"乌海能源有限责任公司",money:"69546",equipment:"36825",condition:"36825",energy:"1500.54",emission:"25200",model:"碳配额置换",status:"待审批"}],tableData1:[],form:{}}},methods:{handleSizeChange(e){console.log(`每页 ${e} 条`)},handleCurrentChange(e){console.log("当前页: "+e)},toEdit(e){this.$router.push({path:"/carbonExamineApprove",query:{row:e,disable:!0,show:!1}})},getPropertyList(){},add(e){this.$router.push({path:"/carbonExamineApprove",query:{row:e,disable:!1,show:!1}})}}}),i=o,s=a("1805"),n=Object(s["a"])(i,l,r,!1,null,"09ee7139",null);t["default"]=n.exports}}]);