(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package3/index/orderDetailTable"],{"17f0":function(t,e,a){},2240:function(t,e,a){"use strict";(function(t,i){var s=a("47a9"),n=a("3b2d");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(a("7eb4")),o=s(a("af34")),u=s(a("ee10")),d=(s(a("60b9")),function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!==typeof t)return{default:t};var a=l(e);if(a&&a.has(t))return a.get(t);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if("default"!==r&&Object.prototype.hasOwnProperty.call(t,r)){var o=s?Object.getOwnPropertyDescriptor(t,r):null;o&&(o.get||o.set)?Object.defineProperty(i,r,o):i[r]=t[r]}i.default=t,a&&a.set(t,i);return i}(a("769c")));s(a("2df0"));function l(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,a=new WeakMap;return(l=function(t){return t?a:e})(t)}var c={data:function(){return{enDayShow:!1,textArr:["您还未关注快衣店服务号,暂无法接收充值及上新提醒,点击关注"],FWHPic:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/f2ba2080aaa54c618c2e47df4f220087.png",defaultText:"贴包单",radio1:0,isSelfOrder:!1,isshanglu:!0,isSizeHeng:!1,canvasshow:!1,bigImg:[],shopId:t.getStorageSync("shopId"),shopName:"",QrUrl:"",newQRList:[],newQRList1:[],qrCodeImage:"",swiperDotIndex:0,sex:[{text:"是",value:0},{text:"否",value:2}],orderByWorkerCandidates:[],orderByWorker:"",bufferData:[],userType:t.getStorageSync("type"),show:!1,popupShow:!1,shopAddress:t.getStorageSync("shopAddress"),shopOwnerPhone:t.getStorageSync("shopOwnerPhone"),shopRemark1:t.getStorageSync("shopRemark"),sales:{},dealingsRecord:{},order:{},list:[],newData:[],listHeng:[],lettrList:["XS","S","M","L","XL","2XL","XXL","3XL","XXXL","4XL","XXXXL","5XL","XXXXXL","6XL","XXXXXXL","7XL","XXXXXXXL"],isReturn:!1,orderByWorkerList:[],inventoryList:[],inventoryReturnList:[],shopList:[],returnList1:[],editNoPrice:!1,newEarn:0,shopRemark:[],fontsmailDcl:0,isgys:!0,printHeight:0,myCanvasHeight:"",myCanvasWidth:"",isReturnPrice:1,type:"",orderXd:[],collection:[],returnPrice:0,shopMoblie:"",smailSize:0,returnNum:0,lbgName:[],returnAmount:0,smailDcl:1,shopData:[],changeA:"",sAmout:0,yNum:150,picOk:!1,printingMethod:"0",printHeight1:0,printWidth1:0,printTotal:1040,deviceType:"ios",payType1:1,payTypeList:[{value:1,text:"切换样式"},{value:1,text:"展示图片"},{value:0,text:"表格样式"},{value:2,text:"尺码横排"}],qrArr:[],isShare:!1,isDownKH:!1,userId:"",customId:"",needPushMsg:!1,mini_program_openid:"",unionid:"",official_account_openid:"",zhengtizhekou:!1,addressArr:[],jinjuPhone:"",modal_qr:!1,qrCodeUrl:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/8e305338798c4152a89e3351eaf6c84e.png",timeOrder:0,lableIndex:0,signIndex:[],isAddLableBtn:!0,orderIndex:"",customName:"",faBookShow:!1,lableText:"",checkColor:"",isEdit:!1,signList:[],statusList:[{value:2,text:"作废"},{value:6,text:"待配货"},{value:7,text:"挂单"},{value:4,text:"已完成"},{value:0,text:"库房未配货"},{value:1,text:"库房配货完"}],colorList:[{name:"green",checked:!1},{name:"blue",checked:!1},{name:"orange",checked:!1},{name:"#6A5ACD",checked:!1},{name:"#FFC1C1",checked:!1},{name:"#FF3030",checked:!1},{name:"#1E90FF",checked:!1},{name:"#9C9C9C",checked:!1},{name:"#008B8B",checked:!1},{name:"#1C1C1C",checked:!1}],range:[],status:"loadmore",page:1,totalPages:0,customList:[],listStatus:"",isCancel:!1,returnList:new Map}},onReachBottom:function(){this.page>=this.totalPages||(this.status="loading",this.page=++this.page,this.getOrderInfoList())},components:{kkPrinter:function(){Promise.all([a.e("common/vendor"),a.e("components/kk-printer/index")]).then(function(){return resolve(a("4af3"))}.bind(null,a)).catch(a.oe)}},filters:{sliceTime:function(t){var e="";return"string"==typeof t&&(e=t.split(" ")[0]),e}},onShow:function(){i.openBluetoothAdapter({mode:"central"}),1==t.getStorageSync("noReload")?t.removeStorageSync("noReload"):(this.inventoryList=[],this.page=1,this.getOrderInfoList()),this.getLableList()},methods:{changeSort:function(){0==this.timeOrder?this.timeOrder=1:1==this.timeOrder&&(this.timeOrder=0),this.getOrderInfoList("sreach")},goGoods:function(e){var a=this;return(0,u.default)(r.default.mark((function i(){var s;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(s=a,""==e.aiNotRecognition||null==e.aiNotRecognition){i.next=5;break}t.showModal({title:"提示",content:e.aiNotRecognition+"确认去开单吗?",success:function(t){t.confirm&&s.goSaleGoods(e)}}),i.next=12;break;case 5:if(""!=e.aiNotRecognition||null!=e.saleDetailDTOList){i.next=9;break}t.showModal({title:"提示",content:"未识别到商品,确认去开单吗?",success:function(t){t.confirm&&s.goSaleGoods(e)}}),i.next=12;break;case 9:return i.next=11,a.getReturnOrder1(e.id);case 11:t.showModal({title:"提示",content:"确认去开单吗?",success:function(t){t.confirm&&s.goSaleGoods(e)}});case 12:case"end":return i.stop()}}),i)})))()},changeShowBtn:function(t){this.lableIndex!=t&&(this.inventoryList[this.lableIndex].isShowBtn=!1,this.lableIndex=t),void 0==this.inventoryList[t].isShowBtn||0==this.inventoryList[t].isShowBtn?this.inventoryList[t].isShowBtn=!0:this.inventoryList[t].isShowBtn=!1,this.$forceUpdate()},showTime:function(e){t.showToast({title:"订单时间:"+e,icon:"none"})},isPrint:function(e,a,i){var s=this;t.showLoading({title:"加载中...",mask:!0}),this.inventoryList[i].isShowBtn=!1,this.printId=e,this.printCustomId=a,this.qrArr=[],this.getOrderInfo(),setTimeout((function(e){t.hideLoading(),s.$refs.printPopup.open()}),500)},cancelOrder:function(t,e,a){var i=this;return(0,u.default)(r.default.mark((function s(){var n;return r.default.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return n=i,s.next=3,i.getReturnOrder1(t.id);case 3:return s.next=5,i.tui.modal("提示","您确定要撤销订单吗?",!0,(function(i){i?n.cancelOk(t,e,a):n.returnList=new Map}));case 5:case"end":return s.stop()}}),s)})))()},goSaleGoods:function(e,a){var i=this,s=[];if(e.saleDetailDTOList||(e.saleDetailDTOList=[]),this.returnList.forEach((function(t,a){e.saleDetailDTOList.push(t)})),e.discount=null==e.discount?10:e.discount,e.saleDetailDTOList)for(var n=0;n0)for(var d=0;d0&&(o=o.concat(u));var C=[];n&&(o=o.sort((function(t,e){return t-e})),r.forEach((function(t,e){for(var a=0;a0&&(C=C.concat(t))})),e.list[i].stockLogList1=C),s&&(r.forEach((function(t,a){for(var i=0;i0&&(C=C.concat(t))})),e.list[i].stockLogList1=C);for(d=0;d=1?Number((t/this.smailDcl).toFixed(2)):t},returnFontSize:function(t){return Number((t/this.smailDcl).toFixed(0))-1},getData:function(){var e=this,a=this;if(a.picOk){t.showLoading({title:"图片绘制中..."});var i=a.printHeight1;this.canvasshow=!0;var s=t.createCanvasContext("myCanvas",this);s.fillStyle="#FFFFFF",s.fillRect(0,0,a.printWidth1,i),s.font="bold "+a.returnFontSize(150)+"px SimSun",s.fillStyle="black";var n=this.shopName+" 销售单",r=s.measureText(n).width,o=(a.printWidth1-r)/2;s.fillText(n,o,a.returnRealSize(300)),s.draw(!0),s.font="bold "+a.returnFontSize(60)+"px SimSun",s.fillStyle="black",s.fillText("客户:"+("1863043415453863936"==a.shopId&&"散客"==a.order.name?"客户":a.order.name?a.order.name:"散客"),a.returnRealSize(20),a.returnRealSize(500)),s.fillText("单号:"+a.sales.id,a.returnRealSize(1450),a.returnRealSize(500)),s.fillText("销售员:"+a.sales.createByName,a.returnRealSize(20),a.returnRealSize(600)),s.fillText("日期:"+a.sales.createTime,a.returnRealSize(1450),a.returnRealSize(600)),s.fillText("-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------",a.returnRealSize(20),a.returnRealSize(700)),"0"!=this.printingMethod&&"2"!=this.printingMethod||(s.fillText("货号(名称)",a.returnRealSize(20),a.returnRealSize(800)),s.fillText("规格",a.returnRealSize(1040),a.returnRealSize(800)),s.fillText("数量",a.returnRealSize(1590),a.returnRealSize(800)),s.fillText("单价",a.returnRealSize(1875),a.returnRealSize(800)),s.fillText("总价",a.returnRealSize(2140),a.returnRealSize(800)),s.fillText("-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------",a.returnRealSize(20),a.returnRealSize(900)));for(var u=a.returnRealSize(700),d=a.returnRealSize(900),l=0,c=0,h=0;h=0?s.fillText("之前欠款:"+a.dealingsRecord.lastDebtAmount,a.returnRealSize(1700),p):a.dealingsRecord.lastDebtAmount<0?s.fillText("之前余额:"+Math.abs(a.dealingsRecord.lastDebtAmount),a.returnRealSize(1700),p):s.fillText("之前欠款:0",a.returnRealSize(1700),p),s.fillText("-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------",a.returnRealSize(20),p+=a.returnRealSize(100)),s.fillText("本单实收:"+a.sales.alreadyEarn+"("+this.convertToChineseNumeral(a.sales.alreadyEarn)+")",a.returnRealSize(20),p+=a.returnRealSize(100)),a.dealingsRecord.balanceDue>=0?s.fillText("累计欠款:"+a.dealingsRecord.balanceDue,a.returnRealSize(1700),p):a.dealingsRecord.balanceDue<0?s.fillText("累计余额:"+Math.abs(a.dealingsRecord.balanceDue),a.returnRealSize(1700),p):s.fillText("累计欠款:0",a.returnRealSize(1700),p),s.fillText("-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------",a.returnRealSize(20),p+=a.returnRealSize(100)),s.draw(!0),s.font="bold "+a.returnFontSize(60)+"px SimSun",s.fillStyle="black",a.sales.noEarn>=0?s.fillText("本单欠款:"+a.sales.noEarn,a.returnRealSize(20),p+=a.returnRealSize(100)):s.fillText("本单余额:"+Math.abs(a.sales.noEarn),a.returnRealSize(20),p+=a.returnRealSize(100)),a.returnPrice>0&&(s.fillText("退货数量:"+a.returnNum,a.returnRealSize(900),p),s.fillText("退货金额:"+a.returnPrice,a.returnRealSize(1700),p)),s.fillText("-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------",a.returnRealSize(20),p+=a.returnRealSize(100)),a.sales.remark&&(s.fillText("订单备注:"+a.sales.remark,a.returnRealSize(20),p+=a.returnRealSize(100)),s.fillText("-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------",a.returnRealSize(20),p+=a.returnRealSize(100))),s.fillText("店铺地址:"+this.addressArr,a.returnRealSize(20),p+=a.returnRealSize(100)),"1820391948796694529"==this.shopId||"1848966744035692545"==this.shopId||"1850038419279974400"==this.shopId?s.fillText("店铺电话:"+this.jinjuPhone,a.returnRealSize(20),p+=a.returnRealSize(100)):"1834512626093264897"==this.shopId?s.fillText("店铺电话:13191998128",a.returnRealSize(20),p+=a.returnRealSize(100)):s.fillText("店铺电话:"+(t.getStorageSync("shopOwnerPhone")?t.getStorageSync("shopOwnerPhone"):t.getStorageSync("username")),a.returnRealSize(20),p+=a.returnRealSize(100)),null!=this.sales.companyName&&s.fillText("发货方式:"+this.sales.companyName+" "+this.sales.companyPhone,a.returnRealSize(20),p+=a.returnRealSize(100)),this.shopRemark.length>0)for(var g=0;g0&&e.getQRCode()}),1e3)}}})).catch((function(t){}))},goToInfo:function(){var e=getCurrentPages();e.length>1?t.navigateBack({delta:1}):t.reLaunch({url:"/pages/index/home"})},deleteOrder:function(){var e=this;t.showModal({title:"提示",content:"确定删除此条挂单吗?",success:function(a){a.confirm&&e.tui.request("/app/sale/delById","post",{id:e.saleId},!1,!0).then((function(e){200==e.code?(setTimeout((function(e){t.showToast({title:"删除成功",icon:"none"})}),1e3),t.navigateBack()):t.showToast({title:"删除失败",icon:"none"})})).catch((function(t){}))}})},getPrintHeight:function(){var e=this;if(this.printHeight=960,this.printHeight1=1900,this.printWidth1=2500,"1"==this.printingMethod)if("1822829636942434305"==e.shopId||"1818888277105709056"==e.shopId)for(var a=0;a0&&("1890655721893269507"==t.getStorageSync("shopId")||"1844355592815251456"==t.getStorageSync("shopId")?this.printHeight+=452:this.printHeight+=360,this.printHeight1+=1e3),e.shopRemark.length>0&&(this.printHeight+=40*e.shopRemark.length,this.printHeight1+=100*e.shopRemark.length),e.sales.remark&&(this.printHeight+=100,this.printHeight1+=100);var r=4e3;"ios"==e.deviceType&&(r=2500),this.smailDcl=Number(Number(this.printHeight1/r).toFixed(2)),this.printHeight1=r,this.myCanvasHeight=this.printHeight1+"px",this.smailDcl>=1&&(this.printWidth1=Number(Number(this.printWidth1/this.smailDcl).toFixed(0))),this.myCanvasWidth=this.printWidth1+"px",setTimeout((function(t){e.picOk=!0}),1e3)},getQRCode:function(){for(var t=this,e=this,a=function(a){setTimeout((function(i){e.QrUrl=e.qrArr[a].path;var s={name:e.qrArr[a].name,path:""};setTimeout((function(a){t.$refs.uqrcode.toTempFilePath({success:function(t){s.path=t.tempFilePath,e.newQRList1.push(s),e.newQRList.push(s)},fail:function(t){console.log("err",t)}})}),500*a)}),1e3*a)},i=0;i=1990*s?1990:this.printHeight,1,0,0),i+=d.addCPCLSETMAG(4,4),d.addCPCLSETBOLD("bold"),i+=d.addCPCLLocation(2),i+=d.addCPCLText("0","120","24","0",0,this.shopName),i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLLocation(0),d.addCPCLSETBOLD("bold"),"1865592366551928832"==this.shopId||"1818888277105709056"==this.shopId){var r=null==this.sales.payType?"暂无":0==this.sales.payType?"现金收款":1==this.sales.payType?"微信收款":2==this.sales.payType?"支付宝收款":3==this.sales.payType?"银行卡转账":4==this.sales.payType?"收款码收款":"";i+=d.addCPCLText("500","250","24","0",0,"收款方式:"+r)}"杰娜世家"!=this.shopName&&"老早测试"!=this.shopName||(i+=d.addCPCLText("0","250","24","0",0,"客户地址:"+a.order.address)),i+=d.addCPCLText("0","300","24","0",0,"客户:"+("1863043415453863936"==this.shopId&&"散客"==a.order.name?"客户":a.order.name?a.order.name:"散客")),i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLLocation(0),i+=d.addCPCLText("500","300","24","0",0,"单号:"+a.sales.id),i+=d.addCPCLText("0","350","24","0",0,"销售员:"+a.sales.createByName),i+=d.addCPCLText("500","350","24","0",0,"日期:"+a.sales.createTime);var o="420",u="600";this.zhengtizhekou&&(o="350",u="530");"0"==this.printingMethod?(i+=d.addCPCLText("0","390","24","0",0,"-----------------------------------------------------------------------------------"),i+=d.addCPCLText("10",a.yNum+=40,"24","0",0,"货号(名称)"),i+=d.addCPCLText(o,a.yNum,"24","0",0,"规格"),i+=d.addCPCLText(u,a.yNum,"24","0",0,"数量"),this.zhengtizhekou&&(i+=d.addCPCLText("600",a.yNum,"24","0",0,"折扣")),i+=d.addCPCLText("660",a.yNum,"24","0",0,"单价"),i+=d.addCPCLText("730",a.yNum,"24","0",0,"总价")):"2"==this.printingMethod&&(a.yNum=370,i+=d.addCPCLText("0","370","24","0",0,"-----------------------------------------------------------------------------------"),i+=d.addCPCLText("10",a.yNum+=40,"24","0",0,"货号(名称)"),i+=d.addCPCLText("420",a.yNum,"24","0",0,"数量"),a.zhengtizhekou?(i+=d.addCPCLText("510",a.yNum,"24","0",0,"折扣"),i+=d.addCPCLText("600",a.yNum,"24","0",0,"单价")):i+=d.addCPCLText("575",a.yNum,"24","0",0,"单价"),i+=d.addCPCLText("730",a.yNum,"24","0",0,"总价"));for(var l=function(){var t=25;if("1822829636942434305"!=a.shopId&&"1818888277105709056"!=a.shopId||(t=50),a.yNum+t>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,e.printHeight-a.yNum+t>=1990?1990:e.printHeight-a.yNum+t,1,0,162),a.yNum=0,s++,"2"!=e.printingMethod&&(i+=d.addCPCLText("0",a.yNum+=t,"24","0",0,"-----------------------------------------------------------------------------------"))):"2"!=e.printingMethod&&(i+=d.addCPCLText("0",a.yNum+=t,"24","0",0,"-----------------------------------------------------------------------------------")),"1"==e.printingMethod){a.yNum+64>=1990&&(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,e.printHeight-a.yNum+64>=1990?1990:e.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++);var r="0";"1822829636942434305"!=a.shopId&&"1818888277105709056"!=a.shopId||(r="1"),a.newData[c].productName==a.newData[c].productSn?i+=d.addCPCLText("0",a.yNum+=40,"24",r,0,a.newData[c].productSn):i+=d.addCPCLText("0",a.yNum+=40,"24",r,0,a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"),t=64,"1822829636942434305"!=a.shopId&&"1818888277105709056"!=a.shopId||(t=80),a.yNum+t>=1990&&(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,e.printHeight-a.yNum+t>=1990?1990:e.printHeight-a.yNum+t,1,0,180),a.yNum=0,s++),t=40,"1822829636942434305"!=a.shopId&&"1818888277105709056"!=a.shopId||(r="1",t=58),i+=d.addCPCLText("0",a.yNum+=t,"24",r,0,"颜色");for(var l=180,L=0;L=1990&&(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,a.printHeight-a.yNum+t>=1990?1990:a.printHeight-a.yNum+t,1,0,180),a.yNum=0,s++),"1820269107191353344"!=a.shopId&&"1818888277105709056"!=a.shopId||"均色"!=n||(n="分色");var r=40,o=420,u="0";"1822829636942434305"!=a.shopId&&"1818888277105709056"!=a.shopId||(r=58),"1822829636942434305"!=a.shopId&&"1818888277105709056"!=a.shopId||(u="1",o=470),i+=d.addCPCLText("0",a.yNum+=r,"24",u,0,n);for(var l=180,h=0,L=0,C=0;C=1990&&(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,e.printHeight-a.yNum+64>=1990?1990:e.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++),g>0&&(a.newData[c].productName==a.newData[c].productSn?(i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn),i+=d.addCPCLText("420",a.yNum,"24","0",0,g),a.zhengtizhekou?(i+=d.addCPCLText("510",a.yNum,"24","0",0,a.newData[c].printDiscount),i+=d.addCPCLText("600",a.yNum,"24","0",0,a.newData[c].discountAmount)):i+=d.addCPCLText("575",a.yNum,"24","0",0,a.newData[c].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,g*a.newData[c].discountAmount)):(i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"),i+=d.addCPCLText("420",a.yNum,"24","0",0,g),a.zhengtizhekou?(i+=d.addCPCLText("510",a.yNum,"24","0",0,a.newData[c].printDiscount),i+=d.addCPCLText("600",a.yNum,"24","0",0,a.newData[c].discountAmount)):i+=d.addCPCLText("575",a.yNum,"24","0",0,a.newData[c].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,g*a.newData[c].discountAmount))),p>0&&(a.newData[c].productName==a.newData[c].productSn?(i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn),i+=d.addCPCLText("420",a.yNum,"24","0",0,p),a.zhengtizhekou?(i+=d.addCPCLText("510",a.yNum,"24","0",0,""),i+=d.addCPCLText("600",a.yNum,"24","0",0,f)):i+=d.addCPCLText("575",a.yNum,"24","0",0,f),i+=d.addCPCLText("730",a.yNum,"24","0",0,p*f)):(i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"),i+=d.addCPCLText("420",a.yNum,"24","0",0,p),a.zhengtizhekou?(i+=d.addCPCLText("510",a.yNum,"24","0",0,""),i+=d.addCPCLText("600",a.yNum,"24","0",0,f)):i+=d.addCPCLText("575",a.yNum,"24","0",0,f),i+=d.addCPCLText("730",a.yNum,"24","0",0,p*f)))}else if(a.yNum+64>=1990)for(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,e.printHeight-a.yNum+64>=1990?1990:e.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,h=0;h=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,e.printHeight-a.yNum+64>=1990?1990:e.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,a.newData[c].stockLogList1[h].isReturn?a.newData[c].productName==a.newData[c].productSn?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"):a.newData[c].productName==a.newData[c].productSn&&"散客"!=a.order.name?1==a.newData[c].stockLogList1[h].isPurchasedBefore?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【补】"+a.newData[c].productSn):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn):1==a.newData[c].stockLogList1[h].isPurchasedBefore&&"散客"!=a.order.name?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【补】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"),"1820269107191353344"!=a.shopId&&"1818888277105709056"!=a.shopId||(-1!=a.newData[c].stockLogList1[h].attributeList.indexOf("均色")&&(a.newData[c].stockLogList1[h].attributeList=a.newData[c].stockLogList1[h].attributeList.replace(/均色/g,"分色")),-1!=a.newData[c].stockLogList1[h].attributeList.indexOf("均码")&&(a.newData[c].stockLogList1[h].attributeList=a.newData[c].stockLogList1[h].attributeList.replace(/均码/g,"分码"))),i+=d.addCPCLText(o,a.yNum,"24","0",0,a.slicePrint(a.newData[c].stockLogList1[h].attributeList)),console.log("discount",a.newData[c].discount),i+=d.addCPCLText(u,a.yNum,"24","0",0,a.newData[c].stockLogList1[h].productCount),a.zhengtizhekou&&(i+=d.addCPCLText("600",a.yNum,"24","0",0,a.newData[c].printDiscount)),a.newData[c].stockLogList1[h].isReturn?(i+=d.addCPCLText("660",a.yNum,"24","0",0,a.newData[c].stockLogList1[h].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,a.newData[c].stockLogList1[h].discountAmount*a.newData[c].stockLogList1[h].productCount)):(i+=d.addCPCLText("660",a.yNum,"24","0",0,a.newData[c].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,a.newData[c].discountAmount*a.newData[c].stockLogList1[h].productCount))):(a.newData[c].stockLogList1[h].isReturn?a.newData[c].productName==a.newData[c].productSn?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"):a.newData[c].productName==a.newData[c].productSn&&"散客"!=a.order.name?1==a.newData[c].stockLogList1[h].isPurchasedBefore?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【补】"+a.newData[c].productSn):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn):1==a.newData[c].stockLogList1[h].isPurchasedBefore&&"散客"!=a.order.name?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【补】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"),"1820269107191353344"!=a.shopId&&"1818888277105709056"!=a.shopId||(-1!=a.newData[c].stockLogList1[h].attributeList.indexOf("均色")&&(a.newData[c].stockLogList1[h].attributeList=a.newData[c].stockLogList1[h].attributeList.replace(/均色/g,"分色")),-1!=a.newData[c].stockLogList1[h].attributeList.indexOf("均码")&&(a.newData[c].stockLogList1[h].attributeList=a.newData[c].stockLogList1[h].attributeList.replace(/均码/g,"分码"))),i+=d.addCPCLText(o,a.yNum,"24","0",0,a.slicePrint(a.newData[c].stockLogList1[h].attributeList)),i+=d.addCPCLText(u,a.yNum,"24","0",0,a.newData[c].stockLogList1[h].productCount),console.log("discount",a.newData[c].discount),a.zhengtizhekou&&(i+=d.addCPCLText("600",a.yNum,"24","0",0,a.newData[c].printDiscount)),a.newData[c].stockLogList1[h].isReturn?(i+=d.addCPCLText("660",a.yNum,"24","0",0,a.newData[c].stockLogList1[h].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,a.newData[c].stockLogList1[h].discountAmount*a.newData[c].stockLogList1[h].productCount)):(i+=d.addCPCLText("660",a.yNum,"24","0",0,a.newData[c].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,a.newData[c].discountAmount*a.newData[c].stockLogList1[h].productCount)));else for(h=0;h=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,e.printHeight-a.yNum+64>=1990?1990:e.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,a.newData[c].stockLogList1[h].isReturn?a.newData[c].productName==a.newData[c].productSn?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"):a.newData[c].productName==a.newData[c].productSn?1==a.newData[c].stockLogList1[h].isPurchasedBefore&&"散客"!=a.order.name?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【补】"+a.newData[c].productSn):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn):1==a.newData[c].stockLogList1[h].isPurchasedBefore&&"散客"!=a.order.name?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【补】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"),"1820269107191353344"!=a.shopId&&"1818888277105709056"!=a.shopId||(-1!=a.newData[c].stockLogList1[h].attributeList.indexOf("均色")&&(a.newData[c].stockLogList1[h].attributeList=a.newData[c].stockLogList1[h].attributeList.replace(/均色/g,"分色")),-1!=a.newData[c].stockLogList1[h].attributeList.indexOf("均码")&&(a.newData[c].stockLogList1[h].attributeList=a.newData[c].stockLogList1[h].attributeList.replace(/均码/g,"分码"))),i+=d.addCPCLText(o,a.yNum,"24","0",0,a.slicePrint(a.newData[c].stockLogList1[h].attributeList)),i+=d.addCPCLText(u,a.yNum,"24","0",0,a.newData[c].stockLogList1[h].productCount),console.log("discount",a.newData[c].discount),a.zhengtizhekou&&(i+=d.addCPCLText("600",a.yNum,"24","0",0,a.newData[c].printDiscount)),a.newData[c].stockLogList1[h].isReturn?(i+=d.addCPCLText("660",a.yNum,"24","0",0,a.newData[c].stockLogList1[h].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,a.newData[c].stockLogList1[h].discountAmount*a.newData[c].stockLogList1[h].productCount)):(i+=d.addCPCLText("660",a.yNum,"24","0",0,a.newData[c].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,a.newData[c].discountAmount*a.newData[c].stockLogList1[h].productCount))):(a.newData[c].stockLogList1[h].isReturn?a.newData[c].productName==a.newData[c].productSn?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【退】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"):a.newData[c].productName==a.newData[c].productSn?1==a.newData[c].stockLogList1[h].isPurchasedBefore&&"散客"!=a.order.name?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【补】"+a.newData[c].productSn):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn):1==a.newData[c].stockLogList1[h].isPurchasedBefore&&"散客"!=a.order.name?i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【补】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"):i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,(n+=1)+".【销】"+a.newData[c].productSn+"("+(null==a.newData[c].productName?"":a.newData[c].productName)+")"),"1820269107191353344"!=a.shopId&&"1818888277105709056"!=a.shopId||(-1!=a.newData[c].stockLogList1[h].attributeList.indexOf("均色")&&(a.newData[c].stockLogList1[h].attributeList=a.newData[c].stockLogList1[h].attributeList.replace(/均色/g,"分色")),-1!=a.newData[c].stockLogList1[h].attributeList.indexOf("均码")&&(a.newData[c].stockLogList1[h].attributeList=a.newData[c].stockLogList1[h].attributeList.replace(/均码/g,"分码"))),i+=d.addCPCLText(o,a.yNum,"24","0",0,a.slicePrint(a.newData[c].stockLogList1[h].attributeList)),i+=d.addCPCLText(u,a.yNum,"24","0",0,a.newData[c].stockLogList1[h].productCount),console.log("discount",a.newData[c].discount),a.zhengtizhekou&&(i+=d.addCPCLText("600",a.yNum,"24","0",0,a.newData[c].printDiscount)),a.newData[c].stockLogList1[h].isReturn?(i+=d.addCPCLText("660",a.yNum,"24","0",0,a.newData[c].stockLogList1[h].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,a.newData[c].stockLogList1[h].discountAmount*a.newData[c].stockLogList1[h].productCount)):(i+=d.addCPCLText("660",a.yNum,"24","0",0,a.newData[c].discountAmount),i+=d.addCPCLText("730",a.yNum,"24","0",0,a.newData[c].discountAmount*a.newData[c].stockLogList1[h].productCount)))},c=0;c=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+L>=1990?1990:this.printHeight-a.yNum+L,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.yNum+=L,"24","0",0,"-----------------------------------------------------------------------------------")):i+=d.addCPCLText("0",a.yNum+=L,"24","0",0,"-----------------------------------------------------------------------------------"),i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLLocation(0),"1820391948796694529"==this.shopId?(a.yNum+54>=1990*s?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+54>=1990?1990:this.printHeight-a.yNum+54,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"销售数量:"+a.sales.productCount),i+=d.addCPCLText("300",a.yNum,"24","0",0,"销售金额:"+a.sales.totalAmount),i+=d.addCPCLText("580",a.yNum,"24","0",0,"余额抵销售:"+a.sales.balanceDeductionAmount)):(i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"销售数量:"+a.sales.productCount),i+=d.addCPCLText("300",a.yNum,"24","0",0,"销售金额:"+a.sales.totalAmount),i+=d.addCPCLText("580",a.yNum,"24","0",0,"余额抵销售:"+a.sales.balanceDeductionAmount)),i+=d.addCPCLSETMAG(1,1),a.yNum+54>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+54>=1990?1990:this.printHeight-a.yNum+54,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"退货数量:"+a.returnNum),i+=d.addCPCLText("300",a.yNum,"24","0",0,"退货金额:"+a.returnPrice),i+=d.addCPCLText("580",a.yNum,"24","0",0,"其他费用:"+a.sales.otherExpense)):(i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"退货数量:"+a.returnNum),i+=d.addCPCLText("300",a.yNum,"24","0",0,"退货金额:"+a.returnPrice),i+=d.addCPCLText("580",a.yNum,"24","0",0,"其他费用:"+a.sales.otherExpense)),a.yNum+54>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+54>=1990?1990:this.printHeight-a.yNum+54,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"欠款抵退货:"+a.sales.debtDeductionAmount),i+=d.addCPCLText("300",a.yNum,"24","0",0,"销售抵退货:"+a.sales.saleDeductionAmount),i+=d.addCPCLSETMAG(1,2),a.dealingsRecord.lastDebtAmount>=0?i+=d.addCPCLText("580",a.yNum,"24","0",0,"之前欠款:"+a.dealingsRecord.lastDebtAmount):a.dealingsRecord.lastDebtAmount<0?i+=d.addCPCLText("580",a.yNum,"24","0",0,"之前余额:"+Math.abs(a.dealingsRecord.lastDebtAmount)):i+=d.addCPCLText("580",a.yNum,"24","0",0,"之前欠款:0")):(i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"欠款抵退货:"+a.sales.debtDeductionAmount),i+=d.addCPCLText("300",a.yNum,"24","0",0,"销售抵退货:"+a.sales.saleDeductionAmount),i+=d.addCPCLSETMAG(1,1),a.dealingsRecord.lastDebtAmount>=0?i+=d.addCPCLText("580",a.yNum,"24","0",0,"之前欠款:"+a.dealingsRecord.lastDebtAmount):a.dealingsRecord.lastDebtAmount<0?i+=d.addCPCLText("580",a.yNum,"24","0",0,"之前余额:"+Math.abs(a.dealingsRecord.lastDebtAmount)):i+=d.addCPCLText("580",a.yNum,"24","0",0,"之前欠款:0")),i+=d.addCPCLSETMAG(1,1),a.yNum+54>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+54>=1990?1990:this.printHeight-a.yNum+54,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单应收:"+a.sales.realAmount),a.sales.noEarn>=0?i+=d.addCPCLText("300",a.yNum,"24","0",0,"本单欠款:"+a.sales.noEarn):i+=d.addCPCLText("300",a.yNum,"24","0",0,"本单余额:"+Math.abs(a.sales.noEarn)),a.dealingsRecord.balanceDue>=0?i+=d.addCPCLText("580",a.yNum,"24","0",0,"累计欠款:"+a.dealingsRecord.balanceDue):a.dealingsRecord.balanceDue<0?i+=d.addCPCLText("580",a.yNum,"24","0",0,"累计余额:"+Math.abs(a.dealingsRecord.balanceDue)):i+=d.addCPCLText("580",a.yNum,"24","0",0,"累计欠款:0")):(i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单应收:"+a.sales.realAmount),a.sales.noEarn>=0?i+=d.addCPCLText("300",a.yNum,"24","0",0,"本单欠款:"+a.sales.noEarn):i+=d.addCPCLText("300",a.yNum,"24","0",0,"本单余额:"+Math.abs(a.sales.noEarn)),a.dealingsRecord.balanceDue>=0?i+=d.addCPCLText("580",a.yNum,"24","0",0,"累计欠款:"+a.dealingsRecord.balanceDue):a.dealingsRecord.balanceDue<0?i+=d.addCPCLText("580",a.yNum,"24","0",0,"累计余额:"+Math.abs(a.dealingsRecord.balanceDue)):i+=d.addCPCLText("580",a.yNum,"24","0",0,"累计欠款:0")),a.yNum+54>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+54>=1990?1990:this.printHeight-a.yNum+54,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,2),i+=d.addCPCLText("580",a.yNum+=60,"24","0",0,"本单实收:"+a.sales.alreadyEarn)):(i+=d.addCPCLSETMAG(1,2),i+=d.addCPCLText("580",a.yNum+=60,"24","0",0,"本单实收:"+a.sales.alreadyEarn))):"1821406205034237952"==this.shopId?(a.yNum+64>=1990*s?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,"合计:"),i+=d.addCPCLText("520",a.yNum,"24","0",0,a.sales.productCount+"件"),i+=d.addCPCLText("700",a.yNum,"24","0",0,"¥"+a.sales.totalAmount)):(i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,"合计:"),i+=d.addCPCLText("520",a.yNum,"24","0",0,a.sales.productCount+"件"),i+=d.addCPCLText("700",a.yNum,"24","0",0,"¥"+a.sales.totalAmount)),a.yNum+60>=1990*s?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+60>=1990?1990:this.printHeight-a.yNum+60,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,2),i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"本单应收:"+a.sales.realAmount+"("+this.convertToChineseNumeral(a.sales.realAmount)+")")):(i+=d.addCPCLSETMAG(1,2),i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"本单应收:"+a.sales.realAmount+"("+this.convertToChineseNumeral(a.sales.realAmount)+")")),a.yNum+60>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+60>=1990?1990:this.printHeight-a.yNum+60,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,2),i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"本单实收:"+a.sales.alreadyEarn+"("+this.convertToChineseNumeral(a.sales.alreadyEarn)+")")):(i+=d.addCPCLSETMAG(1,2),i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"本单实收:"+a.sales.alreadyEarn+"("+this.convertToChineseNumeral(a.sales.alreadyEarn)+")")),a.yNum+60>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+60>=1990?1990:this.printHeight-a.yNum+60,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,2),a.dealingsRecord.lastDebtAmount>=0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前欠款:"+a.dealingsRecord.lastDebtAmount):a.dealingsRecord.lastDebtAmount<0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前余额:"+Math.abs(a.dealingsRecord.lastDebtAmount)):i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前欠款:0"),a.dealingsRecord.balanceDue>=0?i+=d.addCPCLText("540",a.yNum,"24","0",0,"累计欠款:"+a.dealingsRecord.balanceDue):a.dealingsRecord.balanceDue<0?i+=d.addCPCLText("540",a.yNum,"24","0",0,"累计余额:"+Math.abs(a.dealingsRecord.balanceDue)):i+=d.addCPCLText("540",a.yNum,"24","0",0,"累计欠款:0")):(i+=d.addCPCLSETMAG(1,2),a.dealingsRecord.lastDebtAmount>=0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前欠款:"+a.dealingsRecord.lastDebtAmount):a.dealingsRecord.lastDebtAmount<0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前余额:"+Math.abs(a.dealingsRecord.lastDebtAmount)):i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前欠款:0"),a.dealingsRecord.balanceDue>=0?i+=d.addCPCLText("540",a.yNum,"24","0",0,"累计欠款:"+a.dealingsRecord.balanceDue):a.dealingsRecord.balanceDue<0?i+=d.addCPCLText("540",a.yNum,"24","0",0,"累计余额:"+Math.abs(a.dealingsRecord.balanceDue)):i+=d.addCPCLText("540",a.yNum,"24","0",0,"累计欠款:0")),a.yNum+60>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+60>=1990?1990:this.printHeight-a.yNum+60,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"-----------------------------------------------------------------------------------")):(i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"-----------------------------------------------------------------------------------")),i+=d.addCPCLSETMAG(1,1),a.yNum+30>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+30>=1990?1990:this.printHeight-a.yNum+30,1,0,162),a.yNum=0,s++,a.sales.noEarn>=0?i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单欠款:"+a.sales.noEarn):i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单余额:"+Math.abs(a.sales.noEarn)),a.returnPrice>0&&(i+=d.addCPCLText("300",a.yNum,"24","0",0,"退货数量:"+a.returnNum),i+=d.addCPCLText("580",a.yNum,"24","0",0,"退货金额:"+a.returnPrice))):(a.sales.noEarn>=0?i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单欠款:"+a.sales.noEarn):i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单余额:"+Math.abs(a.sales.noEarn)),a.returnPrice>0&&(i+=d.addCPCLText("300",a.yNum,"24","0",0,"退货数量:"+a.returnNum),i+=d.addCPCLText("580",a.yNum,"24","0",0,"退货金额:"+a.returnPrice)))):"2"==this.printingMethod||"1843114735801864192"==this.shopId||"1818888277105709056"==this.shopId?("2"==this.printingMethod?a.yNum+64>=1990*s?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,"合计:"),i+=d.addCPCLText("420",a.yNum,"24","0",0,a.sales.productCount+"件"),i+=d.addCPCLText("730",a.yNum,"24","0",0,"¥"+a.sales.totalAmount)):(i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,"合计:"),i+=d.addCPCLText("420",a.yNum,"24","0",0,a.sales.productCount+"件"),i+=d.addCPCLText("730",a.yNum,"24","0",0,"¥"+a.sales.totalAmount)):a.yNum+64>=1990*s?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,"合计:"),i+=d.addCPCLText("520",a.yNum,"24","0",0,a.sales.productCount+"件"),i+=d.addCPCLText("700",a.yNum,"24","0",0,"¥"+a.sales.totalAmount)):(i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,"合计:"),i+=d.addCPCLText("520",a.yNum,"24","0",0,a.sales.productCount+"件"),i+=d.addCPCLText("700",a.yNum,"24","0",0,"¥"+a.sales.totalAmount)),a.yNum+60>=1990*s?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+60>=1990?1990:this.printHeight-a.yNum+60,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,2),a.dealingsRecord.lastDebtAmount>=0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前欠款:"+a.dealingsRecord.lastDebtAmount):a.dealingsRecord.lastDebtAmount<0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前余额:"+Math.abs(a.dealingsRecord.lastDebtAmount)):i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前欠款:0"),i+=d.addCPCLText("248",a.yNum,"24","0",0,"本单应收:"+a.sales.realAmount+"("+this.convertToChineseNumeral(a.sales.realAmount)+")")):(i+=d.addCPCLSETMAG(1,2),a.dealingsRecord.lastDebtAmount>=0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前欠款:"+a.dealingsRecord.lastDebtAmount):a.dealingsRecord.lastDebtAmount<0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前余额:"+Math.abs(a.dealingsRecord.lastDebtAmount)):i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"之前欠款:0"),i+=d.addCPCLText("248",a.yNum,"24","0",0,"本单应收:"+a.sales.realAmount+"("+this.convertToChineseNumeral(a.sales.realAmount)+")")),a.yNum+60>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+60>=1990?1990:this.printHeight-a.yNum+60,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,2),a.dealingsRecord.balanceDue>=0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"累计欠款:"+a.dealingsRecord.balanceDue):a.dealingsRecord.balanceDue<0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"累计余额:"+Math.abs(a.dealingsRecord.balanceDue)):i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"累计欠款:0"),i+=d.addCPCLText("248",a.yNum,"24","0",0,"本单实收:"+a.sales.alreadyEarn+"("+this.convertToChineseNumeral(a.sales.alreadyEarn)+")")):(i+=d.addCPCLSETMAG(1,2),a.dealingsRecord.balanceDue>=0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"累计欠款:"+a.dealingsRecord.balanceDue):a.dealingsRecord.balanceDue<0?i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"累计余额:"+Math.abs(a.dealingsRecord.balanceDue)):i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"累计欠款:0"),i+=d.addCPCLText("248",a.yNum,"24","0",0,"本单实收:"+a.sales.alreadyEarn+"("+this.convertToChineseNumeral(a.sales.alreadyEarn)+")")),a.yNum+60>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+60>=1990?1990:this.printHeight-a.yNum+60,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"-----------------------------------------------------------------------------------")):(i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"-----------------------------------------------------------------------------------")),i+=d.addCPCLSETMAG(1,1),a.yNum+30>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+30>=1990?1990:this.printHeight-a.yNum+30,1,0,162),a.yNum=0,s++,a.sales.noEarn>=0?i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单欠款:"+a.sales.noEarn):i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单余额:"+Math.abs(a.sales.noEarn)),a.returnPrice>0&&(i+=d.addCPCLText("300",a.yNum,"24","0",0,"退货数量:"+a.returnNum),i+=d.addCPCLText("580",a.yNum,"24","0",0,"退货金额:"+a.returnPrice))):(a.sales.noEarn>=0?i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单欠款:"+a.sales.noEarn):i+=d.addCPCLText("0",a.yNum+=30,"24","0",0,"本单余额:"+Math.abs(a.sales.noEarn)),a.returnPrice>0&&(i+=d.addCPCLText("300",a.yNum,"24","0",0,"退货数量:"+a.returnNum),i+=d.addCPCLText("580",a.yNum,"24","0",0,"退货金额:"+a.returnPrice)))):(a.yNum+84>=1990*s?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+84>=1990?1990:this.printHeight-a.yNum+84,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"销售数量:"+a.sales.productCount),i+=d.addCPCLText("300",a.yNum,"24","0",0,"销售金额:"+a.sales.totalAmount),i+=d.addCPCLText("610",a.yNum,"24","0",0,"余额抵销售:"+a.sales.balanceDeductionAmount)):(i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"销售数量:"+a.sales.productCount),i+=d.addCPCLText("300",a.yNum,"24","0",0,"销售金额:"+a.sales.totalAmount),i+=d.addCPCLText("610",a.yNum,"24","0",0,"余额抵销售:"+a.sales.balanceDeductionAmount)),i+=d.addCPCLSETMAG(1,1),a.yNum+84>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+84>=1990?1990:this.printHeight-a.yNum+84,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"退货数量:"+a.returnNum),i+=d.addCPCLText("300",a.yNum,"24","0",0,"退货金额:"+a.returnPrice),i+=d.addCPCLText("610",a.yNum,"24","0",0,"其他费用:"+a.sales.otherExpense)):(i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"退货数量:"+a.returnNum),i+=d.addCPCLText("300",a.yNum,"24","0",0,"退货金额:"+a.returnPrice),i+=d.addCPCLText("610",a.yNum,"24","0",0,"其他费用:"+a.sales.otherExpense)),a.yNum+84>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+84>=1990?1990:this.printHeight-a.yNum+84,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"欠款抵退货:"+a.sales.debtDeductionAmount),i+=d.addCPCLText("300",a.yNum,"24","0",0,"销售抵退货:"+a.sales.saleDeductionAmount),i+=d.addCPCLSETMAG(1,2),a.dealingsRecord.lastDebtAmount>=0?i+=d.addCPCLText("600",a.yNum,"24","0",0,"之前欠款:"+a.dealingsRecord.lastDebtAmount):a.dealingsRecord.lastDebtAmount<0?i+=d.addCPCLText("600",a.yNum,"24","0",0,"之前余额:"+Math.abs(a.dealingsRecord.lastDebtAmount)):i+=d.addCPCLText("600",a.yNum,"24","0",0,"之前欠款:0")):(i+=d.addCPCLText("0",a.yNum+=60,"24","0",0,"欠款抵退货:"+a.sales.debtDeductionAmount),i+=d.addCPCLText("300",a.yNum,"24","0",0,"销售抵退货:"+a.sales.saleDeductionAmount),i+=d.addCPCLSETMAG(1,2),a.dealingsRecord.lastDebtAmount>=0?i+=d.addCPCLText("610",a.yNum-10,"24","0",0,"之前欠款:"+a.dealingsRecord.lastDebtAmount):a.dealingsRecord.lastDebtAmount<0?i+=d.addCPCLText("610",a.yNum-10,"24","0",0,"之前余额:"+Math.abs(a.dealingsRecord.lastDebtAmount)):i+=d.addCPCLText("610",a.yNum-10,"24","0",0,"之前欠款:0")),a.yNum+94>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+94>=1990?1990:this.printHeight-a.yNum+94,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,2),i+=d.addCPCLText("0",a.yNum+=70,"24","0",0,"本单应收:"+a.sales.realAmount+"("+a.convertToChineseNumeral(a.sales.realAmount)+")"),i+=d.addCPCLText("610",a.yNum,"24","0",0,"本单实收:"+a.sales.alreadyEarn)):(i+=d.addCPCLSETMAG(1,2),i+=d.addCPCLText("0",a.yNum+=70,"24","0",0,"本单应收:"+a.sales.realAmount+"("+a.convertToChineseNumeral(a.sales.realAmount)+")"),i+=d.addCPCLText("610",a.yNum,"24","0",0,"本单实收:"+a.sales.alreadyEarn)),a.yNum+114>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+114>=1990?1990:this.printHeight-a.yNum+114,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,2),a.sales.noEarn>=0?i+=d.addCPCLText("0",a.yNum+=70,"24","0",0,"本单欠款:"+a.sales.noEarn+"("+a.convertToChineseNumeral(a.sales.noEarn)+")"):i+=d.addCPCLText("0",a.yNum+=70,"24","0",0,"本单余额:"+Math.abs(a.sales.noEarn)+"("+a.convertToChineseNumeral(Math.abs(a.sales.noEarn))+")"),a.dealingsRecord.balanceDue>=0?i+=d.addCPCLText("610",a.yNum,"24","0",0,"累计欠款:"+a.dealingsRecord.balanceDue):a.dealingsRecord.balanceDue<0?i+=d.addCPCLText("610",a.yNum,"24","0",0,"累计余额:"+Math.abs(a.dealingsRecord.balanceDue)):i+=d.addCPCLText("610",a.yNum,"24","0",0,"累计欠款:0")):(i+=d.addCPCLSETMAG(1,2),a.sales.noEarn>=0?i+=d.addCPCLText("0",a.yNum+=70,"24","0",0,"本单欠款:"+a.sales.noEarn+"("+a.convertToChineseNumeral(a.sales.noEarn)+")"):i+=d.addCPCLText("0",a.yNum+=70,"24","0",0,"本单余额:"+Math.abs(a.sales.noEarn)+"("+a.convertToChineseNumeral(Math.abs(a.sales.noEarn))+")"),a.dealingsRecord.balanceDue>=0?i+=d.addCPCLText("610",a.yNum,"24","0",0,"累计欠款:"+a.dealingsRecord.balanceDue):a.dealingsRecord.balanceDue<0?i+=d.addCPCLText("610",a.yNum,"24","0",0,"累计余额:"+Math.abs(a.dealingsRecord.balanceDue)):i+=d.addCPCLText("610",a.yNum,"24","0",0,"累计欠款:0"))),a.yNum+40>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+40>=1990?1990:this.printHeight-a.yNum+40,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,"-----------------------------------------------------------------------------------")):(i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.yNum+=40,"24","0",0,"-----------------------------------------------------------------------------------")),a.yNum+64>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),a.sales.remark&&(i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"订单备注:"+a.sales.remark),i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"-----------------------------------------------------------------------------------"))):(i+=d.addCPCLSETMAG(1,1),a.sales.remark&&(i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"订单备注:"+a.sales.remark),i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"-----------------------------------------------------------------------------------"))),i+=d.addCPCLSETMAG(1,1),a.yNum+64>=1990){i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1);for(var C=0;C=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"店铺电话:"+this.jinjuPhone)):i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"店铺电话:"+this.jinjuPhone):"1834512626093264897"==this.shopId?a.yNum+64>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"店铺电话:13191998128")):i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"店铺电话:13191998128"):a.yNum+64>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"店铺电话:"+(t.getStorageSync("shopOwnerPhone")?t.getStorageSync("shopOwnerPhone"):t.getStorageSync("username")))):i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"店铺电话:"+(t.getStorageSync("shopOwnerPhone")?t.getStorageSync("shopOwnerPhone"):t.getStorageSync("username"))),null!=this.sales.companyName&&(i+=d.addCPCLSETMAG(1,1),a.yNum+64>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"发货方式:"+this.sales.companyName+" "+this.sales.companyPhone)):i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"发货方式:"+this.sales.companyName+" "+this.sales.companyPhone)),this.shopRemark.length>0)for(var p=0;p=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLSETMAG(1,1),i+=d.addCPCLText("0",a.countPrint(),"24","0",0,this.shopRemark[p])):i+=d.addCPCLText("0",a.countPrint(),"24","0",0,this.shopRemark[p]);a.yNum+64>=1990?(i+=d.addCPCLPrint(),a.bufferData.push(i),i=d.CreatCPCLPage(1080,this.printHeight-a.yNum+64>=1990?1990:this.printHeight-a.yNum+64,1,0,162),a.yNum=0,s++,i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"-----------------------------------------------------------------------------------")):i+=d.addCPCLText("0",a.countPrint(),"24","0",0,"-----------------------------------------------------------------------------------");var g=0;if(console.log("二维码前",a.yNum),g="1890655721893269507"==t.getStorageSync("shopId")||"1844355592815251456"==t.getStorageSync("shopId")?a.yNum+372:a.yNum+300,console.log("二维码后",a.yNum),g>=1990){i+=d.addCPCLPrint(),a.bufferData.push(i);var f=0;if(f="1890655721893269507"==t.getStorageSync("shopId")||"1844355592815251456"==t.getStorageSync("shopId")?this.printHeight-a.yNum+322:this.printHeight-a.yNum+270,console.log("打不打",f),i=d.CreatCPCLPage(1080,f>=1990?1990:f,1,0,162),a.yNum=0,s++,0!=a.qrArr.length)for(var P=0;P0)for(var d=0;d0&&(C=C.concat(t))})),t.result.saleDetailDTOList[a].stockLogList1=C),s&&(r.forEach((function(t,e){for(var a=0;a0&&(C=C.concat(t))})),t.result.saleDetailDTOList[a].stockLogList1=C);var m=!0;t.result.saleDetailDTOList[a].productCount=0;for(var p=0;p0&&(r=r.concat(o)),s){for(var m=[],p=0;p0&&(m=m.concat(a.newData[i].sizeList)),a.newData[i].sizeList=m}if(n){var f=[];r=r.sort((function(t,e){return t-e}));for(p=0;p0&&(f=f.concat(a.newData[i].sizeList)),a.newData[i].sizeList=f}}}),500),e.$nextTick((function(){setTimeout((function(t){e.getPrintHeight()}),1e3)}));case 5:case"end":return a.stop()}}),a)})))()},convertToChineseNumeral:function(t){var e=!1;if(0==t)return"零元整";-1!=JSON.stringify(t).indexOf("-")&&(t=JSON.stringify(t).split("-")[1],e=!0);var a,i,s,n=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],r=["","拾","佰","仟"],o=["","万","亿","兆"],u=["角","分","毫","厘"],d="";if(""==t)return"";if(t=parseFloat(t),t>=1e15)return"";if(0==t)return d=n[0]+"元整",d;if(t=t.toString(),-1==t.indexOf(".")?(a=t,i=""):(s=t.split("."),a=s[0],i=s[1].substr(0,4)),parseInt(a,10)>0){for(var l=0,c=a.length,h=0;h0&&(d+=n[0]),l=0,d+=n[parseInt(L)]+r[p]),0==p&&l<4&&(d+=o[m])}d+="元"}if(""!=i)for(var g=i.length,f=0;f0,n=null==e.lableList||e.lableList.length<=1,r=t._f("sliceTime")(e.createTime);return{$orig:i,g1:s,g2:n,f0:r}})),s=t.qrArr.length;t._isMounted||(t.e0=function(e){t.faBookShow=!1},t.e1=function(e){return t.$refs.lablePopup.open()},t.e2=function(e){return t.$refs.printPopup.close()}),t.$mp.data=Object.assign({},{$root:{g0:a,l0:i,g3:s}})},n=[]},"3b62":function(t,e,a){"use strict";a.r(e);var i=a("2efc"),s=a("41cf");for(var n in s)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return s[t]}))}(n);a("f27b");var r=a("828b"),o=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=o.exports},"41cf":function(t,e,a){"use strict";a.r(e);var i=a("2240"),s=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=s.a},e0c8:function(t,e,a){"use strict";(function(t,e){var i=a("47a9");a("7859");i(a("3240"));var s=i(a("3b62"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(s.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},f27b:function(t,e,a){"use strict";var i=a("17f0"),s=a.n(i);s.a}},[["e0c8","common/runtime","common/vendor"]]]);