(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package1/inventory/batchPrint"],{"061a":function(e,t,i){"use strict";(function(e,t){var n=i("47a9");i("82ca");n(i("3240"));var a=n(i("430d"));e.__webpack_require_UNI_MP_PLUGIN__=i,t(a.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},3624:function(e,t,i){},"3aca":function(e,t,i){"use strict";(function(e,n){var a=i("47a9"),s=i("3b2d");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(i("7eb4")),c=a(i("af34")),o=a(i("ee10")),u=(a(i("3cc2")),function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!==typeof e)return{default:e};var i=l(t);if(i&&i.has(e))return i.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=a?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(n,r,c):n[r]=e[r]}n.default=e,i&&i.set(e,n);return n}(i("b37f"))),d=a(i("ec9a"));function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:t})(e)}var h={data:function(){return{indexList:[],pageNum:1,shopList:[],goodsList:[],categoryId:"",searchName:"",id:"",carList:[],type:"",bufferData:[],typeList:[{value:"0",text:"打印长票"},{value:"1",text:"打印短票"}],printingMethod:"0",checkPayData:"",data:{},height:0,list:[{type:"供应商",checked:!1},{type:"货号",checked:!1},{type:"零售价",checked:!1},{type:"批发价",checked:!1}],multipleList:[],purchase:"",shopId:""}},components:{kkPrinter:function(){Promise.all([i.e("common/vendor"),i.e("components/kk-printer/index")]).then(function(){return resolve(i("6e81"))}.bind(null,i)).catch(i.oe)}},onHide:function(){setTimeout((function(t){e.closeBLEConnection({deviceId:e.getStorageSync("deviceId"),success:function(e){},fail:function(e){}})}),5e3)},onLoad:function(t){n.openBluetoothAdapter({mode:"central"}),this.height=n.getSystemInfoSync().windowHeight,this.shopId=e.getStorageSync("shopId"),void 0!=t.khid?e.redirectTo({url:"/package1/index/downStearmList?khid="+t.khid}):t.purchase?(this.purchase=JSON.parse(t.purchase),this.goodsList=JSON.parse(t.purchaseDetails)):(this.type=e.getStorageSync("type"),this.getGategoryList())},methods:{backPage:function(){e.navigateBack()},getGategoryList:function(){var e=this;this.tui.request("/app/productCategory/list","get",{},!1,!0).then((function(t){if(200==t.code){e.indexList=t.result;for(var i=0;i