(window.webpackJsonp=window.webpackJsonp||[]).push([[61],{603:function(t,e,l){t.exports={}},649:function(t,e,l){"use strict";l(603)},728:function(t,e,l){"use strict";l.r(e);var r={props:{tableData:{type:Array,default:[]},tableColumns:{type:Array,default:[]},operateWith:{type:String,default:"100%"},selectionShow:{type:Boolean,default:!1},handleShow:{type:Boolean,default:!1}},methods:{saveUnitData:function(t,e){this.tableData[e]=t,localStorage.setItem("unit",JSON.stringify(this.tableData))}}},o=(l(649),l(22)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",[e("p",{staticClass:"tb-title"},[t._v("Markup %")]),t._v(" "),e("el-table",{ref:"elTable",style:{width:t.operateWith},attrs:{border:"",data:t.tableData,"highlight-current-row":!1,"header-cell-style":{backgroundColor:"#fff",color:"#606266",fontWeight:500,fontSize:"16px"}}},[t._l(t.tableColumns,(function(l){return[l.isText?e("el-table-column",{key:l.prop,attrs:{align:"center",prop:l.prop,label:l.label,formatter:l.formatter,width:l.width,sortable:l.sortable}}):t._e(),t._v(" "),l.isText?t._e():e("el-table-column",{key:l.prop,attrs:{prop:l.prop,label:l.label,formatter:l.formatter,width:l.width,align:l.align?l.align:"center",sortable:l.sortable},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row,n=r.$index;return[e("el-input",{staticClass:"edit-input",attrs:{size:"small",type:"number",min:"0"},on:{input:function(e){return t.saveUnitData(o,n)}},model:{value:o[l.prop],callback:function(e){t.$set(o,l.prop,e)},expression:"row[item.prop]"}})]}}],null,!0)})]}))],2)],1)}),[],!1,null,"931e8840",null);e.default=component.exports}}]);
//# sourceMappingURL=c0a1757.js.map