(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package1/inventory/batchPrint"],{"0adf":function(t,e,i){},"543d":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return s}));var s={uniPopup:function(){return i.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(i.bind(null,"2864"))},uniFormsItem:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uni-forms/components/uni-forms-item/uni-forms-item")]).then(i.bind(null,"b258"))},uniDataSelect:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uni-data-select/components/uni-data-select/uni-data-select")]).then(i.bind(null,"90dc"))}},n=function(){var t=this.$createElement;this._self._c},a=[]},"5b30":function(t,e,i){"use strict";i.r(e);var s=i("543d"),n=i("f618");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("c8ce");var r=i("828b"),c=Object(r["a"])(n["default"],s["b"],s["c"],!1,null,null,null,!1,s["a"],void 0);e["default"]=c.exports},c8ce:function(t,e,i){"use strict";var s=i("0adf"),n=i.n(s);n.a},d607:function(t,e,i){"use strict";(function(t,s){var n=i("47a9"),a=i("3b2d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n(i("60b9"));var r=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!==typeof t)return{default:t};var i=d(e);if(i&&i.has(t))return i.get(t);var s={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if("default"!==r&&Object.prototype.hasOwnProperty.call(t,r)){var c=n?Object.getOwnPropertyDescriptor(t,r):null;c&&(c.get||c.set)?Object.defineProperty(s,r,c):s[r]=t[r]}s.default=t,i&&i.set(t,s);return s}(i("769c")),c=n(i("b9aa"));function d(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(d=function(t){return t?i:e})(t)}var o={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}],list1:[{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("4af3"))}.bind(null,i)).catch(i.oe)}},onHide:function(){setTimeout((function(e){t.closeBLEConnection({deviceId:t.getStorageSync("deviceId"),success:function(t){},fail:function(t){}})}),5e3)},onLoad:function(e){s.openBluetoothAdapter({mode:"central"}),this.height=s.getSystemInfoSync().windowHeight,this.shopId=t.getStorageSync("shopId"),void 0!=e.khid?t.redirectTo({url:"/package1/index/downStearmList?khid="+e.khid}):e.purchase?(this.purchase=JSON.parse(e.purchase),this.goodsList=JSON.parse(e.purchaseDetails)):(this.type=t.getStorageSync("type"),this.getGategoryList())},methods:{getGategoryList:function(){var t=this;this.shopList=[],this.indexList=[],this.goodsList=[],this.tui.request("/app/productCategory/list","get",{},!1,!0).then((function(e){if(200==e.code){t.indexList=e.result;for(var i=0;i