|
|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["driverManagement/addDiver/addDiver"],{"19c9":function(e,t,n){"use strict";var o=n("4c4d"),i=n.n(o);i.a},3187:function(e,t,n){"use strict";n.r(t);var o=n("586e"),i=n("7fb4");for(var r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("19c9");var a,s=n("f0c5"),u=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);t["default"]=u.exports},"4c4d":function(e,t,n){},"586e":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var o={uniList:function(){return n.e("uni_modules/uni-list/components/uni-list/uni-list").then(n.bind(null,"0500"))},uniListItem:function(){return n.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(n.bind(null,"6d48"))},uRadioGroup:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-radio-group/u-radio-group")]).then(n.bind(null,"b5d9"))},uRadio:function(){return n.e("uview-ui/components/u-radio/u-radio").then(n.bind(null,"9e1a"))},uSwitch:function(){return n.e("uview-ui/components/u-switch/u-switch").then(n.bind(null,"6316"))},uPicker:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-picker/u-picker")]).then(n.bind(null,"482e"))}},i=function(){var e=this,t=e.$createElement;e._self._c},r=[]},"7fb4":function(e,t,n){"use strict";n.r(t);var o=n("edc5"),i=n.n(o);for(var r in o)"default"!==r&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=i.a},"97ce":function(e,t,n){"use strict";(function(e){n("84da");o(n("66fd"));var t=o(n("3187"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},edc5:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n("a34a")),i=s(n("3415")),r=s(n("87ef")),a=s(n("0c78"));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,o,i,r,a){try{var s=e[r](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(o,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){u(r,o,i,a,s,"next",e)}function s(e){u(r,o,i,a,s,"throw",e)}a(void 0)}))}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d={data:function(){var e;return{show:!1,disabled:!1,postData:(e={phone:"",birthday:"",password:"",userName:""},l(e,"birthday",""),l(e,"headPhoto",""),l(e,"plateNumber",""),l(e,"registerMode","1"),l(e,"userSource","OMS-MINIAPP"),e),aboutEnterprise:{customerId:"",customerCode:"",companyId:"",companyNature:1,shareCompanyQuota:0,dayAmountToplimit:"0",orderAmountToplimit:"0",dayVolumeToplimit:"0",orderVolumeToplimit:"0",name:"",nickName:"",plateNumberCompany:"",remark:""},openText:{one:"开启",off:"关闭"},switchOpen:!0,enterpriseType:"自营",radiolist1:[{name:"自营",disabled:!1},{name:"外请",disabled:!1}]}},onLoad:function(){var t=this;e.$on("company",(function(e){t.aboutEnterprise.companyId=e.id,t.aboutEnterprise.name=e.name,console.log(e)})),console.log(i.default.chooseImage)},methods:{inputFn:function(t){console.log(t),-1!=this.aboutEnterprise[t].indexOf(".")&&this.aboutEnterprise[t].split(".")[1].length>2&&(e.showToast({title:"最多保留小数点后两位",icon:"none"}),this.$nextTick((function(){this.aboutEnterprise[t]=Number(this.aboutEnterprise[t]).toFixed(2)})))},clearFn:function(){var e=this,t=["companyNature","shareCompanyQuota"];Object.keys(this.aboutEnterprise).forEach((function(n){t.includes(n)||(e.aboutEnterprise[n]="")})),this.aboutEnterprise.shareCompanyQuota=1,this.switchOpen=!0,this.enterpriseType="自营",this.disabled=!1},postFn:function(){var t=this,n=this,o=null,s=null;console.log(this.aboutEnterprise);var u={userName:{tacitly:"",WrongText:"用户昵称不能为空"},password:{tacitly:"",minLength:8,WrongText:"密码最少为8位"},phone:{custom:/^[1][3,4,5,7,8,9][0-9]{9}$/,WrongText:"请输<EFBFBD>
|