index.js 21 KB

1
  1. require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/order_confirm/index"],{"0bfc":function(t,e,i){"use strict";var n=i("e076"),s=i.n(n);s.a},"0d4f":function(t,e,i){"use strict";(function(t){var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=i("39ed"),a=i("d1ea"),o=i("5d9d"),r=i("2a39"),c=(i("4cfb"),i("86eb")),u=i("26cb"),d=n(i("19b6")),l={components:{payment:function(){Promise.all([i.e("common/vendor"),i.e("components/payment/index")]).then(function(){return resolve(i("470a"))}.bind(null,i)).catch(i.oe)},invoicePicker:function(){i.e("pages/goods/components/invoicePicker/index").then(function(){return resolve(i("724e"))}.bind(null,i)).catch(i.oe)},couponListWindow:function(){Promise.all([i.e("common/vendor"),i.e("components/couponListWindow/index")]).then(function(){return resolve(i("79d4"))}.bind(null,i)).catch(i.oe)},addressWindow:function(){i.e("components/addressWindow/index").then(function(){return resolve(i("bbf7"))}.bind(null,i)).catch(i.oe)},orderGoods:function(){i.e("components/orderGoods/index").then(function(){return resolve(i("cf6a"))}.bind(null,i)).catch(i.oe)},home:function(){Promise.all([i.e("common/vendor"),i.e("components/home/index")]).then(function(){return resolve(i("3b71"))}.bind(null,i)).catch(i.oe)},authorize:function(){i.e("components/Authorize").then(function(){return resolve(i("ad23"))}.bind(null,i)).catch(i.oe)}},mixins:[d.default],data:function(){this.getDate({format:!0});return{confirm:"",date:this.$t("请选择"),time:this.$t("请选择"),canvasWidth:"",canvasHeight:"",canvasStatus:!1,newImg:[],textareaStatus:!0,cartArr:[{name:this.$t("微信支付"),icon:"icon-weixin2",value:"weixin",title:this.$t("使用微信快捷支付"),payStatus:1},{name:this.$t("支付宝支付"),icon:"icon-zhifubao",value:"alipay",title:this.$t("使用支付宝支付"),payStatus:1},{name:this.$t("余额支付"),icon:"icon-yuezhifu",value:"yue",title:this.$t("可用余额"),payStatus:1},{name:this.$t("线下支付"),icon:"icon-yuezhifu1",value:"offline",title:this.$t("使用线下付款"),payStatus:2},{name:this.$t("好友代付"),icon:"icon-haoyoudaizhifu",value:"friend",title:this.$t("找微信好友支付"),payStatus:1}],virtual_type:0,allPrice:0,formContent:"",payType:"",openType:1,active:0,coupon:{coupon:!1,list:[],statusTile:this.$t("立即使用")},address:{address:!1},addressInfo:{},pinkId:0,addressId:0,couponId:0,cartId:"",BargainId:0,combinationId:0,seckillId:0,discountId:0,userInfo:{},mark:"",couponTitle:this.$t("请选择"),coupon_price:0,useIntegral:!1,integral_price:0,integral:0,usable_integral:0,ChangePrice:0,formIds:[],status:0,is_address:!1,toPay:!1,shippingType:0,system_store:{},storePostage:0,advanceId:0,contacts:"",contactsTel:"",mydata:{},storeList:[],store_self_mention:0,cartInfo:[],priceGroup:{},animated:!1,totalPrice:0,integralRatio:"0",pagesUrl:"",orderKey:"",offlinePostage:"",isAuto:!1,isShowAuth:!1,from:"",news:1,invTitle:this.$t("不开发票"),special_invoice:!1,invoice_func:!1,header_type:"",invShow:!1,invList:[],invChecked:"",urlQuery:"",pay_close:!1,noCoupon:0,valid_count:0,discount_id:0,is_shipping:!0,inputTrip:!1,focus:!0,integral_open:!1,jumpData:{}}},computed:(0,u.mapGetters)(["isLogin"]),onLoad:function(t){if(this.from="routine",!t.cartId)return this.$util.Tips({title:this.$t("请选择要购买的商品")},{tab:3,url:1});if(this.couponId=t.couponId||0,this.noCoupon=Number(t.noCoupon)||0,this.pinkId=t.pinkId?parseInt(t.pinkId):0,this.addressId=t.addressId||0,this.cartId=t.cartId,this.is_address=!!t.is_address,this.news=t.new&&"0"!==t.new?1:0,this.invChecked=t.invoice_id||"",this.header_type=t.header_type||"1",this.couponTitle=t.couponTitle||this.$t("请选择"),t.invoice_id){var e="";e+=1==t.header_type?this.$t("个人"):this.$t("企业"),e+=1==t.invoice_type?this.$t("普通"):this.$t("专用"),e+=this.$t("发票"),this.invTitle=e}this.textareaStatus=!0,this.isLogin&&0==this.toPay?this.checkShipping():(0,c.toLogin)()},onShow:function(){var e=this;t.$on("handClick",(function(i){i&&(e.system_store=i.address),t.$off("handClick")}))},methods:{checkShipping:function(){var e=this,i=this;(0,s.checkShipping)(i.cartId,i.news).then((function(t){0==t.data.type?(i.is_shipping=!0,i.shippingType=0,e.getaddressInfo(),e.getConfirm(),e.$nextTick((function(){this.$refs.addressWindow.getAddressList()}))):1==t.data.type?(i.is_shipping=!1,i.shippingType=0,e.getaddressInfo(),e.getConfirm(),e.$nextTick((function(){this.$refs.addressWindow.getAddressList()}))):2==t.data.type&&(i.is_shipping=!1,i.shippingType=1,e.addressType(1),e.getConfirm(),e.getList())})).catch((function(e){t.showToast({title:e,icon:"none"})}))},invCancel:function(){this.invChecked="",this.invTitle=this.$t("不开发票"),this.invShow=!1},invChange:function(t){var e="";this.invChecked=t,this.invShow=!1;var i=this.invList.find((function(e){return e.id===t}));e+=1===i.header_type?this.$t("个人"):this.$t("企业"),e+=1===i.type?this.$t("普通"):this.$t("专用"),e+=this.$t("发票"),this.invTitle=e},openList:function(){0==this.shippingType?this.onAddress():this.showStoreList()},invClose:function(){this.invShow=!1,this.getInvoiceList()},getInvoiceList:function(){var e=this;t.showLoading({title:this.$t("正在加载中")}),(0,a.invoiceList)().then((function(i){t.hideLoading(),e.invList=i.data.map((function(t){return t.id=t.id.toString(),t}));var n=e.invList.find((function(t){return t.id==e.invChecked}));if(n){var s="";s+=1===n.header_type?e.$t("个人"):e.$t("企业"),s+=1===n.type?e.$t("普通"):e.$t("专用"),s+=e.$t("发票"),e.invTitle=s}})).catch((function(e){t.showToast({title:e,icon:"none"})}))},goInvoice:function(){this.getInvoiceList(),this.invShow=!0,this.urlQuery="new=".concat(this.news,"&cartId=").concat(this.cartId,"&pinkId=").concat(this.pinkId,"&couponId=").concat(this.couponId,"&addressId=").concat(this.addressId,"&specialInvoice=").concat(this.special_invoice,"&couponTitle=").concat(this.couponTitle)},onLoadFun:function(){this.getaddressInfo(),this.getConfirm()},onChangeFun:function(t){var e=t,i=e.action||null,n=void 0!=e.value?e.value:null;i&&this[i]&&this[i](n)},payClose:function(){this.pay_close=!1},goPay:function(){this.pay_close=!0},payCheck:function(t){this.payType=t,this.SubOrder()},getList:function(){var e=this,i=t.getStorageSync("user_longitude")||"",n=t.getStorageSync("user_latitude")||"",s={latitude:n,longitude:i,page:1,limit:10};(0,r.storeListApi)(s).then((function(t){var i=t.data.list.list||[];e.$set(e,"storeList",i),e.$set(e,"system_store",i[0])})).catch((function(t){}))},changeClose:function(){this.$set(this.address,"address",!1)},showStoreList:function(){this.storeList.length>0&&t.navigateTo({url:"/pages/goods/goods_details_store/index"})},changePayType:function(t){this.payType=t,this.computedPrice()},computedPrice:function(){var t=this,e=this.shippingType;(0,s.postOrderComputed)(this.orderKey,{addressId:this.addressId,useIntegral:this.useIntegral?1:0,couponId:this.couponId,shipping_type:parseInt(e)+1,payType:this.payType}).then((function(i){var n=i.data.result;n&&(t.totalPrice=n.pay_price,t.integral_price=n.deduction_price,t.coupon_price=n.coupon_price,t.integral=t.useIntegral?n.SurplusIntegral:t.usable_integral,t.$set(t.priceGroup,"storePostage",1==e?0:n.pay_postage),t.$set(t.priceGroup,"storePostageDiscount",n.storePostageDiscount))}))},addressType:function(e){var i=this,n=e;this.shippingType!=parseInt(n)&&(this.shippingType=parseInt(n),1==n&&t.getLocation({type:"wgs84",success:function(e){t.setStorageSync("user_latitude",e.latitude),t.setStorageSync("user_longitude",e.longitude)},complete:function(){i.getList()}}),this.$nextTick((function(t){i.getConfirm(),i.computedPrice()})))},bindPickerChange:function(t){var e=t.detail.value;this.shippingType=e,this.computedPrice()},ChangCouponsClone:function(){this.$set(this.coupon,"coupon",!1)},changeTextareaStatus:function(){for(var t=0,e=this.coupon.list.length;t<e;t++)this.coupon.list[t].use_title="",this.coupon.list[t].is_use=0;this.textareaStatus=!0,this.status=0,this.$set(this.coupon,"list",this.coupon.list)},ChangCoupons:function(t){for(var e=t,i=this.coupon.list,n=this.$t("请选择"),s=0,a=0,o=i.length;a<o;a++)a!=e&&(i[a].use_title="",i[a].is_use=0);i[e].is_use?(i[e].use_title="",i[e].is_use=0):(i[e].use_title=this.$t("不使用"),i[e].is_use=1,n=i[e].coupon_title,s=i[e].id),this.couponTitle=n,this.couponId=s,this.$set(this.coupon,"coupon",!1),this.$set(this.coupon,"list",i),this.computedPrice()},ChangeIntegral:function(){this.useIntegral=!this.useIntegral,this.computedPrice()},OnChangeAddress:function(t){this.textareaStatus=!0,this.addressId=t,this.address.address=!1,this.getConfirm(),this.getaddressInfo(),this.computedPrice()},bindHideKeyboard:function(t){this.mark=t.detail.value},getConfirm:function(){var e=this,i=this;t.showLoading({title:i.$t("正在加载中"),mask:!0}),(0,s.orderConfirm)(i.cartId,i.news,i.addressId,i.shippingType+1).then((function(n){i.$set(i,"userInfo",n.data.userInfo),i.$set(i,"confirm",n.data.custom_form||[]),e.confirm.map((function(t){"img"===t.label&&(t.value=[])})),i.$set(i,"integral",n.data.usable_integral),i.$set(i,"usable_integral",n.data.usable_integral),i.$set(i,"contacts",n.data.userInfo.real_name),i.$set(i,"contactsTel","0"===n.data.userInfo.record_phone?"":n.data.userInfo.record_phone),i.$set(i,"cartInfo",n.data.cartInfo),i.$set(i,"integralRatio",n.data.integralRatio),i.$set(i,"offlinePostage",n.data.offlinePostage),i.$set(i,"orderKey",n.data.orderKey),i.$set(i,"valid_count",n.data.valid_count),i.$set(i,"discount_id",n.data.discount_id),i.$set(i,"priceGroup",n.data.priceGroup),i.$set(i,"totalPrice",i.$util.$h.Add(parseFloat(n.data.priceGroup.totalPrice),parseFloat(n.data.priceGroup.storePostage))),i.$set(i,"allPrice",i.$util.$h.Add(parseFloat(n.data.priceGroup.totalPrice),parseFloat(n.data.priceGroup.vipPrice)).toFixed(2)),i.$set(i,"seckillId",parseInt(n.data.seckill_id)),i.$set(i,"invoice_func",n.data.invoice_func),i.$set(i,"special_invoice",n.data.special_invoice),i.$set(i,"store_self_mention",n.data.store_self_mention),i.$set(i,"virtual_type",n.data.virtual_type||0),i.$set(i,"integral_open",n.data.integral_open),t.hideLoading(),i.cartArr[0].payStatus=n.data.pay_weixin_open||0,i.cartArr[1].payStatus=n.data.ali_pay_status||0,i.cartArr[1].payStatus=0,i.cartArr[2].number=n.data.userInfo.now_money,i.cartArr[2].payStatus=1==n.data.yue_pay_status?n.data.yue_pay_status:0,2==n.data.offline_pay_status||n.data.deduction?i.cartArr[3].payStatus=0:i.cartArr[3].payStatus=1,i.cartArr[4].payStatus=n.data.friend_pay_status||0,i.$set(i,"ChangePrice",i.totalPrice),i.getBargainId(),i.getCouponList(),e.addressId&&e.computedPrice()})).catch((function(i){return t.hideLoading(),e.$util.Tips({title:i})}))},getBargainId:function(){var t=this.cartInfo,e=0,i=0,n=0,s=0;t.forEach((function(t,a,o){e=o[a].bargain_id,i=o[a].combination_id,n=o[a].discount_id,s=o[a].advance_id})),this.$set(this,"BargainId",parseInt(e)),this.$set(this,"combinationId",parseInt(i)),this.$set(this,"discountId",parseInt(n)),this.$set(this,"advanceId",parseInt(s)),3==this.cartArr.length&&(e||i||this.seckillId||n)&&(this.cartArr[2].payStatus=0,this.$set(this,"cartArr",this.cartArr))},getCouponList:function(){var t=this.shippingType,e=this,i={cartId:this.cartId,new:this.news,shippingType:parseInt(t)+1};(0,s.getCouponsOrderPrice)(this.totalPrice,i).then((function(t){e.$set(e.coupon,"list",t.data),e.openType=1}))},getaddressInfo:function(){var t=this,e=t.addressId?a.getAddressDetail:a.getAddressDefault;e(t.addressId).then((function(e){Array.isArray(e.data)||(e.data.is_default=parseInt(e.data.is_default),t.addressInfo=e.data||{},t.addressId=e.data.id||0,t.address.addressId=e.data.id||0)}))},onHaveAddressList:function(){this.haveAddressList=!0},payItem:function(t){var e=this,i=t;e.active=i,e.animated=!0,e.payType=e.cartArr[i].value,e.computedPrice(),setTimeout((function(){e.car()}),500)},couponTap:function(){var t=this;this.coupon.coupon=!0,this.coupon.list.forEach((function(e,i){e.id==t.couponId?e.is_use=1:e.is_use=0})),this.$set(this.coupon,"list",this.coupon.list)},car:function(){this.animated=!1},onAddress:function(){this.addressInfo.real_name||this.haveAddressList?(this.$refs.addressWindow.getAddressList(),this.textareaStatus=!1,this.address.address=!0,this.pagesUrl="/pages/users/user_address_list/index?news="+this.news+"&cartId="+this.cartId+"&pinkId="+this.pinkId+"&couponId="+this.couponId):t.navigateTo({url:"/pages/users/user_address/index?cartId="+this.cartId+"&pinkId="+this.pinkId+"&couponId="+this.couponId+"&new="+this.news})},formpost:function(t,e){var i=document.createElement("form");for(var n in i.action=t,i.method="post",i.target="_self",i.style.display="none",e){var s=document.createElement("input");s.name=n,s.value=e[n],i.appendChild(s)}document.body.appendChild(i),this.$nextTick((function(t){i.submit()}))},payment:function(e){var i=this;(0,s.orderCreate)(i.orderKey,e).then((function(e){t.reLaunch({url:"/pages/goods/cashier/index?order_id=".concat(e.data.result.orderId,"&from_type=order")})})).catch((function(e){return t.hideLoading(),i.$util.Tips({title:e})}))},clickTextArea:function(){this.$refs.textarea.focus()},SubOrder:function(e){var i,n=this;if(!n.addressId&&!n.shippingType&&!n.virtual_type)return n.$util.Tips({title:n.$t("请选择收货地址")});if(1==n.shippingType){if(""==n.contacts||""==n.contactsTel)return n.$util.Tips({title:n.$t("请填写联系人或联系人电话")});if(!/^1(3|4|5|7|8|9|6)\d{9}$/.test(n.contactsTel))return n.$util.Tips({title:n.$t("请输入正确的手机号码")});if(!n.contacts)return n.$util.Tips({title:n.$t("请输入姓名")});if(0==n.storeList.length)return n.$util.Tips({title:n.$t("暂无门店,请选择其他方式")})}for(var s=0;s<n.confirm.length;s++){var a=n.confirm[s];if(a.status){if(("text"===a.label||"data"===a.label||"time"===a.label||"id"===a.label)&&!a.value.trim())return t.showToast({title:n.$t("请输入")+"".concat(a.title),icon:"none"});if("number"===a.label&&a.value<=0)return t.showToast({title:n.$t("请输入")+"".concat(a.title),icon:"none"});if("email"===a.label&&!/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(a.value))return t.showToast({title:n.$t("请输入正确的")+"".concat(a.title),icon:"none"});if("phone"===a.label&&!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(a.value))return t.showToast({title:n.$t("请输入正确的")+"".concat(a.title),icon:"none"});if("img"===a.label&&!a.value.length)return t.showToast({title:n.$t("请上传")+"".concat(a.title),icon:"none"})}}if(i={custom_form:n.confirm,real_name:n.contacts,phone:n.contactsTel,addressId:n.addressId,formId:"",couponId:n.couponId,useIntegral:n.useIntegral,bargainId:n.BargainId,combinationId:n.combinationId,discountId:n.discountId,pinkId:n.pinkId,advanceId:n.advanceId,seckill_id:n.seckillId,mark:n.mark,store_id:n.system_store?n.system_store.id:0,from:n.from,shipping_type:n.$util.$h.Add(n.shippingType,1),new:n.news,invoice_id:n.invChecked},"yue"==i.payType&&parseFloat(n.userInfo.now_money)<parseFloat(n.totalPrice))return n.$util.Tips({title:n.$t("余额不足")});(0,o.openPaySubscribe)().then((function(){n.payment(i)}))},bindDateChange:function(t,e){this.confirm[e].value=t.target.value},bindTimeChange:function(t,e){this.confirm[e].value=t.target.value},getDate:function(t){var e=new Date,i=e.getFullYear(),n=e.getMonth()+1,s=e.getDate();return"start"===t?i-=60:"end"===t&&(i+=2),n=n>9?n:"0"+n,s=s>9?s:"0"+s,"".concat(i,"-").concat(n,"-").concat(s)},uploadpic:function(t,e){var i=this;this.canvasStatus=!0,this.$util.uploadImageChange("upload/image",(function(t){e.value.push(t.data.url)}),(function(t){i.canvasStatus=!1}),(function(t){i.canvasWidth=t.w,i.canvasHeight=t.h}))},DelPic:function(t,e){this.confirm[t].value;this.confirm[t].value.splice(e,1)},inputTripClick:function(){this.inputTrip=!0},showMaoLocation:function(e){t.openLocation({latitude:Number(e.latitude),longitude:Number(e.longitude),name:e.name,address:"".concat(e.address,"-").concat(e.detailed_address),success:function(){}})},call:function(e){t.makePhoneCall({phoneNumber:e})}}};e.default=l}).call(this,i("543d")["default"])},"3ada":function(t,e,i){"use strict";i.r(e);var n=i("0d4f"),s=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=s.a},6845:function(t,e,i){"use strict";i.r(e);var n=i("6ac7"),s=i("3ada");for(var a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a);i("0bfc");var o=i("f0c5"),r=Object(o["a"])(s["default"],n["b"],n["c"],!1,null,"51763f09",null,!1,n["a"],void 0);e["default"]=r.exports},"6ac7":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=(t._self._c,t.virtual_type||t.store_self_mention&&t.is_shipping||0!=t.shippingType?null:t.$t("由平台为您提供配送服务")),n=t.virtual_type||t.store_self_mention&&t.is_shipping||1!=t.shippingType?null:t.$t("线上下单,到店自提"),s=t.virtual_type||t.store_self_mention&&t.is_shipping||0!=t.shippingType?null:t.$t("切换地址"),a=t.virtual_type||t.store_self_mention&&t.is_shipping||0==t.shippingType?null:t.$t("切换门店"),o=!t.virtual_type&&0==t.shippingType&&t.addressInfo.real_name&&t.addressInfo.is_default?t.$t("默认"):null,r=t.virtual_type||0!=t.shippingType||t.addressInfo.real_name?null:t.$t("设置收货地址"),c=t.virtual_type||0==t.shippingType?null:t.storeList.length,u=t.virtual_type||0==t.shippingType||c>0?null:t.$t("暂无门店信息"),d=t.virtual_type||0==t.shippingType?null:t.storeList.length,l=t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.noCoupon||t.discountId||t.advanceId?null:t.$t("优惠券"),p=t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.advanceId||!t.integral_open?null:t.$t("积分抵扣"),h=t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.advanceId||!t.integral_open||!t.useIntegral?null:t.$t("剩余积分"),f=t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.advanceId||!t.integral_open||t.useIntegral?null:t.$t("当前积分"),g=t.invoice_func||t.special_invoice?t.$t("开具发票"):null,m=1==t.shippingType?t.$t("用户姓名"):null,I=1==t.shippingType?t.$t("请输入姓名"):null,v=1==t.shippingType?t.$t("联系电话"):null,_=1==t.shippingType?t.$t("请输入手机号"):null,$=t.textareaStatus?t.$t("备注说明"):null,y=!t.textareaStatus||t.coupon.coupon||t.inputTrip?null:t.mark||t.$t("填写备注信息,100字以内"),T=t.textareaStatus&&!t.coupon.coupon&&t.inputTrip?t.$t("填写备注信息,100字以内"):null,b=t.confirm.length,k=b?t.__map(t.confirm,(function(e,i){var n=t.__get_orig(e),s="text"==e.label?t.$t("请填写"+e.title):null,a="number"==e.label?t.$t("请填写"+e.title):null,o="email"==e.label?t.$t("请填写"+e.title):null,r="id"==e.label?t.$t("请填写"):null,c="phone"==e.label?t.$t("请填写"):null,u="img"==e.label?e.value.length:null,d="img"==e.label&&u<8?t.$t("上传图片"):null;return{$orig:n,m19:s,m20:a,m21:o,m22:r,m23:c,g3:u,m24:d}})):null,P=t.$t("商品总价"),w=t.$t("¥"),C=t.priceGroup.storePostage>0||t.priceGroup.storePostageDiscount>0?t.$t("配送运费"):null,S=t.priceGroup.storePostage>0||t.priceGroup.storePostageDiscount>0?t.$t("¥"):null,L=t.priceGroup.storePostage>0||t.priceGroup.storePostageDiscount>0?(parseFloat(t.priceGroup.storePostage)+parseFloat(t.priceGroup.storePostageDiscount)).toFixed(2):null,x=!(t.priceGroup.levelPrice>0&&t.userInfo.vip)||t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.discountId?null:t.$t("用户等级优惠"),A=!(t.priceGroup.levelPrice>0&&t.userInfo.vip)||t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.discountId?null:t.$t("¥"),G=!(t.priceGroup.levelPrice>0&&t.userInfo.vip)||t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.discountId?null:parseFloat(t.priceGroup.levelPrice).toFixed(2),F=!(t.priceGroup.memberPrice>0&&t.userInfo.vip)||t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.discountId?null:t.$t("付费会员优惠"),D=!(t.priceGroup.memberPrice>0&&t.userInfo.vip)||t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.discountId?null:t.$t("¥"),B=!(t.priceGroup.memberPrice>0&&t.userInfo.vip)||t.pinkId||t.BargainId||t.combinationId||t.seckillId||t.discountId?null:parseFloat(t.priceGroup.memberPrice).toFixed(2),O=t.priceGroup.storePostageDiscount>0?t.$t("会员运费优惠"):null,W=t.priceGroup.storePostageDiscount>0?t.$t("¥"):null,z=t.priceGroup.storePostageDiscount>0?parseFloat(t.priceGroup.storePostageDiscount).toFixed(2):null,K=t.coupon_price>0?t.$t("优惠券抵扣"):null,N=t.coupon_price>0?t.$t("¥"):null,E=t.coupon_price>0?parseFloat(t.coupon_price).toFixed(2):null,M=t.integral_price>0?t.$t("积分抵扣"):null,j=t.integral_price>0?t.$t("¥"):null,H=t.integral_price>0?parseFloat(t.integral_price).toFixed(2):null,U=t.$t("合计"),R=t.$t("¥"),J=t.valid_count>0&&!t.discount_id||t.valid_count==t.cartInfo.length&&t.discount_id,Q=J?t.$t("提交订单"):null,q=J?null:t.$t("提交订单");t._isMounted||(t.e0=function(e){t.inputTrip=!1}),t.$mp.data=Object.assign({},{$root:{m0:i,m1:n,m2:s,m3:a,m4:o,m5:r,g0:c,m6:u,g1:d,m7:l,m8:p,m9:h,m10:f,m11:g,m12:m,m13:I,m14:v,m15:_,m16:$,m17:y,m18:T,g2:b,l0:k,m25:P,m26:w,m27:C,m28:S,g4:L,m29:x,m30:A,g5:G,m31:F,m32:D,g6:B,m33:O,m34:W,g7:z,m35:K,m36:N,g8:E,m37:M,m38:j,g9:H,m39:U,m40:R,g10:J,m41:Q,m42:q}})},s=[]},"9c06":function(t,e,i){"use strict";(function(t,e){var n=i("4ea4");i("4789");n(i("66fd"));var s=n(i("6845"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(s.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])},e076:function(t,e,i){}},[["9c06","common/runtime","common/vendor"]]]);