(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-22331440"],{"03c1":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var a=t.adjustHeight;return[n("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,tblheight:a-120,metaName:"pricecatinfo_info",modelName:"pricecat",packageName:"product",isMulti:"",savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd},on:{onexec:e.onexec}})]}}])})},o=[],r=n("7e1e"),i=n("06d3"),s=n("923a"),c=n("391e"),u=n("a026"),l={name:"productcat_page",data:function(){return{currentRow:null,tags:""}},components:{BizTable:i["a"],PageSpace:c["a"]},methods:{beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,n){return n(t)},onexec:function(e){var t=this;if("makestragetys"==e){var n=this.$refs.bt.currentSels;0==n.length?this.$Modal.warning({title:"提示",content:"请选择要参与生成定价策略的定价类型."}):Object(r["K"])("/web/product/pricecatCtl/buildPriceStrategy",{pricetypes:n}).then((function(e){var n=e.data;0==n.status?t.$Message.success("定价策略生成成功."):t.$Message.error("定价策略生成失败.")}))}},formatCol:function(e,t,n){if(console.log(t,".........................."),"options"==t){this.currentRow=e,this.tags=e["options"];var a='<Tags   :currow=\'currentRow\'  v-model="tags"  :ishideadd="true" @change="ch"></Tags>',o=Object.assign({},this.$data),r=u["default"].extend({components:{Tags:s["a"]},template:"<div>".concat(a,"</div>"),data:function(){return o},methods:{testok:function(){console.log("test.....................................")},ch:function(e,t){console.log(e,t)}}}),i=(new r).$mount().$el;return i}return e[t]}}},f=l,d=n("2877"),h=Object(d["a"])(f,a,o,!1,null,null,null);t["default"]=h.exports},"391e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{width:"100%"},attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},o=[],r=n("6db5"),i=r["a"],s=n("2877"),c=Object(s["a"])(i,a,o,!1,null,null,null);t["a"]=c.exports},"6db5":function(e,t,n){"use strict";(function(e){n("c5f6");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var n=e("#framediv"),a=n.get()[0],o=window.innerHeight-a.offsetTop-t.advalue;t.frameHeight=o,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("1157"))}}]);