expressSet.js 3.0 KB

1
  1. require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesStore/me/expressSet"],{"3e97":function(e,n,t){"use strict";var o=t("faec"),r=t.n(o);r.a},"622d":function(e,n,t){"use strict";t.r(n);var o=t("7e1c"),r=t("e847");for(var a in r)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(a);t("3e97");var u,i=t("8261"),c=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"21b099a2",null,!1,o["a"],u);n["default"]=c.exports},"7e1c":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"91aa":function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=a(t("644f")),r=t("6186");function a(e){return e&&e.__esModule?e:{default:e}}function u(e,n,t,o,r,a,u){try{var i=e[a](u),c=i.value}catch(s){return void t(s)}i.done?n(c):Promise.resolve(c).then(o,r)}function i(e){return function(){var n=this,t=arguments;return new Promise((function(o,r){var a=e.apply(n,t);function i(e){u(a,o,r,i,c,"next",e)}function c(e){u(a,o,r,i,c,"throw",e)}i(void 0)}))}}var c=function(){t.e("components/plugin/list-cell").then(function(){return resolve(t("1861"))}.bind(null,t)).catch(t.oe)},s=function(){Promise.all([t.e("common/vendor"),t.e("components/module/app-avatar")]).then(function(){return resolve(t("d84d"))}.bind(null,t)).catch(t.oe)},f=t("90f4"),l={name:"expressSet",components:{TuiListCell:c,AppAvatarModule:s},data:function(){return{form:{shopNo:"",sjId:""},roleList:[],roleSelData:{},showStaffArea:!0,miniCodeSrc:"",memberData:{}}},onLoad:function(){},onShow:function(){e.setNavigationBarTitle({title:"快递设置"})},methods:{init:function(){var e=i(o.default.mark((function e(){var n,t;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,r.dadaInfo)();case 3:n=e.sent,t=n.data,this.form.shopNo=t.shopNo,this.form.sjId=t.sjId,this.$forceUpdate();case 8:return e.prev=8,e.finish(8);case 10:case"end":return e.stop()}}),e,this,[[0,,8,10]])})));function n(){return e.apply(this,arguments)}return n}(),confirmFn:function(){var n=this;(0,r.updateDada)(this.form).then((function(t){n.$msg("操作成功"),setTimeout((function(){e.navigateBack()}),1300)}))},formSubmit:function(e){var n=[{name:"sjId",rule:["required"],msg:["请输入商户ID"]},{name:"shopNo",rule:["required"],msg:["请输入门店编号"]}],t=e.detail.value,o=f.validation(t,n);o?this.$msg(o):this.confirmFn()}}};n.default=l}).call(this,t("934e")["default"])},aa3c:function(e,n,t){"use strict";(function(e){t("6cdc");o(t("b5e3"));var n=o(t("622d"));function o(e){return e&&e.__esModule?e:{default:e}}e(n.default)}).call(this,t("934e")["createPage"])},e847:function(e,n,t){"use strict";t.r(n);var o=t("91aa"),r=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},faec:function(e,n,t){}},[["aa3c","common/runtime","common/vendor","pagesStore/common/vendor"]]]);