(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b3a4a"],{"28f4":function(e,t,l){"use strict";l.r(t);var a=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("碳资产管理")]),t("el-breadcrumb-item",[e._v("履约管理")])],1),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:"center"}},[t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{label:"年度:"}},[t("el-date-picker",{attrs:{size:"mini",format:"yyyy-MM-dd",type:"date",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",{attrs:{span:6}},[t("el-form-item",{attrs:{label:"履约数量:"}},[t("el-input",{attrs:{size:"mini",placeholder:"请输入履约数量"},model:{value:e.form.number,callback:function(t){e.$set(e.form,"number",t)},expression:"form.number"}})],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("查询")])],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(l,a){return[l.template?e._e():t("el-table-column",{key:l.k,attrs:{align:"center",label:l.label,prop:l.prop,width:l.width,"column-key":l.columnKey,filters:l.filters,formatter:l.format,type:l.type,"filter-method":l.filterMethod}}),"actionBar"==l.prop?t("el-table-column",{key:a,attrs:{align:"center",label:l.label,prop:l.prop,width:l.width},scopedSlots:e._u([{key:"default",fn:function(l){return[t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.toEdit(l.row)}}},[e._v("编辑")])]}}],null,!0)}):e._e()]}))],2),t("el-pagination",{staticClass:"postop",staticStyle:{float:"right"},attrs:{"current-page":e.currentPage4,"page-sizes":[10,30,50,100],"page-size":1,layout:"total, sizes, prev, pager, next, jumper",total:e.tableData.length},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),t("newadd",{ref:"add",attrs:{dialogVisible:e.dialogVisibled}})],1)},r=[],o=function(){var e=this,t=e._self._c;return t("div",[t("alldialog",{ref:"allDialog",attrs:{title:"新增履约管理"}},[t("el-card",[t("el-form",{attrs:{model:e.form,"label-width":"120px"}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"登记日期:"}},[t("el-date-picker",{staticStyle:{width:"50%"},attrs:{size:"mini",format:"yyyy-MM-dd",type:"date",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:12}},[t("el-form-item",{attrs:{label:"企业名称:"}},[t("el-input",{staticStyle:{width:"50%"},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",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"所属行业:"}},[t("el-input",{staticStyle:{width:"50%"},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",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"履约方式:"}},[t("el-select",{staticStyle:{width:"50%"},attrs:{placeholder:"请选择履约方式",size:"mini"},model:{value:e.form.numberType,callback:function(t){e.$set(e.form,"numberType",t)},expression:"form.numberType"}},e._l(e.options,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"现有配额数量(t):"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{disabled:"",size:"mini",placeholder:"请输入配额数量"},model:{value:e.form.actionNumber,callback:function(t){e.$set(e.form,"actionNumber",t)},expression:"form.actionNumber"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"外购配额数量(t):"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{disabled:"",size:"mini",placeholder:"请输入配额数量"},model:{value:e.form.actionNumber2,callback:function(t){e.$set(e.form,"actionNumber2",t)},expression:"form.actionNumber2"}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"现有CCER量(t):"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{disabled:"",size:"mini",placeholder:"请输入现有CCER量"},model:{value:e.form.number1,callback:function(t){e.$set(e.form,"number1",t)},expression:"form.number1"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"外购CCER量(t):"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{disabled:"",size:"mini",placeholder:"请输入外购CCER量"},model:{value:e.form.number2,callback:function(t){e.$set(e.form,"number2",t)},expression:"form.number2"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"预计购买费用(万元):"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{size:"mini",placeholder:"请输入预计购买费用"},model:{value:e.form.money,callback:function(t){e.$set(e.form,"money",t)},expression:"form.money"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"详情描述:"}},[t("el-input",{staticStyle:{width:"80%"},attrs:{type:"textarea",rows:"2",size:"mini",placeholder:"请输入详情描述"},model:{value:e.form.detile,callback:function(t){e.$set(e.form,"detile",t)},expression:"form.detile"}})],1)],1)],1)],1)],1)],1)],1)},i=[],s={data(){return{visible:!1,form:{actionNumber:"2025",actionNumber2:"1562",number1:"2133",number2:"255"},options:[{value:"配额履约",label:"配额履约"},{value:"CCER履约",label:"CCER履约"},{value:"配额+CCER履约",label:"配额+CCER履约"}],propertys:[{value:"1",label:"配额-注销"},{value:"2",label:"CCER-注销"},{value:"3",label:"今年分配配额"},{value:"4",label:"碳交易-购入"},{value:"5",label:"碳交易-售出"},{value:"6",label:"CCER-售出"},{value:"7",label:"CCER-购入"},{value:"8",label:"CCER-售出"},{value:"9",label:"配额-履约"},{value:"10",label:"CCER-履约"},{value:"11",label:"碳中和"}]}},methods:{show(e){this.$refs.allDialog.showDialog(),e&&(this.form=e,this.form.actionNumber="2025",this.form.actionNumber2="1562",this.form.number1="2133",this.form.number2="255")}}},n=s,m=l("1805"),c=Object(m["a"])(n,o,i,!1,null,"b6a5aa5a",null),u=c.exports,b={components:{newadd:u},data(){return{currentPage4:1,dialogVisibled:!1,propertys:[{value:"1",label:"配额-注销"},{value:"2",label:"CCER-注销"},{value:"3",label:"今年分配配额"},{value:"4",label:"碳交易-购入"},{value:"5",label:"碳交易-售出"},{value:"6",label:"CCER-售出"},{value:"7",label:"CCER-购入"},{value:"8",label:"CCER-售出"},{value:"9",label:"配额-履约"},{value:"10",label:"CCER-履约"},{value:"11",label:"碳中和"}],colums:[{width:"100px",type:"index",label:"序号"},{width:"160px",prop:"date",label:"年度"},{width:"190px",prop:"name",label:"企业名称"},{prop:"trade",label:"所属行业"},{prop:"actionNumber",label:"配额数量"},{width:"160px",prop:"number",label:"履约数量"},{prop:"numberStopTime",label:"履约截止时间"},{prop:"numberType",label:"履约方式"},{prop:"actionBar",label:"操作",template:!0,width:"140px"}],tableData:[{date:"2022",name:"乌海能源有限责任公司",trade:"化工生产企业",divisor:"CO2",actionNumber:"69546",number:"36825",isActionNumber:"否",numberTime:"--",numberStopTime:"2023-04-15",numberType:"配额履约",id:"123"}],form:{}}},methods:{toEdit(e){this.$refs["add"].show(e)},getPropertyList(){},add(e){this.$refs["add"].show(e)},handleSizeChange(e){console.log(`每页 ${e} 条`)},handleCurrentChange(e){console.log("当前页: "+e)}}},p=b,d=Object(m["a"])(p,a,r,!1,null,"e936a91c",null);t["default"]=d.exports}}]);