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
72 KiB
1 lines
72 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order_details-index","pages-users-order_confirm-index~pages-users-order_list-index"],{"02a0":function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("d401"),i("d3b7"),i("25f0"),i("7db0"),i("ac1f"),i("00b4");var o=n(i("5530")),a=i("c6c3"),r=i("26cb"),s={props:{invoice:{type:Object,default:function(){return{invoice:!1,mer_id:0}}}},computed:(0,o.default)({},(0,r.mapGetters)(["viewColor"])),data:function(){return{id:"",receipt_title_type:"1",receipt_type:"1",drawer_phone:"",receipt_title:"",duty_paragraph:"",tel:"",address:"",bank_name:"",bank_code:"",is_default:0,email:"",isDefault:[],typeName:"增值税电子普通发票",popupType:!1,popupTitle:!1,invoiceTypeList:[{type:"1",name:"增值税电子普通发票",info:"默认发送至所提供的电子邮件"},{type:"2",name:"增值税专用发票",info:"纸质发票开出后将以邮寄形式交付"}],special_invoice:!0,invoice_func:!0,invoiceList:[],invoice_checked:"",invoice_id:"",order_id:"",news:"",cartId:"",pinkId:"",couponId:"",addressId:"",invoiceData:{},formvalidate:!1}},watch:{},onLoad:function(e){this.news=e.news,this.cartId=e.cartId,this.pinkId=e.pinkId,this.couponId=e.couponId,this.addressId=e.addressId,"false"==e.special_invoice&&this.$set(this,"special_invoice",!1)},onShow:function(){this.getInvoiceDefault(),this.popupTitle=!1},methods:{getInvoiceList:function(){var e=this;(0,a.invoice)().then((function(t){for(var i=0;i<t.data.length;i++)t.data[i].user_receipt_id=t.data[i].user_receipt_id.toString(),t.data[i].is_default&&(e.invoice_id=t.data[i].user_receipt_id);e.$set(e,"invoiceList",t.data)})).catch((function(t){e.$util.Tips({title:t})}))},getInvoiceDefault:function(){var e=this;(0,a.invoice)({is_default:1}).then((function(t){var i=t.data[0];e.typeName="1"==i.receipt_type?"增值税电子普通发票":"增值税专用发票",e.receipt_title_type=i.receipt_title_type,e.receipt_type=i.receipt_type,e.receipt_title=i.receipt_title,e.email=i.email,e.duty_paragraph=i.duty_paragraph,e.bank_name=i.bank_name,e.bank_code=i.bank_code,e.address=i.address,e.tel=i.tel,e.invoice_id=i.user_receipt_id.toString()})).catch((function(e){}))},getInvoiceDetail:function(e){var t=this;(0,a.invoiceDetail)(e).then((function(e){uni.hideLoading(),t.receipt_title_type=e.data.receipt_title_type,t.receipt_type=e.data.receipt_type,t.typeName="1"==t.receipt_type?"增值税电子普通发票":"增值税专用发票",t.receipt_title=e.data.receipt_title,t.email=e.data.email,t.duty_paragraph=e.data.duty_paragraph,t.bank_name=e.data.bank_name,t.bank_code=e.data.bank_code,t.address=e.data.address,t.tel=e.data.tel,t.is_default=e.data.is_default})).catch((function(e){uni.hideLoading(),t.$util.Tips({title:e})}))},close:function(){this.formvalidate?this.$emit("changeInvoiceClose",this.invoiceData):this.$emit("changeInvoiceClose","")},noInvoice:function(){uni.setStorage({key:"invoice_Data",data:{},success:function(){}}),this.$emit("changeInvoiceClose","")},callType:function(){this.popupType=!0},changeType:function(e){var t=this;this.receipt_type=e.detail.value,this.typeName=this.invoiceTypeList.find((function(e){return e.type==t.receipt_type})).name},closeType:function(){this.popupType=!1},callTitle:function(){this.popupTitle=!0},changeTitle:function(e){this.invoice_id=e.detail.value.toString(),this.getInvoiceDetail(e.detail.value),this.popupTitle=!1},addTitle:function(){this.popupType=!1,this.popupTitle=!1,uni.navigateTo({url:"/pages/users/user_invoice_form/index?mer_id="+this.invoice.mer_id})},closeTitle:function(){this.popupTitle=!1},changeHeader:function(e){this.receipt_title_type=e.detail.value,1==e.detail.value&&(this.receipt_type=1,this.typeName="增值税电子普通发票"),this.receipt_type},changeDefault:function(e){this.is_default=e.detail.value.length?1:0},formSubmit:function(e){var t=e.detail.value;if(!t.receipt_title_type)return this.$util.Tips({title:"请填写发票抬头"});if(!t.email)return this.$util.Tips({title:"请填写邮箱"});if(!/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(t.email))return this.$util.Tips({title:"请输入正确的邮箱"});if(2==t.receipt_title_type){if(!t.duty_paragraph)return this.$util.Tips({title:"请填写税号"});if("增值税专用发票"==t.receipt_type){if(!t.bank_name)return this.$util.Tips({title:"请填写开户行"});if(!t.bank_code)return this.$util.Tips({title:"请填写银行账号"});if(!t.address)return this.$util.Tips({title:"请填写企业地址"});if(!t.tel)return this.$util.Tips({title:"请填写企业电话"});if(!/^(\d{9}|\d{14}|\d{18})$/.test(t.bank_code))return this.$util.Tips({title:"请输入正确的银行账号"});if(!/(^(\d{3,4})?\d{7,8})$|(13[0-9]{9})/.test(t.tel))return this.$util.Tips({title:"请输入正确的电话号码"})}}this.formvalidate=!0,t.mer_id=this.invoice.mer_id,t.receipt_type=this.receipt_type,this.invoiceData=t,uni.setStorage({key:"invoice_Data",data:[this.invoiceData],success:function(){}}),this.$emit("changeInvoiceClose",this.invoiceData)}}};t.default=s},"02f9":function(e,t,i){"use strict";i.r(t);var n=i("a66f"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(a);t["default"]=o.a},1181:function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(i("53ca"));i("14d9"),i("d9e2"),i("d401"),i("a9e3"),i("cb29"),i("e9c4");var o={};(function(){function e(e){var t,i,n;return e<128?[e]:e<2048?(t=192+(e>>6),i=128+(63&e),[t,i]):(t=224+(e>>12),i=128+(e>>6&63),n=128+(63&e),[t,i,n])}function t(t,i){this.typeNumber=-1,this.errorCorrectLevel=i,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=t,this.utf8bytes=function(t){for(var i=[],n=0;n<t.length;n++)for(var o=t.charCodeAt(n),a=e(o),r=0;r<a.length;r++)i.push(a[r]);return i}(t),this.make()}t.prototype={constructor:t,getModuleCount:function(){return this.moduleCount},make:function(){this.getRightType(),this.dataCache=this.createData(),this.createQrcode()},makeImpl:function(e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var t=0;t<this.moduleCount;t++)this.modules[t]=new Array(this.moduleCount);this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(!0,e),this.typeNumber>=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(e,t){for(var i=-1;i<=7;i++)if(!(e+i<=-1||this.moduleCount<=e+i))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(this.modules[e+i][t+n]=0<=i&&i<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==i||6==i)||2<=i&&i<=4&&2<=n&&n<=4)},createQrcode:function(){for(var e=0,t=0,i=null,n=0;n<8;n++){this.makeImpl(n);var o=a.getLostPoint(this);(0==n||e>o)&&(e=o,t=n,i=this.modules)}this.modules=i,this.setupTypeInfo(!1,t),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0,null==this.modules[6][e]&&(this.modules[6][e]=e%2==0))},setupPositionAdjustPattern:function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var i=0;i<e.length;i++){var n=e[t],o=e[i];if(null==this.modules[n][o])for(var r=-2;r<=2;r++)for(var s=-2;s<=2;s++)this.modules[n+r][o+s]=-2==r||2==r||-2==s||2==s||0==r&&0==s}},setupTypeNumber:function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),i=0;i<18;i++){var n=!e&&1==(t>>i&1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=n,this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=n}},setupTypeInfo:function(e,t){for(var n=i[this.errorCorrectLevel]<<3|t,o=a.getBCHTypeInfo(n),r=0;r<15;r++){var s=!e&&1==(o>>r&1);r<6?this.modules[r][8]=s:r<8?this.modules[r+1][8]=s:this.modules[this.moduleCount-15+r][8]=s;s=!e&&1==(o>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=s:r<9?this.modules[8][15-r-1+1]=s:this.modules[8][15-r-1]=s}this.modules[this.moduleCount-8][8]=!e},createData:function(){var e=new c,i=this.typeNumber>9?16:8;e.put(4,4),e.put(this.utf8bytes.length,i);for(var n=0,o=this.utf8bytes.length;n<o;n++)e.put(this.utf8bytes[n],8);e.length+4<=8*this.totalDataCount&&e.put(0,4);while(e.length%8!=0)e.putBit(!1);while(1){if(e.length>=8*this.totalDataCount)break;if(e.put(t.PAD0,8),e.length>=8*this.totalDataCount)break;e.put(t.PAD1,8)}return this.createBytes(e)},createBytes:function(e){for(var t=0,i=0,n=0,o=this.rsBlock.length/3,r=new Array,s=0;s<o;s++)for(var l=this.rsBlock[3*s+0],c=this.rsBlock[3*s+1],u=this.rsBlock[3*s+2],v=0;v<l;v++)r.push([u,c]);for(var f=new Array(r.length),p=new Array(r.length),h=0;h<r.length;h++){var g=r[h][0],_=r[h][1]-g;i=Math.max(i,g),n=Math.max(n,_),f[h]=new Array(g);for(s=0;s<f[h].length;s++)f[h][s]=255&e.buffer[s+t];t+=g;var m=a.getErrorCorrectPolynomial(_),b=new d(f[h],m.getLength()-1),w=b.mod(m);p[h]=new Array(m.getLength()-1);for(s=0;s<p[h].length;s++){var y=s+w.getLength()-p[h].length;p[h][s]=y>=0?w.get(y):0}}var C=new Array(this.totalDataCount),I=0;for(s=0;s<i;s++)for(h=0;h<r.length;h++)s<f[h].length&&(C[I++]=f[h][s]);for(s=0;s<n;s++)for(h=0;h<r.length;h++)s<p[h].length&&(C[I++]=p[h][s]);return C},mapData:function(e,t){for(var i=-1,n=this.moduleCount-1,o=7,r=0,s=this.moduleCount-1;s>0;s-=2){6==s&&s--;while(1){for(var d=0;d<2;d++)if(null==this.modules[n][s-d]){var l=!1;r<e.length&&(l=1==(e[r]>>>o&1));var c=a.getMask(t,n,s-d);c&&(l=!l),this.modules[n][s-d]=l,o--,-1==o&&(r++,o=7)}if(n+=i,n<0||this.moduleCount<=n){n-=i,i=-i;break}}}}},t.PAD0=236,t.PAD1=17;for(var i=[1,0,3,2],n={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){var t=e<<10;while(a.getBCHDigit(t)-a.getBCHDigit(a.G15)>=0)t^=a.G15<<a.getBCHDigit(t)-a.getBCHDigit(a.G15);return(e<<10|t)^a.G15_MASK},getBCHTypeNumber:function(e){var t=e<<12;while(a.getBCHDigit(t)-a.getBCHDigit(a.G18)>=0)t^=a.G18<<a.getBCHDigit(t)-a.getBCHDigit(a.G18);return e<<12|t},getBCHDigit:function(e){var t=0;while(0!=e)t++,e>>>=1;return t},getPatternPosition:function(e){return a.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,i){switch(e){case n.PATTERN000:return(t+i)%2==0;case n.PATTERN001:return t%2==0;case n.PATTERN010:return i%3==0;case n.PATTERN011:return(t+i)%3==0;case n.PATTERN100:return(Math.floor(t/2)+Math.floor(i/3))%2==0;case n.PATTERN101:return t*i%2+t*i%3==0;case n.PATTERN110:return(t*i%2+t*i%3)%2==0;case n.PATTERN111:return(t*i%3+(t+i)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new d([1],0),i=0;i<e;i++)t=t.multiply(new d([1,r.gexp(i)],0));return t},getLostPoint:function(e){for(var t=e.getModuleCount(),i=0,n=0,o=0;o<t;o++)for(var a=0,r=e.modules[o][0],s=0;s<t;s++){var d=e.modules[o][s];if(s<t-6&&d&&!e.modules[o][s+1]&&e.modules[o][s+2]&&e.modules[o][s+3]&&e.modules[o][s+4]&&!e.modules[o][s+5]&&e.modules[o][s+6]&&(s<t-10?e.modules[o][s+7]&&e.modules[o][s+8]&&e.modules[o][s+9]&&e.modules[o][s+10]&&(i+=40):s>3&&e.modules[o][s-1]&&e.modules[o][s-2]&&e.modules[o][s-3]&&e.modules[o][s-4]&&(i+=40)),o<t-1&&s<t-1){var l=0;d&&l++,e.modules[o+1][s]&&l++,e.modules[o][s+1]&&l++,e.modules[o+1][s+1]&&l++,0!=l&&4!=l||(i+=3)}r^d?a++:(r=d,a>=5&&(i+=3+a-5),a=1),d&&n++}for(s=0;s<t;s++)for(a=0,r=e.modules[0][s],o=0;o<t;o++){d=e.modules[o][s];o<t-6&&d&&!e.modules[o+1][s]&&e.modules[o+2][s]&&e.modules[o+3][s]&&e.modules[o+4][s]&&!e.modules[o+5][s]&&e.modules[o+6][s]&&(o<t-10?e.modules[o+7][s]&&e.modules[o+8][s]&&e.modules[o+9][s]&&e.modules[o+10][s]&&(i+=40):o>3&&e.modules[o-1][s]&&e.modules[o-2][s]&&e.modules[o-3][s]&&e.modules[o-4][s]&&(i+=40)),r^d?a++:(r=d,a>=5&&(i+=3+a-5),a=1)}var c=Math.abs(100*n/t/t-50)/5;return i+=10*c,i}},r={glog:function(e){if(e<1)throw new Error("glog("+e+")");return r.LOG_TABLE[e]},gexp:function(e){while(e<0)e+=255;while(e>=256)e-=255;return r.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},s=0;s<8;s++)r.EXP_TABLE[s]=1<<s;for(s=8;s<256;s++)r.EXP_TABLE[s]=r.EXP_TABLE[s-4]^r.EXP_TABLE[s-5]^r.EXP_TABLE[s-6]^r.EXP_TABLE[s-8];for(s=0;s<255;s++)r.LOG_TABLE[r.EXP_TABLE[s]]=s;function d(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);var i=0;while(i<e.length&&0==e[i])i++;this.num=new Array(e.length-i+t);for(var n=0;n<e.length-i;n++)this.num[n]=e[n+i]}d.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),i=0;i<this.getLength();i++)for(var n=0;n<e.getLength();n++)t[i+n]^=r.gexp(r.glog(this.get(i))+r.glog(e.get(n)));return new d(t,0)},mod:function(e){var t=this.getLength(),i=e.getLength();if(t-i<0)return this;for(var n=new Array(t),o=0;o<t;o++)n[o]=this.get(o);while(n.length>=i){var a=r.glog(n[0])-r.glog(e.get(0));for(o=0;o<e.getLength();o++)n[o]^=r.gexp(r.glog(e.get(o))+a);while(0==n[0])n.shift()}return new d(n,0)}};var l=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];function c(){this.buffer=new Array,this.length=0}t.prototype.getRightType=function(){for(var e=1;e<41;e++){var t=l[4*(e-1)+this.errorCorrectLevel];if(void 0==t)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+this.errorCorrectLevel);for(var i=t.length/3,n=0,o=0;o<i;o++){var a=t[3*o+0],r=t[3*o+2];n+=r*a}var s=e>9?2:1;if(this.utf8bytes.length+s<n||40==e){this.typeNumber=e,this.rsBlock=t,this.totalDataCount=n;break}}},c.prototype={get:function(e){var t=Math.floor(e/8);return this.buffer[t]>>>7-e%8&1},put:function(e,t){for(var i=0;i<t;i++)this.putBit(e>>>t-i-1&1)},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var u=[];o=function(e){if(this.options={text:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",pdground:"#000000",image:"",imageSize:30,canvasId:e.canvasId,context:e.context,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText},"string"===typeof e&&(e={text:e}),e)for(var i in e)this.options[i]=e[i];for(var n=null,o=(i=0,u.length);i<o;i++)if(u[i].text==this.options.text&&u[i].text.correctLevel==this.options.correctLevel){n=u[i].obj;break}i==o&&(n=new t(this.options.text,this.options.correctLevel),u.push({text:this.options.text,correctLevel:this.options.correctLevel,obj:n}));var a=function(e){var t=e.options;return t.pdground&&(e.row>1&&e.row<5&&e.col>1&&e.col<5||e.row>e.count-6&&e.row<e.count-2&&e.col>1&&e.col<5||e.row>1&&e.row<5&&e.col>e.count-6&&e.col<e.count-2)?t.pdground:t.foreground};(function(e){e.showLoading&&uni.showLoading({title:e.loadingText,mask:!0});for(var t=uni.createCanvasContext(e.canvasId,e.context),i=n.getModuleCount(),o=e.size,r=e.imageSize,s=(o/i).toPrecision(4),d=(o/i).toPrecision(4),l=0;l<i;l++)for(var c=0;c<i;c++){var u=Math.ceil((c+1)*s)-Math.floor(c*s),v=Math.ceil((l+1)*s)-Math.floor(l*s),f=a({row:l,col:c,count:i,options:e});t.setFillStyle(n.modules[l][c]?f:e.background),t.fillRect(Math.round(c*s),Math.round(l*d),u,v)}if(e.image){var p=Number(((o-r)/2).toFixed(2)),h=Number(((o-r)/2).toFixed(2));(function(t,i,n,o,a,r,s,d,l){t.setLineWidth(s),t.setFillStyle(e.background),t.setStrokeStyle(e.background),t.beginPath(),t.moveTo(i+r,n),t.arcTo(i+o,n,i+o,n+r,r),t.arcTo(i+o,n+a,i+o-r,n+a,r),t.arcTo(i,n+a,i,n+a-r,r),t.arcTo(i,n,i+r,n,r),t.closePath(),d&&t.fill(),l&&t.stroke()})(t,p,h,r,r,2,6,!0,!0),t.drawImage(e.image,p,h,r,r)}setTimeout((function(){t.draw(!0,(function(){setTimeout((function(){uni.canvasToTempFilePath({width:e.width,height:e.height,destWidth:e.width,destHeight:e.height,canvasId:e.canvasId,quality:Number(1),success:function(t){e.cbResult&&e.cbResult(t.tempFilePath)},fail:function(t){e.cbResult&&e.cbResult(t)},complete:function(){e.showLoading&&uni.hideLoading()}},e.context)}),e.text.length+100)}))}),e.usingComponents?0:150)})(this.options)},o.prototype.clear=function(e){var t=uni.createCanvasContext(this.options.canvasId,this.options.context);t.clearRect(0,0,this.options.size,this.options.size),t.draw(!1,(function(){e&&e()}))}})();var a=o;t.default=a},"137a":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,".zb-code[data-v-b739d126]{position:relative}.zb-code-canvas[data-v-b739d126]{position:fixed;top:%?-99999?%;left:%?-99999?%;z-index:-99999}",""]),e.exports=t},1959:function(e,t,i){"use strict";i.r(t);var n=i("f4af"),o=i("2735");for(var a in o)["default"].indexOf(a)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(a);i("5d04");var r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"0ebb383d",null,!1,n["a"],void 0);t["default"]=s.exports},2735:function(e,t,i){"use strict";i.r(t);var n=i("858d"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(a);t["default"]=o.a},"35ae":function(e,t,i){"use strict";var n=i("8b2f"),o=i.n(n);o.a},"394a":function(e,t,i){"use strict";i.r(t);var n=i("c2a5"),o=i("02f9");for(var a in o)["default"].indexOf(a)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(a);i("c374");var r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"b739d126",null,!1,n["a"],void 0);t["default"]=s.exports},4673:function(e,t,i){"use strict";i.r(t);var n=i("02a0"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(a);t["default"]=o.a},"5d04":function(e,t,i){"use strict";var n=i("e475e"),o=i.n(n);o.a},"6fe1":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.add_invoicing[data-v-30d217b6]{position:fixed;bottom:0;width:100%;left:0;background-color:#fff;z-index:77;border-radius:%?16?% %?16?% 0 0;padding-bottom:%?20?%;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.add_invoicing.on[data-v-30d217b6]{-webkit-transform:translateZ(0);transform:translateZ(0)}.add_invoicing .title[data-v-30d217b6]{font-size:%?32?%;font-weight:700;text-align:center;height:%?123?%;line-height:%?123?%;position:relative}.add_invoicing .title .iconfont[data-v-30d217b6]{position:absolute;right:%?30?%;color:#8a8a8a;font-size:%?35?%}uni-form[data-v-30d217b6]{font-size:%?28?%;color:#282828}uni-form uni-input[data-v-30d217b6], uni-form uni-radio-group[data-v-30d217b6]{flex:1;text-align:right}uni-form uni-input[data-v-30d217b6]{font-size:%?26?%}uni-form uni-label[data-v-30d217b6]{margin-right:%?50?%}uni-form uni-radio[data-v-30d217b6]{margin-right:%?8?%}uni-form uni-checkbox-group[data-v-30d217b6]{height:%?90?%}uni-form uni-checkbox[data-v-30d217b6]{margin-right:%?20?%}[data-v-30d217b6] uni-radio .uni-radio-input.uni-radio-input-checked{border:1px solid var(--view-theme)!important;background-color:var(--view-theme)!important}uni-form uni-button[data-v-30d217b6]{height:%?76?%;border-radius:%?38?%;margin:%?16?% %?30?%;background-color:var(--view-theme);font-size:%?30?%;line-height:%?76?%;color:#fff}.panel[data-v-30d217b6]{padding-right:%?30?%;padding-left:%?30?%;background-color:#fff}.panel ~ .panel[data-v-30d217b6]{margin-top:%?14?%}.panel .acea-row[data-v-30d217b6]{height:%?90?%}.panel .acea-row ~ .acea-row[data-v-30d217b6]{border-top:1px solid #eee}.input-placeholder[data-v-30d217b6]{font-size:%?26?%;color:#bbb}.icon-xiangyou[data-v-30d217b6]{margin-left:%?25?%;font-size:%?18?%;color:#bfbfbf}.btn-wrap[data-v-30d217b6]{width:100%;border-top:1px solid #f5f5f5}.btn-wrap .button[data-v-30d217b6]{height:%?86?%;line-height:%?86?%;border-radius:%?50?%}.btn-wrap .back[data-v-30d217b6]{border-radius:%?50?%;height:%?86?%;line-height:%?86?%;border:%?1?% solid var(--view-theme);background:none;color:var(--view-theme)}.popup[data-v-30d217b6]{position:fixed;bottom:0;left:0;z-index:99;width:100%;padding-bottom:%?100?%;border-top-left-radius:%?16?%;border-top-right-radius:%?16?%;background-color:#f5f5f5;overflow:hidden;-webkit-transform:translateY(100%);transform:translateY(100%);transition:.3s}.popup.on[data-v-30d217b6]{-webkit-transform:translateY(0);transform:translateY(0)}.popup .title[data-v-30d217b6]{position:relative;height:%?137?%;font-size:%?32?%;line-height:%?137?%;text-align:center}.popup uni-scroll-view[data-v-30d217b6]{height:%?466?%;padding-right:%?30?%;padding-left:%?30?%;box-sizing:border-box}.popup uni-label[data-v-30d217b6]{padding:%?35?% %?30?%;border-radius:%?16?%;margin-bottom:%?20?%;background-color:#fff}.popup .text[data-v-30d217b6]{flex:1;min-width:0;font-size:%?28?%;color:#282828}.popup .info[data-v-30d217b6]{margin-top:%?10?%;font-size:%?22?%;color:#909090}.popup .icon-guanbi[data-v-30d217b6]{position:absolute;top:50%;right:%?30?%;z-index:2;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:%?30?%;color:#707070;cursor:pointer}.popup uni-button[data-v-30d217b6]{height:%?86?%;border-radius:%?43?%;margin-right:%?30?%;margin-left:%?30?%;background-color:var(--view-theme);font-size:%?30?%;line-height:%?86?%;color:#fff}uni-button.btn-default[data-v-30d217b6]{background-color:initial;color:var(--view-theme);border:1px solid var(--view-theme)}.popup .text .acea-row[data-v-30d217b6]{display:inline-flex;max-width:100%}.popup .name[data-v-30d217b6]{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:%?30?%}.popup .label[data-v-30d217b6]{width:%?70?%;height:%?28?%;border:1px solid #e93323;margin-left:%?18?%;font-size:%?16?%;line-height:%?26?%;text-align:center;color:#e93323}.popup .type[data-v-30d217b6]{width:%?124?%;height:%?42?%;margin-top:%?14?%;background-color:#fcf0e0;font-size:%?24?%;line-height:%?42?%;text-align:center;color:#d67300}.popup .type.special[data-v-30d217b6]{background-color:#fde9e7;color:#e93323}.nothing[data-v-30d217b6]{margin:%?50?% 0;text-align:center}.nothing uni-image[data-v-30d217b6], .nothing uni-image[data-v-30d217b6]{width:%?400?%;height:%?260?%}.nothing_text[data-v-30d217b6]{margin-top:%?20?%;color:#999}',""]),e.exports=t},"858d":function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("ac1f"),i("5319"),i("e25e"),i("26e9"),i("d401"),i("d3b7"),i("25f0"),i("99af"),i("acd8"),i("a9e3"),i("d81d"),i("14d9");var o=n(i("5530")),a=i("8342"),r=i("a60b"),s=i("3b3e"),d=i("b640"),l=i("c6c3"),c=n(i("baf4")),u=n(i("974e")),v=n(i("5fa0")),f=i("26cb"),p=i("4f1b"),h=n(i("f272")),g=n(i("a572")),_=n(i("394a")),m=(getApp(),{components:{payment:c.default,orderGoods:u.default,authorize:h.default,addInvoicing:g.default,zbCode:_.default},data:function(){return{order_id:"",evaluate:0,activityType:0,cartInfo:[],orderInfo:{system_store:{},_status:{},take:{}},system_store:{},isGoodsReturn:!1,status:{},isClose:!1,payMode:[{name:"微信支付",icon:"icon-weixinzhifu",value:"wechat",title:"微信快捷支付",payStatus:1},{name:"支付宝支付",icon:"icon-zhifubao",value:"alipay",title:"支付宝支付",payStatus:this.alipay_open},{name:"余额支付",icon:"icon-yuezhifu",value:"balance",title:"可用余额:",number:0,payStatus:this.yue_pay_status}],pay_close:!1,pay_order_id:"",totalPrice:"0",isAuto:!1,isShowAuth:!1,refundNum:[],imgUrl:a.HTTP_REQUEST_URL,codeUrl:"",isTimePay:!1,codeShow:!1,cid:"1",val:"",size:200,unit:"upx",background:"#FFF",foreground:"#000",pdground:"#32dbc6",icon:"",iconsize:40,lv:3,onval:!0,loadMake:!0,src:"",codeSrc:"",wd:225,hg:500,invoice:{invoice:!1,add:!1}}},computed:(0,o.default)({},(0,p.configMap)({hide_mer_status:0,yue_pay_status:0,alipay_open:0},(0,f.mapGetters)(["isLogin","uid","viewColor","keyColor"]))),filters:{filterDay:function(e){if(e){var t=e.replace(/(\d{4})\-(\d{2})\-(\d{2})/,"$2月$3日");return t}}},onLoad:function(e){e.order_id&&this.$set(this,"order_id",e.order_id)},onShow:function(){this.isLogin?(this.getOrderInfo(),this.getUserInfo(),this.isPayBalance()):(this.isAuto=!0,this.isShowAuth=!0)},onHide:function(){this.isClose=!0},onReady:function(){this.$nextTick((function(){var e=this,t=new v.default(".copy-data");t.on("success",(function(){e.$util.Tips({title:"复制成功"})}))}))},mounted:function(){},methods:{getPhotoClickIdx:function(e,t){uni.previewImage({current:e[t],urls:e})},isPayBalance:function(){10===this.orderInfo.status&&(new Date<new Date(this.orderInfo.presellOrder.final_start_time)?this.isTimePay=!1:new Date>=new Date(this.orderInfo.presellOrder.final_start_time)&&new Date<=new Date(this.orderInfo.presellOrder.final_start_time)&&(this.isTimePay=!0))},toChinese:function(e){var t=["零","一","二","三","四","五","六","日","八","九"],i=["","十","百","千","万"];e=parseInt(e);var n=function(e){for(var n=e.toString().split("").reverse(),o="",a=0;a<n.length;a++)o=(0==a&&0==n[a]||a>0&&0==n[a]&&0==n[a-1]?"":t[n[a]]+(0==n[a]?i[0]:i[a]))+o;return o},o=Math.floor(e/1e4),a=e%1e4;return a.toString().length<4&&(a="0"+a),o?n(o)+"万"+n(a):n(e)},goStore:function(e){1!=this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id="+e})},allRefund:function(){0==this.orderInfo.status||1==this.orderInfo.is_virtual?uni.navigateTo({url:"/pages/users/refund/index?order_id="+this.order_id+"&refund_type=1&type=2&order_type="+this.orderInfo.order_type}):uni.navigateTo({url:"/pages/users/refund/select?order_id="+this.order_id+"&type=2&order_type="+this.orderInfo.order_type})},getCombinationRemove:function(){var e=this;(0,s.postCombinationRemove)({group_buying_id:e.orderInfo.orderProduct[0].activity_id}).then((function(t){e.$util.Tips({title:t.message},{tab:3})})).catch((function(t){e.$util.Tips({title:t.message})}))},cancelSales:function(){var e=this;uni.showModal({content:"确定要取消售后?",success:function(t){t.confirm?deletePlantApi(e.id).then((function(t){200===t.status&&e.$util.Tips({title:t.message})})):t.cancel}})},goGoodCall:function(){uni.navigateTo({url:"/pages/chat/customer_list/chat?mer_id=".concat(this.orderInfo.mer_id,"&uid=").concat(this.uid,"&order_id=").concat(this.order_id)})},openSubcribe:function(e){var t=e;uni.showLoading({title:"正在加载"}),(0,d.openOrderRefundSubscribe)().then((function(e){uni.hideLoading(),uni.navigateTo({url:t})})).catch((function(){uni.hideLoading()}))},onChangeFun:function(e){var t=e,i=t.action||null,n=void 0!=t.value?t.value:null;i&&this[i]&&this[i](n)},makePhone:function(){uni.makePhoneCall({phoneNumber:this.orderInfo.take.mer_take_phone})},call:function(){uni.makePhoneCall({phoneNumber:this.orderInfo.merchant.service_phone})},showMaoLocation:function(){if(!this.orderInfo.take.mer_take_location[0]||!this.orderInfo.take.mer_take_location[1])return this.$util.Tips({title:"请设置允许商城访问您的位置!"});var e=parseFloat(this.orderInfo.take.mer_take_location[0]),t=parseFloat(this.orderInfo.take.mer_take_location[1]);!0===this.$wechat.isWeixin()?this.$wechat.seeLocation({latitude:Number(e),longitude:Number(t),address:this.orderInfo.take?this.orderInfo.take.mer_take_name:""}).then((function(e){})):uni.openLocation({latitude:e,longitude:t,address:this.orderInfo.take?this.orderInfo.take.mer_take_name:"",scale:8,success:function(){}})},payClose:function(){this.pay_close=!1},pay_open:function(){this.pay_close=!0,this.pay_order_id=this.orderInfo.order_id.toString(),this.totalPrice=this.orderInfo.pay_price},pay_complete:function(){this.pay_close=!1,this.pay_order_id="",this.getOrderInfo()},pay_fail:function(){this.pay_close=!1,this.pay_order_id=""},onLoadFun:function(){this.isShowAuth=!1,this.getOrderInfo(),this.getUserInfo()},authColse:function(e){this.isShowAuth=e},getUserInfo:function(){var e=this;(0,l.getUserInfo)().then((function(t){e.payMode[2].number=t.data.now_money}))},getOrderCode:function(){var e=this;(0,r.verifyCode)(this.order_id).then((function(t){e.codeUrl=t.data.qrcode,e.val=t.data.qrcode}))},getOrderInfo:function(){var e=this;uni.showLoading({title:"正在加载中"}),(0,r.getOrderDetail)(e.order_id).then((function(t){uni.hideLoading(),e.$set(e,"orderInfo",t.data),e.orderInfo.take=t.data.take,e.$set(e,"cartInfo",t.data.orderProduct),"-1"==e.orderInfo.status&&(e.isGoodsReturn=!0),t.data.orderProduct.map((function(t){0==t.refund_num&&e.refundNum.push(t)})),1==t.data.order_type&&e.getOrderCode()})).catch((function(t){uni.hideLoading(),e.$util.Tips({title:t},"/pages/users/order_list/index")}))},qrR:function(e){this.codeSrc=e},showCode:function(){this.$refs.cancellPoupon.open()},close:function(){this.$refs.cancellPoupon.close()},goTel:function(){uni.makePhoneCall({phoneNumber:this.orderInfo.delivery_id})},goJoinPink:function(){uni.navigateTo({url:"/pages/activity/combination_status/index?id="+this.orderInfo.orderProduct[0].activity_id})},goOrderConfirm:function(){var e=[];this.cartInfo.map((function(t,i){var n={};n.product_id=t.product_id,n.product_attr_unique=t.product_sku,n.cart_num=t.product_num,e.push(n)})),(0,r.orderAgain)({data:e}).then((function(e){var t=e.data.cart_id.join(",");return uni.navigateTo({url:"/pages/users/order_confirm/index?cartId="+t})}))},confirmOrder:function(){var e=this;uni.showModal({title:"确认收货",content:"为保障权益,请收到货确认无误后,再确认收货",success:function(t){t.confirm&&(0,r.orderTake)(e.order_id).then((function(t){return e.$util.Tips({title:"操作成功",icon:"success"},(function(){e.getOrderInfo()}))})).catch((function(t){return e.$util.Tips({title:t})}))}})},delOrder:function(){var e=this;(0,r.orderDel)(this.order_id).then((function(t){return e.$util.Tips({title:"删除成功",icon:"success"},{tab:3,url:1})})).catch((function(t){return e.$util.Tips({title:t})}))},cancelOrder:function(){var e=this;uni.showModal({title:"提示",content:"确认取消该订单?",success:function(t){t.confirm?(0,r.orderDel)(e.orderInfo.order_id).then((function(t){e.$util.Tips({title:t.msg},{tab:3})})).catch((function(t){return e.$util.Tips({title:t})})):t.cancel}})},applyInvoice:function(){this.invoice.invoice=!0,this.$refs.addInvoicing.getInvoiceDefault(),this.$refs.addInvoicing.getInvoiceList()},changeInvoiceClose:function(e){e&&this.getInvoiceData(e),this.$set(this.invoice,"invoice",!1)},getInvoiceData:function(e){var t=this;(0,r.applyInvoiceApi)(t.order_id,e).then((function(e){return t.$util.Tips({title:e.message})})).catch((function(e){return t.$util.Tips({title:e})}))}}});t.default=m},"8b2f":function(e,t,i){var n=i("6fe1");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("47a5f817",n,!0,{sourceMap:!1,shadowMode:!1})},a572:function(e,t,i){"use strict";i.r(t);var n=i("e716"),o=i("4673");for(var a in o)["default"].indexOf(a)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(a);i("35ae");var r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"30d217b6",null,!1,n["a"],void 0);t["default"]=s.exports},a66f:function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(i("53ca"));i("a9e3"),i("e9c4");var a,r=n(i("1181")),s={name:"zb-code",props:{cid:{type:String,default:"zb-code-canvas"},size:{type:Number,default:200},unit:{type:String,default:"upx"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!1},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"二维码生成中"}},data:function(){return{result:""}},methods:{_makeCode:function(){var e=this;this._empty(this.val)?uni.showToast({title:"二维码内容不能为空",icon:"none",duration:2e3}):a=new r.default({context:e,canvasId:e.cid,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText,text:e.val,size:e.cpSize,background:e.background,foreground:e.foreground,pdground:e.pdground,correctLevel:e.lv,image:e.icon,imageSize:e.iconSize,cbResult:function(t){e._result(t)}})},_clearCode:function(){this._result(""),a.clear()},_saveCode:function(){""!=this.result&&uni.saveImageToPhotosAlbum({filePath:this.result,success:function(){uni.showToast({title:"二维码保存成功",icon:"success",duration:2e3})}})},_result:function(e){this.result=e,this.$emit("result",e)},_empty:function(e){var t=(0,o.default)(e),i=!1;return"number"==t&&""==String(e)||"undefined"==t?i=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(i=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(i=!0):"function"==t&&(i=!1),i}},watch:{size:function(e,t){var i=this;e==t||this._empty(e)||(this.cSize=e,this._empty(this.val)||setTimeout((function(){i._makeCode()}),100))},val:function(e,t){var i=this;this.onval&&(e==t||this._empty(e)||setTimeout((function(){i._makeCode()}),0))}},computed:{cpSize:function(){return"upx"==this.unit?uni.upx2px(this.size):this.size}},mounted:function(){var e=this;this.loadMake&&(this._empty(this.val)||setTimeout((function(){e._makeCode()}),0))}};t.default=s},b723:function(e,t,i){e.exports=i.p+"static/img/noInvoice.10bd0fdf.png"},badc:function(e,t,i){var n=i("137a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("163fed70",n,!0,{sourceMap:!1,shadowMode:!1})},c2a5:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){}));var n=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"zb-code"},[t("v-uni-canvas",{staticClass:"zb-code-canvas",style:{width:this.cpSize+"px",height:this.cpSize+"px"},attrs:{"canvas-id":this.cid}}),t("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:this.show,expression:"show"}],style:{width:this.cpSize+"px",height:this.cpSize+"px"},attrs:{src:this.result}})],1)},o=[]},c374:function(e,t,i){"use strict";var n=i("badc"),o=i.n(n);o.a},e475e:function(e,t,i){var n=i("e609");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("bd40ecfe",n,!0,{sourceMap:!1,shadowMode:!1})},e609:function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.remark[data-v-0ebb383d]{flex:1}.merchant[data-v-0ebb383d]{width:100%;height:%?86?%;padding:0 %?30?%;margin-top:%?15?%;border-bottom:%?2?% solid #f0f0f0;font-size:%?30?%;color:#282828;line-height:%?86?%;box-sizing:border-box;background-color:#fff}.merchant .iconfont[data-v-0ebb383d]{margin-top:%?6?%;font-size:%?22?%}.presell_bg_header[data-v-0ebb383d]{background:linear-gradient(90deg,var(--view-bntColor21) 0,var(--view-bntColor22))}.b-color[data-v-0ebb383d]{background-color:var(--view-theme)}.t-color[data-v-0ebb383d]{color:var(--view-theme)!important}.goodCall[data-v-0ebb383d]{text-align:center;width:100%;height:%?86?%;padding:0 %?30?%;border-bottom:1px solid #eee;font-size:%?30?%;line-height:%?86?%;background:#fff;color:#282828}.goodCall .icon-kefu[data-v-0ebb383d]{font-size:%?28?%;margin-right:%?15?%}.order-details .header[data-v-0ebb383d]{padding:0 %?30?%;height:%?150?%;background-image:linear-gradient(90deg,var(--view-bntColor21),var(--view-bntColor22))}.order-details .header.presell_header[data-v-0ebb383d]{background-repeat:no-repeat;background-size:cover;padding:%?35?% %?50?%}.order-details .header.presell_header .data[data-v-0ebb383d]{margin:%?8?% 0 0 %?13?%}.order-details .header.presell_header .data .state[data-v-0ebb383d]{font-weight:400;font-size:%?24?%}.take-info[data-v-0ebb383d]{padding:0 %?30?% %?30?%;background-color:#fff;margin-bottom:%?14?%}.take-msg[data-v-0ebb383d]{display:flex;justify-content:space-between;background-color:#fafafa;padding:%?24?%;border-radius:%?4?%}.take-msg .left[data-v-0ebb383d]{font-size:%?24?%;display:flex;flex-direction:column;justify-content:space-between}.take-msg .left .title[data-v-0ebb383d]{font-size:%?28?%;font-weight:700;color:#282828}.take-msg .left .text[data-v-0ebb383d]{color:#666}.take-msg .code[data-v-0ebb383d]{display:flex;flex-direction:column;align-items:center;justify-content:center}.take-msg .code .iconfont[data-v-0ebb383d]{font-size:%?50?%;color:#666}.take-msg .code .text[data-v-0ebb383d]{font-size:%?20?%;color:#666;margin-top:%?12?%}.order-details .header.on[data-v-0ebb383d]{background-color:#666!important}.order-details .header .pictrue[data-v-0ebb383d]{width:%?110?%;height:%?110?%}.order-details .header .pictrue uni-image[data-v-0ebb383d]{width:100%;height:100%}.order-details .header .data[data-v-0ebb383d]{color:hsla(0,0%,100%,.8);font-size:%?24?%;margin-left:%?27?%}.order-details .header .data.on[data-v-0ebb383d]{margin-left:0}.order-details .header .data .state[data-v-0ebb383d]{font-size:%?30?%;font-weight:700;color:#fff;margin-bottom:%?7?%}.presell_header .presell_payment[data-v-0ebb383d]{color:#fff;font-size:%?30?%;font-weight:700}.presell_header .presell_payment .iconfont[data-v-0ebb383d]{font-weight:400;margin-right:%?8?%}.order-details .header .data .time[data-v-0ebb383d]{margin-left:%?20?%}.order-details .nav[data-v-0ebb383d]{background-color:#fff;font-size:%?26?%;color:#282828;padding:%?25?% 0}.order-details .nav .navCon[data-v-0ebb383d]{padding:0 %?40?%}.order-details .nav .on[data-v-0ebb383d]{color:var(--view-theme)}.order-details .nav .progress[data-v-0ebb383d]{padding:0 %?65?%;margin-top:%?10?%}.order-details .nav .progress .line[data-v-0ebb383d]{width:%?100?%;height:%?2?%;background-color:#939390}.order-details .nav .progress .iconfont[data-v-0ebb383d]{font-size:%?25?%;color:#939390;margin-top:%?-2?%}.order-details .address[data-v-0ebb383d]{font-size:%?26?%;color:#868686;background-color:#fff;margin-top:%?13?%;padding:%?35?% %?30?%}.order-details .address .name[data-v-0ebb383d]{font-size:%?30?%;color:#282828;margin-bottom:%?15?%}.order-details .line[data-v-0ebb383d]{width:100%;height:%?3?%}.order-details .line uni-image[data-v-0ebb383d]{width:100%;height:100%;display:block}.order-details .wrapper[data-v-0ebb383d]{background-color:#fff;margin-top:%?12?%;padding:%?30?%}.order-details .wrapper .item[data-v-0ebb383d]{font-size:%?28?%;color:#282828}.order-details .wrapper .virtual_item[data-v-0ebb383d]{display:flex;justify-content:space-between;align-items:center}.order-details .virtual_item .virtual_row[data-v-0ebb383d]{width:%?300?%;align-items:center;justify-content:space-between}.order-details .virtual_item .virtual_row uni-image[data-v-0ebb383d], .order-details .virtual_item .virtual_row uni-image[data-v-0ebb383d]{width:%?80?%;height:%?80?%;border-radius:100%}.order-details .virtual_item .virtual_detail[data-v-0ebb383d]{color:var(--view-theme)}.order-details .virtual_item .virtual_delivery[data-v-0ebb383d]{line-height:%?40?%}.order-details .virtual_item .virtual_delivery_not[data-v-0ebb383d]{font-weight:700}.order-details .wrapper .item ~ .item[data-v-0ebb383d]{margin-top:%?20?%}.order-details .wrapper .item .conter[data-v-0ebb383d]{color:#868686;text-align:right}.order-details .wrapper .item .virtual_image[data-v-0ebb383d]{margin-left:%?50?%}.order-details .wrapper .item .virtual_image .picture[data-v-0ebb383d]{width:%?106?%;height:%?106?%;border-radius:%?8?%;margin-right:%?10?%}.order-details .wrapper .item .virtual_image .picture[data-v-0ebb383d]:last-child{margin-right:0}.order-details .wrapper .item .conter .copy[data-v-0ebb383d]{font-size:%?20?%;color:#333;border-radius:%?17?%;border:1px solid #666;padding:%?3?% %?15?%;margin-left:%?24?%}.order-details .wrapper .actualPay[data-v-0ebb383d]{border-top:1px solid #eee;margin-top:%?30?%;padding-top:%?30?%}.order-details .wrapper .actualPay .money[data-v-0ebb383d]{font-weight:700;font-size:%?30?%}.order-details .footer[data-v-0ebb383d]{width:100%;position:fixed;bottom:0;left:0;background-color:#fff;padding:0 %?30?%;height:%?100?%;height:calc(100rpx+ constant(safe-area-inset-bottom));height:calc(%?100?% + env(safe-area-inset-bottom));box-sizing:border-box}.content-clip[data-v-0ebb383d]{height:%?120?%;height:calc(120rpx+ constant(safe-area-inset-bottom));height:calc(%?120?% + env(safe-area-inset-bottom))}.order-details .footer .bnt[data-v-0ebb383d]{width:%?156?%;text-align:center;height:%?60?%;border-radius:%?50?%;color:#fff;font-size:%?27?%;display:flex;align-items:center;justify-content:center}.order-details .footer .bnt.btn_auto[data-v-0ebb383d]{width:auto;padding:0 %?40?%}.order-details .footer .bnt.cancel[data-v-0ebb383d]{color:#aaa;border:1px solid #ddd}.order-details .footer .bnt ~ .bnt[data-v-0ebb383d]{margin-left:%?18?%}.order-details .writeOff[data-v-0ebb383d]{background-color:#fff;margin-top:%?13?%;padding-bottom:%?30?%}.order-details .writeOff .title[data-v-0ebb383d]{font-size:%?30?%;color:#282828;height:%?87?%;border-bottom:1px solid #f0f0f0;padding:0 %?30?%;line-height:%?87?%}.grayBg .pictrue[data-v-0ebb383d]{width:%?290?%;height:%?290?%;margin:0 auto}.grayBg .pictrue uni-image[data-v-0ebb383d]{width:100%;height:100%;display:block}.gear[data-v-0ebb383d]{width:%?590?%;height:%?30?%;margin:0 auto}.gear uni-image[data-v-0ebb383d]{width:100%;height:100%;display:block}.num[data-v-0ebb383d]{color:#282828;font-size:%?34?%;font-weight:700;margin:0 auto;text-align:center;margin-top:%?30?%}.order-details .writeOff .rules[data-v-0ebb383d]{margin:%?46?% %?30?% 0 %?30?%;border-top:1px solid #f0f0f0;padding-top:%?10?%}.order-details .writeOff .rules .item[data-v-0ebb383d]{margin-top:%?20?%}.order-details .writeOff .rules .item .rulesTitle[data-v-0ebb383d]{font-size:%?28?%;color:#282828}.order-details .writeOff .rules .item .rulesTitle .iconfont[data-v-0ebb383d]{font-size:%?30?%;color:#333;margin-right:%?8?%;margin-top:%?5?%}.order-details .writeOff .rules .item .info[data-v-0ebb383d]{font-size:%?28?%;color:#999;margin-top:%?7?%}.order-details .writeOff .rules .item .info .time[data-v-0ebb383d]{margin-left:%?20?%}.order-details .map[data-v-0ebb383d]{height:%?86?%;font-size:%?30?%;color:#282828;line-height:%?86?%;border-bottom:1px solid #f0f0f0;margin-top:%?13?%;background-color:#fff;padding:0 %?30?%}.order-details .map .place[data-v-0ebb383d]{font-size:%?26?%;width:%?176?%;border-radius:%?25?%;line-height:%?50?%;text-align:center;border:1px solid var(--view-theme)}.order-details .map .place .iconfont[data-v-0ebb383d]{font-size:%?27?%;height:%?27?%;line-height:%?27?%;margin:%?2?% %?3?% 0 0}.order-details .address .name .iconfont[data-v-0ebb383d]{font-size:%?34?%;margin-left:%?10?%}.refund[data-v-0ebb383d]{padding:0 %?30?% %?30?%;margin-top:%?24?%;background-color:#fff}.refund .title[data-v-0ebb383d]{display:flex;align-items:center;font-size:%?30?%;color:#333;height:%?86?%;border-bottom:1px solid #f5f5f5}.refund .title uni-image[data-v-0ebb383d]{width:%?32?%;height:%?32?%;margin-right:%?10?%}.refund .con[data-v-0ebb383d]{padding-top:%?25?%;font-size:%?28?%;color:#868686}.qs-btn[data-v-0ebb383d]{width:auto;height:%?60?%;text-align:center;line-height:%?60?%;border-radius:%?50?%;color:#fff;font-size:%?27?%;padding:0 3%;color:#aaa;border:1px solid #ddd;margin-right:%?20?%}.code-content[data-v-0ebb383d]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?32?% 0 %?60?% 0;background:#fff;border-radius:%?16?% %?16?% 0 0;position:relative}.code-content .iconfont[data-v-0ebb383d]{font-size:%?24?%;color:#939393;position:absolute;top:%?20?%;right:%?30?%}.code-content .title[data-v-0ebb383d]{color:#282828;font-size:%?32?%;font-weight:700}.code-content .trip[data-v-0ebb383d]{font-size:%?28?%;font-weight:400;color:#666;margin:%?40?% 0}',""]),e.exports=t},e716:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{style:e.viewColor},[n("v-uni-view",{staticClass:"add_invoicing",class:1==e.invoice.invoice?"on":""},[n("v-uni-view",{staticClass:"title"},[e._v("选择发票"),n("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}})],1),n("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(t){arguments[0]=t=e.$handleEvent(t),e.formSubmit.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"panel"},["1"==e.receipt_title_type?n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("发票类型")]),n("v-uni-input",{attrs:{name:"receipt_type",value:e.typeName,disabled:"true"}})],1):e._e(),"2"==e.receipt_title_type?n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("发票类型")]),n("v-uni-input",{attrs:{name:"receipt_type",value:e.typeName,disabled:"true"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.callType.apply(void 0,arguments)}}}),n("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1):e._e(),n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("抬头类型")]),n("v-uni-radio-group",{attrs:{name:"receipt_title_type"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeHeader.apply(void 0,arguments)}}},[n("v-uni-label",[n("v-uni-radio",{attrs:{value:"1",checked:"1"==e.receipt_title_type}}),n("v-uni-text",[e._v("个人")])],1),n("v-uni-label",[n("v-uni-radio",{attrs:{value:"2",checked:"2"==e.receipt_title_type}}),n("v-uni-text",[e._v("企业")])],1)],1)],1),n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("发票抬头")]),n("v-uni-input",{attrs:{name:"receipt_title",value:e.receipt_title,maxlength:20,placeholder:"需要开具发票的企业名称"}}),n("v-uni-text",{staticClass:"iconfont icon-xiangyou",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.callTitle.apply(void 0,arguments)}}})],1),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"2"==e.receipt_title_type,expression:"receipt_title_type == '2'"}],staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("税号")]),n("v-uni-input",{attrs:{name:"duty_paragraph",value:e.duty_paragraph,placeholder:"纳税人识别号"}})],1),n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("邮箱")]),n("v-uni-input",{attrs:{name:"email",value:e.email,placeholder:"您的联系邮箱"}})],1)],1),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"2"==e.receipt_title_type&&"2"==e.receipt_type,expression:"receipt_title_type == '2' && receipt_type == '2'"}],staticClass:"panel"},[n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("开户银行")]),n("v-uni-input",{attrs:{name:"bank_name",value:e.bank_name,placeholder:"您的开户银行"}})],1),n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("银行账号")]),n("v-uni-input",{attrs:{name:"bank_code",value:e.bank_code,placeholder:"您的银行账号"}})],1),n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("企业地址")]),n("v-uni-input",{attrs:{name:"address",value:e.address,placeholder:"您所在的企业地址"}})],1),n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",[e._v("企业电话")]),n("v-uni-input",{attrs:{name:"tel",value:e.tel,placeholder:"您的企业电话"}})],1)],1),n("v-uni-view",{staticClass:"btn-wrap"},[n("v-uni-button",{staticClass:"button",attrs:{"form-type":"submit"}},[e._v("提交申请")]),n("v-uni-button",{staticClass:"back",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.noInvoice.apply(void 0,arguments)}}},[e._v("不开发票")])],1)],1),n("v-uni-view",{class:{mask:e.popupType||e.popupTitle}}),n("v-uni-view",{staticClass:"popup",class:{on:e.popupType}},[n("v-uni-view",{staticClass:"title"},[e._v("发票类型选择"),n("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeType.apply(void 0,arguments)}}})],1),n("v-uni-scroll-view",{attrs:{"scroll-y":"true"}},[n("v-uni-radio-group",{attrs:{name:"invoice-type"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeType.apply(void 0,arguments)}}},e._l(e.invoiceTypeList,(function(t){return n("v-uni-label",{key:t.type,staticClass:"acea-row row-middle"},[n("v-uni-view",{staticClass:"text"},[n("v-uni-view",[e._v(e._s(t.name))]),n("v-uni-view",{staticClass:"info"},[e._v(e._s(t.info))])],1),n("v-uni-radio",{attrs:{value:t.type,checked:e.receipt_type==t.type}})],1)})),1)],1),n("v-uni-button",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeType.apply(void 0,arguments)}}},[e._v("确定")])],1),n("v-uni-view",{staticClass:"popup",class:{on:e.popupTitle}},[n("v-uni-view",{staticClass:"title"},[e._v("抬头选择"),n("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeTitle.apply(void 0,arguments)}}})],1),e.invoiceList.length>0?n("v-uni-scroll-view",{attrs:{"scroll-y":"true"}},[n("v-uni-radio-group",{attrs:{name:"invoice-title"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeTitle.apply(void 0,arguments)}}},[e._l(e.invoiceList,(function(t){return[n("v-uni-label",{key:t.user_receipt_id,staticClass:"acea-row row-middle"},[n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",{staticClass:"name"},[e._v(e._s(t.receipt_title))]),t.is_default?n("v-uni-view",{staticClass:"label"},[e._v("默认")]):e._e()],1),n("v-uni-view",{staticClass:"type",class:{special:"2"==t.receipt_type}},[e._v(e._s(1==t.receipt_type?"普通发票":"专用发票"))])],1),n("v-uni-radio",{attrs:{value:t.user_receipt_id,checked:t.user_receipt_id==e.invoice_id}})],1)]}))],2)],1):n("v-uni-view",{staticClass:"nothing"},[n("v-uni-image",{attrs:{src:i("b723")}}),n("v-uni-view",{staticClass:"nothing_text"},[e._v("您还没有添加发票信息哟~")])],1),e.invoice.add?n("v-uni-button",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.addTitle.apply(void 0,arguments)}}},[e._v("添加新的抬头")]):n("v-uni-button",{staticClass:"btn-default",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}},[e._v("不开发票")])],1)],1),n("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==e.invoice.invoice},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}})],1)},o=[]},f4af:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return n}));var n={uniPopup:i("59c7").default},o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{style:e.viewColor},[i("v-uni-view",{staticClass:"order-details"},[2!=e.orderInfo.activity_type||10!=e.orderInfo.status&&11!=e.orderInfo.status?i("v-uni-view",[i("v-uni-view",{staticClass:"header acea-row row-middle",class:e.isGoodsReturn?"on":""},[0==e.isGoodsReturn?i("v-uni-view",{staticClass:"pictrue"},[9!=e.orderInfo.status?i("v-uni-image",{attrs:{src:e.imgUrl+"/static/order_"+(e.orderInfo.status+2)+".gif"}}):i("v-uni-image",{attrs:{src:e.imgUrl+"/static/order_2.gif"}})],1):e._e(),i("v-uni-view",{staticClass:"data",class:e.isGoodsReturn?"on":""},[i("v-uni-view",{staticClass:"state"},[0==e.orderInfo.status&&1!=e.orderInfo.order_type?[e._v("待发货")]:e._e(),9==e.orderInfo.status?[e._v("等待其他人参加拼团")]:e._e(),0==e.orderInfo.status&&1==e.orderInfo.order_type?[e._v("待核销")]:e._e(),1==e.orderInfo.status?[e._v(e._s(1==e.orderInfo.is_virtual?"服务商品已虚拟发货":"待收货"))]:e._e(),2==e.orderInfo.status?[e._v("待评价")]:e._e(),3==e.orderInfo.status?[e._v("已完成")]:e._e(),-1==e.orderInfo.status?[e._v("已为您退款,感谢您的支持")]:e._e()],2),i("v-uni-view",[e._v(e._s(e.orderInfo.pay_time))])],1)],1),0==e.isGoodsReturn?[i("v-uni-view",{staticClass:"nav"},[i("v-uni-view",{staticClass:"navCon acea-row row-between-wrapper"},[i("v-uni-view",[e._v("待付款")]),1!=e.orderInfo.order_type?i("v-uni-view",{class:0==e.orderInfo.status||9==e.orderInfo.status?"on":""},[e._v("待发货")]):e._e(),1==e.orderInfo.order_type?i("v-uni-view",{class:0==e.orderInfo.status||9==e.orderInfo.status?"on":""},[e._v("待核销")]):e._e(),1!=e.orderInfo.order_type?i("v-uni-view",{class:1==e.orderInfo.status?"on":""},[e._v("待收货")]):e._e(),i("v-uni-view",{class:2==e.orderInfo.status?"on":""},[e._v("待评价")]),i("v-uni-view",{class:3==e.orderInfo.status?"on":""},[e._v("已完成")])],1),i("v-uni-view",{staticClass:"progress acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"iconfont icon-yuandianxiao t-color"}),i("v-uni-view",{staticClass:"line b-color"}),i("v-uni-view",{staticClass:"iconfont",class:(0==e.orderInfo.status||9==e.orderInfo.status?"icon-webicon318":"icon-yuandianxiao")+" "+(e.orderInfo.status>=0?"t-color":"")}),i("v-uni-view",{staticClass:"line",class:e.orderInfo.status>0&&9!=e.orderInfo.status?"b-color":""}),0==e.orderInfo.order_type?i("v-uni-view",{staticClass:"iconfont",class:(1==e.orderInfo.status?"icon-webicon318":"icon-yuandianxiao")+" "+(e.orderInfo.status>=1&&9!=e.orderInfo.status?"t-color":"")}):e._e(),0==e.orderInfo.order_type?i("v-uni-view",{staticClass:"line",class:e.orderInfo.status>1&&9!=e.orderInfo.status?"b-color":""}):e._e(),i("v-uni-view",{staticClass:"iconfont",class:(2==e.orderInfo.status&&9!=e.orderInfo.status?"icon-webicon318":"icon-yuandianxiao")+" "+(e.orderInfo.status>=2&&9!=e.orderInfo.status?"t-color":"")}),i("v-uni-view",{staticClass:"line",class:e.orderInfo.status>2&&9!=e.orderInfo.status?"b-color":""}),i("v-uni-view",{staticClass:"iconfont",class:(3==e.orderInfo.status?"icon-webicon318":"icon-yuandianxiao")+" "+(e.orderInfo.status>=3&&9!=e.orderInfo.status?"t-color":"")})],1)],1),i("v-uni-view",{staticClass:"line"},[i("v-uni-image",{attrs:{src:e.imgUrl+"/static/images/line.jpg"}})],1)]:e._e()],2):i("v-uni-view",[i("v-uni-view",{staticClass:"header presell_header",class:"header"+e.keyColor,style:{"background-image":"url("+e.imgUrl+"/static/diy/presell_bg"+e.keyColor+".jpg)"}},[i("v-uni-view",{staticClass:"presell_payment"},[i("v-uni-text",{staticClass:"iconfont icon-shijian1"}),e._v(e._s(11==e.orderInfo.status?"交易已关闭":"待付尾款"))],1),i("v-uni-view",{staticClass:"data",staticStyle:{"margin-left":"0"}},[i("v-uni-view",{staticClass:"state"},[e._v("请在"+e._s(e.orderInfo.orderProduct[0].cart_info.productPresell.final_end_time)+"前完成支付,超时订单将自动取消")])],1)],1)],1),i("v-uni-view",[0==e.orderInfo.order_type&&1!=e.orderInfo.is_virtual?i("v-uni-view",{staticClass:"address"},[i("v-uni-view",{staticClass:"name"},[e._v(e._s(e.orderInfo.real_name)),i("v-uni-view",{staticClass:"phone"},[e._v(e._s(e.orderInfo.user_phone))])],1),i("v-uni-view",[e._v(e._s(e.orderInfo.user_address))])],1):e._e(),1==e.orderInfo.order_type?i("v-uni-view",{staticClass:"map acea-row row-between-wrapper"},[i("v-uni-view",[e._v("自提地址信息")]),i("v-uni-view",{staticClass:"place t-color acea-row row-center-wrapper",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showMaoLocation.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-weizhi"}),e._v("查看位置")],1)],1):e._e(),1==e.orderInfo.order_type?i("v-uni-view",{staticClass:"address",staticStyle:{"margin-top":"0"}},[i("v-uni-view",{staticClass:"name"},[e._v(e._s(e.orderInfo.take.mer_take_name)),i("v-uni-text",{staticClass:"phone",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.makePhone.apply(void 0,arguments)}}},[e._v(e._s(e.orderInfo.take.mer_take_phone))]),i("v-uni-text",{staticClass:"iconfont icon-tonghua t-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.makePhone.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"line2"},[e._v(e._s(e.orderInfo.take.mer_take_address))])],1):e._e(),e.orderInfo.take?i("v-uni-view",{staticClass:"take-info"},[i("v-uni-view",{staticClass:"take-msg"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"title"},[e._v("营业时间")]),i("v-uni-view",{staticClass:"text"},[e.orderInfo.take.mer_take_day&&7==e.orderInfo.take.mer_take_day.length?i("v-uni-text",[e._v("周一至周日:")]):e._l(e.orderInfo.take.mer_take_day,(function(t){return i("v-uni-text",[e._v(e._s("周"+e.toChinese(t))+",")])})),e.orderInfo.take.mer_take_time?i("v-uni-text",{staticClass:"time"},[e._v(e._s(e.orderInfo.take.mer_take_time[0])+"-"+e._s(e.orderInfo.take.mer_take_time[1]))]):e._e()],2)],1),i("v-uni-view",{staticClass:"code",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showCode.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-hexiaoma"}),i("v-uni-view",{staticClass:"text"},[e._v("自提码")])],1)],1)],1):e._e(),e.orderInfo.merchant&&1!=e.orderInfo.order_type?i("v-uni-view",{staticClass:"merchant",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goStore(e.orderInfo.mer_id)}}},[e._v(e._s(e.orderInfo.merchant.mer_name)),i("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1):e._e(),e.cartInfo.length>0?[i("orderGoods",{attrs:{orderData:e.orderInfo,evaluate:e.orderInfo.status,activityType:e.orderInfo.activity_type,orderId:e.order_id,cartInfo:e.cartInfo,jump:!0}}),e._l(e.orderInfo.takeOrderList,(function(t,n){return 1==e.orderInfo.order_type&&e.orderInfo.takeOrderList&&e.orderInfo.takeOrderList.length>0?[i("orderGoods",{key:n+"_0",attrs:{orderData:t,evaluate:t.status,activityType:t.activity_type,orderId:t.order_id,cartInfo:t.orderProduct,jump:!0}})]:e._e()}))]:e._e(),e.orderInfo.merchant&&1==e.orderInfo.merchant.services_type?i("div",{staticClass:"goodCall",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.call.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-kefu"}),i("v-uni-text",{staticStyle:{"font-size":"28rpx"}},[e._v("联系客服")])],1):i("div",{staticClass:"goodCall",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goGoodCall.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-kefu"}),i("v-uni-text",{staticStyle:{"font-size":"28rpx"}},[e._v("联系客服")])],1),2==e.orderInfo.delivery_type?i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("配送方式:")]),i("v-uni-view",{staticClass:"conter"},[e._v("送货")])],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("配送员:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.delivery_name))])],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("联系电话:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.delivery_id))])],1)],1):e._e(),5==e.orderInfo.delivery_type?i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"item virtual_item"},[i("v-uni-view",{staticClass:"acea-row virtual_row"},[i("v-uni-view",[i("v-uni-image",{attrs:{src:e.imgUrl+"/static/images/delivery_man.png"}})],1),e.orderInfo.delivery_id?i("v-uni-view",{staticClass:"virtual_delivery"},[i("v-uni-view",[e._v(e._s(e.orderInfo.delivery_name))]),i("v-uni-view",[e._v(e._s(e.orderInfo.delivery_id))])],1):i("v-uni-view",{staticClass:"virtual_delivery_not"},[e._v("配送员未接单")])],1),i("v-uni-navigator",{staticClass:"virtual_detail",attrs:{"hover-class":"none",url:"/pages/order_details/delivery?orderId="+e.orderInfo.order_id}},[e._v("查看详情")])],1)],1):e._e(),e.orderInfo.remark?i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",{},[e._v("发货备注:")]),i("v-uni-view",{staticClass:"conter remark"},[e._v(e._s(e.orderInfo.remark))])],1)],1):e._e(),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("订单编号:")]),i("v-uni-view",{staticClass:"conter acea-row row-middle row-right"},[e._v(e._s(e.orderInfo.order_sn)),i("v-uni-text",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":e.orderInfo.order_sn}},[e._v("复制")])],1)],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("下单时间:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.create_time))])],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("支付状态:")]),i("v-uni-view",{staticClass:"conter"},[e._v("已支付")])],1),e.orderInfo.pay_time?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("支付时间:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.pay_time))])],1):e._e(),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("商品总额:")]),i("v-uni-view",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.total_price))])],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("支付方式:")]),0==e.orderInfo.pay_type?i("v-uni-view",{staticClass:"conter"},[e._v("余额支付")]):e._e(),4==e.orderInfo.pay_type||5==e.orderInfo.pay_type?i("v-uni-view",{staticClass:"conter"},[e._v("支付宝支付")]):e._e(),1==e.orderInfo.pay_type||2==e.orderInfo.pay_type||3==e.orderInfo.pay_type?i("v-uni-view",{staticClass:"conter"},[e._v("微信支付")]):e._e()],1),e.orderInfo.mark?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("买家留言:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.mark))])],1):e._e()],1)],2),1==e.orderInfo.is_virtual&&e.orderInfo.order_extend?i("v-uni-view",{staticClass:"wrapper"},e._l(e.orderInfo.order_extend,(function(t,n){return t?i("v-uni-view",{key:n,staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v(e._s(n)+":")]),Array.isArray(t)?i("v-uni-view",{staticClass:"conter virtual_image"},e._l(t,(function(n,o){return i("v-uni-image",{key:o,staticClass:"picture",attrs:{src:n},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.getPhotoClickIdx(t,o)}}})})),1):i("v-uni-view",{staticClass:"conter"},[e._v(e._s(t))])],1):e._e()})),1):e._e(),i("v-uni-view",{staticClass:"wrapper"},[e.orderInfo.pay_postage>0&&1!=e.orderInfo.order_type?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("运费:")]),i("v-uni-view",{staticClass:"conter"},[e._v("+¥"+e._s(e.orderInfo.pay_postage))])],1):e._e(),e.orderInfo.coupon_price>0?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("优惠券抵扣:")]),i("v-uni-view",{staticClass:"conter"},[e._v("-¥"+e._s(e.orderInfo.coupon_price))])],1):e._e(),e.orderInfo.integral?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("积分抵扣:")]),i("v-uni-view",{staticClass:"conter"},[e._v("-¥"+e._s(e.orderInfo.integral_price))])],1):e._e(),2==e.orderInfo.activity_type?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("实付款:")]),i("v-uni-view",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.presell_price))])],1):i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("实付款:")]),i("v-uni-view",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.pay_price))])],1)],1),i("v-uni-view",{staticClass:"content-clip"}),0==e.isGoodsReturn?i("v-uni-view",{staticClass:"footer acea-row row-right row-middle"},[e.orderInfo.receipt||e.isGoodsReturn?e._e():i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.applyInvoice.apply(void 0,arguments)}}},[e._v("申请开票")]),2!=e.orderInfo.activity_type||10!=e.orderInfo.status&&11!=e.orderInfo.status?e._e():i("v-uni-view",{staticClass:" acea-row row-right row-middle"},[0==e.orderInfo.presellOrder.activeStatus?i("v-uni-view",{staticClass:"bnt b-color btn_auto"},[e._v(e._s(e._f("filterDay")(e.orderInfo.presellOrder.final_start_time))+" 付尾款")]):e._e(),1==e.orderInfo.presellOrder.activeStatus?i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.pay_open.apply(void 0,arguments)}}},[e._v("立即付款")]):e._e(),2==e.orderInfo.presellOrder.activeStatus?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelOrder.apply(void 0,arguments)}}},[e._v("取消订单")]):e._e()],1),0==e.orderInfo.status?[e.refundNum.length!=e.cartInfo.length&&e.orderInfo.refund_status?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.allRefund.apply(void 0,arguments)}}},[e._v("批量退款")]):e._e()]:e._e(),9==e.orderInfo.status?[i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.getCombinationRemove.apply(void 0,arguments)}}},[e._v("取消拼团")])]:e._e(),4==e.orderInfo.activity_type&&9==e.orderInfo.status?i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goJoinPink.apply(void 0,arguments)}}},[e._v("查看拼团")]):e._e(),1==e.orderInfo.status?[e.refundNum.length!=e.cartInfo.length&&e.orderInfo.refund_status?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.allRefund.apply(void 0,arguments)}}},[e._v("批量退款")]):e._e(),1==e.orderInfo.delivery_type||4==e.orderInfo.delivery_type?i("v-uni-navigator",{staticClass:"bnt cancel",attrs:{"hover-class":"none",url:"/pages/users/goods_logistics/index?orderId="+e.orderInfo.order_id}},[e._v("查看物流")]):e._e(),i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.confirmOrder.apply(void 0,arguments)}}},[e._v("确认收货")])]:e._e(),2==e.orderInfo.status?[e.refundNum.length!=e.cartInfo.length&&e.orderInfo.refund_status?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.allRefund.apply(void 0,arguments)}}},[e._v("批量退款")]):e._e(),1==e.orderInfo.delivery_type||4==e.orderInfo.delivery_type?i("v-uni-navigator",{staticClass:"bnt cancel",attrs:{"hover-class":"none",url:"/pages/users/goods_logistics/index?orderId="+e.orderInfo.order_id}},[e._v("查看物流")]):e._e(),1!=e.orderInfo.activity_type&&2!=e.orderInfo.activity_type&&3!=e.orderInfo.activity_type&&4!=e.orderInfo.activity_type&&10!=e.orderInfo.activity_type?i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goOrderConfirm.apply(void 0,arguments)}}},[e._v("再次购买")]):e._e()]:e._e(),3==e.orderInfo.status?[i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delOrder.apply(void 0,arguments)}}},[e._v("删除订单")]),e.refundNum.length!=e.cartInfo.length&&e.orderInfo.refund_status?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.allRefund.apply(void 0,arguments)}}},[e._v("批量退款")]):e._e(),1!=e.orderInfo.activity_type&&2!=e.orderInfo.activity_type&&3!=e.orderInfo.activity_type&&4!=e.orderInfo.activity_type&&10!=e.orderInfo.activity_type?i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goOrderConfirm.apply(void 0,arguments)}}},[e._v("再次购买")]):e._e()]:e._e()],2):e._e()],1),i("authorize",{attrs:{isAuto:e.isAuto,isShowAuth:e.isShowAuth},on:{onLoadFun:function(t){arguments[0]=t=e.$handleEvent(t),e.onLoadFun.apply(void 0,arguments)},authColse:function(t){arguments[0]=t=e.$handleEvent(t),e.authColse.apply(void 0,arguments)}}}),i("payment",{attrs:{payMode:e.payMode,pay_close:e.pay_close,order_id:e.pay_order_id,totalPrice:e.totalPrice,order_type:1},on:{onChangeFun:function(t){arguments[0]=t=e.$handleEvent(t),e.onChangeFun.apply(void 0,arguments)}}}),i("addInvoicing",{ref:"addInvoicing",attrs:{invoice:e.invoice},on:{changeInvoiceClose:function(t){arguments[0]=t=e.$handleEvent(t),e.changeInvoiceClose.apply(void 0,arguments)}}}),i("uni-popup",{ref:"cancellPoupon",attrs:{type:"bottom"}},[i("v-uni-view",{staticClass:"code-content"},[i("v-uni-text",{staticClass:"iconfont icon-guanbi5",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"title"},[e._v("核销码")]),i("v-uni-view",{staticClass:"trip"},[e._v("请将二维码展示给店员 或 提供数字核销码")]),i("v-uni-view",{staticClass:"grayBg"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.codeUrl}})],1)],1),i("v-uni-view",{staticClass:"num"},[e._v(e._s(e.orderInfo.verify_code))])],1)],1)],1)},a=[]}}]); |