(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-addService-addService"],{"0652":function(t,a,e){e("d3b7");var n=getApp();function d(t,a,e){return new Promise((function(d){uni.request({method:t,url:a,data:e,header:{Accept:"*/*","content-type":"application/json;charset=utf-8",Authorization:n.globalData.token},success:function(t){d(t),401!==t.statusCode&&102014!=t.data.return_code&&104001!=t.data.return_code||(n.globalData.userInfo="",n.globalData.token="",uni.setStorage({key:"user",data:""}),uni.setStorage({key:"token",data:""}),uni.showToast({title:"登录信息过期,请重新授权",icon:"none",duration:2e3,success:function(){setTimeout((function(){uni.navigateTo({url:"/pages/login/login"})}),2e3)}}))},fail:function(t){uni.showToast({title:"请求失败",icon:"none",duration:1500})}})}))}function o(t,a,e){return d(t,a,e)}t.exports={POST:o}},"45bf":function(t,a,e){var n=e("24fb");a=n(!1),a.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* 字体大小 */.font11[data-v-3055d161]{font-size:11px}.font12[data-v-3055d161]{font-size:12px}.font13[data-v-3055d161]{font-size:13px}.fontlet[data-v-3055d161]{letter-spacing:2px}.font14[data-v-3055d161]{font-size:14px}.font15[data-v-3055d161]{font-size:15px}.font16[data-v-3055d161]{font-size:16px}.font18[data-v-3055d161]{font-size:18px}.font20[data-v-3055d161]{font-size:20px}.font22[data-v-3055d161]{font-size:22px}.font24[data-v-3055d161]{font-size:24px}.font28[data-v-3055d161]{font-size:28px}.font36[data-v-3055d161]{font-size:36px}.font40[data-v-3055d161]{font-size:40px}.fontwig6[data-v-3055d161]{font-weight:700}\n/* 字体间距 */.fontspec[data-v-3055d161]{letter-spacing:1px}.fontspec10[data-v-3055d161]{letter-spacing:10px}\n/* 字体行间距 */.linehet[data-v-3055d161]{line-height:20px}\n/* 字体位置 */.fotlt[data-v-3055d161]{text-align:left}.fotrt[data-v-3055d161]{text-align:right}.fotct[data-v-3055d161]{text-align:center}.margle[data-v-3055d161]{margin-left:6px}.margle10[data-v-3055d161]{margin-left:10px}.margle20[data-v-3055d161]{margin-left:20px}.marglerig[data-v-3055d161]{margin-right:5px}.marRight20[data-v-3055d161]{margin-right:20px}.verc[data-v-3055d161]{vertical-align:middle}.versub[data-v-3055d161]{vertical-align:sub}.text1[data-v-3055d161]{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2[data-v-3055d161]{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}\n/* 字体颜色 */.fcor333[data-v-3055d161]{color:#333}.fcorfff[data-v-3055d161]{color:#fff}.fcor666[data-v-3055d161]{color:#666}.fcor999[data-v-3055d161]{color:#b2b2b2}.fcor089[data-v-3055d161]{color:#089bf5}.fcorFD7[data-v-3055d161]{color:#fd786d}.fcoreb5[data-v-3055d161]{color:#eb5823}.fcorred[data-v-3055d161]{color:red}.fcor41c[data-v-3055d161]{color:#41cda2}\n/* 背景颜色 */.backcor6[data-v-3055d161]{background-color:#f6f6f6}.backcorlr[data-v-3055d161]{background:linear-gradient(90deg,#fe1a1a,#ff722e)}.backcor9[data-v-3055d161]{background-color:#f6f6f6}.backcorf06[data-v-3055d161]{background-color:#0083f5}.backcor008[data-v-3055d161]{background-color:#0083f5}.backcor89[data-v-3055d161]{background-color:#089bf5}.backcorfff[data-v-3055d161]{background-color:#fff}.backshare[data-v-3055d161]{background:transparent}\n/* 页面布局 */.width90[data-v-3055d161]{width:90%;margin-left:5%}.width90p[data-v-3055d161]{width:90%}.width10[data-v-3055d161]{width:10%}.width96[data-v-3055d161]{width:96%;margin-left:2%}.width94[data-v-3055d161]{width:94%;margin-left:3%}.width92[data-v-3055d161]{width:92%;margin-left:4%}.width80[data-v-3055d161]{width:80%;margin-left:10%}.width80p[data-v-3055d161]{width:80%}.width65[data-v-3055d161]{width:65%}.width70[data-v-3055d161]{width:70%}.width75[data-v-3055d161]{width:75%}.width85[data-v-3055d161]{width:85%}.width50[data-v-3055d161]{width:50%}.width45[data-v-3055d161]{width:45%}.width40[data-v-3055d161]{width:40%}.width60[data-v-3055d161]{width:60%}.width60w[data-v-3055d161]{width:60%;margin-left:20%}.width35[data-v-3055d161]{width:35%}.width30[data-v-3055d161]{width:30%}.width20[data-v-3055d161]{width:20%}.width25[data-v-3055d161]{width:25%}.width15[data-v-3055d161]{width:15%}.width8[data-v-3055d161]{width:8%}.width95[data-v-3055d161]{width:95%}.width100[data-v-3055d161]{width:100%}.bor-botm1[data-v-3055d161]{border-bottom:1px solid #f4f4f4}.bor-dot1[data-v-3055d161]{border-bottom:1px dotted #999}.bor-botm10[data-v-3055d161]{border-bottom:10px solid #f4f4f4}\n/* 高40px */.height40p[data-v-3055d161]{height:40px}.height45[data-v-3055d161]{height:45px}.height22[data-v-3055d161]{height:22px}.height100[data-v-3055d161]{height:100%}.height10[data-v-3055d161]{height:10px}.height60[data-v-3055d161]{height:60px}.height70[data-v-3055d161]{height:70px}.height80[data-v-3055d161]{height:80px}.height90[data-v-3055d161]{height:90px}.height100p[data-v-3055d161]{height:100px}.height110[data-v-3055d161]{height:110px}.height120[data-v-3055d161]{height:120px}.height150[data-v-3055d161]{height:150px}.height180[data-v-3055d161]{height:180px}.height30[data-v-3055d161]{height:30px;line-height:30px}.height40[data-v-3055d161]{height:40px;line-height:40px}.height45l[data-v-3055d161]{height:45px;line-height:45px}.heightl60[data-v-3055d161]{height:60px;line-height:60px}.height20[data-v-3055d161]{height:20px;line-height:20px}.height25[data-v-3055d161]{height:25px}.height20p[data-v-3055d161]{height:20px}.height50[data-v-3055d161]{height:50px;line-height:50px}.height50l[data-v-3055d161]{height:50px}\n/* 向上下外间距 */.margle10[data-v-3055d161]{margin-left:10px}.mart90[data-v-3055d161]{margin-top:90px}.mart80[data-v-3055d161]{margin-top:80px}.mart60[data-v-3055d161]{margin-top:60px}.mart50[data-v-3055d161]{margin-top:50px}.mart40[data-v-3055d161]{margin-top:40px}.mart30[data-v-3055d161]{margin-top:30px}.mart15[data-v-3055d161]{margin-top:15px}.mart20[data-v-3055d161]{margin-top:20px}.mart10[data-v-3055d161]{margin-top:10px}.mart5[data-v-3055d161]{margin-top:5px}.mart1[data-v-3055d161]{margin-top:1px}.marb65[data-v-3055d161]{margin-bottom:65px}.marb50[data-v-3055d161]{margin-bottom:50px}.marb40[data-v-3055d161]{margin-bottom:40px}.marb30[data-v-3055d161]{margin-bottom:30px}.marb20[data-v-3055d161]{margin-bottom:20px}.marb15[data-v-3055d161]{margin-bottom:15px}.marb10[data-v-3055d161]{margin-bottom:10px}.marb5[data-v-3055d161]{margin-bottom:5px}\n/* 向上下内间距 */.paddtop5[data-v-3055d161]{padding-top:5px}.paddtop10[data-v-3055d161]{padding-top:10px}.paading10[data-v-3055d161]{padding:10px}.paading20[data-v-3055d161]{padding:20px}.paddtop13[data-v-3055d161]{padding-top:13px}.paddtop15[data-v-3055d161]{padding-top:15px}.paddtop20[data-v-3055d161]{padding-top:20px}.paddtop25[data-v-3055d161]{padding-top:25px}.paddleft5[data-v-3055d161]{padding-left:5px}.paddleft10[data-v-3055d161]{padding-left:10px}.padleft15[data-v-3055d161]{padding-left:15px}.paddtright5[data-v-3055d161]{padding-right:5px}.paddtright10[data-v-3055d161]{padding-right:10px}.paddbotm5[data-v-3055d161]{padding-bottom:5px}.paddbotm10[data-v-3055d161]{padding-bottom:10px}\n/* 左悬浮 */.flleft[data-v-3055d161]{float:left}\n/* 右悬浮 */.flright[data-v-3055d161]{float:right}\n/**\n * 圆角\n */.border-r[data-v-3055d161]{border-radius:5px}.borderdot[data-v-3055d161]{border:1px dotted #999}\n/* button样式 */.btnw70[data-v-3055d161]{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;border-radius:6px}.btnw50[data-v-3055d161]{width:50%;margin-left:25%;height:45px;line-height:45px;color:#fff;text-align:center;margin-top:40px;background-color:#0083f5;border-radius:6px}.btn92[data-v-3055d161]{width:92%;margin-left:4%;height:45px;line-height:45px;color:#fff;background-color:#089bf5;border-radius:22px;text-align:center;font-size:18px;font-weight:700}\n/* 下滑线 */.line1[data-v-3055d161]{height:1px;background-color:#f4f4f4}.line2[data-v-3055d161]{height:2px;background-color:#f4f4f4}.line10[data-v-3055d161]{height:10px;background-color:#f4f4f4}.line1089[data-v-3055d161]{height:10px;background-color:#089bf5}\n/* 展示样式 */.displ[data-v-3055d161]{display:inline-block}.aliitem[data-v-3055d161]{align-items:center;display:flex}.alijun[data-v-3055d161]{justify-content:flex-end;display:flex}.alijusstart[data-v-3055d161]{justify-content:flex-start;align-items:center;display:flex}.alijusend[data-v-3055d161]{justify-content:flex-end;align-items:center;display:flex}.alicntend[data-v-3055d161]{justify-content:end;align-items:center;display:flex}.alijus[data-v-3055d161]{justify-content:center;align-items:center;display:flex}.iconw[data-v-3055d161]{width:15px}.iconw25[data-v-3055d161]{width:25px}.iconw40[data-v-3055d161]{width:40px}.contents[data-v-3055d161]{position:relative;top:%?240?%}.inputs[data-v-3055d161]{height:50px;line-height:50px;background-color:#b4d5fb;width:86%;margin-left:6%;padding-left:10px;border-radius:5px;color:#fff;font-size:20px}.btns[data-v-3055d161]{margin-top:%?200?%;width:60%;margin-left:20%;height:50px;line-height:50px;background-color:#0083f5;color:#fff;font-weight:700}',""]),t.exports=a},"4da3":function(t,a,e){"use strict";var n=e("6441"),d=e.n(n);d.a},6441:function(t,a,e){var n=e("45bf");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var d=e("4f06").default;d("118e1066",n,!0,{sourceMap:!1,shadowMode:!1})},7668:function(t,a,e){"use strict";var n;e.d(a,"b",(function(){return d})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return n}));var d=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("v-uni-view",{staticClass:"contents"},[e("v-uni-input",{staticClass:"inputs",attrs:{maxlength:"20","placeholder-style":"color:#ffffff;",placeholder:"请输入设备的SN号"},model:{value:t.codenums,callback:function(a){t.codenums=a},expression:"codenums"}}),e("v-uni-button",{staticClass:"btns",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.configStoreDevice.apply(void 0,arguments)}}},[t._v("确认")])],1)],1)},o=[]},a6ee:function(t,a,e){"use strict";e.r(a);var n=e("7668"),d=e("e442");for(var o in d)"default"!==o&&function(t){e.d(a,t,(function(){return d[t]}))}(o);e("4da3");var i,r=e("f0c5"),c=Object(r["a"])(d["default"],n["b"],n["c"],!1,null,"3055d161",null,!1,n["a"],i);a["default"]=c.exports},cf43:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getTradeOrderList=a.storemoveHomeCount=a.mermoveHomeCount=a.moveHomeCount=a.getStoreDeviceList=a.delStoreDevice=a.configStoreDevice=a.configStore=a.getStoreDetailById=a.getStoreListByMer=a.getLklMcc=a.getMerListBySalesman=a.configMerStore=a.configMerSettlement=a.configMerBasis=a.getMerDetail=a.configMerAccount=a.uploadFile=a.getIndustry=a.recognizeIdCard=a.recognizeBusinessLicense=a.recognizeBankCard=a.logout=a.userLogin=void 0;var n=e("0652"),d=getApp(),o=d.globalData.url,i=function(t){return(0,n.POST)("POST","".concat(o,"/login/userLogin"),t).then((function(t){return t.data}))};a.userLogin=i;var r=function(t){return(0,n.POST)("POST","".concat(o,"/login/logout"),t).then((function(t){return t.data}))};a.logout=r;var c=function(t){return(0,n.POST)("GET","".concat(o,"/ocr/recognizeBankCard"),t).then((function(t){return t.data}))};a.recognizeBankCard=c;var f=function(t){return(0,n.POST)("GET","".concat(o,"/ocr/recognizeBusinessLicense"),t).then((function(t){return t.data}))};a.recognizeBusinessLicense=f;var u=function(t){return(0,n.POST)("GET","".concat(o,"/ocr/recognizeIdCard"),t).then((function(t){return t.data}))};a.recognizeIdCard=u;var g=function(t){return(0,n.POST)("GET","".concat(o,"/common/getIndustry"),t).then((function(t){return t.data}))};a.getIndustry=g;var h=function(t){return(0,n.POST)("POST","".concat(o,"/mer/uploadFile"),t).then((function(t){return t.data}))};a.uploadFile=h;var v=function(t){return(0,n.POST)("POST","".concat(o,"/mer/configMerAccount"),t).then((function(t){return t.data}))};a.configMerAccount=v;var p=function(t){return(0,n.POST)("GET","".concat(o,"/mer/getMerDetail"),t).then((function(t){return t.data}))};a.getMerDetail=p;var l=function(t){return(0,n.POST)("POST","".concat(o,"/mer/configMerBasis"),t).then((function(t){return t.data}))};a.configMerBasis=l;var s=function(t){return(0,n.POST)("POST","".concat(o,"/mer/configMerSettlement"),t).then((function(t){return t.data}))};a.configMerSettlement=s;var m=function(t){return(0,n.POST)("POST","".concat(o,"/mer/configMerStore"),t).then((function(t){return t.data}))};a.configMerStore=m;var x=function(t){return(0,n.POST)("GET","".concat(o,"/mer/getMerListBySalesman"),t).then((function(t){return t.data}))};a.getMerListBySalesman=x;var b=function(t){return(0,n.POST)("GET","".concat(o,"/common/getLklMcc"),t).then((function(t){return t.data}))};a.getLklMcc=b;var w=function(t){return(0,n.POST)("GET","".concat(o,"/store/getStoreListByMer"),t).then((function(t){return t.data}))};a.getStoreListByMer=w;var S=function(t){return(0,n.POST)("GET","".concat(o,"/store/getStoreDetailById"),t).then((function(t){return t.data}))};a.getStoreDetailById=S;var T=function(t){return(0,n.POST)("POST","".concat(o,"/store/configStore"),t).then((function(t){return t.data}))};a.configStore=T;var k=function(t){return(0,n.POST)("POST","".concat(o,"/storeDevice/configStoreDevice"),t).then((function(t){return t.data}))};a.configStoreDevice=k;var O=function(t){return(0,n.POST)("POST","".concat(o,"/storeDevice/delStoreDevice"),t).then((function(t){return t.data}))};a.delStoreDevice=O;var P=function(t){return(0,n.POST)("GET","".concat(o,"/storeDevice/getStoreDeviceList"),t).then((function(t){return t.data}))};a.getStoreDeviceList=P;var y=function(t){return(0,n.POST)("POST","".concat(o,"/salesman/moveHomeCount"),t).then((function(t){return t.data}))};a.moveHomeCount=y;var M=function(t){return(0,n.POST)("POST","".concat(o,"/mer/moveHomeCount"),t).then((function(t){return t.data}))};a.mermoveHomeCount=M;var D=function(t){return(0,n.POST)("POST","".concat(o,"/store/moveHomeCount"),t).then((function(t){return t.data}))};a.storemoveHomeCount=D;var z=function(t){return(0,n.POST)("GET","".concat(o,"/tradeOrder/getTradeOrderList"),t).then((function(t){return t.data}))};a.getTradeOrderList=z},de07:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e("cf43"),d=getApp(),o={data:function(){return{codenums:"",userInfo:d.globalData.userInfo}},methods:{configStoreDevice:function(){if(this.codenums){uni.showLoading({title:"提交中..."});var t={storeId:this.userInfo.store.id,deviceSn:this.codenums};(0,n.configStoreDevice)(t).then((function(t){uni.hideLoading(),"000000"==t.return_code?uni.showToast({title:"绑定成功",icon:"none",duration:2e3,success:function(){setTimeout((function(){uni.navigateBack({})}),1e3)}}):uni.showToast({title:t.return_msg,icon:"none",duration:2e3})}))}else uni.showToast({title:"请填写设备SN号",icon:"none",duration:2e3})}}};a.default=o},e442:function(t,a,e){"use strict";e.r(a);var n=e("de07"),d=e.n(n);for(var o in n)"default"!==o&&function(t){e.d(a,t,(function(){return n[t]}))}(o);a["default"]=d.a}}]);