require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/distribution/scanning/index"],{"173d":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var n=function(){var t=this.$createElement,i=(this._self._c,this.hasKefuAuth("kefu-order-writeoff-submit"));this.$mp.data=Object.assign({},{$root:{m0:i}})},o=[]},"2e2c":function(t,i,e){"use strict";(function(t,i){var n=e("47a9");e("f076");n(e("3240"));var o=n(e("a1e4"));t.__webpack_require_UNI_MP_PLUGIN__=e,i(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},3786:function(t,i,e){"use strict";e.r(i);var n=e("c8ad"),o=e.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(u);i["default"]=o.a},"4be7":function(t,i,e){},"9c8c":function(t,i,e){"use strict";var n=e("4be7"),o=e.n(n);o.a},a1e4:function(t,i,e){"use strict";e.r(i);var n=e("173d"),o=e("3786");for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(u);e("9c8c");var c=e("828b"),r=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"55292e79",null,!1,n["a"],void 0);i["default"]=r.exports},c8ad:function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e("6af6"),o=e("4d38"),u=(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("b3bf"))}.bind(null,e)).catch(e.oe)}},data:function(){return{auth:1,verify_code:"",list:[],imgHost:o.HTTP_REQUEST_URL,popupShow:!1,orderInfo:{},id:0,box:!1,isAll:1}},onLoad:function(t){this.checkKefuAuth("kefu-order-writeoff-submit")&&(this.auth=t.auth,this.verify_code=t.code)},onShow:function(t){this.getList()},methods:{goRecord:function(i){this.checkKefuAuth("kefu-order-writeoff-submit")&&t.navigateTo({url:"/pages/admin/writeRecordList/index?id="+i})},getList:function(){var t=this;this.checkKefuAuth("kefu-order-writeoff-submit")&&(0,n.orderVerific)(this.verify_code,this.auth).then((function(i){t.list=i.data.data})).catch((function(i){return t.$util.Tips({title:i})}))},jump:function(t){this.id=t,this.getCartList(t)},getCartList:function(i){var e=this;this.checkKefuAuth("kefu-order-writeoff-submit")&&(0,n.orderCartInfo)({oid:i,auth:this.auth}).then((function(n){if(4==n.data.product_type)t.navigateTo({url:"/pages/admin/writeOffCard/index?id="+i});else{for(var o=n.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()}}});i.default=u}).call(this,e("df3c")["default"])}},[["2e2c","common/runtime","common/vendor"]]]);