(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-155e5c5e"],{"057f":function(t,e,n){var a=n("fc6a"),r=n("241c").f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(t){try{return r(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==i.call(t)?o(t):r(a(t))}},"06c5":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("a630"),n("fb6a"),n("b0c0"),n("d3b7"),n("25f0"),n("3ca3");var a=n("6b75");function r(t,e){if(t){if("string"===typeof t)return Object(a["a"])(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(a["a"])(t,e):void 0}}},"07ac":function(t,e,n){var a=n("23e7"),r=n("6f53").values;a({target:"Object",stat:!0},{values:function(t){return r(t)}})},1364:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-empty",{staticClass:"custom-image",attrs:{image:t.emptyImage,description:t.description}})},r=[],i={data:function(){return{emptyImage:n("377b")}},props:{description:{type:String,default:""}}},s=i,o=(n("9090"),n("2877")),c=Object(o["a"])(s,a,r,!1,null,"ecf5875c",null);e["a"]=c.exports},"25f0":function(t,e,n){"use strict";var a=n("6eeb"),r=n("825a"),i=n("d039"),s=n("ad6d"),o="toString",c=RegExp.prototype,l=c[o],f=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u=l.name!=o;(f||u)&&a(RegExp.prototype,o,(function(){var t=r(this),e=String(t.source),n=t.flags,a=String(void 0===n&&t instanceof RegExp&&!("flags"in c)?s.call(t):n);return"/"+e+"/"+a}),{unsafe:!0})},"287d":function(t,e,n){},2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var a=n("6b75");function r(t){if(Array.isArray(t))return Object(a["a"])(t)}n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0");function i(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}var s=n("06c5");function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(t){return r(t)||i(t)||Object(s["a"])(t)||o()}},"377b":function(t,e,n){t.exports=n.p+"static/img/empty-image.276c05f0.png"},3835:function(t,e,n){"use strict";function a(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return o}));n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0");function r(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],a=!0,r=!1,i=void 0;try{for(var s,o=t[Symbol.iterator]();!(a=(s=o.next()).done);a=!0)if(n.push(s.value),e&&n.length===e)break}catch(c){r=!0,i=c}finally{try{a||null==o["return"]||o["return"]()}finally{if(r)throw i}}return n}}var i=n("06c5");function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(t,e){return a(t)||r(t,e)||Object(i["a"])(t,e)||s()}},"4df4":function(t,e,n){"use strict";var a=n("0366"),r=n("7b0b"),i=n("9bdd"),s=n("e95a"),o=n("50c4"),c=n("8418"),l=n("35a1");t.exports=function(t){var e,n,f,u,d,p,v=r(t),b="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,y=void 0!==m,g=l(v),C=0;if(y&&(m=a(m,h>2?arguments[2]:void 0,2)),void 0==g||b==Array&&s(g))for(e=o(v.length),n=new b(e);e>C;C++)p=y?m(v[C],C):v[C],c(n,C,p);else for(u=g.call(v),d=u.next,n=new b;!(f=d.call(u)).done;C++)p=y?i(u,m,[f.value,C],!0):f.value,c(n,C,p);return n.length=C,n}},5899:function(t,e){t.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},"58a8":function(t,e,n){var a=n("1d80"),r=n("5899"),i="["+r+"]",s=RegExp("^"+i+i+"*"),o=RegExp(i+i+"*$"),c=function(t){return function(e){var n=String(a(e));return 1&t&&(n=n.replace(s,"")),2&t&&(n=n.replace(o,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},"68f2":function(t,e,n){"use strict";n("ad25")},"6b75":function(t,e,n){"use strict";function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}n.d(e,"a",(function(){return a}))},"6f53":function(t,e,n){var a=n("83ab"),r=n("df75"),i=n("fc6a"),s=n("d1e7").f,o=function(t){return function(e){var n,o=i(e),c=r(o),l=c.length,f=0,u=[];while(l>f)n=c[f++],a&&!s.call(o,n)||u.push(t?[n,o[n]]:o[n]);return u}};t.exports={entries:o(!0),values:o(!1)}},"746f":function(t,e,n){var a=n("428f"),r=n("5135"),i=n("e538"),s=n("9bf2").f;t.exports=function(t){var e=a.Symbol||(a.Symbol={});r(e,t)||s(e,t,{value:i.f(t)})}},"7db0":function(t,e,n){"use strict";var a=n("23e7"),r=n("b727").find,i=n("44d2"),s=n("ae40"),o="find",c=!0,l=s(o);o in[]&&Array(1)[o]((function(){c=!1})),a({target:"Array",proto:!0,forced:c||!l},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i(o)},"8c64":function(t,e,n){"use strict";n("287d")},9090:function(t,e,n){"use strict";n("eada")},"9bdd":function(t,e,n){var a=n("825a"),r=n("2a62");t.exports=function(t,e,n,i){try{return i?e(a(n)[0],n[1]):e(n)}catch(s){throw r(t),s}}},a4d3:function(t,e,n){"use strict";var a=n("23e7"),r=n("da84"),i=n("d066"),s=n("c430"),o=n("83ab"),c=n("4930"),l=n("fdbf"),f=n("d039"),u=n("5135"),d=n("e8b5"),p=n("861d"),v=n("825a"),b=n("7b0b"),h=n("fc6a"),m=n("c04e"),y=n("5c6c"),g=n("7c73"),C=n("df75"),S=n("241c"),_=n("057f"),A=n("7418"),I=n("06cf"),w=n("9bf2"),x=n("d1e7"),N=n("9112"),O=n("6eeb"),j=n("5692"),E=n("f772"),$=n("d012"),D=n("90e3"),k=n("b622"),P=n("e538"),T=n("746f"),L=n("d44e"),F=n("69f3"),M=n("b727").forEach,R=E("hidden"),q="Symbol",G="prototype",J=k("toPrimitive"),V=F.set,U=F.getterFor(q),X=Object[G],Y=r.Symbol,z=i("JSON","stringify"),Q=I.f,W=w.f,B=_.f,H=x.f,K=j("symbols"),Z=j("op-symbols"),tt=j("string-to-symbol-registry"),et=j("symbol-to-string-registry"),nt=j("wks"),at=r.QObject,rt=!at||!at[G]||!at[G].findChild,it=o&&f((function(){return 7!=g(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(t,e,n){var a=Q(X,e);a&&delete X[e],W(t,e,n),a&&t!==X&&W(X,e,a)}:W,st=function(t,e){var n=K[t]=g(Y[G]);return V(n,{type:q,tag:t,description:e}),o||(n.description=e),n},ot=l?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Y},ct=function(t,e,n){t===X&&ct(Z,e,n),v(t);var a=m(e,!0);return v(n),u(K,a)?(n.enumerable?(u(t,R)&&t[R][a]&&(t[R][a]=!1),n=g(n,{enumerable:y(0,!1)})):(u(t,R)||W(t,R,y(1,{})),t[R][a]=!0),it(t,a,n)):W(t,a,n)},lt=function(t,e){v(t);var n=h(e),a=C(n).concat(vt(n));return M(a,(function(e){o&&!ut.call(n,e)||ct(t,e,n[e])})),t},ft=function(t,e){return void 0===e?g(t):lt(g(t),e)},ut=function(t){var e=m(t,!0),n=H.call(this,e);return!(this===X&&u(K,e)&&!u(Z,e))&&(!(n||!u(this,e)||!u(K,e)||u(this,R)&&this[R][e])||n)},dt=function(t,e){var n=h(t),a=m(e,!0);if(n!==X||!u(K,a)||u(Z,a)){var r=Q(n,a);return!r||!u(K,a)||u(n,R)&&n[R][a]||(r.enumerable=!0),r}},pt=function(t){var e=B(h(t)),n=[];return M(e,(function(t){u(K,t)||u($,t)||n.push(t)})),n},vt=function(t){var e=t===X,n=B(e?Z:h(t)),a=[];return M(n,(function(t){!u(K,t)||e&&!u(X,t)||a.push(K[t])})),a};if(c||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=D(t),n=function(t){this===X&&n.call(Z,t),u(this,R)&&u(this[R],e)&&(this[R][e]=!1),it(this,e,y(1,t))};return o&&rt&&it(X,e,{configurable:!0,set:n}),st(e,t)},O(Y[G],"toString",(function(){return U(this).tag})),O(Y,"withoutSetter",(function(t){return st(D(t),t)})),x.f=ut,w.f=ct,I.f=dt,S.f=_.f=pt,A.f=vt,P.f=function(t){return st(k(t),t)},o&&(W(Y[G],"description",{configurable:!0,get:function(){return U(this).description}}),s||O(X,"propertyIsEnumerable",ut,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Y}),M(C(nt),(function(t){T(t)})),a({target:q,stat:!0,forced:!c},{for:function(t){var e=String(t);if(u(tt,e))return tt[e];var n=Y(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(u(et,t))return et[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),a({target:"Object",stat:!0,forced:!c,sham:!o},{create:ft,defineProperty:ct,defineProperties:lt,getOwnPropertyDescriptor:dt}),a({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pt,getOwnPropertySymbols:vt}),a({target:"Object",stat:!0,forced:f((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(b(t))}}),z){var bt=!c||f((function(){var t=Y();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))}));a({target:"JSON",stat:!0,forced:bt},{stringify:function(t,e,n){var a,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(a=e,(p(e)||void 0!==t)&&!ot(t))return d(e)||(e=function(t,e){if("function"==typeof a&&(e=a.call(this,t,e)),!ot(e))return e}),r[1]=e,z.apply(null,r)}})}Y[G][J]||N(Y[G],J,Y[G].valueOf),L(Y,q),$[R]=!0},a630:function(t,e,n){var a=n("23e7"),r=n("4df4"),i=n("1c7e"),s=!i((function(t){Array.from(t)}));a({target:"Array",stat:!0,forced:s},{from:r})},a9e3:function(t,e,n){"use strict";var a=n("83ab"),r=n("da84"),i=n("94ca"),s=n("6eeb"),o=n("5135"),c=n("c6b6"),l=n("7156"),f=n("c04e"),u=n("d039"),d=n("7c73"),p=n("241c").f,v=n("06cf").f,b=n("9bf2").f,h=n("58a8").trim,m="Number",y=r[m],g=y.prototype,C=c(d(g))==m,S=function(t){var e,n,a,r,i,s,o,c,l=f(t,!1);if("string"==typeof l&&l.length>2)if(l=h(l),e=l.charCodeAt(0),43===e||45===e){if(n=l.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:a=2,r=49;break;case 79:case 111:a=8,r=55;break;default:return+l}for(i=l.slice(2),s=i.length,o=0;o<s;o++)if(c=i.charCodeAt(o),c<48||c>r)return NaN;return parseInt(i,a)}return+l};if(i(m,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var _,A=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof A&&(C?u((function(){g.valueOf.call(n)})):c(n)!=m)?l(new y(S(e)),n,A):S(e)},I=a?p(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),w=0;I.length>w;w++)o(y,_=I[w])&&!o(A,_)&&b(A,_,v(y,_));A.prototype=g,g.constructor=A,s(r,m,A)}},ad25:function(t,e,n){},b0c0:function(t,e,n){var a=n("83ab"),r=n("9bf2").f,i=Function.prototype,s=i.toString,o=/^\s*function ([^ (]*)/,c="name";a&&!(c in i)&&r(i,c,{configurable:!0,get:function(){try{return s.call(this).match(o)[1]}catch(t){return""}}})},ba4f:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"quotation"},[n("van-tabs",{attrs:{swipeable:""},model:{value:t.tabsActive,callback:function(e){t.tabsActive=e},expression:"tabsActive"}},[n("van-tab",{staticClass:"fill-up",attrs:{title:t.$t("info.314")}},[n("div",{staticClass:"quotation-detail"},[n("my-empty",{attrs:{description:t.$t("info.315")}})],1)]),n("van-tab",{staticClass:"fill-up",attrs:{title:t.$t("info.316")}},[n("div",{staticClass:"material-list"},[n("material-list",{attrs:{panelCodeList:t.panelCodeList,currentCstData:t.cstData}})],1)]),n("van-tab",{staticClass:"fill-up",attrs:{title:t.$t("info.317")}},[n("div",{staticClass:"plate-usage"},[n("my-empty",{attrs:{description:t.$t("info.315")}})],1)])],1)],1)},r=[],i=n("1364"),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-tabs",{attrs:{swipeable:""},model:{value:t.tabActive,callback:function(e){t.tabActive=e},expression:"tabActive"}},[n("van-tab",{staticClass:"fill-up",attrs:{title:t.$t("info.13")}},[n("ul",{staticClass:"listTitle"},[n("li",{staticClass:"name"},[t._v(t._s(t.$t("info.5")))]),n("li",{staticClass:"color"},[t._v(t._s(t.$t("info.6")))]),n("li",{staticClass:"width"},[t._v(t._s(t.$t("info.7")))]),n("li",{staticClass:"height"},[t._v(t._s(t.$t("info.8")))]),n("li",{staticClass:"depth"},[t._v(t._s(t.$t("info.9")))])]),n("div",{staticClass:"listContent"},[n("van-collapse",{model:{value:t.collapseActive,callback:function(e){t.collapseActive=e},expression:"collapseActive"}},t._l(t.panelData,(function(e){return n("van-collapse-item",{key:e.CstIndex,attrs:{title:e.CstName?e.CstName:t.$t("info.10")+e.CstIndex,name:e.CstIndex}},[n("ul",{staticClass:"panelList"},t._l(e.list,(function(e,a){return n("li",{key:a},[n("span",{staticClass:"name"},[t._v(t._s(e.Name))]),n("span",{staticClass:"color"},[t._v(t._s(e.Material))]),n("span",{staticClass:"width"},[t._v(t._s(e.width))]),n("span",{staticClass:"height"},[t._v(t._s(e.height))]),n("span",{staticClass:"depth"},[t._v(t._s(e.depth))])])})),0)])})),1),0===t.panelData.length?n("my-empty",{attrs:{description:t.$t("info.315")}}):t._e()],1)]),n("van-tab",{staticClass:"fill-up",attrs:{title:t.$t("info.67")}},[n("ul",{staticClass:"listTitle"},[n("li",{staticClass:"hardwareName"},[t._v(t._s(t.$t("info.5")))]),n("li",{staticClass:"model"},[t._v(t._s(t.$t("info.14")))]),n("li",{staticClass:"qty"},[t._v(t._s(t.$t("info.15")))])]),n("div",{staticClass:"listContent"},[n("van-collapse",{model:{value:t.collapseActive2,callback:function(e){t.collapseActive2=e},expression:"collapseActive2"}},t._l(t.cstData,(function(e){return n("van-collapse-item",{key:e.CstIndex,attrs:{title:e.CstName?e.CstName:t.$t("info.16")+e.CstIndex,name:e.CstIndex}},[n("ul",{staticClass:"panelList"},t._l(e.list,(function(e,a){return n("li",{key:a},[n("span",{staticClass:"hardwareName"},[t._v(t._s(e.Name))]),n("span",{staticClass:"model"},[t._v(t._s(e.Spec))]),n("span",{staticClass:"qty"},[t._v(t._s(e.Count))])])})),0)])})),1),0===t.cstData.length?n("my-empty",{attrs:{description:t.$t("info.315")}}):t._e()],1)])],1)},o=[],c=(n("99af"),n("7db0"),n("4160"),n("a9e3"),n("07ac"),n("ac1f"),n("1276"),n("159b"),n("2909")),l=n("3835"),f={data:function(){return{tabActive:0,collapseActive:[],collapseActive2:[],cstName:"",panelData:[],cstData:[]}},props:{currentCstData:{type:Object},panelCodeList:{type:Array,default:function(){return[]}}},components:{"my-empty":i["a"]},mounted:function(){this.initMaterialData()},methods:{initMaterialData:function(){var t=this;if(0!==Object.values(this.currentCstData).length){var e=this.currentCstData,n=e.Name,a=e.Panel,r=e.Ironware,i=e.AlumStrip,s=e.Glass;this.cstName=n;var o=[],f={};a.forEach((function(e){var n=t.panelCodeList.find((function(t){return t.shortid===e.Id}));if(n&&n.code){e.Code=n.code;var a=n.code.substring(n.code.length-3,n.code.length);e.panelNumber=String(Number(a))}var r=e.Size.split("*"),i=Object(l["a"])(r,3),s=i[0],c=i[1],u=i[2];if(e.width=s,e.height=c,e.depth=u,f[e.CstIndex])o.forEach((function(t){t.CstIndex===e.CstIndex&&t.list.push(e)}));else{t.collapseActive.push(e.CstIndex);var d={CstName:e.CstName,CstIndex:e.CstIndex,list:[e]};o.push(d),f[e.CstIndex]=e.CstIndex}})),o.forEach((function(t){t.list.sort((function(t,e){return t.panelNumber-e.panelNumber}))})),this.panelData=[].concat(o),!r&&(r=[]),!i&&(i=[]),!s&&(s=[]);var u=[].concat(Object(c["a"])(r),Object(c["a"])(i),Object(c["a"])(s)),d=[],p={};u.forEach((function(e){if(p[e.CstIndex])d.forEach((function(t){t.CstIndex===e.CstIndex&&t.list.push(e)}));else{t.collapseActive2.push(e.CstIndex);var n={CstName:e.CstName,CstIndex:e.CstIndex,list:[e]};d.push(n),p[e.CstIndex]=e.CstIndex}})),this.cstData=[].concat(d)}}}},u=f,d=(n("68f2"),n("2877")),p=Object(d["a"])(u,s,o,!1,null,"173dced6",null),v=p.exports,b={data:function(){return{tabsActive:0,cstData:{},panelCodeList:[]}},components:{"my-empty":i["a"],"material-list":v},mounted:function(){}},h=b,m=(n("8c64"),Object(d["a"])(h,a,r,!1,null,"49583610",null));e["default"]=m.exports},d28b:function(t,e,n){var a=n("746f");a("iterator")},e01a:function(t,e,n){"use strict";var a=n("23e7"),r=n("83ab"),i=n("da84"),s=n("5135"),o=n("861d"),c=n("9bf2").f,l=n("e893"),f=i.Symbol;if(r&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var u={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new f(t):void 0===t?f():f(t);return""===t&&(u[e]=!0),e};l(d,f);var p=d.prototype=f.prototype;p.constructor=d;var v=p.toString,b="Symbol(test)"==String(f("test")),h=/^Symbol\((.*)\)[^)]+$/;c(p,"description",{configurable:!0,get:function(){var t=o(this)?this.valueOf():this,e=v.call(t);if(s(u,t))return"";var n=b?e.slice(7,-1):e.replace(h,"$1");return""===n?void 0:n}}),a({global:!0,forced:!0},{Symbol:d})}},e538:function(t,e,n){var a=n("b622");e.f=a},eada:function(t,e,n){},fb6a:function(t,e,n){"use strict";var a=n("23e7"),r=n("861d"),i=n("e8b5"),s=n("23cb"),o=n("50c4"),c=n("fc6a"),l=n("8418"),f=n("b622"),u=n("1dde"),d=n("ae40"),p=u("slice"),v=d("slice",{ACCESSORS:!0,0:0,1:2}),b=f("species"),h=[].slice,m=Math.max;a({target:"Array",proto:!0,forced:!p||!v},{slice:function(t,e){var n,a,f,u=c(this),d=o(u.length),p=s(t,d),v=s(void 0===e?d:e,d);if(i(u)&&(n=u.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[b],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return h.call(u,p,v);for(a=new(void 0===n?Array:n)(m(v-p,0)),f=0;p<v;p++,f++)p in u&&l(a,f,u[p]);return a.length=f,a}})}}]);