平板端快衣店
You can not 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
9.8 KiB

2 months ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package1/billing/addUser"],{"0c60":function(e,t,o){"use strict";var a=o("ec79"),n=o.n(a);n.a},"2fc4":function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return i})),o.d(t,"a",(function(){return a}));var a={uniForms:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uni-forms/components/uni-forms/uni-forms")]).then(o.bind(null,"9657"))},uniFormsItem:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uni-forms/components/uni-forms-item/uni-forms-item")]).then(o.bind(null,"ac84"))},uniEasyinput:function(){return o.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(o.bind(null,"bc9c"))},uniDataSelect:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uni-data-select/components/uni-data-select/uni-data-select")]).then(o.bind(null,"c807"))},ccSelectDity:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/cc-selectDity/components/cc-selectDity/cc-selectDity")]).then(o.bind(null,"2356"))},uModal:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-modal/u-modal")]).then(o.bind(null,"a8c6"))}},n=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.delShow=!1})},i=[]},7297:function(e,t,o){"use strict";(function(e,t){var a=o("47a9");o("82ca");a(o("3240"));var n=a(o("c0fa"));e.__webpack_require_UNI_MP_PLUGIN__=o,t(n.default)}).call(this,o("3223")["default"],o("df3c")["createPage"])},"91b3":function(e,t,o){"use strict";o.r(t);var a=o("aff7"),n=o.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){o.d(t,e,(function(){return a[e]}))}(i);t["default"]=n.a},aff7:function(e,t,o){"use strict";(function(e,a){var n=o("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("7ca3")),r=o("7312"),s=o("8f59");function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,a)}return o}var u={data:function(){return{showPrice:!1,keyboardNum:"",userInfo:"",show:!1,categoryList:[],goodsNum:"",delShow:!1,addressObj:{},type:"",popleType:"",formData:{consigneeMobile:"",consigneeName:"",orderByField:"",address1:"",address:"",province:"",city:"",area:"",noEarn:"",fenlei:"",fenleiName:""},sexs:[{text:"男",value:"男"},{text:"女",value:"女"}],rules:{consigneeName:{rules:[{required:!0,errorMessage:"请输入姓名"}]}}}},computed:function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){(0,i.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},(0,s.mapState)(["shopName","shopIndex"])),onReady:function(){this.$refs.form.setRules(this.rules)},onLoad:function(e){this.popleType=e.popleType,this.type=e.type,this.getCategoryList();var t="";console.log(e.data),void 0!=e.data&&(t=e.data),t=JSON.parse(t),(e.type="edit")&&(this.formData.address1=t.province+t.city+t.area,this.formData.address=t.address,this.formData.area=t.area,this.formData.city=t.city,this.formData.province=t.province,this.formData.id=t.id,this.formData.fenlei=t.categoryId,this.formData.orderByField=null==t.orderByField?"":t.orderByField,this.formData.fenleiName=t.categoryName,this.formData.consigneeMobile=""!=t.consigneeMobile&&void 0!=t.consigneeMobile?t.consigneeMobile:""!=t.phone&&void 0!=t.phone?t.phone:"",this.formData.consigneeName=t.consigneeName||t.name||"")},onShow:function(){e.authorize({scope:"scope.userLocation",success:function(){},fail:function(){this.tui.toast("您未授权,AI入库功能可能会出现错误")}})},methods:{getCategoryList:function(){var t=this;this.tui.request("/app/customerCategory/getCustomerCategoryListByShopId","POST",{shopId:e.getStorageSync("shopId")},!1,!0).then((function(e){if(2