You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
5.3 KiB
JavaScript

2 months ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/cloudStore/apply"],{"09ca":function(e,n,t){},"0a66":function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){return r}));var r={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,"71b6"))},uForm:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-form/u-form")]).then(t.bind(null,"8849"))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,"68d6"))},uInput:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-input/u-input")]).then(t.bind(null,"208a"))},uUpload:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-upload/u-upload")]).then(t.bind(null,"a259"))}},a=function(){var e=this.$createElement;this._self._c;this.$mp.data=Object.assign({},{$root:{a0:{color:"#000000",fontWeight:600,lineHeight:1.2,fontSize:"32rpx"}}})},u=[]},"0c15":function(e,n,t){"use strict";t.r(n);var r=t("0a66"),a=t("c91d");for(var u in a)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(u);t("315c");var c=t("828b"),o=Object(c["a"])(a["default"],r["b"],r["c"],!1,null,"a9968870",null,!1,r["a"],void 0);n["default"]=o.exports},"23c9":function(e,n,t){"use strict";(function(e){var r=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=r(t("7eb4")),u=r(t("7ca3")),c=r(t("ee10"));r(t("822e"));function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){(0,u.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var s={components:{shopCardDeatil:function(){t.e("pages/cloudStore/components/shopDetailCard").then(function(){return resolve(t("fd41"))}.bind(null,t)).catch(t.oe)}},data:function(){return{background:"transparent",model:{name:"",phone:"",idCard:"",sales:"",salesChannels:"",salesModel:""},rules:{name:[{required:!0,message:"请输入代理商姓名",trigger:["change","blur"]}],phone:[{required:!0,message:"请输入代理商手机号",trigger:["change","blur"]},{validator:function(n,t,r){return e.$u.test.mobile(t)},message:"手机号码不正确",trigger:["change"]}],idCard:[{required:!0,message:"请输入代理商身份证号",trigger:["change","blur"]},{validator:function(n,t,r){return e.$u.test.idCard(t)},message:"身份证号不正确",trigger:["change"]}],sales:[{required:!0,message:"请输入预计年销量",trigger:["change","blur"]}]},idCardList:[],idCardUpList:[],channelList:[{name:"微信",num:"1",checked:!1},{name:"淘宝",num:"2",checked:!1},{name:"抖音",num:"3",checked:!1},{name:"京东",num:"4",checked:!1},{name:"实体店",num:"5",checked:!1}],modelList:[{name:"卡券代理",num:"1",checked:!1},{name:"批发",num:"2",checked:!1},{name:"一键代发(通用包装)",num:"3",checked:!1},{name:"一键代发(自有包装)",num:"4",checked:!1}]}},onReady:function(){this.$refs.uForm.setRules(this.rules)},methods:{deletePic:function(e){this["${event.name}"].splice(e.index,1)},afterRead:function(e){var n=this;return(0,c.default)(a.default.mark((function t(){var r,u,c,o,s;return a.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:r=[].concat(e.file),u=n["${event.name}"].length,r.map((function(e){n["${event.name}"].push(i(i({},e),{},{status:"uploading",message:"上传中"}))})),c=0;case 4:if(!(c<r.length)){t.next=15;break}return t.next=7,n.uploadFilePromise(r[c].url);case 7:o=t.sent,console.log(o,"上传<EFBFBD><EFBFBD>