(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6279ca32"],{"620f":function(r,a,n){"use strict";var o=n("f2c8");n.n(o).a},a3ed:function(r,a,n){"use strict";n.r(a);var o=(n("4de4"),n("4160"),n("b64b"),n("159b"),n("96cf"),n("1da1")),e=n("d9b4"),p={name:"",components:{},data:function(){return{onlyDiff:!1,proInfo:[],proParmas:[],propInfo:[{prop:"productFactory",label:"厂商"},{prop:"productType",label:"产品类型"},{prop:"productCode",label:"系列码"},{prop:"productNumber",label:"产品品号"},{prop:"bookNumber",label:"订货号"},{prop:"productDesc",label:"产品说明"}],propParams:[],propParamsObj:{}}},filters:{},computed:{},watch:{},methods:{queryPKList:function(){var r=this;return Object(o.a)(regeneratorRuntime.mark((function a(){var n,o,p;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Object(e.h)({productIds:r.$route.query.ids});case 2:return n=a.sent,o=n.data,r.proInfo=o.filter((function(r){return r&&r.id})),p=[],r.proInfo.forEach((function(r){var a={};r.paramEntityList.forEach((function(r){[r.paramType]in a||(a[r.paramType]={}),a[r.paramType][r.paramName]=r.productValue||"—"})),p.push(a)})),r.proParmas=p,a.next=10,r.$store.dispatch("dinkle/SYNC_PARAM_LIST");case 10:r.propParamsObj=a.sent,r.propParams=Object.keys(r.propParamsObj);case 12:case"end":return a.stop()}}),a)})))()}},created:function(){this.queryPKList()}},t=(n("620f"),n("2877")),s=Object(t.a)(p,(function(){var r=this,a=r.$createElement,n=r._self._c||a;return n("div",{staticClass:"main"},[n("div",{staticClass:"main-top"},[n("q-toggle",{attrs:{color:"negative","left-label":"",label:"仅看差异",dense:""},model:{value:r.onlyDiff,callback:function(a){r.onlyDiff=a},expression:"onlyDiff"}}),r._m(0)],1),n("div",{staticClass:"main-info"},r._l(r.propInfo,(function(a){return n("p",{key:a.prop},[n("span",[r._v(r._s(a.label)+" ")]),r._l(r.proInfo,(function(o,e){return n("span",{directives:[{name:"show",rawName:"v-show",value:!r.proInfo[e-1]||!r.onlyDiff||r.proInfo[e-1][a.prop]!=o[a.prop]|r.fmtOnlyDiff,expression:"\n          !proInfo[idx - 1] ||\n            !onlyDiff ||\n            (proInfo[idx - 1][prop.prop] != info[prop.prop]) | fmtOnlyDiff\n        "}],key:o.id},[r._v(" "+r._s(o[a.prop]))])}))],2)})),0),n("div",{staticClass:"main-bottom"},r._l(r.propParams,(function(a){return n("div",{key:a,staticClass:"main-info main-params"},[n("div",[r._v(r._s(a))]),r._l(r.propParamsObj[a],(function(o){return n("p",{key:o},[n("span",[r._v(r._s(o))]),r._l(r.proParmas,(function(e,p){return n("span",{directives:[{name:"show",rawName:"v-show",value:!r.proParmas[p-1]||!r.onlyDiff||r.proParmas[p-1][a][o]!=e[a][o],expression:"\n            !proParmas[idx - 1] ||\n              !onlyDiff ||\n              proParmas[idx - 1][prop][params] != pro[prop][params]\n          "}],key:p},[r._v(" "+r._s(e[a]?e[a][o]:"—")+" ")])}))],2)}))],2)})),0)])}),[function(){var r=this,a=r.$createElement,n=r._self._c||a;return n("div",[n("p"),n("span",[r._v("表示参数优势 ")])])}],!1,null,"727e3ce5",null);a.default=s.exports},f2c8:function(r,a,n){}}]);