1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{0:function(e,t){},"00bc":function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("c740"),n("d3b7"),n("159b"),n("1b69")),o="abutment/",r=function(e,t){return Object(a.a)(o+"goldLinst",e,"post",t)},s={name:"SearchMetalKind",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled","type","names"],data:function(){return{options:[],selectLoading:!1,valuess:"",formValue:{start:"",end:"",creater:"",status:"",type_cn:""}}},watch:{value:function(e,t){this.valuess=e,this.isDetail&&this.remoteMethod()},isDetail:function(e,t){e&&this.remoteMethod()}},mounted:function(){this.options=[],this.selectLoading=!1,this.remoteMethod()},methods:{selectChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:-1!==(i=t.options.findIndex((function(t){return t.type===e})))?(i={id:t.options[i].type,code:t.options[i].type,label:t.options[i].type_cn},t.$emit("searchChange",i)):t.$emit("searchChange",{});case 3:case"end":return n.stop()}}),n)})))()},remoteMethod:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.selectLoading=!0,e.options=[],t.next=4,r(e.formValue);case 4:return n=t.sent,t.next=7,e.useResHandle(n);case 7:n=t.sent,i=n.code,a=n.data,n.message,0===i?(e.options=a,e.options.forEach((function(e){e.type+=""}))):e.options=[],e.selectLoading=!1;case 13:case"end":return t.stop()}}),t)})))()}}};n=n("2877"),n=Object(n.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"",clearable:"","reserve-keyword":"",size:e.size||"medium",placeholder:e.placeholder||"",disabled:e.disabled,loading:e.selectLoading},on:{change:e.selectChange},model:{value:e.valuess,callback:function(t){e.valuess=t},expression:"valuess"}},e._l(e.options,(function(e,t){return n("el-option",{key:e.type+t+"spec",attrs:{label:e.type_cn,value:e.type}})})),1)}),[],!1,null,null,null);t.default=n.exports},"0316":function(e,t,n){"use strict";n("f0d4")},"044a":function(e,t,n){"use strict";n.r(t),n("4d63"),n("ac1f"),n("2c3e"),n("25f0"),n("00b4"),n("99af");var i={name:"numberRange",props:["title","lower","online","disabled","size","width"],data:function(){return{}},mounted:function(){},methods:{accountInput:function(e,t){for(var n=new RegExp("[0-9]+"),i=e.length,a="",o=0;o<i;o++)n.test(e[o])&&(a+=e[o]);1===t?this.lower=a:this.online=a},numChange:function(){""!==this.lower&&null!==this.lower&&""!==this.online&&null!==this.online&&parseInt(this.online)-parseInt(this.lower)<=0&&(this.$message.error("".concat(this.title,"上限应大于").concat(this.title,"下限!")),this.lower="",this.online=""),this.numReturned()},numReturned:function(){this.$emit("numReturned",{lower:null==this.lower?"":this.lower,online:null==this.online?"":this.online})}}};n("55ef"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"fl ageInput"},[t("el-input",{style:{width:e.width||"170px"},attrs:{type:"number",size:e.size||"medium",placeholder:e.title+"下限"},on:{change:function(t){return e.numChange()},input:function(t){return e.accountInput(t,1)}},model:{value:e.lower,callback:function(t){e.lower=t},expression:"lower"}}),t("samp",{staticStyle:{padding:"0 3px",margin:"0"}},[e._v("至")]),t("el-input",{style:{width:e.width||"170px"},attrs:{type:"number",size:e.size||"medium",placeholder:e.title+"上限"},on:{input:function(t){return e.accountInput(t,2)},change:function(t){return e.numChange()}},model:{value:e.online,callback:function(t){e.online=t},expression:"online"}})],1)}),[],!1,null,null,null);t.default=n.exports},"0781":function(e,t,n){"use strict";n.r(t);var i=n("24ab"),a=(i=n.n(i),n("83d6")),o=(n=n.n(a),a=n.a.showSettings,n.a.tagsView),r=n.a.fixedHeader;n=n.a.sidebarLogo,i={theme:i.a.theme,showSettings:a,tagsView:o,fixedHeader:r,sidebarLogo:n};t.default={namespaced:!0,state:i,mutations:{CHANGE_SETTING:function(e,t){var n=t.key;t=t.value;e.hasOwnProperty(n)&&(e[n]=t)}},actions:{changeSetting:function(e,t){(0,e.commit)("CHANGE_SETTING",t)}}}},"082a":function(e,t,n){"use strict";n.r(t);var i=n("53ca"),a=(n("d3b7"),n("159b"),n("ddb0"),n("2ca0"),n("b0c0"),n("4de4"),n("fb6a"),n("82f2")),o=[];a.keys().forEach((function(e){e.startsWith("./index")||e.startsWith("./request")||(e=a(e),o.push(e.default||e))})),t.default={install:function(e){o.forEach((function(t){if("function"==typeof t)e.prototype["$"+t.name]=t;else if("object"===Object(i.a)(t))for(var n in t)e.prototype["$"+n]=t[n]})),e.filter("ellipsis",(function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:25;return e?e.length>t?e.slice(0,t)+"...":e:""}))}}},"0ced":function(e,t,n){"use strict";n.r(t),n("d3b7"),n("ddb0"),n("25f0"),n("ac1f"),n("1276"),n("a9e3"),n("5319");var i={name:"digitalInput",props:["values","min","max","step","precision","size","append","name","disabled","controls","newTime","placeholder","position"],watch:{values:function(e){this.num=e},newTime:function(e){e&&(this.num=this.values,this.$emit("reschange",this.num))},min:function(e){e=this.accMul(e,"1");var t=this.accMul(this.num,"1");t<=e&&(this.num=e+"",this.$emit("reschange",this.num))},max:function(e){e=this.accMul(e,"1");var t=this.accMul(this.num,"1");e<=t&&(this.num=e+"",this.$emit("reschange",this.num))}},data:function(){return{num:0,loading:!1}},methods:{handleChange:function(e){this.$emit("reschange",this.num)},accMul:function(e,t){var n=0;e=e.toString(),t=t.toString();try{n+=e.split(".")[1].length}catch(e){}try{n+=t.split(".")[1].length}catch(e){}return Number(e.replace(".",""))*Number(t.replace(".",""))/Math.pow(10,n)}}};n("d693"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"digitalInput"},[t("el-input-number",{staticClass:"fl",class:{appendInput:e.append},attrs:{name:e.name,precision:e.precision,step:e.step,min:e.min,max:e.max,disabled:e.disabled,size:e.size||"medium",placeholder:e.placeholder,"controls-position":e.position},on:{change:e.handleChange,blur:e.handleChange},model:{value:e.num,callback:function(t){e.num=t},expression:"num"}}),e.append?t("div",{staticClass:"my-append fl",class:{"my-append-mini":"mini"===e.size,"my-append-small":"small"===e.size}},[e._v(" "+e._s(e.append)+" ")]):e._e()],1)}),[],!1,null,"656db062",null);t.default=n.exports},"0e3b":function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("d3b7"),n("159b"),n("b0c0"),n("1b69")),o="admin/",r=function(e,t){return Object(a.a)(o+"province",e,"post",t)},s=function(e,t){return Object(a.a)(o+"city",e,"post",t)},c=function(e,t){return Object(a.a)(o+"area",e,"post",t)},l={name:"SelectArea",props:["size","value","isDetail","placeholder","disabled"],watch:{value:function(e,t){var n=this;e&&(this.loading=!0,setTimeout((function(){n.loading=!1}),10))}},data:function(){return{loading:!1,props:{lazy:!0,expandTrigger:"hover",lazyLoad:function(e,t){return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,o,l,u,d;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=e.level,a=e.value,e.root,e.loading,o=[],l={},0===i)return n.next=6,r({});n.next=9;break;case 6:l=n.sent,n.next=18;break;case 9:if(1===i)return n.next=12,s({code:a});n.next=15;break;case 12:l=n.sent,n.next=18;break;case 15:return n.next=17,c({code:a});case 17:l=n.sent;case 18:u=(d=l).code,d=d.data,0===u?(d.forEach((function(e){e={value:0===i?e.province_code:1===i?e.city_code:e.area_code,label:e.name,leaf:2<=i},o.push(e)})),t(o)):t([]);case 20:case"end":return n.stop()}}),n)})))()}}}},methods:{handleChange:function(e){this.$emit("selectChange",e)}}};n("71b2"),n=n("2877"),n=Object(n.a)(l,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"select-area"},[e.loading?t("div",{staticClass:"loading-input",class:{disabled:e.disabled}},[t("i",{staticClass:"el-icon-loading"}),t("span",[e._v(e._s(e.placeholder||""))])]):t("el-cascader",{staticStyle:{width:"100%"},attrs:{size:e.size||"medium",filterable:"",clearable:"",placeholder:e.placeholder||"",props:e.props,disabled:e.disabled},on:{change:e.handleChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})],1)}),[],!1,null,"5150be48",null);t.default=n.exports},"0f9a":function(e,t,n){"use strict";n.r(t);var i=n("2909"),a=n("ade3"),o=n("1da1"),r=(n("96cf"),n("b0c0"),n("d3b7"),n("498a"),n("4de4"),n("d81d"),n("99af"),n("3ca3"),n("ddb0"),n("159b"),n("5f87")),s={},c=(window.ajaxTimeout=2e4,Object(o.a)(regeneratorRuntime.mark((function e(){var t,n,i,a,c,l,u=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=0<u.length&&void 0!==u[0]?u[0]:"",i=3<u.length&&void 0!==u[3]?u[3]:{},a=4<u.length&&void 0!==u[4]?u[4]:s,c=5<u.length?u[5]:void 0,n=t.method.toLowerCase(),l={method:n,baseURL:"",url:t.url,data:t.data,params:i,processData:!0,timeout:window.ajaxTimeout,headers:a,onUploadProgress:c},c&&"function"==typeof c&&(l.onUploadProgress=c),axios.interceptors.request.use((function(e){return e.data.token||(e.data.token=Object(r.d)()),e}),(function(e){return Promise.reject(new Error("服务器异常,请联系管理员!"))})),axios.interceptors.response.use(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){return Promise.reject(e.response.data)})),e.abrupt("return",new Promise((function(e,t){axios(l).then((function(t){e(t.data)})).catch((function(e){t(e)}))})));case 12:case"end":return e.stop()}}),e)})))),l=n("5daa");function u(e){return c({url:"".concat(l.a.baseURL,"/abutment/login"),method:"post",data:e})}var d,p=[{is_display:"1",menu_img:"el-icon-aim",menu_name:"招标工作台",menu_route:"workbench",status:"1",child:[{is_display:"1",is_private:"0",menu_img:"el-icon-aim",menu_name:"招标工作台",menu_route:"index",menu_url:"workbench/index",status:"1"},{is_display:"0",is_private:"0",menu_img:"el-icon-aim",menu_name:"招标任务详情",menu_route:"wDetail",menu_url:"workbench/detail",status:"1"}]},{is_display:"1",menu_img:"el-icon-thumb",menu_name:"竞标反馈查询",menu_route:"recovery",status:"1",child:[{is_display:"1",is_private:"0",menu_img:"el-icon-thumb",menu_name:"竞标反馈查询",menu_route:"index",menu_url:"recovery/index",status:"1"}]},{is_display:"1",menu_img:"el-icon-sold-out",menu_name:"销售订单管理",menu_route:"purchaseOrder",status:"1",child:[{is_display:"1",is_private:"0",menu_img:"el-icon-d-arrow-right",menu_name:"销售订单管理",menu_route:"index",menu_url:"purchaseOrder/index",status:"1",alwaysShow:!1},{is_display:"0",is_private:"0",menu_img:"el-icon-guide",menu_name:"销售订单详情",menu_route:"pDetail",menu_url:"purchaseOrder/detail",status:"1",alwaysShow:!1}]},{is_display:"1",menu_img:"el-icon-sell",menu_name:"发货申请管理",menu_route:"sellOutOrder",status:"1",child:[{is_display:"1",is_private:"0",menu_img:"el-icon-video-camera",menu_name:"发货申请管理",menu_route:"index",menu_url:"sellOutOrder/index",status:"1",alwaysShow:!1},{is_display:"0",is_private:"0",menu_img:"el-icon-s-finance",menu_name:"发货申请详情",menu_route:"sDetail",menu_url:"sellOutOrder/detail",status:"1",alwaysShow:!1}]},{is_display:"1",menu_img:"el-icon-sell",menu_name:"发货申请批量发货",menu_route:"sendOutOrder",status:"1",child:[{is_display:"1",is_private:"1",menu_img:"el-icon-truck",menu_name:"发货申请批量发货",menu_route:"index",menu_url:"sendOutOrder/index",status:"1",alwaysShow:!1}]},{is_display:"1",menu_img:"el-icon-s-finance",menu_name:"商品管理",menu_route:"goodsCost",status:"1",child:[{is_display:"1",is_private:"0",menu_img:"el-icon-suitcase-1",menu_name:"商品管理",menu_route:"index",menu_url:"goodsCost/index",status:"1"},{is_display:"0",is_private:"0",menu_img:"el-icon-c-scale-to-original",menu_name:"商品详情",menu_route:"gDetail",menu_url:"goodsCost/detail",status:"1"}]}],m={token:Object(r.d)(),name:"",avatar:n("8efb"),introduction:"",roles:["admin"],btnList:Object(r.a)(),navList:Object(r.b)(),company_list:Object(r.g)()||[],business_company:Object(r.e)()||"",business_companyNo:Object(r.f)()||""},f={SET_TOKEN:function(e,t){e.token=t},SET_MENU:function(e,t){e.menu=t},SET_HAS:function(e,t){e.has=t},SET_INTRODUCTION:function(e,t){e.introduction=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},navListFn:function(e,t){e.navList=t=t||[],Object(r.n)(t)},business_company:function(e,t){e.business_company=t,Object(r.q)(t)},business_companyNo:function(e,t){e.business_companyNo=t,Object(r.r)(t)},company_list:function(e,t){e.company_list=t,Object(r.s)(t)}};d={change_company:function(e,t){var n=e.commit,i=(e=null!=t?t:{},e.supplierNo),a=e.supplierName;return new Promise((function(e,t){n("business_company",a),n("business_companyNo",i),e("ok")}))},login:function(e,t){var n=e.commit,i=t.mobile,a=t.password;return new Promise((function(e,t){u({mobile:i.trim(),password:a}).then((function(t){var i,a,o=t.code,s=t.data;t=t.message;0===o?(s=(o=null!=s?s:{}).token,(a=(o=o.supplier_list).filter((function(e){return e.status+""=="1"})))&&0<a.length?(n("SET_TOKEN",s),n("company_list",o),i=(a=a[0]).supplierName,a=a.supplierNo,n("business_company",i),n("business_companyNo",a),Object(r.p)(s),e({code:0,message:t})):e({code:1,message:0===o.length?"该账户未绑定公司,不允许登录!":"该账户绑定的公司已禁用,不允许登录!"})):e({code:2,message:t})})).catch((function(e){t(e)}))}))}},Object(a.a)(d,"login",(function(e,t){var n=e.commit,i=t.mobile,a=t.password;return new Promise((function(e,t){u({mobile:i.trim(),password:a}).then((function(t){var i=t.code,a=t.data;t=t.message;0===i?(i=(null!=a?a:{}).token,Object(r.p)(i),n("SET_TOKEN",i),e({code:0,message:t})):e({code:2,message:t})})).catch((function(e){t(e)}))}))})),Object(a.a)(d,"getMenuList",(function(e){return Object(o.a)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.commit,e.that,t.abrupt("return",new Promise(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t,o){var s,c,l,u,d,p,m,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(r.d)()){e.next=4;break}t("noToken"),e.next=37;break;case 4:return e.next=6,function(){return g.apply(this,arguments)}();case 6:if(l=e.sent,s=l.ucode,c=l.udata,l=l.umsg,!(101<=s&&s<=104)){e.next=15;break}t("noToken"),e.next=37;break;case 15:if(0===s){e.next=19;break}t({code:s,data:c,massage:l}),e.next=37;break;case 19:if(u=c.supplier_list,(p=u.filter((function(e){return e.status+""=="1"})))&&0<p.length)return a("company_list",u),p=p[0],d=p.supplierName,p=p.supplierNo,a("business_company",d),a("business_companyNo",p),e.next=28,function(){return h.apply(this,arguments)}();e.next=36;break;case 28:d=e.sent,p=d.mcode,m=d.mdata,f=d.mmsg,101<=p&&p<=104?t("noToken"):0!==p?t({code:p,data:{},massage:f}):(f=m.arrag,a("navListFn",f),b=[],(o=f).map((function(e){return e.component=function(e){return n.e("chunk-61c1cc8a").then(function(){var t=[n("c1f7")];e.apply(null,t)}.bind(this)).catch(n.oe)},e.children&&0<e.children.length&&(e.redirect="/".concat(e.name,"/").concat(e.children[0].name),e.children.map((function(e){return e.component=function(t){return Promise.all([n.e("chunk-0c9441a6"),n.e("chunk-f9557db2")]).then(function(){var i=[n("feca")("./".concat(e.url,".vue"))];t.apply(null,i)}.bind(this)).catch(n.oe)},e}))),e})),b.push.apply(b,Object(i.a)(o)),b.push({path:"404",component:function(){return n.e("chunk-15caf0ce").then(n.bind(null,"1db4"))},hidden:!1,noCache:!0}),b.push({path:"*",redirect:"/404"}),window.vm.$router.addRoutes(b),t("success")),e.next=37;break;case 36:t(0===u.length?"notlist":"notPowers");case 37:case"end":return e.stop()}var o,b}),e)})));return function(t,n){return e.apply(this,arguments)}}()));case 2:case"end":return t.stop()}}),t)})))()})),Object(a.a)(d,"logout",(function(e){var t=e.commit,n=(e.state,e.dispatch);return new Promise((function(e,i){t("SET_TOKEN",""),t("SET_ROLES",[]),Object(r.j)(),t("SET_MENU",""),t("SET_HAS",""),Object(r.i)(),Object(r.k)(),t("business_company",""),t("business_companyNo",""),Object(r.l)(),t("company_list",[]),Object(r.m)(),n("tagsView/delAllViews",null,{root:!0}),e()}))})),Object(a.a)(d,"resetToken",(function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),t("SET_ROLES",[]),Object(r.j)(),e()}))})),a=d;function h(){return(h=Object(o.a)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],p.filter((function(e){return e.child&&0<e.child.length})).forEach((function(e){var n={name:e.menu_route,path:"/".concat(e.menu_route),hidden:e.hidden,alwaysShow:e.alwaysShow,meta:{title:e.menu_name,icon:e.menu_img},children:[]};e.child.forEach((function(e){e={path:e.menu_route,name:e.menu_route,hidden:0===parseInt(e.is_display+""),alwaysShow:e.alwaysShow,meta:{title:e.menu_name,icon:e.menu_img,noCache:e.noCache,breadcrumb:e.breadcrumb},url:e.menu_url},n.children.push(e)})),t.push(n)})),e.abrupt("return",{mcode:0,mdata:{arrag:t},mmsg:""});case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return(g=Object(o.a)(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c({url:"".concat(l.a.baseURL,"abutment/getUserInfo"),method:"post",data:{}});case 2:return i=e.sent,t=i.code,n=i.data,i=i.meaasge,e.abrupt("return",{ucode:t,udata:n,umsg:i});case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.default={namespaced:!0,state:m,mutations:f,actions:a}},1:function(e,t,n){n("db4d"),e.exports=n("56d7")},1004:function(e,t,n){"use strict";n.r(t),n("ac1f"),n("00b4"),n("d3b7"),n("25f0"),t.default={rulesPhone:function(e,t,n){/^1[23456789]\d{9}$/.test(t)?n():n(new Error("请输入正确的手机号"))},rulesNumber:function(e,t,n){/^[0-9]*$/.test(t)?n():n(new Error("请输入数字"))},rulesTwoNumber:function(e,t,n){/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/.test(t)?n():n(new Error("请输入正确格式"))},rulesNumberHander:function(e,t,n){/(^[1-9][0-9]$)|(^100&)|(^[1-9]$)$/.test(t)?n():n(new Error("请输入1-100的数字"))},positiveInteger:function(e,t,n){/^[1-9]\d*$/.test(t)?n():n(new Error("请输入正整数"))},positiveTwoDecimal:function(e,t,n){t="number"==typeof t?t+"":"0","0"==t||!/^[0-9]+(.[0-9]{2})?$/.test(t)||/^[1-9]\d*$/.test(t)?n(new Error("请输入两位小数的正数")):n()},positiveTwoOrOneDecimal:function(e,t,n){t="number"==typeof t?t.toString():"0","0"===t||!/^[0-9]+(.[0-9]{1,2})?$/.test(t)||/^[1-9]\d*$/.test(t)?n(new Error("请输入1-2位小数的正数")):n()},rulesPassword:/^(\w){6,12}$/,rulesPhonePattern:/^1[23456789]\d{9}$/,validatorInteger:/^[1-9]\d*$/,rulesPassword2:/^[a-zA-Z]w{1,4}$/,rulesUserName:/^[\u4E00-\u9FA5]+$/,rulesPeopleID:/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,rulesHuzhao:/^((1[45]\d{7})|(G\d{8})|(P\d{7})|(S\d{7,8}))?$/,rulesEmail:/^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$/,rulesYZCode:/^[1-9][0-9]{5}$/,rulesCarId:/(^[\u4E00-\u9FA5]{1}[A-Z0-9]{6}$)|(^[A-Z]{2}[A-Z0-9]{2}[A-Z0-9\u4E00-\u9FA5]{1}[A-Z0-9]{4}$)|(^[\u4E00-\u9FA5]{1}[A-Z0-9]{5}[挂学警军港澳]{1}$)|(^[A-Z]{2}[0-9]{5}$)|(^(08|38){1}[A-Z0-9]{4}[A-Z0-9挂学警军港澳]{1}$)/}},1831:function(e,t,n){},1852:function(e,t,n){},"1b69":function(e,t,n){"use strict";var i=n("1da1"),a=(n("96cf"),n("d3b7"),n("5daa")),o=n("5f87"),r={};window.ajaxTimeout=2e4,t.a=Object(i.a)(regeneratorRuntime.mark((function e(){var t,n,s,c,l,u,d,p=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=0<p.length&&void 0!==p[0]?p[0]:"",n=1<p.length&&void 0!==p[1]?p[1]:{},s=2<p.length&&void 0!==p[2]?p[2]:"GET",c=3<p.length&&void 0!==p[3]?p[3]:{},l=4<p.length&&void 0!==p[4]?p[4]:r,u=5<p.length?p[5]:void 0,s=s.toLowerCase(),d={method:s,baseURL:"",url:a.a.baseURL+t,data:n,params:c,processData:!0,timeout:window.ajaxTimeout,headers:l,onUploadProgress:u},u&&"function"==typeof u&&(d.onUploadProgress=u),axios.interceptors.request.use((function(e){return e.data.token||(e.data.token=Object(o.d)(),e.data.supplierNo=Object(o.f)()),e}),(function(e){return Promise.reject(new Error("服务器异常,请联系管理员!"))})),axios.interceptors.response.use(function(){var e=Object(i.a)(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return 200===t.status&&101<=(n=t.data.code)&&n<=104&&(Object(o.j)(),Object(o.i)(),Object(o.h)()),e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){return Promise.reject(e.response.data)})),e.abrupt("return",new Promise((function(e,t){axios(d).then((function(t){e(t.data)})).catch((function(e){e.response&&e.response.data?t(e.response.data):t(e)}))})));case 12:case"end":return e.stop()}}),e)})))},"1b7f":function(e,t,n){"use strict";n.r(t),n("2ca0"),n("4de4"),n("d3b7"),n("99af"),n("e9c4"),n("b0c0"),n("498a");var i=n("bd11"),a=n.n(i);i={name:"Breadcrumb",data:function(){return{levelList:null,isShow:!1,backOtions:"",backUrl:""}},watch:{$route:function(e){e.path.startsWith("/redirect/")?this.isShow=!1:this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/welcome/dashboard",meta:{title:"首页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb})),t=this.$route.query.preModel;t?(e=JSON.parse(t),this.isShow=!0,t=e.options,e=e.router,this.backOtions=JSON.stringify(t),this.backUrl=e):this.isShow=!1},isDashboard:function(e){return e=e&&e.name,!!e&&e.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params;return a.a.compile(e)(t)},back_arrow:function(){this.isShow&&window.vm.$router.push({path:this.backUrl,query:{back:this.backOtions}})},handleLink:function(e){var t=e.redirect;e=e.path;t?window.vm.$router.push(t):window.vm.$router.push(this.pathCompile(e))}}},n("bd4a"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Breadcrumb"},[n("i",{staticClass:"el-icon-d-arrow-left fl",class:{cor:e.isShow},on:{click:e.back_arrow}}),n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,i){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||0<i?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)],1)}),[],!1,null,"924e9136",null);t.default=n.exports},"1d3b":function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("61f7")),o=n("b86f"),r=n("9f53");r={name:"sendVerificationCode",props:{mobile:{type:String,default:""}},mixins:[r.a],data:function(){return{num:60,title:"获取验证码",timer:null}},computed:{},methods:{getCode:function(){var e=this;""!==this.mobile&&Object(a.f)(this.mobile)?60===this.num&&o.a.verfiy({mobile:this.mobile}).then(function(){var t=Object(i.a)(regeneratorRuntime.mark((function t(n){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.useResHandle(n);case 2:i=t.sent,0===i.code&&(e.timer=setInterval((function(){0!==e.num?(e.title="".concat(e.num,"s后可重发"),e.num--):(clearInterval(e.timer),e.num=60,e.title="获取验证码")}),1e3));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()):this.$emit("mobileErr",!1)}}},n("da8d"),n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("el-button",{staticClass:"send-verification-code",attrs:{type:e.num<60?"info":"primary",plain:e.num<60,disabled:e.num<60},on:{click:e.getCode}},[e._v(e._s(e.title))])}),[],!1,null,"2657623e",null);t.default=n.exports},"1d86":function(e,t,n){},"1e70":function(e,t,n){"use strict";n("2d7b")},"1f28":function(e,t,n){"use strict";n.r(t);var i={name:"show-content",mixins:[n("9f53").a],props:["columns","sitem","newTime"],data:function(){return{}},watch:{newTime:function(e){e&&this.initForm()}},mounted:function(){},methods:{initForm:function(){}}};n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-row",{staticClass:"show-content-row"},[e._l(e.columns,(function(t,i){return[e.sitem[t.prop]?n("el-col",{key:t+i,staticClass:"show-content-col",attrs:{span:12}},[n("div",{staticClass:"label"},[e._v(e._s(t.label)+":")]),n("div",{staticClass:"name"},[e._v(e._s(e.sitem[t.prop]))])]):e._e()]}))],2)}),[],!1,null,null,null);t.default=n.exports},"1f68":function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("d3b7"),n("b0c0"),n("99af"),n("96cf"),n("5daa")),o=n("5f87"),r={name:"fileUpload",mixins:[n("9f53").a],props:{accept:String,multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},uploadcondition:{type:Function,default:null}},data:function(){return{loading:!1,imgAPI:a.a.baseURL}},methods:{handleChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function e(){var n,i,a,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=(n=t).$refs.inputer,i=i.files,0===(a=i.length))return e.abrupt("return");e.next=7;break;case 7:n.loading=n.$loading({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),o=0;case 9:if(!(o<=a)){e.next=23;break}if(o!==a){e.next=15;break}t.loading.close(),n.$refs.inputer.value="",e.next=20;break;case 15:return e.next=17,n.httpupLoad(i,o);case 17:"error"===(r=e.sent)?n.$emit("UploadErrorEvent"):"break"===r?n.$emit("UploadErrorEvent","break"):n.$emit("UploadSuccessEvent",r);case 20:o++,e.next=9;break;case 23:case"end":return e.stop()}}),e)})))()},httpupLoad:function(e,t){var n=this;return Object(i.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",new Promise(function(){var a=Object(i.a)(regeneratorRuntime.mark((function i(a,r){var s,c,l,u,d;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if((s=n).uploadcondition(e[t])){i.next=5;break}a("break"),i.next=14;break;case 5:return(c=new FormData).append("image",e[t]),c.append("token",Object(o.d)()),c.append("supplierNo",Object(o.f)()),i.next=11,axios.post("".concat(s.imgAPI,"abutment/uploadImg"),c);case 11:c=i.sent,d=(l=null!=c?c:{}).status,l=l.data,200===d?(l=(d=null!=l?l:{}).code,d=d.data,0===l?(d=d[0],u=d.url,d=d.name,a({url:"".concat(s.imgAPI,"storage/").concat(u),name:d})):a(101<=l&&l<=104?{url:"noToken",name:""}:105===l||106===l?{url:"noSupplierNo",name:""}:"break")):r();case 14:case"end":return i.stop()}}),i)})));return function(e,t){return a.apply(this,arguments)}}()));case 1:case"end":return a.stop()}}),a)})))()}}};n("2f72"),n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",[t("input",{ref:"inputer",staticClass:"fileUp",attrs:{accept:e.accept,multiple:e.multiple,type:"file",disabled:e.disabled,name:"file"},on:{change:function(t){return e.handleChange(t)}}})])}),[],!1,null,"0b67390a",null);t.default=n.exports},2:function(e,t){},"23d3":function(e,t,n){"use strict";n.r(t),n("d3b7"),n("ac1f"),n("00b4"),n("b0c0");var i=n("1146"),a=n.n(i);i={name:"uploadExcel",props:{beforeUpload:Function,onSuccess:Function},data:function(){return{loading:!1,excelData:{header:null,results:null}}},methods:{generateData:function(e){var t=e.header;e=e.results;this.excelData.header=t,this.excelData.results=e,this.loading=!1,this.onSuccess&&this.onSuccess(this.excelData)},handleDrop:function(e){if(e.stopPropagation(),e.preventDefault(),!this.loading){var t=e.dataTransfer.files;if(1!==t.length)this.$message.error("Only support uploading one file!");else{if(t=t[0],!this.isExcel(t))return this.$message.error("仅支持上载.xlsx、.xls后缀文件"),!1;this.upload(t),e.stopPropagation(),e.preventDefault()}}},handleDragover:function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy"},handleUpload:function(){this.$refs["excel-upload-input"].click()},handleClick:function(e){e=e.target.files[0],e&&this.upload(e)},upload:function(e){this.$refs["excel-upload-input"].value=null,this.beforeUpload&&!this.beforeUpload(e)||this.readerData(e)},readerData:function(e){var t=this;return this.loading=!0,new Promise((function(n,i){var o=new FileReader;o.onload=function(e){e=e.target.result,e=a.a.read(e,{type:"array"});var i=e.SheetNames[0];e=e.Sheets[i],i=t.getHeaderRow(e),e=a.a.utils.sheet_to_json(e,{defval:""});t.generateData({header:i,results:e}),t.loading=!1,n()},o.readAsArrayBuffer(e)}))},getHeaderRow:function(e){for(var t=[],n=a.a.utils.decode_range(e["!ref"]),i=n.s.r,o=n.s.c;o<=n.e.c;++o){var r=e[a.a.utils.encode_cell({c:o,r:i})],s="UNKNOWN "+o;r&&r.t&&(s=a.a.utils.format_cell(r)),t.push(s)}return t},isExcel:function(e){return/\.(xlsx|xls|csv)$/.test(e.name)}}},n("e7fb"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",[t("input",{ref:"excel-upload-input",staticClass:"excel-upload-input",attrs:{type:"file",accept:".xlsx, .xls"},on:{change:e.handleClick}}),t("div",{staticClass:"drop",on:{drop:e.handleDrop,dragover:e.handleDragover,dragenter:e.handleDragover}},[t("span",{staticStyle:{height:"28px","vertical-align":"middle","line-height":"28px",display:"inline-block"}},[e._v("将excel文件拖放到此处或")]),t("el-button",{staticStyle:{"margin-left":"12px"},attrs:{loading:e.loading,size:"mini",type:"primary"},on:{click:e.handleUpload}},[e._v(" 点击 ")])],1)])}),[],!1,null,"3cf621e0",null);t.default=n.exports},"24ab":function(e,t,n){e.exports={theme:"#1890ff"}},"273e":function(e,t,n){},2887:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("7db0"),n("d3b7"),n("1b69")),o=function(e,t){return Object(a.a)("admin/specstitle",e,"post",t)},r={name:"SearchSpec",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled","type","names"],data:function(){return{options:[],selectLoading:!1,searchName:"",formValue:{start:"",end:"",creater:"",status:"",spec_name:""}}},watch:{},mounted:function(){this.options=[],this.selectLoading=!1,this.remoteMethod()},methods:{selectChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:i={},e&&(i=t.options.find((function(t){return t.id===e}))),t.$emit("searchChange",i);case 3:case"end":return n.stop()}}),n)})))()},remoteMethod:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.selectLoading=!0,e.options=[],t.next=4,o(e.formValue);case 4:return n=t.sent,t.next=7,e.useResHandle(n);case 7:n=t.sent,i=n.code,a=n.data,n.message,e.options=0===i?a:[],e.selectLoading=!1;case 13:case"end":return t.stop()}}),t)})))()}}};n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"","reserve-keyword":"",clearable:"",size:e.size||"medium",placeholder:e.placeholder||"",disabled:e.disabled,loading:e.selectLoading},on:{change:e.selectChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,(function(e,t){return n("el-option",{key:e.id+t+"spec",attrs:{label:e.spec_name,value:e.id,disabled:"0"===e.status}})})),1)}),[],!1,null,null,null);t.default=n.exports},"2d7b":function(e,t,n){},"2e36":function(e,t,n){},"2f72":function(e,t,n){"use strict";n("2e36")},3:function(e,t){},3211:function(e,t,n){},3355:function(e,t,n){"use strict";n.r(t),n("a9e3"),n("fb6a"),n("d3b7"),n("159b");var i=n("953d"),a=(n("a753"),n("8096"),n("14e1"),[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]);i={name:"EditorShy",components:{quillEditor:i.quillEditor},props:{value:{type:String},maxSize:{type:Number,default:3e3}},data:function(){var e=this;return{content:this.value,editorOption:{theme:"snow",placeholder:"您想说点什么?",modules:{toolbar:{container:a,handlers:{image:function(t){var n=e.$refs.myQuillEditor;t?e.$refs.uploadImg.$el.childNodes[0].click():n.quill.format("image",!1)}}}}}}},watch:{value:function(e){this.content=e}},mounted:function(){var e=this;this.$nextTick((function(){try{var t=e.$refs.myQuillEditor.$el.children,n=(t=Array.prototype.slice.call(t),0);t.forEach((function(e){n+=e.offsetHeight})),e.$refs.editorBox.style.height=n+"px"}catch(t){}}))},methods:{onEditorBlur:function(){},onEditorFocus:function(){},onEditorChange:function(){this.$emit("input",this.content)},getImgUrl:function(e){var t=this.$refs.myQuillEditor.quill,n=t.getSelection().index;t.insertEmbed(n,"image",e),this.$message({message:"图片请设置左对齐",type:"warning"}),t.setSelection(n+1)}}},n("0316"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{ref:"editorBox"},[t("file-upload",{ref:"uploadImg",staticStyle:{float:"left",display:"none"},attrs:{"img-url":"",index:"","btn-name":"","async-key":"uploadFile"},on:{event:e.getImgUrl}}),t("quill-editor",{ref:"myQuillEditor",staticClass:"editor",attrs:{options:e.editorOption},on:{blur:function(t){return e.onEditorBlur(t)},focus:function(t){return e.onEditorFocus(t)},change:function(t){return e.onEditorChange(t)}},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})],1)}),[],!1,null,null,null);t.default=n.exports},"35b4":function(e,t,n){"use strict";n("f7df")},"35ed":function(e,t,n){"use strict";n.r(t);var i=n("93bf"),a=n.n(i);i={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!a.a.enabled)return this.$message({message:"you browser can not work",type:"warning"}),!1;a.a.toggle()},change:function(){this.isFullscreen=a.a.isFullscreen},init:function(){a.a.enabled&&a.a.on("change",this.change)},destroy:function(){a.a.enabled&&a.a.off("change",this.change)}}},n("c0bd"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",[t("i",{class:{"el-icon-full-screen rt1":e.isFullscreen,"el-icon-rank rt2":!e.isFullscreen},on:{click:e.click}})])}),[],!1,null,"1f64b2a2",null);t.default=n.exports},"371f":function(e,t,n){"use strict";n.r(t),n("a9e3");var i=n("ed08"),a={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},data:function(){return{show:!1}},computed:{theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){e&&!this.clickNotClose&&this.addEventClick(),Object(e?i.a:i.d)(document.body,"showRightPanel")}},mounted:function(){this.insertToBody()},beforeDestroy:function(){this.$refs.rightPanel.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){e.target.closest(".rightPanel")||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,t=document.querySelector("body");t.insertBefore(e,t.firstChild)}}};n("c8c0"),n("7166"),n=n("2877"),n=Object(n.a)(a,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[t("div",{staticClass:"rightPanel-background"}),t("div",{staticClass:"rightPanel"},[t("div",{staticClass:"handle-button",style:{top:e.buttonTop+"px","background-color":e.theme},on:{click:function(t){e.show=!e.show}}},[t("i",{class:e.show?"el-icon-close":"el-icon-setting"})]),t("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])}),[],!1,null,"08d1d80c",null);t.default=n.exports},"3c39":function(e,t,n){"use strict";n("e464")},"3cee":function(e,t,n){"use strict";n.r(t),t.default={initPwd:function(e,t,n,i,a,o){var r="";if("0"==t&&"0"==n&&"0"==i)return r;for(var s=e-=1;0<=s;s--){var c=Math.floor(94*Math.random()+33);"0"==t&&48<=c&&c<=57||"0"==n&&(65<=c&&c<=90||97<=c&&c<=122)||"0"==i&&(33<=c&&c<=47||58<=c&&c<=64||91<=c&&c<=96||123<=c&&c<=127)?s++:r+=String.fromCharCode(c)}return"0"==a?"0"==o?r.toUpperCase():r.toLowerCase():r}}},4:function(e,t){},4360:function(e,t,n){"use strict";n("d3b7"),n("ddb0"),n("ac1f"),n("5319");var i=n("2f62"),a=(n("b0c0"),{sidebar:function(e){return e.app.sidebar},size:function(e){return e.app.size},searchSize:function(e){return e.app.searchSize},tablebtnSize:function(e){return e.app.tablebtnSize},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},roles:function(e){return e.user.roles},errorLogs:function(e){return e.errorLog.logs},btnList:function(e){return e.user.btnList},navList:function(e){return e.user.navList},mainList:function(e){return e.user.mainList},business_company:function(e){return e.user.business_company},business_companyNo:function(e){return e.user.business_companyNo},company_list:function(e){return e.user.company_list}}),o=(Vue.use(i.a),n("c653"));n=o.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1");t=o(t);return e[n]=t.default,e}),{}),i=new i.a.Store({modules:n,getters:a});t.a=i},"4d49":function(e,t,n){"use strict";n.r(t),n("a434"),t.default={namespaced:!0,state:{logs:[]},mutations:{ADD_ERROR_LOG:function(e,t){e.logs.push(t)},CLEAR_ERROR_LOG:function(e){e.logs.splice(0)}},actions:{addErrorLog:function(e,t){(0,e.commit)("ADD_ERROR_LOG",t)},clearErrorLog:function(e){(0,e.commit)("CLEAR_ERROR_LOG")}}}},"510b":function(e,t,n){"use strict";n("ceef")},"55d5":function(e,t,n){"use strict";n("8f91")},"55ef":function(e,t,n){"use strict";n("1831")},"56d7":function(e,t,n){"use strict";n.r(t);var i={},a=(t=(n.r(i),n.d(i,"parseTime",(function(){return g.c})),n.d(i,"formatTime",(function(){return g.b})),n.d(i,"timeAgo",(function(){return _})),n.d(i,"numberFormatter",(function(){return v})),n.d(i,"toThousandFilter",(function(){return w})),n.d(i,"uppercaseFirst",(function(){return y})),n.d(i,"getNum",(function(){return x})),n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("a434"),n("2ca0"),n("fb6a"),n("d3b7"),n("159b"),n("b64b"),n("4de4"),n("ac1f"),n("5319"),n("a18c")),n("f5df1"),n("e05f"),n("6944")),o=(a=n.n(a),n("5f87")),r=n("5c96"),s=(r=n.n(r),n("0808"),n("24ab"),n("b20f"),n("ddb0"),n("b0c0"),n("ffe0")),c=[],l=(s.keys().forEach((function(e){var t=s(e);e.startsWith("./gRegion")||c.push(t.default||t)})),{install:function(e){c.forEach((function(t){e.component(t.name,t)}))}}),u=n("1da1"),d=(n("96cf"),{name:"App",data:function(){return{code:""}},created:function(){var e=this;return Object(u.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getMenu();case 2:case"end":return t.stop()}}),t)})))()},methods:{getMenu:function(){var e=this;return Object(u.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$store.dispatch("user/getMenuList",e).then(function(){var t=Object(u.a)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("noToken"===n)return t.next=3,e.logout();t.next=5;break;case 3:t.next=11;break;case 5:if("success"!==n){t.next=9;break}"/loadingPage"!==e.$route.path&&"/"!==e.$route.path&&"/login"!==e.$route.path||window.vm.$router.replace("/welcome"),t.next=11;break;case 9:return t.next=11,e.logout();case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch(function(){var t=Object(u.a)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.logout();case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})))()},logout:function(){var e=this;return Object(u.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("/login"!==e.$route.path)return t.next=3,e.$store.dispatch("user/logout");t.next=5;break;case 3:e.$router.push("/login");case 5:case"end":return t.stop()}}),t)})))()}}}),p=(n("5c0b"),n("2877")),m=Object(p.a)(d,(function(){var e=this.$createElement;e=this._self._c||e;return e("div",{attrs:{id:"app"}},[e("router-view")],1)}),[],!1,null,null,null).exports,f=(p=n("4360"),d=n("082a"),n("849c")),h=(n("7706"),n("6266"),n("17b4"),n("cb92"),n("8416"),n("313e")),g=(h=n.n(h),n("a9e3"),n("b680"),n("25f0"),n("ed08"));function b(e,t){return 1===e?e+t:e+t+"s"}function _(e){return e=Date.now()/1e3-Number(e),e<3600?b(~~(e/60)," minute"):e<86400?b(~~(e/3600)," hour"):b(~~(e/86400)," day")}function v(e,t){for(var n=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],i=0;i<n.length;i++)if(e>=n[i].value)return(e/n[i].value).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n[i].symbol;return e.toString()}function w(e){return(+e||0).toString().replace(/^-?\d+/g,(function(e){return e.replace(/(?=(?!\b)(\d{3})+$)/g,",")}))}function y(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){return(e=Number(e))?1e4<e||e<-1e4?parseFloat(e/1e4).toFixed(2)+"万":e.toFixed(2):"0.00"}Vue.filter("money",(function(e){return parseFloat(e).toFixed(2)})),Vue.filter("num",(function(e){return parseInt(e)})),Vue.filter("getNum_noPrice",(function(e){return(e=Number(e))?1e4<e||e<-1e4?Math.round(e/1e4)+"万":Math.round(e):"0"}));var k=n("95ff");n=n.n(k);Vue.component("icon",f.a),Vue.prototype.$echarts=h.a,Array.prototype.remove=function(e){e=this.indexOf(e),-1<e&&this.splice(e,1)},"function"!=typeof String.prototype.startsWith&&(String.prototype.startsWith=function(e){return this.slice(0,e.length)===e}),Vue.use(l),Vue.use(a.a,{defaultOptions:{zIndex:9999}}),Vue.use(d.default),Vue.use(n.a),Object.keys(i).forEach((function(e){Vue.filter(e,i[e])})),Vue.config.productionTip=!1,Vue.use(r.a),window.vm=new Vue({router:t.a,store:p.a,render:function(e){return e(m)}}).$mount("#app"),null!==Object(o.d)()&&void 0!==Object(o.d)()&&""!==Object(o.d)()||(Object(o.i)(),Object(o.h)(),Object(o.j)(),t.a.replace({name:"login"}))},"59fa":function(e,t,n){"use strict";n("6dfd")},"5b91":function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("1b69")),o=function(e,t){return Object(a.a)("admin/process",e,"post",t)},r={name:"processTimeLine",props:["type","orderCode","newTime"],mixins:[n("9f53").a],data:function(){return{options:[],loading:!1}},watch:{newTime:function(e){e&&this.getList()}},mounted:function(){this.getList()},methods:{getList:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.loading){t.next=13;break}return e.loading=!0,e.options=[],t.next=5,o({type:e.type,orderCode:e.orderCode});case 5:return n=t.sent,t.next=8,e.useResHandle(n);case 8:n=t.sent,i=n.code,a=n.data,e.options=0===i?a:[],e.loading=!1;case 13:case"end":return t.stop()}}),t)})))()}}};n("f303"),n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"processTimeLine"},[n("el-steps",{attrs:{direction:"vertical",active:e.options.length,space:80,"finish-status":e.finishStatus,"process-status":e.finishStatus}},e._l(e.options,(function(t,i){return n("el-step",{key:t.time+i,staticStyle:{margin:"0 0 0 150px",position:"relative"},attrs:{icon:"el-icon-success","finish-status":e.finishStatus,"process-status":e.finishStatus}},[n("div",{staticStyle:{position:"absolute",width:"142px",left:"-150px","text-align":"right"},attrs:{slot:"title"},slot:"title"},[e._v(" "+e._s(t.status_name)+" ")]),n("div",{attrs:{slot:"description"},slot:"description"},[n("p",{staticClass:"name"},[e._v("操作人: "+e._s(t.action_name||"未知"))]),n("p",{staticClass:"time"},[e._v(" "+e._s(t.addtime)+" ")])])])})),1)],1)}),[],!1,null,null,null);t.default=n.exports},"5c0b":function(e,t,n){"use strict";n("9c0c")},"5daa":function(e,t,n){"use strict";n=n("f121");var i=n.api.userApi,a=n.api.baseApi,o=n.ding.CorpId,r=n.ding.AgentId;t.a={userURL:i,baseURL:a,corpId:o,agentId:r,webUrl:n.webUrl}},"5f87":function(e,t,n){"use strict";n.d(t,"d",(function(){return d})),n.d(t,"p",(function(){return p})),n.d(t,"j",(function(){return m})),n.d(t,"b",(function(){return f})),n.d(t,"n",(function(){return h})),n.d(t,"i",(function(){return g})),n.d(t,"a",(function(){return b})),n.d(t,"h",(function(){return _})),n.d(t,"c",(function(){return v})),n.d(t,"o",(function(){return w})),n.d(t,"e",(function(){return y})),n.d(t,"q",(function(){return x})),n.d(t,"k",(function(){return k})),n.d(t,"f",(function(){return C})),n.d(t,"r",(function(){return O})),n.d(t,"l",(function(){return S})),n.d(t,"g",(function(){return E})),n.d(t,"s",(function(){return j})),n.d(t,"m",(function(){return R}));t=n("a78e");var i=n.n(t),a="Purchase-Client-Console-Token",o="Purchase-Client-Console-Menu",r="Purchase-Client-Console-MenuBtn",s="Purchase-Client-Console-Notice",c="Purchase-Client-Console-businessCompany",l="Purchase-Client-Console-businessCompanyNo",u="Purchase-Client-Console-companyList";function d(){return i.a.get(a)}function p(e){return i.a.set(a,e)}function m(){return i.a.remove(a)}function f(){var e=i.a.get(o);return e?JSON.parse(e):[]}function h(e){return i.a.set(o,e)}function g(){return i.a.remove(o)}function b(){return i.a.get(r)}function _(){return i.a.remove(r)}function v(){return i.a.get(s)}function w(e){return i.a.set(s,e)}function y(){return i.a.get(c)}function x(e){return i.a.set(c,e)}function k(){return i.a.remove(c)}function C(){return i.a.get(l)}function O(e){return i.a.set(l,e)}function S(){return i.a.remove(l)}function E(){return i.a.get(u)}function j(e){return i.a.set(u,e)}function R(){return i.a.remove(u)}},"61f7":function(e,t,n){"use strict";function i(e){return/^(https?:|mailto:|tel:)/.test(e)}function a(e){return/^[A-Za-z]+$/.test(e)}function o(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}function r(e){return/^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(e)||/^852[5|6|8|9]\d{7}$/.test(e)}function s(e){return/[\u4e00-\u9fa5]$/.test(e)}function c(e){return/^[0-9]*$/.test(e)}function l(e){return/^[0-9A-Za-z]*$/.test(e)}function u(e){return/[^\u0020-\u007E\u00A0-\u00BE\u2E80-\uA4CF\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFFEF\u0080-\u009F\u2000-\u201f\u2026\u2022\u20ac\r\n]/g.test(e)}function d(e){for(var t=(null!=e?e:"").replace(/\\|\/|\"|\'|\<|\>|\{|\}|\[|\]|\:|\^|\$|\!|\~|\`|\|/g,""),n=new RegExp("[`~!@#$^&()=|{}':;',<>/?]"),i="",a=0;a<t.length;a++)i+=t.substr(a,1).replace(n,"");return e.length>i.length}function p(e){return!(e.replace(/[\r\n]/g,"")===e)}n.d(t,"e",(function(){return i})),n.d(t,"i",(function(){return a})),n.d(t,"j",(function(){return o})),n.d(t,"f",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"g",(function(){return d})),n.d(t,"a",(function(){return p})),n("ac1f"),n("00b4"),n("1276"),n("498a"),n("d3b7"),n("25f0"),n("a9e3"),n("5319"),n("4d63"),n("2c3e"),n("caad"),n("2532")},6892:function(e,t,n){},"6d43":function(e,t,n){"use strict";n("3211")},"6d81":function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("c740"),n("d3b7"),n("159b"),n("b0c0"),n("1b69")),o=function(e,t){return Object(a.a)("admin/express",e,"post",t)},r={name:"SearchExpress",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled","order_source","names","type","name"],data:function(){return{selectLoading:!1,searchName:"",options:[],formValue:{type:"",order_source:"",name:""}}},watch:{names:function(e,t){this.searchName=e,this.isDetail&&this.searchName&&this.remoteMethod(this.searchName)}},mounted:function(){this.options=[],this.selectLoading=!1},methods:{selectChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e&&0<e.length&&-1!==(i=t.options.findIndex((function(t){return t.value===e[0]})))?(i={id:t.options[i].id,code:t.options[i].value,label:t.options[i].label,shortName:t.options[i].shortName},t.$emit("searchChange",i)):t.$emit("searchChange",{});case 1:case"end":return n.stop()}}),n)})))()},remoteMethod:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.selectLoading=!0,""!==e)return t.options=[],t.formValue={type:"",order_source:t.order_source,name:e},n.next=6,o(t.formValue);n.next=16;break;case 6:return i=n.sent,n.next=9,t.useResHandle(i);case 9:i=n.sent,a=i.code,r=i.data,i.message,0===a?(null!=r?r:[]).forEach((function(e){e={value:e.id,label:e.name,type:e.type,id:e.id,canOrder:e.canOrder,shortName:e.shortName},t.options.push(e)})):t.options=[],n.next=17;break;case 16:t.options=[];case 17:t.selectLoading=!1;case 18:case"end":return n.stop()}}),n)})))()}}};n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",filterable:"",remote:"",clearable:"","multiple-limit":1,"reserve-keyword":"",size:e.size||"medium",placeholder:e.placeholder||"",disabled:e.disabled,"remote-method":e.remoteMethod,loading:e.selectLoading,type:e.type,name:e.name},on:{change:e.selectChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,(function(e,t){return n("el-option",{key:e.id+t,attrs:{label:e.label,value:e.value,disabled:"1"!==e.canOrder}})})),1)}),[],!1,null,null,null);t.default=n.exports},"6dfd":function(e,t,n){},7166:function(e,t,n){"use strict";n("273e")},"71b2":function(e,t,n){"use strict";n("9d89")},"74f7":function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("ac1f"),n("1276"),n("1b69")),o=function(e,t){return Object(a.a)("admin/getlogisticsinformation",e,"post",t)},r={name:"logisTimeLine",props:["type","orderCode","newTime"],mixins:[n("9f53").a],data:function(){return{options:[],orderCodeList:[],finishStatus:"",processStatus:"process",loading:!1,post_logo:"",post_name:"",post_code:"",status:""}},watch:{newTime:function(e){e&&this.getList()}},mounted:function(){this.getList()},methods:{getList:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a,r,s,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.loading){t.next=14;break}return e.loading=!0,e.orderCodeList=e.orderCode.split(","),e.options=[],t.next=6,o({post_code:e.orderCodeList[0]});case 6:return n=t.sent,t.next=9,e.useResHandle(n);case 9:n=t.sent,i=n.code,c=n.data,0===i?(i=c.status,a=c.post_logo,r=c.post_name,s=c.post_code,c=c.post_data,e.status=i+"",e.post_logo=a+"",e.post_name=r+"",e.post_code=s+"",e.options=c):e.options=[],e.loading=!1;case 14:case"end":return t.stop()}}),t)})))()}}};n("3c39"),n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"logisTimeLine",staticStyle:{margin:"0 0 0 30px"}},[n("ul",{staticClass:"clear",staticStyle:{padding:"10px 0 20px 0"}},[n("li",{staticClass:"fl"},[e._v("物流单号:")]),e._l(e.orderCodeList,(function(t){return n("li",{key:t,staticClass:"fl",staticStyle:{padding:"0 12px 0 0"}},[e._v(" "+e._s(t)+" ")])}))],2),e.options&&0<e.options.length?n("el-steps",{attrs:{direction:"vertical",active:e.options.length,space:80,"finish-status":e.finishStatus,"process-status":e.processStatus}},[e.status&&"0"!==e.status?n("div",{staticClass:"show-post clear"},[e.post_logo?n("img",{staticClass:"fl",attrs:{src:e.post_logo,alt:""}}):e._e(),e.post_name?n("div",{staticClass:"fl"},[e._v(e._s(e.post_name))]):e._e(),e.post_code?n("div",{staticClass:"fl"},[e._v(e._s(e.post_code))]):e._e()]):e._e(),e._l(e.options,(function(t,i){return n("el-step",{key:t.time+i,attrs:{icon:0===i?"el-icon-success":"el-icon-truck","finish-status":e.finishStatus,"process-status":e.processStatus}},[n("div",{attrs:{slot:"description"},slot:"description"},[n("p",{staticClass:"name"},[e._v(" "+e._s(t.time)+" ")]),n("p",{staticClass:"time"},[e._v(" "+e._s(t.context)+" ")])])])}))],2):e._e(),n("div",{staticClass:"nodate"},[e._v(e._s(e.orderCodeList[0])+" 暂无快递进程。")])],1)}),[],!1,null,null,null);t.default=n.exports},7509:function(e,t,n){"use strict";n.r(t);var i=n("2909"),a=n("3835"),o=n("b85c");n("d3b7"),n("caad"),n("2532"),n("b0c0"),n("ddb0"),n("a434"),n("4de4"),n("fb6a"),t.default={namespaced:!0,state:{visitedViews:[],cachedViews:[]},mutations:{ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,i=Object(o.a)(e.visitedViews.entries());try{for(i.s();!(n=i.n()).done;){var r=Object(a.a)(n.value,2),s=r[0];if(r[1].path===t.path){e.visitedViews.splice(s,1);break}}}catch(e){i.e(e)}finally{i.f()}},DEL_CACHED_VIEW:function(e,t){t=e.cachedViews.indexOf(t.name),-1<t&&e.cachedViews.splice(t,1)},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){t=e.cachedViews.indexOf(t.name),e.cachedViews=-1<t?e.cachedViews.slice(t,t+1):[]},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,i=Object(o.a)(e.visitedViews);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.path===t.path){Object.assign(a,t);break}}}catch(e){i.e(e)}finally{i.f()}}},actions:{addView:function(e,t){e=e.dispatch,e("addVisitedView",t),e("addCachedView",t)},addVisitedView:function(e,t){(0,e.commit)("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){(0,e.commit)("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(i.a)(a.visitedViews),cachedViews:Object(i.a)(a.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(i.a)(a.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(i.a)(a.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(i.a)(a.visitedViews),cachedViews:Object(i.a)(a.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(i.a)(a.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(i.a)(a.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(i.a)(a.visitedViews),cachedViews:Object(i.a)(a.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(i.a)(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(i.a)(n.cachedViews))}))},updateVisitedView:function(e,t){(0,e.commit)("UPDATE_VISITED_VIEW",t)}}}},"77b4":function(e,t,n){},"7b06":function(e,t,n){},"7d8b":function(e,t,n){"use strict";n.r(t);var i={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}};n("8aad"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[t("i",{staticClass:"hamburger",class:{"el-icon-s-fold":!e.isActive,"el-icon-s-unfold":e.isActive}})])}),[],!1,null,"1a6b0bf9",null);t.default=n.exports},8177:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("d3b7"),n("159b"),n("96cf"),n("1b69")),o=function(e,t){return Object(a.a)("admin/goldratelist",e,"post",t)},r={name:"SearchTax",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled","type","names"],data:function(){return{options:[],selectLoading:!1,searchName:""}},mounted:function(){this.options=[],this.selectLoading=!1,this.remoteMethod()},methods:{selectChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.$emit("searchChange",e);case 1:case"end":return n.stop()}}),n)})))()},remoteMethod:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.selectLoading=!0,t.next=3,o({});case 3:return n=t.sent,t.next=6,e.useResHandle(n);case 6:n=t.sent,i=n.code,a=n.data,n.message,0===i?(e.options=a,e.options.forEach((function(e){e.rate+="%"}))):e.options=[],e.selectLoading=!1;case 12:case"end":return t.stop()}}),t)})))()}}};n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{staticStyle:{width:"100%"},attrs:{size:e.size||"medium",filterable:"",clearable:"",placeholder:e.placeholder||"",disabled:e.disabled,loading:e.selectLoading},on:{change:e.selectChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,(function(e,t){return n("el-option",{key:e.rate+t+"",attrs:{label:e.rate,value:e.rate,disabled:"0"===e.status}})})),1)}),[],!1,null,null,null);t.default=n.exports},8201:function(e,t,n){"use strict";n.r(t);var i=n("5530"),a=(n("2ca0"),n("4de4"),n("d3b7"),n("c740"),n("2f62"));i={name:"mainMenu",data:function(){return{active:-1,list:[]}},computed:Object(i.a)({},Object(a.b)(["mainList"])),watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},mounted:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})).filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}));e[0]&&e[0].path?this.active=this.mainList.findIndex((function(t){return t.path===e[0].path})):this.active=-1}}},n("55d5"),a=n("2877"),n=Object(a.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mainMenu"},e._l(e.mainList,(function(t,i){return n("router-link",{key:"mainMenu"+i,class:{activeLink:e.active===i},attrs:{to:t.child}},[e._v(e._s(t.meta.title))])})),1)}),[],!1,null,"2e1a49a8",null);t.default=n.exports},"82f2":function(e,t,n){var i={"./AES.js":"d2843","./cookie.js":"aa18","./date.js":"b29c","./index.js":"082a","./initPwd.js":"3cee","./storage.js":"a0c0","./toLevelArr.js":"b3a8","./uuid.js":"a1f3","./validate.js":"1004"};function a(e){return e=o(e),n(e)}function o(e){if(n.o(i,e))return i[e];throw(e=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",e}a.keys=function(){return Object.keys(i)},a.resolve=o,(e.exports=a).id="82f2"},"83d6":function(e,t){e.exports={title:"采销平台供应商端",showSettings:!1,tagsView:!1,fixedHeader:!0,sidebarLogo:!0,errorLog:"production"}},8665:function(e,t,n){},"8aad":function(e,t,n){"use strict";n("1d86")},"8ab0":function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("d3b7"),n("ddb0"),n("e9c4"),n("d81d"),n("1b69")),o=function(e,t){return Object(a.a)("abutment/getExclusiveList",e,"post",t)},r={name:"searchExclusive",mixins:[n("9f53").a],props:["size","value","isDetail","placeholder","disabled"],watch:{value:function(e,t){this.values=e}},data:function(){return{values:[],options:[],loading:!0}},mounted:function(){this.options=[],this.loading=!1,this.remoteMethod()},methods:{handleChange:function(e){this.$emit("selectChange",e)},remoteMethod:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,e.options=[],t.next=4,o({});case 4:return n=t.sent,t.next=7,e.useResHandle(n);case 7:n=t.sent,a=n.code,i=n.data,n.message,0===a?((a=JSON.parse(JSON.stringify(i))).map((function(e){return 0===e.child.length?(e.disabled="0"===e.status,delete e.child):e.child.map((function(e){return e.disabled="0"===e.status,0===e.child.length&&delete e.child,e})),e})),e.options=a):e.options=[],e.loading=!1;case 13:case"end":return t.stop()}}),t)})))()}}};n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("el-cascader",{staticStyle:{width:"100%"},attrs:{size:e.size||"medium",filterable:"",clearable:"",options:e.options,placeholder:e.placeholder||"",props:{expandTrigger:"hover",children:"child",value:"id",label:"name",disabled:"disabled"},disabled:e.disabled},on:{change:e.handleChange},model:{value:e.values,callback:function(t){e.values=t},expression:"values"}})}),[],!1,null,"5bb71a24",null);t.default=n.exports},"8bbf":function(e,t){e.exports=Vue},"8efb":function(e,t,n){e.exports=n.p+"static/img/avatar.ecba1844.gif"},"8f91":function(e,t,n){},9523:function(e,t,n){},"952c":function(e,t,n){"use strict";n.r(t),n("a630"),n("3ca3"),n("d3b7"),n("6062"),n("ddb0"),n("99af");var i=Array.from(new Set(["el-icon-platform-eleme","el-icon-eleme","el-icon-delete-solid","el-icon-delete","el-icon-s-tools","el-icon-setting","el-icon-user-solid","el-icon-user","el-icon-phone","el-icon-phone-outline","el-icon-more","el-icon-more-outline","el-icon-star-on","el-icon-star-off","el-icon-s-goods","el-icon-goods","el-icon-warning","el-icon-warning-outline","el-icon-question","el-icon-info","el-icon-remove","el-icon-circle-plus","el-icon-success","el-icon-error","el-icon-zoom-in","el-icon-zoom-out","el-icon-remove-outline","el-icon-circle-plus-outline","el-icon-circle-check","el-icon-circle-close","el-icon-s-help","el-icon-help","el-icon-minus","el-icon-plus","el-icon-check","el-icon-close","el-icon-picture","el-icon-picture-outline","el-icon-picture-outline-round","el-icon-upload","el-icon-upload2","el-icon-download","el-icon-camera-solid","el-icon-camera","el-icon-video-camera-solid","el-icon-video-camera","el-icon-message-solid","el-icon-bell","el-icon-s-cooperation","el-icon-s-order","el-icon-s-platform","el-icon-s-fold","el-icon-s-unfold","el-icon-s-operation","el-icon-s-promotion","el-icon-s-home","el-icon-s-release","el-icon-s-ticket","el-icon-s-management","el-icon-s-open","el-icon-s-shop","el-icon-s-marketing","el-icon-s-flag","el-icon-s-comment","el-icon-s-finance","el-icon-s-claim","el-icon-s-custom","el-icon-s-opportunity","el-icon-s-data","el-icon-s-check","el-icon-s-grid","el-icon-menu","el-icon-share","el-icon-d-caret","el-icon-caret-left","el-icon-caret-right","el-icon-caret-bottom","el-icon-caret-top","el-icon-bottom-left","el-icon-bottom-right","el-icon-back","el-icon-right","el-icon-bottom","el-icon-top","el-icon-top-left","el-icon-top-right","el-icon-arrow-left","el-icon-arrow-right","el-icon-arrow-down","el-icon-arrow-up","el-icon-d-arrow-left","el-icon-d-arrow-right","el-icon-video-pause","el-icon-video-play","el-icon-refresh","el-icon-refresh-right","el-icon-refresh-left","el-icon-finished","el-icon-sort","el-icon-sort-up","el-icon-sort-down","el-icon-rank","el-icon-loading","el-icon-view","el-icon-c-scale-to-original","el-icon-date","el-icon-edit","el-icon-edit-outline","el-icon-folder","el-icon-folder-opened","el-icon-folder-add","el-icon-folder-remove","el-icon-folder-delete","el-icon-folder-checked","el-icon-tickets","el-icon-document-remove","el-icon-document-delete","el-icon-document-copy","el-icon-document-checked","el-icon-document","el-icon-document-add","el-icon-printer","el-icon-paperclip","el-icon-takeaway-box","el-icon-search","el-icon-monitor","el-icon-attract","el-icon-mobile","el-icon-scissors","el-icon-umbrella","el-icon-headset","el-icon-brush","el-icon-mouse","el-icon-coordinate","el-icon-magic-stick","el-icon-reading","el-icon-data-line","el-icon-data-board","el-icon-pie-chart","el-icon-data-analysis","el-icon-collection-tag","el-icon-film","el-icon-suitcase","el-icon-suitcase-1","el-icon-receiving","el-icon-collection","el-icon-files","el-icon-notebook-1","el-icon-notebook-2","el-icon-toilet-paper","el-icon-office-building","el-icon-school","el-icon-table-lamp","el-icon-house","el-icon-no-smoking","el-icon-smoking","el-icon-shopping-cart-full","el-icon-shopping-cart-1","el-icon-shopping-cart-2","el-icon-shopping-bag-1","el-icon-shopping-bag-2","el-icon-sold-out","el-icon-sell","el-icon-present","el-icon-box","el-icon-bank-card","el-icon-money","el-icon-coin","el-icon-wallet","el-icon-discount","el-icon-price-tag","el-icon-news","el-icon-guide","el-icon-male","el-icon-female","el-icon-thumb","el-icon-cpu","el-icon-link","el-icon-connection","el-icon-open","el-icon-turn-off","el-icon-set-up","el-icon-chat-round","el-icon-chat-line-round","el-icon-chat-square","el-icon-chat-dot-round","el-icon-chat-dot-square","el-icon-chat-line-square","el-icon-message","el-icon-postcard","el-icon-position","el-icon-turn-off-microphone","el-icon-microphone","el-icon-close-notification","el-icon-bangzhu","el-icon-time","el-icon-odometer","el-icon-crop","el-icon-aim","el-icon-switch-button","el-icon-full-screen","el-icon-copy-document","el-icon-mic","el-icon-stopwatch","el-icon-medal-1","el-icon-medal","el-icon-trophy","el-icon-trophy-1","el-icon-first-aid-kit","el-icon-discover","el-icon-place","el-icon-location","el-icon-location-outline","el-icon-location-information","el-icon-add-location","el-icon-delete-location","el-icon-map-location","el-icon-alarm-clock","el-icon-timer","el-icon-watch-1","el-icon-watch","el-icon-lock","el-icon-unlock","el-icon-key","el-icon-service","el-icon-mobile-phone","el-icon-bicycle","el-icon-truck","el-icon-ship","el-icon-basketball","el-icon-football","el-icon-soccer","el-icon-baseball","el-icon-wind-power","el-icon-light-rain","el-icon-lightning","el-icon-heavy-rain","el-icon-sunrise","el-icon-sunrise-1","el-icon-sunset","el-icon-sunny","el-icon-cloudy","el-icon-partly-cloudy","el-icon-cloudy-and-sunny","el-icon-moon","el-icon-moon-night","el-icon-dish","el-icon-dish-1","el-icon-food","el-icon-chicken","el-icon-fork-spoon","el-icon-knife-fork","el-icon-burger","el-icon-tableware","el-icon-sugar","el-icon-dessert","el-icon-ice-cream","el-icon-hot-water","el-icon-water-cup","el-icon-coffee-cup","el-icon-cold-drink","el-icon-goblet","el-icon-goblet-full","el-icon-goblet-square","el-icon-goblet-square-full","el-icon-refrigerator","el-icon-grape","el-icon-watermelon","el-icon-cherry","el-icon-apple","el-icon-pear","el-icon-orange","el-icon-coffee","el-icon-ice-tea","el-icon-ice-drink","el-icon-milk-tea","el-icon-potato-strips","el-icon-lollipop","el-icon-ice-cream-square","el-icon-ice-cream-round"].concat(["el-icon-info","el-icon-error","el-icon-success","el-icon-warning","el-icon-question","el-icon-back","el-icon-arrow-left","el-icon-arrow-down","el-icon-arrow-right","el-icon-arrow-up","el-icon-caret-left","el-icon-caret-bottom","el-icon-caret-top","el-icon-caret-right","el-icon-d-arrow-left","el-icon-d-arrow-right","el-icon-minus","el-icon-plus","el-icon-remove","el-icon-circle-plus","el-icon-remove-outline","el-icon-circle-plus-outline","el-icon-close","el-icon-check","el-icon-circle-close","el-icon-circle-check","el-icon-zoom-out","el-icon-zoom-in","el-icon-d-caret","el-icon-sort","el-icon-sort-down","el-icon-sort-up","el-icon-tickets","el-icon-document","el-icon-goods","el-icon-sold-out","el-icon-news","el-icon-message","el-icon-date","el-icon-printer","el-icon-time","el-icon-bell","el-icon-mobile-phone","el-icon-service","el-icon-view","el-icon-menu","el-icon-more","el-icon-more-outline","el-icon-star-on","el-icon-star-off","el-icon-location","el-icon-location-outline","el-icon-phone","el-icon-phone-outline","el-icon-picture","el-icon-picture-outline","el-icon-delete","el-icon-search","el-icon-edit","el-icon-edit-outline","el-icon-rank","el-icon-refresh","el-icon-share","el-icon-setting","el-icon-upload","el-icon-upload2","el-icon-download","el-icon-loading"]))),a={name:"IconList",model:{prop:"value",event:"change"},props:["value","disabled"],data:function(){return{newValue:"",elList:i,iconList:[]}},watch:{value:function(e){this.newValue=e}},mounted:function(){this.initFun()},methods:{changeVal:function(e){this.$emit("change",e)},initFun:function(){this.iconList=[]}}};n("510b"),n=n("2877"),n=Object(n.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"g-box"},[e._l(e.iconList,(function(t,i){return n("div",{key:i,staticClass:"g-block",on:{click:function(n){return e.changeVal("iconfont "+t)}}},[n("i",{staticClass:"iconfont",class:t})])})),e._l(e.elList,(function(t,i){return n("div",{key:i+"-el",staticClass:"g-block",on:{click:function(n){return e.changeVal(t)}}},[n("i",{class:t})])}))],2)}),[],!1,null,"106718d3",null);t.default=n.exports},9735:function(e,t,n){},"9c0c":function(e,t,n){},"9d89":function(e,t,n){},"9e53":function(e,t,n){"use strict";n.r(t),n("4de4"),n("d3b7"),n("a434");var i=n("53fe"),a=n.n(i);i={name:"ex-table",components:{"ex-slot":{functional:!0,props:{render:Function,scope:{type:Object,default:null},column:{type:Object,default:null}},render:function(e,t){return t.props.column&&(t.props.scope.column=t.props.column),t.props.render(e,t.props.scope)}}},props:{table:{type:Object,default:function(){}},data:{type:Array,default:function(){return[]}},columns:{type:Array,default:function(){return[]}},page:{type:Object,default:{curr:1,size:15,total:0}},conditions:{type:Array,default:function(){return[]}},isRowDrop:{type:Boolean,default:!1},isColDrop:{type:Boolean,default:!1},size:{type:String,default:"mini"}},computed:{screenColumns:function(){return this.columns.filter((function(e){return!0===e._screen_}))},setColumns:function(){return this.columns.filter((function(e){return!e._noset_}))},isHasScreenColumn:function(){return function(e){return this.conditions.some((function(t){return t.prop===e.prop}))}},page_curr:function(){return this.page.curr},page_size:function(){return this.page.size},page_total:function(){return this.page.total}},data:function(){return{tableSelection:[]}},watch:{page_curr:function(e){this.page.curr=e},page_size:function(e){this.page.size=e},page_total:function(e){this.page.total=e}},mounted:function(){this.rowDrop(),this.columnDrop()},directives:{drap:{inserted:function(e,t){e.onmousedown=function(n){var i=t.modifiers.parent?e.parentNode:e,a=document.body.offsetWidth,o=document.body.offsetHeight,r=i.offsetWidth,s=i.offsetHeight,c=n.clientX-i.offsetLeft,l=n.clientY-i.offsetTop;document.onmousemove=function(e){var n=e.clientX-c;e=e.clientY-l;t.modifiers.limit&&(n=a-r<(n=n<0?0:n)?a-r:n,e=o-s<(e=e<0?0:e)?o-s:e),i.style.left=n+"px",i.style.top=e+"px"},document.onmouseup=function(){document.onmousemove=null}}}}},methods:{arraySpanMethod:function(e){e.row,e.column,e.rowIndex,e.columnIndex},objectSpanMethod:function(e){e.row,e.column;var t=e.rowIndex;if(0===e.columnIndex)return t%2==0?{rowspan:2,colspan:1}:{rowspan:0,colspan:0}},handleSelectionChange:function(e){this.tableSelection=e,this.$emit("selection",{list:this.tableSelection})},rowDrop:function(){var e=this,t=document.querySelector(".el-table__body-wrapper > table > tbody");a.a.create(t,{disabled:!this.isRowDrop,ghostClass:"sortable-ghost",animation:180,delay:0,onEndevt:function(t){var n=e.data.splice(t.oldIndex,1)[0];e.data.splice(t.newIndex,0,n)}})},columnDrop:function(){var e=this,t=document.querySelector(".el-table__header-wrapper tr");a.a.create(t,{disabled:!this.isColDrop,ghostClass:"sortable-ghost",animation:180,delay:0,onEnd:function(t){var n=e.columns.splice(t.oldIndex,1)[0];e.columns.splice(t.newIndex,0,n)}})},getObjPrototype:function(e,t){return new Function("obj","return obj.".concat(t))(e)},doLayout:function(){var e;(e=this.$refs.elTable).doLayout.apply(e,arguments)},clearSelection:function(){var e;(e=this.$refs.elTable).clearSelection.apply(e,arguments)},toggleRowSelection:function(){var e;(e=this.$refs.elTable).toggleRowSelection.apply(e,arguments)},toggleAllSelection:function(){var e;(e=this.$refs.elTable).toggleAllSelection.apply(e,arguments)},setCurrentRow:function(){var e;(e=this.$refs.elTable).setCurrentRow.apply(e,arguments)},toggleRowExpansion:function(){var e;(e=this.$refs.elTable).toggleRowExpansion.apply(e,arguments)}}},n("e52d"),n("59fa"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"table-header"},[e._l(e.table._defaultHeader_,(function(t,i){return["setcol"==t?n("el-dropdown",{key:i,staticClass:"setcol-table-lie",attrs:{placement:"bottom-end",trigger:"click","hide-on-click":!1}},[n("el-button",{attrs:{size:"mini"}},[e._v("列设置")]),n("el-dropdown-menu",{class:"ex-table-setcol-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.setColumns,(function(t,i){return[t._noset_?e._e():n("el-dropdown-item",{key:"setColumns"+i},[n("el-switch",{attrs:{"active-text":t.label,"active-value":!1,"inactive-value":!0},model:{value:t._hidden_,callback:function(n){e.$set(t,"_hidden_",n)},expression:"column._hidden_"}})],1)]}))],2)],1):e._e()]})),e._t("table-header",null,{selection:e.tableSelection,alldata:e.data})],2),n("el-table",e._g(e._b({ref:"elTable",staticStyle:{width:"100%"},attrs:{data:e.data,size:e.size,"span-method":e.arraySpanMethod},on:{"selection-change":e.handleSelectionChange}},"el-table",e.table,!1),e.$listeners),[e._l(e.columns,(function(t,i){return[t._hidden_||!t.type||t._slot_?t._hidden_?e._e():n("el-table-column",e._b({key:i,attrs:{"show-overflow-tooltip":""},scopedSlots:e._u([{key:"header",fn:function(i){return[n("span",[e._v(e._s(t.label))]),t._screen_?n("span",{on:{click:function(n){return n.stopPropagation(),e.addConditionItemByCol(t,i)}}},[!1===t._screen_tip_?n("i",{staticClass:"el-icon-connection",style:e.isHasScreenColumn(t)?"color:#3888e5;":""}):n("el-tooltip",{attrs:{effect:t._screen_tip_effect_||"dark",content:t._screen_tip_||"筛选",placement:t._screen_tip_placement_||"top"}},[n("i",{staticClass:"el-icon-connection",style:e.isHasScreenColumn(t)?"color:#3888e5;":""})])],1):e._e()]}},{key:"default",fn:function(i){return t._slot_?e._t(t._slot_,null,{scope:i}):t._render_?[n("ex-slot",{attrs:{column:t,render:t._render_,scope:i}})]:[n("span",[e._v(e._s(t._format_?t._format_(i.row):e.getObjPrototype(i.row,t.prop)))])]}}],null,!0)},"el-table-column",t,!1)):n("el-table-column",e._b({key:i,attrs:{align:"center",width:"45px"}},"el-table-column",t,!1))]}))],2),e.data&&0<e.data.length?n("div",{staticClass:"Pagination",staticStyle:{"text-align":"right","margin-top":"10px"}},[n("el-pagination",{attrs:{"current-page":e.page.curr,"page-sizes":[15,50,100],"page-size":e.page.size,size:e.searchSize,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":function(t){return e.$emit("page-size-change",t)},"current-change":function(t){return e.$emit("page-curr-change",t)}}})],1):e._e()],1)}),[],!1,null,"991bc782",null);t.default=n.exports},"9f53":function(e,t,n){"use strict";var i=n("1da1");n("96cf"),n("d3b7"),n("ac1f"),n("5319"),n("b680"),t.a={methods:{useResHandle:function(e,t){var n=this;return Object(i.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,new Promise(function(){var a=Object(i.a)(regeneratorRuntime.mark((function a(o,r){var s,c;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(c=(s=null!=e?e:{}).code,s.data,s=s.message,0!==(c=parseInt(c+""))){a.next=6;break}o(e),a.next=21;break;case 6:if(101<=c&&c<=104)return n.loading&&(n.loading=!1),a.next=10,n.logout();a.next=12;break;case 10:a.next=21;break;case 12:if(105<=c&&c<=106)return n.loading&&(n.loading=!1),n.$notify({title:"当前供应商参数错误",dangerouslyUseHTMLString:!0,message:"5秒后,请您重新登录!"}),a.next=17,setTimeout(Object(i.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.logout();case 2:case"end":return e.stop()}}),e)}))),5e3);a.next=19;break;case 17:a.next=21;break;case 19:n.loading&&(n.loading=!1),t?o(e):n.$message.warning(s);case 21:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}());case 2:return a.abrupt("return",a.sent);case 3:case"end":return a.stop()}}),a)})))()},logout:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("/login"!==e.$route.path)return t.next=3,e.$store.dispatch("user/logout");t.next=4;break;case 3:e.$router.push("/login?redirect=".concat(e.$route.fullPath));case 4:case"end":return t.stop()}}),t)})))()},routeGoto:function(e,t){return Object(i.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:window.vm.$router.push({path:e,query:t});case 1:case"end":return n.stop()}}),n)})))()},routeReGoto:function(e,t){return Object(i.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:window.vm.$router.replace({path:e,query:t});case 1:case"end":return n.stop()}}),n)})))()},setNum:function(e){return e?parseFloat(e+"").toFixed(2):"-"}}}},a0c0:function(e,t,n){"use strict";n.r(t),n("e9c4");var i=window.localStorage;t.default={getStorage:function(e){return"string"!=typeof e&&alert("获取localStorage出错 - 输入参数必须是一个字符串"),JSON.parse(i.getItem(e))},setStorage:function(e,t){"string"!=typeof e&&alert("设置localStorage出错 - 第一个输入参数必须是一个字符串"),i.setItem(e,JSON.stringify(t))},delStorage:function(e){if("string"==typeof e)i.removeItem(e);else if(e instanceof Array)for(var t=e.length-1;0<=t;t--)i.removeItem(e[t]);else alert("删除localStorage出错 - 请输入一个字符串或数组对象")},clearStorage:function(){i.clear()}}},a0d0:function(e,t,n){},a18c:function(e,t,n){"use strict";n("d3b7"),n("3ca3"),n("ddb0");var i=VueRouter,a=new i({mode:"hash",base:"/",scrollBehavior:function(){return{y:0}},routes:[{path:"/",redirect:"/loadingPage"},{path:"/loadingPage",component:function(){return n.e("chunk-25ffc4de").then(n.bind(null,"7e10"))},hidden:!0},{path:"/login",component:function(){return n.e("chunk-9e9dd6a0").then(n.bind(null,"9ed6"))},hidden:!0},{path:"/forget-password",component:function(){return n.e("chunk-482cb3ce").then(n.bind(null,"43b9"))},hidden:!0,noCache:!0},{path:"/welcome",component:function(){return n.e("chunk-61c1cc8a").then(n.bind(null,"c1f7"))},redirect:"/welcome/dashboard",children:[{path:"dashboard",component:function(){return n.e("chunk-8a90d99e").then(n.bind(null,"9406"))},name:"dashboard",meta:{title:"首页",icon:"dashboard",affix:!0}}]}]}),o=i.prototype.push;i.prototype.push=function(e){return o.call(this,e).catch((function(e){return e}))},Vue.use(i),t.a=a},a1f3:function(e,t,n){"use strict";n.r(t),n("a15b"),t.default={getUuId:function(){for(var e=[],t="0123456789abcdef",n=0;n<32;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e.join("")}}},a646:function(e,t,n){"use strict";n("7b06")},aa18:function(e,t,n){"use strict";n.r(t),n("ac1f"),n("1276"),n("4d63"),n("2c3e"),n("25f0"),n("466d");var i,a=document,o=(n=window.location.hostname,"localhost"===n||"127.0.0.1"===n?";domain="+n+";path=/":(i=n.split(".").length,";domain=."+n.split(".")[i-2]+"."+n.split(".")[i-1]+";path=/")),r={setCookie:function(e,t,n){n=new Date(n),n=isNaN(n)?"":";expires="+n.toGMTString(),a.cookie=e+"="+t+n+";path=/"},getCookie:function(e){return e=new RegExp("(^| )"+e+"=([^;]*)(;|$)"),e=a.cookie.match(e),e?decodeURIComponent(e[2]):""},delCookieDomain:function(e){var t=new Date;t.setTime(t.getTime()-100),a.cookie=e+"= ;expires="+t.toGMTString()+o},delCookie:function(e){var t=new Date;t.setTime(t.getTime()-864e5),r.setCookie(e,"",t),r.getCookie(e)&&r.delCookieDomain(e)},clearCookie:function(){var e=a.cookie.split(";");if(e)for(var t=e.length;t--;){var n=new Date;n.setTime(n.getTime()-100),a.cookie=e[t].split("=")[0]+'=" ";expires='+n.toGMTString()+o}}};t.default=r},aa93:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("d3b7"),n("159b"),n("1b69")),o=function(e,t){return Object(a.a)("abutment/catListTitle",e,"post",t)},r={name:"goodClass",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled"],data:function(){return{loading:!1,props:{checkStrictly:!0,expandTrigger:"hover",lazy:!0,lazyLoad:function(e,t){return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,r,s,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=e.level,r=e.value,e.root,e.loading,a=[],(s={cat_name:"",pid:"",status:""}).pid=0===i?"0":r,n.next=6,o(s);case 6:r=n.sent,s=r.code,c=r.data,0===s?(c.forEach((function(e){e={value:e.id,label:e.cat_name,leaf:2<=i,desc:e.cat_desc},a.push(e)})),t(a)):t([]);case 10:case"end":return n.stop()}}),n)})))()}}}},mounted:function(){this.options=[],this.selectLoading=!1},methods:{handleChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.$emit("handleChange",e);case 1:case"end":return n.stop()}}),n)})))()}}};n("35b4"),n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"select-goodsClass"},[e.loading?e._e():t("el-cascader",{staticStyle:{width:"100%"},attrs:{size:e.size||"medium",filterable:"",clearable:"",placeholder:e.placeholder||"",props:e.props,disabled:e.disabled},on:{change:e.handleChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})],1)}),[],!1,null,"5524edce",null);t.default=n.exports},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b23f:function(e,t,n){"use strict";n.r(t);var i={name:"PeriodDatePicker",props:["start","end","disabled","size","width","type","placeholder"],data:function(){var e=this;return{startTime:this.start,endTime:this.end,isEdit:this.disabled,pickerOptions1:{disabledDate:function(t){if(null!=e.endTime&&""!=e.endTime&&t)return t.getTime()>new Date(e.endTime).valueOf()}},pickerOptions2:{disabledDate:function(t){if(null!=e.startTime&&""!=e.startTime&&t)return t.getTime()<new Date(e.startTime).valueOf()}}}},watch:{disabled:function(e){this.isEdit=e},start:function(e){this.startTime=e},end:function(e){this.endTime=e}},mounted:function(){},methods:{timeChange:function(){""!==this.startTime&&null!==this.startTime&&""!==this.endTime&&null!==this.endTime?this.type+""!="1"||this.setType(365)?this.type+""!="2"||this.setType(90)?new Date(this.endTime).valueOf()<new Date(this.startTime).valueOf()?this.showMessage("结束时间不大于开始时间!"):this.timeReturned():this.showMessage("时间跨度不能超过90天!"):this.showMessage("时间跨度不能超过一年!"):this.timeReturned()},timeReturned:function(){var e=null==this.startTime?"":this.startTime,t=null==this.endTime?"":this.endTime;e={startTime:""==e?"":this.transformTime(e),endTime:""==t?"":this.transformTime(t)};this.$emit("timeReturned",e)},transformTime:function(e){e=new Date(e);var t=e.getFullYear(),n=e.getMonth()+1;e=e.getDate();return t+"-"+(n<10?"0"+n:n)+"-"+(e<10?"0"+e:e)},showMessage:function(e){this.$message.error(e),this.startTime="",this.endTime="",this.timeReturned()},setType:function(e){var t=new Date(this.startTime).valueOf();return!(864e5*e<new Date(this.endTime).valueOf()-t)}}};n("a646"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"fl time"},[t("el-date-picker",{staticClass:"date-picker",staticStyle:{margin:"0"},style:{width:e.width},attrs:{type:"date",size:e.size,placeholder:e.placeholder||"开始日期","value-format":"yyyy-MM-dd","picker-options":e.pickerOptions1,editable:!1,clearable:!0,disabled:e.isEdit},on:{change:e.timeChange},model:{value:e.startTime,callback:function(t){e.startTime=t},expression:"startTime"}}),t("samp",{staticStyle:{padding:"0 3px",margin:"0"}},[e._v("至")]),t("el-date-picker",{staticClass:"date-picker",staticStyle:{margin:"0"},style:{width:e.width},attrs:{size:e.size,type:"date",placeholder:e.placeholder||"结束日期",disabled:e.isEdit,"picker-options":e.pickerOptions2,editable:!1,"value-format":"yyyy-MM-dd",clearable:!0},on:{change:e.timeChange},model:{value:e.endTime,callback:function(t){e.endTime=t},expression:"endTime"}})],1)}),[],!1,null,null,null);t.default=n.exports},b29c:function(e,t,n){"use strict";n.r(t),n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("2c3e"),n("25f0"),n("fb6a"),n("99af"),t.default={dateFormat:function(e,t){if(!e||!t)return"";if("string"!=typeof e&&"number"!=typeof e||(e=new Date(e)),isNaN(e))return"";var n,i={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(n in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),i)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?"000":("00"+i[n]).substr((""+i[n]).length)));return t},datePlus24:function(e){return new Date(864e5*parseInt((e+864e5)/864e5)-288e5)},dateTransform:function(e){var t,n;return e&&8===e.length?(t=e.slice(0,4),n=e.slice(4,6),e=e.slice(6,8),"".concat(t,"-").concat(n,"-").concat(e)):""},UTCto0800:function(e){return e=new Date(e),e.getTime()+60*e.getTimezoneOffset()*1e3}}},b3a8:function(e,t,n){"use strict";n.r(t),n("b0c0"),n("d3b7"),n("159b"),n("e9c4"),t.default={toLevelArr:function(e){var t,n=[];return e&&"TypeError"!==e.name&&0===e.code&&e.data&&e.data.arrays&&0<e.data.arrays.length&&(t=e.data.arrays,e.data.showNames.length<5&&e.data.showNames.unshift("期"),t.forEach((function(t,i){var a=JSON.parse(JSON.stringify(t));delete a.nexts,a.label=a.numberShow+e.data.showNames[0],a.idThis=i+"",a.pid=0,a.isLeaf=!1,n.push(a),t.nexts.forEach((function(t,a){var o=JSON.parse(JSON.stringify(t));delete o.nexts,o.label=o.numberShow+e.data.showNames[1],o.idThis=i+"-"+a,o.pid=i+"",o.isLeaf=!1,n.push(o),t.nexts.forEach((function(t,o){var r=JSON.parse(JSON.stringify(t));delete r.nexts,r.label=r.numberShow+e.data.showNames[2],r.idThis=i+"-"+a+"-"+o,r.pid=i+"-"+a,r.isLeaf=!1,n.push(r),t.nexts.forEach((function(t,r){var s=JSON.parse(JSON.stringify(t));delete s.nexts,s.label=s.numberShow+e.data.showNames[3],s.idThis=i+"-"+a+"-"+o+"-"+r,s.pid=i+"-"+a+"-"+o,n.push(s),t.nexts&&0<t.nexts.length?(s.isLeaf=!1,t.nexts.forEach((function(t,s){t=JSON.parse(JSON.stringify(t)),delete t.nexts,t.label=t.numberShow+e.data.showNames[4],t.idThis=i+"-"+a+"-"+o+"-"+r+"-"+s,t.pid=i+"-"+a+"-"+o+"-"+r,t.isLeaf=!0,n.push(t)}))):s.isLeaf=!0}))}))}))}))),n}}},b6c5:function(e,t,n){"use strict";n("8665")},b86f:function(e,t,n){"use strict";var i=n("1da1"),a=(n("96cf"),n("d3b7"),n("a18c"),n("5daa")),o=n("5f87"),r={},s=(window.ajaxTimeout=2e4,Object(i.a)(regeneratorRuntime.mark((function e(){var t,n,s,c,l,u,d,p=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=0<p.length&&void 0!==p[0]?p[0]:"",n=1<p.length&&void 0!==p[1]?p[1]:{},s=2<p.length&&void 0!==p[2]?p[2]:"GET",c=3<p.length&&void 0!==p[3]?p[3]:{},l=4<p.length&&void 0!==p[4]?p[4]:r,u=5<p.length?p[5]:void 0,s=s.toLowerCase(),d={method:s,baseURL:"",url:a.a.userURL+t,data:n,params:c,processData:!0,timeout:window.ajaxTimeout,headers:l,onUploadProgress:u},u&&"function"==typeof u&&(d.onUploadProgress=u),axios.interceptors.request.use((function(e){return e.data.token||(e.data.token=Object(o.d)()),e}),(function(e){return Promise.reject(new Error("服务器异常,请联系管理员!"))})),axios.interceptors.response.use(function(){var e=Object(i.a)(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return 200===t.status&&101<=(n=t.data.code)&&n<=104&&(Object(o.j)(),Object(o.i)(),Object(o.h)()),e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){return Promise.reject(e.response.data)})),e.abrupt("return",new Promise((function(e,t){axios(d).then((function(t){e(t.data)})).catch((function(e){e.response&&e.response.data?t(e.response.data):t(e)}))})));case 13:case"end":return e.stop()}}),e)}))));t.a={verfiy:function(e,t){return s("admin/verify_code",e,"post",t)},resetpwd:function(e,t){return s("admin/passmobile",e,"post",t)},resetmobile:function(e,t){return s("Api/resetmobile",e,"post",t)},setpwd:function(e,t){return s("Api/passsave",e,"post",t)},list:function(e,t){return s("admin/menu",e,"post",t)},detail:function(e,t){return s("Api/userinfo",e,"post",t)},version:function(e,t){return s("admin/lastversion",e,"post",t)},prefect:function(e,t){return s("Api/prefect",e,"post",t)}}},bd4a:function(e,t,n){"use strict";n("1852")},bf54:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("99af"),n("e9c4"),n("d3b7"),n("159b"),n("b0c0"),n("ac1f"),n("1276"),n("1b69")),o="abutment/",r=function(e,t){return Object(a.a)(o+"goodinfo",e,"post",t)},s=function(e,t){return Object(a.a)(o+"getGoodDetail",e,"post",t)},c=function(e,t){return Object(a.a)(o+"goodZxInfo",e,"post",t)},l=function(e,t){return Object(a.a)(o+"getGoodZxInfoByNotZixun",e,"post",t)},u=n("9f53"),d=[{prop:"good_name",label:"商品名称",_slot_:"good_name",span:24},{prop:"cat",label:"分类",span:8},{prop:"brand_name",label:"品牌",span:6},{prop:"unit",label:"单位",span:4},{prop:"send_way",label:"发货方式",_slot_:"send_way",span:6},{prop:"tax",label:"税点",append:"%",span:4},{prop:"pay_way",label:"付款方式",_slot_:"pay_way",span:4},{prop:"weight",label:"商品总克重",append:"g",span:6},{prop:"creater",label:"反馈人",span:4},{prop:"addtime",label:"反馈时间",span:6},{prop:"supply_area",label:"供货区域",_slot_:"supply_area",span:6},{prop:"good_img",label:"商品图片",_slot_:"good_img",span:18},{prop:"craft_desc",label:"工艺说明",span:24},{prop:"remark",label:"采返备注",span:24}],p=[{prop:"good_name",label:"商品名称",_slot_:"good_name",span:24},{prop:"cat",label:"分类",span:8},{prop:"brand_name",label:"品牌",span:6},{prop:"unit",label:"单位",span:4},{prop:"send_way",label:"发货方式",_slot_:"send_way",span:6},{prop:"tax",label:"税点",append:"%",span:4},{prop:"pay_way",label:"付款方式",_slot_:"pay_way",span:4},{prop:"weight",label:"商品总克重",append:"g",span:6},{prop:"creater",label:"反馈人",span:4},{prop:"addtime",label:"反馈时间",span:6},{prop:"expire_day",label:"竞价有效期",append:"天",span:6},{prop:"delivery_day",label:"物流时间",append:"天",span:6},{prop:"work_day",label:"生产工期",append:"天",span:6},{prop:"supply_area",label:"供货区域",_slot_:"supply_area",span:6},{prop:"good_img",label:"商品图片",_slot_:"good_img",span:24},{prop:"craft_desc",label:"工艺说明",span:24},{prop:"remark",label:"采返备注",span:24}],m=[{prop:"good_name",label:"商品名称",_slot_:"good_name",span:24},{prop:"good_img",_slot_:"good_img",label:"商品主图"},{prop:"good_info_img",_slot_:"good_info_img",label:"详情图"},{prop:"company",label:"业务企业名称",_slot_:"company"},{prop:"platform_name",label:"所属平台",span:6},{prop:"brand_name",label:"品牌",span:6},{prop:"cat",label:"分类",span:8},{prop:"unit",label:"单位",span:4},{prop:"is_stock",label:"是否库存品",_slot_:"is_stock",span:6},{prop:"supply_area",label:"供货区域",_slot_:"supply_area",span:6},{prop:"good_type",label:"是否定制",_slot_:"good_type",span:8},{prop:"tax",label:"税点",append:"%",span:4},{prop:"delivery_day",label:"物流时间",append:"天",span:4},{prop:"lead_time",label:"供货周期",append:"天",span:4},{prop:"sample_day",label:"调样周期",append:"天",span:4},{prop:"exclusive",label:"专属类型",_slot_:"exclusive",span:6},{prop:"weight",label:"商品总克重",append:"g",span:6},{prop:"delivery_place_cn",label:"发货地",span:8},{prop:"customized",label:"工期",append:"天",span:8},{prop:"purchase",label:"采购人",span:8},{prop:"after_sales",label:"售后说明",span:24},{prop:"good_remark",label:"商品备注",span:24},{prop:"craft_desc",label:"工艺说明",span:24}],f=[{prop:"good_name",label:"商品名称",_slot_:"good_name",span:24},{prop:"good_img",_slot_:"good_img",label:"商品主图"},{prop:"good_info_img",_slot_:"good_info_img",label:"详情图"},{prop:"company",label:"业务企业名称",_slot_:"company"},{prop:"supplierName",label:"供应商名称",_slot_:"supplierName"},{prop:"cat",label:"分类",span:12},{prop:"unit",label:"单位",span:6},{prop:"brand_name",label:"品牌",span:6},{prop:"is_auth",label:"供应商权限",_slot_:"is_auth",span:6},{prop:"is_stock",label:"是否库存品",_slot_:"is_stock",span:6},{prop:"supply_area",label:"供货区域",_slot_:"supply_area",span:6},{prop:"tax",label:"税点",append:"%",span:6},{prop:"exclusive",label:"专属类型",_slot_:"exclusive",span:6},{prop:"weight",label:"商品总克重",append:"g",span:6},{prop:"good_type",label:"是否定制",_slot_:"good_type",span:12},{prop:"after_sales",label:"售后说明",span:24},{prop:"good_remark",label:"商品备注",span:24},{prop:"craft_desc",label:"工艺说明",span:24}],h=[{id:"0",name:"否"},{id:"1",name:"是"}],g=[{id:"0",name:"非泰康"},{id:"1",name:"泰康"}],b=[{id:"0",name:"无销售权限"},{id:"1",name:"有销售权限"}],_=[{id:"0",name:"系统商品"},{id:"1",name:"库存品"}],v=[{id:"0",name:"否"},{id:"1",name:"是"}],w=[{id:"1",name:"全国"},{id:"2",name:"全国除偏远"}],y=[{id:"0",name:"否"},{id:"1",name:"是"}],x=[{id:"1",name:"待完善成本"},{id:"2",name:"待产品审核"},{id:"3",name:"待财务定价"},{id:"4",name:"待财务审核定价"},{id:"5",name:"待上线"},{id:"6",name:"上线成功"},{id:"7",name:"审核失败"},{id:"8",name:"已下线"}],k=[{id:"0",name:"现结"},{id:"1",name:"月清"},{id:"2",name:"双月清"}],C=[{id:"0",name:"现结"},{id:"1",name:"月清"},{id:"2",name:"双月清"}],O=[{id:"0",name:"公司自提"},{id:"1",name:"供应商包邮"}],S=[{id:"0",name:"一地"},{id:"1",name:"多地"}];u={name:"showGoodsDataTable",mixins:[u.a],props:{newTime:{type:String,default:""},type:{type:String,default:""},skucode:{type:String,default:""},iscgd:{type:Boolean,default:!1},spucode:{type:String,default:""},border:{type:Boolean,default:!1}},computed:{},data:function(){return{loading:!0,sitem:{},options1:h,options2:g,options3:b,options4:_,options5:v,options6:w,options7:y,options8:x,options9:k,options10:C,options11:O,options12:S,onlineColumns:m,reColumns:d,costColumns:f,coveColumns:p}},watch:{newTime:function(e){e&&this.initForm()}},mounted:function(){this.initForm()},methods:{initForm:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.columns=[],e.loading=!0,!e.type){t.next=34;break}if(n={},"1"!==e.type&&"2"!==e.type&&"5"!==e.type&&"6"!==e.type){t.next=17;break}if(e.iscgd)return t.next=9,s({spuCode:e.spucode});t.next=12;break;case 9:n=t.sent,t.next=15;break;case 12:return t.next=14,r({skuCode:e.skucode});case 14:n=t.sent;case 15:t.next=26;break;case 17:if(e.iscgd)return t.next=20,l({spuCode:e.spucode});t.next=23;break;case 20:n=t.sent,t.next=26;break;case 23:return t.next=25,c({spuCode:e.spucode});case 25:n=t.sent;case 26:return t.next=28,e.useResHandle(n);case 28:i=t.sent,a=i.code,i.message,i=i.data,0===a&&(e.sitem=JSON.parse(JSON.stringify(i)),a=e.sitem.cat_info,o="",a&&0<a.length&&a.forEach((function(e,t){o+=0===t?e.name:"_"+e.name})),e.sitem.cat=o,e.sitem&&e.sitem.good_img&&(e.sitem.good_img=e.sitem.good_img.split(",")),e.sitem&&e.sitem.good_info_img&&(e.sitem.good_info_img=e.sitem.good_info_img.split(","))),e.loading=!1;case 34:case"end":return t.stop()}}),t)})))()}}},n=n("2877"),n=Object(n.a)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"showGoodsDataTable"},["1"!==e.type&&"2"!==e.type&&"5"!==e.type&&"6"!==e.type||!this.sitem||!this.sitem.addtime||e.iscgd?("1"===e.type||"2"===e.type||"5"===e.type||"6"===e.type)&&this.sitem&&this.sitem.addtime&&e.iscgd?n("show-data-table",{attrs:{sitem:e.sitem,columns:e.costColumns,border:e.border}},[n("template",{slot:"good_name"},[e.sitem.good_thumb_img?n("img",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"fl",staticStyle:{width:"23px",height:"23px",margin:"0 5px 0 0"},attrs:{src:e.sitem.good_thumb_img,alt:""}}):e._e(),n("span",[e._v(e._s(e.sitem.good_name))]),e._l(e.sitem.speclist,(function(t,i){return n("span",{key:t.spec_id+i},[n("span",0!==i?[e._v("-")]:[e._v("_")]),n("span",[e._v(e._s(t.spec_name)+"["+e._s(t.spec_value)+"]")])])})),n("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[n("ul",[n("li",[n("span",[e._v("商品成本编号:")]),n("span",[e._v(e._s(e.sitem.spuCode))])])]),n("i",{staticClass:"el-icon-warning-outline fr",attrs:{slot:"reference"},slot:"reference"})])],2),n("template",{slot:"good_img"},e._l(e.sitem.good_img,(function(e,t){return n("img",{directives:[{name:"viewer",rawName:"v-viewer"}],key:e+t,staticClass:"fl",staticStyle:{width:"23px",height:"23px",margin:"0 5px 0 0"},attrs:{src:e}})})),0),n("template",{slot:"good_info_img"},e._l(e.sitem.good_info_img,(function(e,t){return n("img",{directives:[{name:"viewer",rawName:"v-viewer"}],key:e+t,staticClass:"fl",staticStyle:{width:"23px",height:"23px",margin:"0 5px 0 0"},attrs:{src:e}})})),0),n("template",{slot:"company"},[n("span",[e._v(e._s(e.sitem.company))]),n("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[n("ul",[n("li",[n("span",[e._v("业务企业编号:")]),n("span",[e._v(e._s(e.sitem.companyNo))])])]),n("i",{staticClass:"el-icon-warning-outline fr",attrs:{slot:"reference"},slot:"reference"})])],1),n("template",{slot:"supplierName"},[n("span",[e._v(e._s(e.sitem.supplierName))]),n("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[n("ul",[n("li",[n("span",[e._v("供应商编号:")]),n("span",[e._v(e._s(e.sitem.supplierNo))])])]),n("i",{staticClass:"el-icon-warning-outline fr",attrs:{slot:"reference"},slot:"reference"})])],1),n("template",{slot:"exclusive"},e._l(e.sitem.exclusive,(function(t,i){return n("span",{key:t.id},[0!==i?n("span",[e._v("/")]):e._e(),e._v(" "),n("span",[e._v(e._s(t.name))])])})),0),n("template",{slot:"supply_area"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options6.find((function(t){return t.id==e.sitem.supply_area}))||{}).name||"--")}})],1),n("template",{slot:"is_stock"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options4.find((function(t){return t.id==e.sitem.is_stock}))||{}).name||"--")}})],1),n("template",{slot:"is_auth"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options3.find((function(t){return t.id==e.sitem.is_auth}))||{}).name||"--")}})],1),n("template",{slot:"good_type"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options1.find((function(t){return t.id==e.sitem.good_type}))||{}).name||"--")}}),"1"===e.sitem.good_type?n("span",{staticStyle:{padding:"0 0 0 5px"}},[e._v(e._s(e.sitem.moq)+"起订/工期"+e._s(e.sitem.customized)+"天")]):e._e()],1),n("template",{slot:"noble"},[e.sitem.noble_metal?n("span",[e._v(e._s(e.sitem.noble_weight||"0")+"g-"+e._s(e.sitem.noble_name)+"-"+e._s(e.sitem.gold_price||"0")+"元/g-"+e._s("0"===e.sitem.is_gold_price?"不":"")+"启用实时金价-"+e._s("1"===e.sitem.is_diff?"有":"无")+"工差-"+e._s(e.sitem.config)+"-"+e._s(e.sitem.other_config))]):e._e()])],2):"3"!==e.type&&"4"!==e.type||!this.sitem||!this.sitem.addtime||e.iscgd?("3"===e.type||"4"===e.type)&&this.sitem&&this.sitem.addtime&&e.iscgd?n("show-data-table",{attrs:{sitem:e.sitem,columns:e.coveColumns,border:e.border}},[n("template",{slot:"good_name"},[n("span",[e._v(e._s(e.sitem.good_name))]),e._l(e.sitem.specinfo,(function(t,i){return n("span",{key:t.spec_id+i},[n("span",0!==i?[e._v("-")]:[e._v("_")]),n("span",[e._v(e._s(t.spec_name)+"["+e._s(t.spec_value_name)+"]")])])})),n("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[n("ul",[n("li",[n("span",[e._v("商品编号:")]),n("span",[e._v(e._s(e.sitem.spuCode))])])]),n("i",{staticClass:"el-icon-warning-outline fr",attrs:{slot:"reference"},slot:"reference"})])],2),n("template",{slot:"send_way"},[n("span",[e._v(e._s("1"===e.sitem.send_way?"供应商包邮":"公司自提"))])]),n("template",{slot:"good_type"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options1.find((function(t){return t.id==e.sitem.good_type}))||{}).name||"--")}}),"1"===e.sitem.good_type?n("span",{staticStyle:{padding:"0 0 0 5px"}},[e._v(e._s(e.sitem.moq)+"起订/工期"+e._s(e.sitem.customized)+"天")]):e._e()],1),n("template",{slot:"supply_area"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options6.find((function(t){return t.id===e.sitem.supply_area}))||{}).name||"--")}})],1),n("template",{slot:"pay_way"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options9.find((function(t){return t.id==e.sitem.pay_way}))||{}).name||"--")}})],1),n("template",{slot:"noble"},[e.sitem.noble_name?n("span",[e._v(e._s(e.sitem.noble_weight||"0")+"g-"+e._s(e.sitem.noble_name)+"-"+e._s(e.sitem.gold_price||"0")+"元/g-"+e._s("0"===e.sitem.is_gold_price?"不":"")+"启用实时金价-"+e._s("1"===e.sitem.is_diff?"有":"无")+"工差-"+e._s(e.sitem.config)+"-"+e._s(e.sitem.other_config))]):n("span",[e._v("--")])]),n("template",{slot:"good_img"},e._l(e.sitem.good_img,(function(e,t){return n("img",{directives:[{name:"viewer",rawName:"v-viewer"}],key:e+t,staticClass:"fl",staticStyle:{width:"23px",height:"23px",margin:"0 5px 0 0"},attrs:{src:e,alt:""}})})),0)],2):n("div",[e._v("商品编号有误")]):n("show-data-table",{attrs:{sitem:e.sitem,columns:e.reColumns,border:e.border}},[n("template",{slot:"good_name"},[n("span",[e._v(e._s(e.sitem.good_name))]),e._l(e.sitem.specinfo,(function(t,i){return n("span",{key:t.spec_id+i},[n("span",0!==i?[e._v("-")]:[e._v("_")]),n("span",[e._v(e._s(t.spec_name)+"["+e._s(t.spec_value_name)+"]")])])})),n("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[n("ul",[n("li",[n("span",[e._v("商品编号:")]),n("span",[e._v(e._s(e.sitem.spuCode))])])]),n("i",{staticClass:"el-icon-warning-outline fr",attrs:{slot:"reference"},slot:"reference"})])],2),n("template",{slot:"send_way"},[n("span",[e._v(e._s("1"===e.sitem.send_way?"供应商包邮":"公司自提"))])]),n("template",{slot:"good_type"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options1.find((function(t){return t.id==e.sitem.good_type}))||{}).name||"--")}}),"1"===e.sitem.good_type?n("span",{staticStyle:{padding:"0 0 0 5px"}},[e._v(e._s(e.sitem.moq)+"起订/工期"+e._s(e.sitem.customized)+"天")]):e._e()],1),n("template",{slot:"supply_area"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options6.find((function(t){return t.id===e.sitem.supply_area}))||{}).name||"--")}})],1),n("template",{slot:"pay_way"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options9.find((function(t){return t.id==e.sitem.pay_way}))||{}).name||"--")}})],1),n("template",{slot:"noble"},[e.sitem.noble_name?n("span",[e._v(e._s(e.sitem.noble_weight||"0")+"g-"+e._s(e.sitem.noble_name)+"-"+e._s(e.sitem.gold_price||"0")+"元/g-"+e._s("0"===e.sitem.is_gold_price?"不":"")+"启用实时金价-"+e._s("1"===e.sitem.is_diff?"有":"无")+"工差-"+e._s(e.sitem.config)+"-"+e._s(e.sitem.other_config))]):n("span",[e._v("--")])]),n("template",{slot:"good_img"},e._l(e.sitem.good_img,(function(e,t){return n("img",{directives:[{name:"viewer",rawName:"v-viewer"}],key:e+t,staticClass:"fl",staticStyle:{width:"23px",height:"23px",margin:"0 5px 0 0"},attrs:{src:e,alt:""}})})),0)],2):n("show-data-table",{attrs:{sitem:e.sitem,columns:e.onlineColumns,border:e.border}},[n("template",{slot:"good_name"},[e.sitem.good_thumb_img?n("img",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"fl",staticStyle:{width:"23px",height:"23px",margin:"0 5px 0 0"},attrs:{src:e.sitem.good_thumb_img,alt:""}}):e._e(),n("span",[e._v(e._s(e.sitem.good_name))]),e._l(e.sitem.speclist,(function(t,i){return n("span",{key:t.spec_id+i},[n("span",0!==i?[e._v("-")]:[e._v("_")]),n("span",[e._v(e._s(t.spec_name)+"["+e._s(t.spec_value)+"]")])])})),n("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[n("ul",[n("li",[n("span",[e._v("上线商品编号:")]),n("span",[e._v(e._s(e.sitem.skuCode))])]),""!==e.newTime&&e.private_field&&0<e.private_field.length&&e.private_field.some((function(e){return"1"==e}))?n("li",[n("span",[e._v("商品成本编号:")]),n("span",[e._v(e._s(e.sitem.spuCode))])]):e._e(),n("li",[n("span",[e._v("平台商品编码:")]),n("span",[e._v(e._s(e.sitem.platform_code_en))])])]),n("i",{staticClass:"el-icon-warning-outline fr",attrs:{slot:"reference"},slot:"reference"})])],2),n("template",{slot:"good_img"},e._l(e.sitem.good_img,(function(e,t){return n("img",{directives:[{name:"viewer",rawName:"v-viewer"}],key:e+t,staticClass:"fl",staticStyle:{width:"23px",height:"23px",margin:"0 5px 0 0"},attrs:{src:e}})})),0),n("template",{slot:"good_info_img"},e._l(e.sitem.good_info_img,(function(e,t){return n("img",{directives:[{name:"viewer",rawName:"v-viewer"}],key:e+t,staticClass:"fl",staticStyle:{width:"23px",height:"23px",margin:"0 5px 0 0"},attrs:{src:e}})})),0),n("template",{slot:"company"},[n("span",[e._v(e._s(e.sitem.company))]),n("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[n("ul",[n("li",[n("span",[e._v("业务企业编号:")]),n("span",[e._v(e._s(e.sitem.companyNo))])])]),n("i",{staticClass:"el-icon-warning-outline fr",attrs:{slot:"reference"},slot:"reference"})])],1),n("template",{slot:"exclusive"},e._l(e.sitem.exclusive,(function(t,i){return n("span",{key:t.id},[0!==i?n("span",[e._v("/")]):e._e(),e._v(" "),n("span",[e._v(e._s(t.name))])])})),0),n("template",{slot:"supply_area"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options6.find((function(t){return t.id==e.sitem.supply_area}))||{}).name||"--")}})],1),n("template",{slot:"is_stock"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options4.find((function(t){return t.id==e.sitem.is_stock}))||{}).name||"--")}})],1),n("template",{slot:"good_type"},[n("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options1.find((function(t){return t.id==e.sitem.good_type}))||{}).name||"--")}}),"1"===e.sitem.good_type?n("span",{staticStyle:{padding:"0 0 0 5px"}},[e._v(e._s(e.sitem.moq)+"起订/工期"+e._s(e.sitem.customized)+"天")]):e._e()],1),n("template",{slot:"noble"},[e.sitem.noble_metal?n("span",[e._v(e._s(e.sitem.noble_weight||"0")+"g-"+e._s(e.sitem.noble_name)+"-"+e._s(e.sitem.gold_price||"0")+"元/g-"+e._s("0"===e.sitem.is_gold_price?"不":"")+"启用实时金价-"+e._s("1"===e.sitem.is_diff?"有":"无")+"工差-"+e._s(e.sitem.config)+"-"+e._s(e.sitem.other_config))]):e._e()])],2)],1)}),[],!1,null,"5ce2c511",null);t.default=n.exports},c0bd:function(e,t,n){"use strict";n("77b4")},c106:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("c740"),n("1b69")),o=function(e,t){return Object(a.a)("abutment/brandList",e,"post",t)},r={name:"SearchBrand",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled","type","names"],data:function(){return{options:[],selectLoading:!1,searchName:"",formValue:{page:1,size:100,start:"",end:"",creater:"",status:"",brand_name:""}}},watch:{names:function(e,t){this.searchName=e,this.isDetail&&this.searchName&&this.remoteMethod(this.searchName)},isDetail:function(e,t){e&&this.searchName&&this.remoteMethod(this.searchName)}},mounted:function(){this.options=[],this.selectLoading=!1},methods:{selectChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e&&0<e.length&&-1!==(i=t.options.findIndex((function(t){return t.id===e[0]})))?(i={id:t.options[i].id,code:t.options[i].id,label:t.options[i].brand_name},t.$emit("searchChange",i)):t.$emit("searchChange",{});case 1:case"end":return n.stop()}}),n)})))()},remoteMethod:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.selectLoading=!0,""!==e)return t.options=[],t.formValue.brand_name=e,n.next=6,o(t.formValue);n.next=16;break;case 6:return i=n.sent,n.next=9,t.useResHandle(i);case 9:i=n.sent,r=i.code,a=i.data,i.message,0===r?(r=a.list,t.options=r):t.options=[],n.next=17;break;case 16:t.options=[];case 17:t.selectLoading=!1;case 18:case"end":return n.stop()}}),n)})))()}}};n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",filterable:"",remote:"",clearable:"","multiple-limit":1,"reserve-keyword":"",size:e.size||"medium",placeholder:e.placeholder||"",disabled:e.disabled,"remote-method":e.remoteMethod,loading:e.selectLoading},on:{change:e.selectChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,(function(e,t){return n("el-option",{key:e.id+t+"brand",attrs:{label:e.brand_name,value:e.id,disabled:"0"===e.status}})})),1)}),[],!1,null,null,null);t.default=n.exports},c653:function(e,t,n){var i={"./app.js":"d9cd","./errorLog.js":"4d49","./settings.js":"0781","./tagsView.js":"7509","./user.js":"0f9a"};function a(e){return e=o(e),n(e)}function o(e){if(n.o(i,e))return i[e];throw(e=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",e}a.keys=function(){return Object.keys(i)},a.resolve=o,(e.exports=a).id="c653"},c673:function(e,t,n){},c8c0:function(e,t,n){"use strict";n("9735")},ca3b:function(e,t,n){},ceef:function(e,t,n){},d079:function(e,t,n){"use strict";n("a0d0")},d0e8:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("d3b7"),n("b0c0"),n("99af"),n("96cf"),n("5daa")),o=n("5f87"),r={name:"videoUpload",props:{accept:String,multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},uploadcondition:{type:Function,default:null}},data:function(){return{loading:!1,imgAPI:a.a.baseURL}},methods:{handleChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function e(){var n,i,a,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=(n=t).$refs.inputer,i=i.files,0===(a=i.length))return e.abrupt("return");e.next=6;break;case 6:n.loading=n.$loading({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),o=0;case 8:if(!(o<=a)){e.next=21;break}if(o!==a){e.next=14;break}t.loading.close(),n.$refs.inputer.value="",e.next=18;break;case 14:return e.next=16,n.httpupLoad(i,o);case 16:"error"===(r=e.sent)?n.$emit("UploadErrorEvent"):"break"===r?n.$emit("UploadErrorEvent","break"):n.$emit("UploadSuccessEvent",r);case 18:o++,e.next=8;break;case 21:case"end":return e.stop()}}),e)})))()},httpupLoad:function(e,t){var n=this;return Object(i.a)(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",new Promise((function(i,a){var r,s=n;n.uploadcondition(e[t])?((r=new FormData).append("video",e[t]),r.append("token",Object(o.d)()),axios.post("".concat(s.imgAPI,"admin/uploadvideo"),r).then((function(e){var t,n;200===e.status?(n=(t=e.data).code,t=t.data,0===n?(t=(n=t[0]).url,n=n.name,i({url:"".concat(s.imgAPI,"storage/").concat(t),name:n})):i({url:"noToken",name:""})):a(),e&&e.data&&200===e.status&&e.data.data})).catch((function(e){a()}))):i("break")})));case 1:case"end":return i.stop()}}),i)})))()}}};n("d079"),n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",[t("input",{ref:"inputer",staticClass:"fileUp",attrs:{accept:e.accept,multiple:e.multiple,type:"file",disabled:e.disabled,name:"file"},on:{change:function(t){return e.handleChange(t)}}})])}),[],!1,null,"18e3bba0",null);t.default=n.exports},d2843:function(e,t,n){"use strict";n.r(t),n("d3b7"),n("25f0");var i=n("3452"),a=n.n(i);t.default={encrypt:function(e,t){return t=a.a.enc.Utf8.parse(t=t||"TFEUyxO9PDJlyyg7"),e=a.a.enc.Utf8.parse(e),a.a.AES.encrypt(e,t,{mode:a.a.mode.ECB,padding:a.a.pad.Pkcs7}).toString()},decrypt:function(e,t){return t=a.a.enc.Utf8.parse(t=t||"TFEUyxO9PDJlyyg7"),e=a.a.AES.decrypt(e,t,{mode:a.a.mode.ECB,padding:a.a.pad.Pkcs7}),a.a.enc.Utf8.stringify(e).toString()}}},d2d7:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("ac1f"),n("5319"),n("4de4"),n("d3b7"),n("fb6a"),n("00b4"),n("4d63"),n("2c3e"),n("25f0"),n("159b"),n("a15b"),n("99af"),n("a9e3"),n("b680"),n("f6f8").version),o="#409EFF",r={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,t){this.theme=e},immediate:!0},theme:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,r,s,c,l,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=t.chalk?t.theme:o,"string"!=typeof e)return n.abrupt("return");n.next=3;break;case 3:if(r=t.getThemeCluster(e.replace("#","")),s=t.getThemeCluster(i.replace("#","")),c=t.$message({message:" Compiling the theme",customClass:"theme-message",type:"success",duration:0,iconClass:"el-icon-loading"}),l=function(e,n){return function(){var i=t.getThemeCluster(o.replace("#","")),a=(i=t.updateStyle(t[e],i,r),document.getElementById(n));a||((a=document.createElement("style")).setAttribute("id",n),document.head.appendChild(a)),a.innerText=i}},t.chalk){n.next=11;break}return u="https://unpkg.com/element-ui@".concat(a,"/lib/theme-chalk/index.css"),n.next=11,t.getCSSString(u,"chalk");case 11:l("chalk","chalk-style")(),[].slice.call(document.querySelectorAll("style")).filter((function(e){return e=e.innerText,new RegExp(i,"i").test(e)&&!/Chalk Variables/.test(e)})).forEach((function(e){var n=e.innerText;"string"==typeof n&&(e.innerText=t.updateStyle(n,s,r))})),t.$emit("change",e),c.close();case 17:case"end":return n.stop()}}),n)})))()}},methods:{updateStyle:function(e,t,n){var i=e;return t.forEach((function(e,t){i=i.replace(new RegExp(e,"ig"),n[t])})),i},getCSSString:function(e,t){var n=this;return new Promise((function(i){var a=new XMLHttpRequest;a.onreadystatechange=function(){4===a.readyState&&200===a.status&&(n[t]=a.responseText.replace(/@font-face{[^}]+}/,""),i())},a.open("GET",e),a.send()}))},getThemeCluster:function(e){for(var t,n,i,a,o,r,s,c,l=[e],u=0;u<=9;u++)l.push((t=e,n=Number((u/10).toFixed(2)),a=i=void 0,i=parseInt(t.slice(0,2),16),a=parseInt(t.slice(2,4),16),t=parseInt(t.slice(4,6),16),0===n?[i,a,t].join(","):(i+=Math.round(n*(255-i)),a+=Math.round(n*(255-a)),t+=Math.round(n*(255-t)),i=i.toString(16),a=a.toString(16),t=t.toString(16),"#".concat(i).concat(a).concat(t))));return l.push((o=e,r=.1,s=parseInt(o.slice(0,2),16),c=parseInt(o.slice(2,4),16),o=parseInt(o.slice(4,6),16),s=Math.round((1-r)*s),c=Math.round((1-r)*c),o=Math.round((1-r)*o),s=s.toString(16),c=c.toString(16),o=o.toString(16),"#".concat(s).concat(c).concat(o))),l}}};n("1e70"),n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})}),[],!1,null,null,null);t.default=n.exports},d693:function(e,t,n){"use strict";n("6892")},d748:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("c740"),n("ac1f"),n("841c"),n("1b69")),o=function(e,t){return Object(a.a)("abutment/catList",e,"post",t)},r={name:"SearchSort",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled","names","type"],data:function(){return{options:[],selectLoading:!1,searchName:""}},watch:{names:function(e,t){this.searchName=e,this.isDetail&&this.searchName&&this.remoteMethod(this.searchName)},isDetail:function(e,t){e&&this.searchName&&this.remoteMethod(this.searchName)}},mounted:function(){this.options=[],this.selectLoading=!1},methods:{selectChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e&&0<e.length&&-1!==(i=t.options.findIndex((function(t){return t.id===e[0]})))?(i={pid:t.options[i].item[0],id:t.options[i].id,code:t.options[i].id,label:t.options[i].search,cat_desc:t.options[i].cat_desc,item:t.options[i].item},t.$emit("searchChange",i)):t.$emit("searchChange",{});case 1:case"end":return n.stop()}}),n)})))()},remoteMethod:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,r,s;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.selectLoading=!0,""!==e)return t.options=[],i={page:1,size:100,search:e,cat_name:"",pid:"",status:""},n.next=6,o(i);n.next=16;break;case 6:return i=n.sent,n.next=9,t.useResHandle(i);case 9:s=n.sent,a=s.code,r=s.data,s.message,0===a?(s=r.list,t.options=s):t.options=[],n.next=17;break;case 16:t.options=[];case 17:t.selectLoading=!1;case 18:case"end":return n.stop()}}),n)})))()}}};n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",filterable:"",remote:"",clearable:"","collapse-tags":"","multiple-limit":1,"reserve-keyword":"",size:e.size||"medium",placeholder:e.placeholder||"",disabled:e.disabled,"remote-method":e.remoteMethod,loading:e.selectLoading},on:{change:e.selectChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,(function(e,t){return n("el-option",{key:e.id+t,attrs:{label:e.search,value:e.id+"",disabled:"1"!==e.status}})})),1)}),[],!1,null,null,null);t.default=n.exports},d909:function(e,t,n){"use strict";n.r(t);var i={name:"showDataTable",props:{newTime:{type:String,default:""},sitem:{type:Object,default:function(){}},columns:{type:Array,default:function(){return[]}},border:{type:Boolean,default:!1}},computed:{},data:function(){return{lodding:!1}},watch:{newTime:function(e){}},mounted:function(){},methods:{}};n("6d43"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"show-data-table",class:{hasborder:e.border}},[n("el-row",{staticClass:"purchaseOrderDetail-addForm"},[e._l(e.columns,(function(t,i){return[t._slot_||t.showProp&&e.sitem[t.prop]||!t.showProp?n("el-col",{key:t+i,staticClass:"purchaseOrderDetail-addForm-el-col",attrs:{span:t.span||12}},[n("div",{staticClass:"label"},[e._v(e._s(t.label)+":")]),t._slot_?n("div",{staticClass:"name"},[e._t(t._slot_,null,{slotName:t._slot_})],2):n("div",{staticClass:"name"},[n("span",[e._v(e._s(e.sitem[t.prop]))]),t.append?n("span",[e._v(e._s(t.append))]):e._e()])]):e._e()]}))],2)],1)}),[],!1,null,"43b0fe59",null);t.default=n.exports},d9cd:function(e,t,n){"use strict";n.r(t);var i=n("a78e"),a=n.n(i);n={sidebar:{opened:!a.a.get("sidebarStatus")||!!+a.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",searchSize:"mini",size:a.a.get("size")||"mini",tablebtnSize:"mini"};t.default={namespaced:!0,state:n,mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?a.a.set("sidebarStatus",1):a.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){a.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,a.a.set("size",t)}},actions:{toggleSideBar:function(e){(0,e.commit)("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){(0,e.commit)("CLOSE_SIDEBAR",t.withoutAnimation)},toggleDevice:function(e,t){(0,e.commit)("TOGGLE_DEVICE",t)},setSize:function(e,t){(0,e.commit)("SET_SIZE",t)}}}},da8d:function(e,t,n){"use strict";n("9523")},e1ff:function(e,t,n){},e464:function(e,t,n){},e49a:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("c740"),n("1b69")),o=function(e,t){return Object(a.a)("abutment/businessList",e,"post",t)},r={name:"SearchWorkCompany",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled","type","names","is_show"],data:function(){return{options:[],loading:!1,searchName:""}},mounted:function(){this.options=[],this.loading=!1,this.remoteMethod()},methods:{selectChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:-1!==(i=t.options.findIndex((function(t){return t.companyNo===e})))?(i={id:t.options[i].id,code:t.options[i].companyNo,label:t.options[i].company},t.$emit("searchChange",i)):t.$emit("searchChange",{});case 2:case"end":return n.stop()}}),n)})))()},remoteMethod:function(){var e=this;return Object(i.a)(regeneratorRuntime.mark((function t(){var n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,o({is_show:e.is_show||"1"});case 3:return n=t.sent,t.next=6,e.useResHandle(n);case 6:n=t.sent,a=n.code,i=n.data,0===a?(a=i.list,e.options=a):e.options=[],e.loading=!1;case 11:case"end":return t.stop()}}),t)})))()}}};n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{staticStyle:{width:"100%"},attrs:{size:e.size||"medium",filterable:"",clearable:"",placeholder:e.placeholder||"",disabled:e.disabled,loading:e.loading},on:{change:e.selectChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,(function(e,t){return n("el-option",{key:e.companyNo+t+"",attrs:{label:e.company,value:e.companyNo,disabled:"0"===e.status}})})),1)}),[],!1,null,null,null);t.default=n.exports},e52d:function(e,t,n){"use strict";n("ca3b")},e7fb:function(e,t,n){"use strict";n("e1ff")},ecca:function(e,t,n){"use strict";n.r(t),n("a9e3");var i={name:"PanThumb",props:{image:{type:String,required:!0},zIndex:{type:Number,default:1},width:{type:String,default:"150px"},height:{type:String,default:"150px"}}};n("b6c5"),n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"pan-item",style:{zIndex:e.zIndex,height:e.height,width:e.width}},[t("div",{staticClass:"pan-info"},[t("div",{staticClass:"pan-info-roles-container"},[e._t("default")],2)]),t("div",{staticClass:"pan-thumb",style:{backgroundImage:"url("+e.image+")"}})])}),[],!1,null,"2eae1769",null);t.default=n.exports},ed08:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return c}));var i=n("53ca");function a(e,t){if(0===arguments.length||!e)return null;t=t||"{y}-{m}-{d} {h}:{i}:{s}",e="object"===Object(i.a)(e)?e:("number"==typeof(e="string"==typeof e?/^[0-9]+$/.test(e)?parseInt(e):e.replace(new RegExp(/-/gm),"/"):e)&&10===e.toString().length&&(e*=1e3),new Date(e));var n={y:e.getFullYear(),m:e.getMonth()+1,d:e.getDate(),h:e.getHours(),i:e.getMinutes(),s:e.getSeconds(),a:e.getDay()};return t.replace(/{([ymdhisa])+}/g,(function(e,t){var i=n[t];return"a"===t?["日","一","二","三","四","五","六"][i]:i.toString().padStart(2,"0")}))}function o(e,t){e=10===(""+e).length?1e3*parseInt(e):+e;var n=new Date(e),i=(Date.now()-n)/1e3;return i<30?"刚刚":i<3600?Math.ceil(i/60)+"分钟前":i<86400?Math.ceil(i/3600)+"小时前":i<172800?"1天前":t?a(e,t):n.getMonth()+1+"月"+n.getDate()+"日"+n.getHours()+"时"+n.getMinutes()+"分"}function r(e,t){return e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function s(e,t){r(e,t)||(e.className+=" "+t)}function c(e,t){r(e,t)&&(t=new RegExp("(\\s|^)"+t+"(\\s|$)"),e.className=e.className.replace(t," "))}n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("2c3e"),n("25f0"),n("d3b7"),n("4d90"),n("a15b"),n("d81d"),n("b64b"),n("1276"),n("159b"),n("fb6a"),n("a630"),n("3ca3"),n("6062"),n("ddb0"),n("466d")},f0d4:function(e,t,n){},f121:function(e,t,n){n=n("f1e0"),e.exports=n},f1e0:function(e,t){e.exports={title:"采销平台供应商端",baseUrl:"http://wx.wxhr.sit.futurelab.tv",api:{userApi:"http://inv.sitw.wanyuhengtong.com/",baseApi:"http://stock.api.wanyuhengtong.com/"},webUrl:"http://share.sitw.wanyuhengtong.com/#/good-share?id=",fileURL:"https://api2.edu.futurelab.tv",shareWebUrl:"http://ss.test241.wanyuhengtong.com/?prod=1&outCode=",appId:"wx5ac3a2c2d72b6f26",ding:{CorpId:"dingc78fa4301e1a424a35c2f4657eb6378f",AgentId:"1324690581"}}},f303:function(e,t,n){"use strict";n("c673")},f483:function(e,t,n){"use strict";n.r(t);var i=n("1da1"),a=(n("96cf"),n("c740"),n("1b69")),o=function(e,t){return Object(a.a)("admin/unitlist",e,"post",t)},r={name:"SearchUnit",mixins:[n("9f53").a],props:["size","value","placeholder","isDetail","disabled","type","names"],data:function(){return{options:[],selectLoading:!1,searchName:"",formValue:{page:1,size:100,start:"",end:"",unit:"",creater:""}}},watch:{names:function(e,t){this.searchName=e,this.isDetail&&this.searchName&&this.remoteMethod(this.searchName)}},mounted:function(){this.options=[],this.selectLoading=!1},methods:{selectChange:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e&&0<e.length&&-1!==(i=t.options.findIndex((function(t){return t.id===e[0]})))?(i={id:t.options[i].id,code:t.options[i].id,label:t.options[i].unit},t.$emit("searchChange",i)):t.$emit("searchChange",{});case 1:case"end":return n.stop()}}),n)})))()},remoteMethod:function(e){var t=this;return Object(i.a)(regeneratorRuntime.mark((function n(){var i,a,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.selectLoading=!0,""!==e)return t.options=[],t.formValue.unit=e,n.next=6,o(t.formValue);n.next=15;break;case 6:return i=n.sent,n.next=9,t.useResHandle(i);case 9:i=n.sent,r=i.code,a=i.data,0===r?(r=a.list,t.options=r):t.options=[],n.next=16;break;case 15:t.options=[];case 16:t.selectLoading=!1;case 17:case"end":return n.stop()}}),n)})))()}}};n=n("2877"),n=Object(n.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",filterable:"",remote:"",clearable:"","multiple-limit":1,"reserve-keyword":"",size:e.size||"medium",placeholder:e.placeholder||"",disabled:e.disabled,"remote-method":e.remoteMethod,loading:e.selectLoading},on:{change:e.selectChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.options,(function(e,t){return n("el-option",{key:e.id+t,attrs:{label:e.unit,value:e.id,disabled:"0"===e.status}})})),1)}),[],!1,null,null,null);t.default=n.exports},f7df:function(e,t,n){},fc98:function(e,t,n){"use strict";n.r(t),n("a9e3"),n("2c3e");var i={name:"Sticky",props:{stickyTop:{type:Number,default:0},zIndex:{type:Number,default:1},className:{type:String,default:""}},data:function(){return{active:!1,position:"",width:void 0,height:void 0,isSticky:!1}},mounted:function(){this.height=this.$el.getBoundingClientRect().height,window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize)},activated:function(){this.handleScroll()},destroyed:function(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize)},methods:{sticky:function(){this.active||(this.position="fixed",this.active=!0,this.width=this.width+"px",this.isSticky=!0)},handleReset:function(){this.active&&this.reset()},reset:function(){this.position="",this.width="auto",this.active=!1,this.isSticky=!1},handleScroll:function(){var e=this.$el.getBoundingClientRect().width;this.width=e||"auto",this.$el.getBoundingClientRect().top<this.stickyTop?this.sticky():this.handleReset()},handleResize:function(){this.isSticky&&(this.width=this.$el.getBoundingClientRect().width+"px")}}};n=n("2877"),n=Object(n.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{style:{height:e.height+"px",zIndex:e.zIndex}},[t("div",{class:e.className,style:{top:e.isSticky?e.stickyTop+"px":"",zIndex:e.zIndex,position:e.position,width:e.width,height:e.height+"px"}},[e._t("default",[t("div",[e._v("sticky")])])],2)])}),[],!1,null,null,null);t.default=n.exports},ffe0:function(e,t,n){var i={"./Breadcrumb/main.vue":"1b7f","./Hamburger/main.vue":"7d8b","./Screenfull/main.vue":"35ed","./digital-input/main.vue":"0ced","./editor-shy/main.vue":"3355","./ex-table/main.vue":"9e53","./file-upload/main.vue":"1f68","./goodClass/main.vue":"aa93","./icon-list/main.vue":"952c","./logis-time-line/main.vue":"74f7","./main-menu/main.vue":"8201","./number-range/main.vue":"044a","./pan-thumb/main.vue":"ecca","./period-date-picker/main.vue":"b23f","./process-time-line/main.vue":"5b91","./right-panel/main.vue":"371f","./search-brand/main.vue":"c106","./search-exclusive/main.vue":"8ab0","./search-express/main.vue":"6d81","./search-metal-kind/main.vue":"00bc","./search-sort/main.vue":"d748","./search-spec/main.vue":"2887","./search-tax/main.vue":"8177","./search-unit/main.vue":"f483","./search-work-company/main.vue":"e49a","./select-area/main.vue":"0e3b","./send-verification-code/main.vue":"1d3b","./show-content/main.vue":"1f28","./show-data-table/main.vue":"d909","./show-goods-data-table/main.vue":"bf54","./sticky/main.vue":"fc98","./theme-picker/main.vue":"d2d7","./upload-excel/main.vue":"23d3","./video-upload/main.vue":"d0e8"};function a(e){return e=o(e),n(e)}function o(e){if(n.o(i,e))return i[e];throw(e=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",e}a.keys=function(){return Object.keys(i)},a.resolve=o,(e.exports=a).id="ffe0"}},[[1,"runtime","chunk-elementUI","chunk-libs"]]]);
|