(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0aa146fd"],{"391e":function(e,t,n){"use strict";var r=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)},i=[],a=n("6db5"),o=a["a"],c=n("2877"),s=Object(c["a"])(o,r,i,!1,null,null,null);t["a"]=s.exports},"560c":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var r=t.adjustHeight;return[n("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,metaName:"product_info",modelName:"product",packageName:"product",tblheight:r-120,isMulti:"",refvalidatemethod:e.validmethod,savebefore:e.beforesave,editbefore:e.beforedit,addbefore:e.beforeadd,noExpandAuth:""},on:{onexec:e.onexec,oninitbtn:e.oninitbtn,postformsave:e.postformsave}})]}}])})},i=[],a=(n("ac6a"),n("7f7f"),n("c5f6"),n("06d3")),o=n("391e"),c=(n("60b7"),{name:"appinfo_page",data:function(){return{}},components:{PageSpace:o["a"],BizTable:a["a"]},methods:{oninitbtn:function(e,t){},beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t,n){return t({value:!0,message:null})},beforesave:function(e,t,n){return n(t)},onexec:function(e,t){},validmethod:function(e,t,n){return n()},formatCol:function(e,t,n){if("isEnabled"==t){var r=e["isEnabled"]?"已上架":"待上架";return e["isEnabled"]?'<span style="color:green">'.concat(r,"</span>"):'<span style="color:orange">'.concat(r,"</span>")}if("deliverfile"==t){var i=e["deliverfile"];return"<img src='".concat(i,"' style='height:40px'>")}if("extrafile"==t){var a=e["extrafile"];return"<img src='".concat(a,"' style='height:40px'>")}if("lowpriceref"==t)return e["lowpriceref"]=Number(e["lowpriceref"]),"".concat(e["lowpriceref"]);if("hignpriceref"==t)return e["hignpriceref"]=Number(e["hignpriceref"]),"".concat(e["hignpriceref"]);if("pname"==t)return e.pname=e.product.name,e.product.name;if("strategyitems"==t)return e.strategyitems=e.pricestrategy.optionunion,e.pricestrategy.optionunion;if("code"==t){var o=[];return e.skus.forEach((function(e){o.push(e.pricestrategy_id)})),e.sts=o,e["code"]}},postformsave:function(e){var t=[];e.skus.forEach((function(e){t.push(e.pricestrategy_id)})),e.sts=t}}}),s=c,f=n("2877"),u=Object(f["a"])(s,r,i,!1,null,null,null);t["default"]=u.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"),r=n.get()[0],i=window.innerHeight-r.offsetTop-t.advalue;t.frameHeight=i,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,n("1157"))}}]);