1 |
- require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/order_cancellation/index"],{5204:function(e,t,i){"use strict";(function(e,t){var n=i("4ea4");i("4789");n(i("66fd"));var o=n(i("70b8"));e.__webpack_require_UNI_MP_PLUGIN__=i,t(o.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])},"5b8c":function(e,t,i){"use strict";i.r(t);var n=i("fb62"),o=i.n(n);for(var c in n)["default"].indexOf(c)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(c);t["default"]=o.a},"70b8":function(e,t,i){"use strict";i.r(t);var n=i("b3a1"),o=i("5b8c");for(var c in o)["default"].indexOf(c)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(c);i("e3c69");var r=i("f0c5"),a=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);t["default"]=a.exports},aa73:function(e,t,i){},b3a1:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,i=(e._self._c,e.$t("立即核销")),n=e.iShidden?e.$t("查看"):null,o=e.iShidden?e.$t("确定要核销此订单吗"):null,c=e.iShidden?e.$t("确定核销"):null,r=e.iShidden?e.$t("取消"):null;e.$mp.data=Object.assign({},{$root:{m0:i,m1:n,m2:o,m3:c,m4:r}})},o=[]},e3c69:function(e,t,i){"use strict";var n=i("aa73"),o=i.n(n);o.a},fb62:function(e,t,i){"use strict";(function(e){var n=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i("5171"),c=n(i("19b6")),r=i("26cb"),a=i("86eb"),d={components:{home:function(){Promise.all([i.e("common/vendor"),i.e("components/home/index")]).then(function(){return resolve(i("3b71"))}.bind(null,i)).catch(i.oe)}},mixins:[c.default],computed:(0,r.mapGetters)(["isLogin"]),data:function(){return{iShidden:!1,verify_code:"",isWeixin:"",orderInfo:{}}},onLoad:function(e){if(!this.isLogin)return(0,a.toLogin)();if(e.scene){var t=this.$util.getUrlParams(decodeURIComponent(e.scene));this.verify_code=t.verify_code||""}},methods:{goOrderDetails:function(t,i){"integral"==i?e.navigateTo({url:"/pages/points_mall/integral_order_details?order_id="+t}):e.navigateTo({url:"/pages/goods/admin_order_detail/index?id="+t+"&goname=look"})},codeChange:function(){var e=this,t=this;return this.verify_code?/[0-9]{12}/.test(this.verify_code)?(t.$util.Tips({title:this.$t("查询中")}),void setTimeout((function(){(0,o.orderVerific)(e.verify_code,0).then((function(e){t.orderInfo=e.data,t.iShidden=!0})).catch((function(e){return t.verify_code="",t.$util.Tips({title:e})}))}),800)):t.$util.Tips({title:this.$t("请输入正确的核销码")}):t.$util.Tips({title:this.$t("请输入核销码")})},scanCode:function(){var t=this;e.scanCode({success:function(e){"WX_CODE"==e.scanType?t.verify_code=e.path.split("%3D")[1]:"QR_CODE"==e.scanType&&(t.verify_code=e.result.split("=")[1]),t.codeChange()},fail:function(e){}})},confirm:function(){var e=this;(0,o.orderVerific)(this.verify_code,1).then((function(t){e.verify_code="",e.iShidden=!1,e.$util.Tips({title:t.msg})})).catch((function(t){e.$util.Tips({title:t})}))},cancel:function(){this.iShidden=!1}}};t.default=d}).call(this,i("543d")["default"])}},[["5204","common/runtime","common/vendor"]]]);
|