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 lines
2.7 KiB
1 lines
2.7 KiB
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/distribution/scanning/index"],{"154c":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},o=[]},"179f":function(t,n,e){},3874:function(t,n,e){"use strict";e.r(n);var i=e("c49f"),o=e.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);n["default"]=o.a},"61ee":function(t,n,e){"use strict";var i=e("179f"),o=e.n(i);o.a},a01e:function(t,n,e){"use strict";(function(t,n){var i=e("47a9");e("7561");i(e("3240"));var o=i(e("eb73"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},c49f:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("8f59"),o=e("e727"),u=e("bad7"),r=(e("3240"),{name:"scanning",components:{writeOffList:function(){Promise.all([e.e("common/vendor"),e.e("pages/admin/components/writeOffList/index")]).then(function(){return resolve(e("23e9"))}.bind(null,e)).catch(e.oe)}},computed:(0,i.mapGetters)(["storeNum"]),data:function(){return{auth:1,verify_code:"",list:[],imgHost:u.HTTP_REQUEST_URL,popupShow:!1,orderInfo:{},id:0,box:!1,isAll:1}},onLoad:function(t){this.auth=t.auth,this.verify_code=t.code},onShow:function(t){this.getList()},methods:{goRecord:function(n){t.navigateTo({url:"/pages/admin/writeRecordList/index?id="+n+"&storeNum="+this.storeNum})},getList:function(){var t=this,n="";n=this.storeNum?o.orderVerific:o.storeOrderVerific,n(this.verify_code,this.auth).then((function(n){t.list=n.data.data})).catch((function(n){return t.$util.Tips({title:n})}))},jump:function(t){this.id=t,this.getCartList(t)},getCartList:function(n){var e=this;(0,o.orderCartInfo)({oid:n,auth:this.auth}).then((function(i){if(4==i.data.product_type)t.navigateTo({url:"/pages/admin/writeOffCard/index?id="+n+"&storeNum="+e.storeNum});else{for(var o=i.data,u=0;u<o.cart_info.length;u++)o.cart_info[u].surplus_num_input=o.cart_info[u].surplus_num,o.cart_info[u].checked=!0;e.orderInfo=o,e.popupShow=!0}})).catch((function(t){e.$util.Tips({title:t})}))},closePopup:function(){this.popupShow=!1},writeSuccess:function(t){this.isAll=t,this.box=!0},ok:function(t){this.box=!1,this.popupShow=!1,this.getList()}}});n.default=r}).call(this,e("df3c")["default"])},eb73:function(t,n,e){"use strict";e.r(n);var i=e("154c"),o=e("3874");for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);e("61ee");var r=e("828b"),a=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"0b472108",null,!1,i["a"],void 0);n["default"]=a.exports}},[["a01e","common/runtime","common/vendor"]]]); |