1 line
32 KiB
JavaScript
1 line
32 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_invoice_order-index"],{"0782":function(e,t,r){"use strict";r("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r("64aa"),r("bf0f"),r("2797"),r("c223");r("3a60");var i=r("8f59"),a={props:{evaluate:{type:Number,default:0},activityType:{type:Number,default:0},cartInfo:{type:Array,default:function(){return[]}},orderId:{type:String,default:""},jump:{type:Boolean,default:!1},orderData:{type:Object,default:function(){return{}}}},computed:(0,i.mapGetters)(["viewColor"]),data:function(){return{totalNmu:"",isTimePay:!1}},watch:{cartInfo:function(e,t){var r=0;e.forEach((function(e,t){r+=e.cart_num})),this.totalNmu=r}},onShow:function(){this.isPayBalance()},mounted:function(){},methods:{evaluateTap:function(e,t){uni.navigateTo({url:"/pages/users/goods_comment_con/index?uni=".concat(e,"&order_id=").concat(t)})},isPayBalance:function(){10===this.orderData.status&&(new Date<new Date(this.orderData.presellOrder.final_start_time)?this.isTimePay=!1:new Date>=new Date(this.orderData.presellOrder.final_start_time)&&new Date<=new Date(this.orderData.presellOrder.final_start_time)&&(this.isTimePay=!0))},jumpCon:function(e){this.jump&&(2==this.activityType?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(e)}):uni.navigateTo({url:"/pages/goods_details/index?id=".concat(e)}))},refund:function(e){0==this.evaluate?uni.navigateTo({url:"/pages/users/refund/confirm?order_id="+this.orderId+"&type=1&ids="+e.order_product_id+"&refund_type=1"}):uni.navigateTo({url:"/pages/users/refund/select?order_id="+this.orderId+"&type=1&ids="+e.order_product_id})}}};t.default=a},"0af7":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"orderGoods",style:e.viewColor},[r("v-uni-view",{staticClass:"goodWrapper"},[r("v-uni-view",{staticClass:"title"},[e._v("共"+e._s(e.cartInfo.length)+"件商品")]),e._l(e.cartInfo,(function(t,i){return r("v-uni-view",{key:i},[r("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[r("v-uni-view",{staticClass:"pictrue",on:{click:function(r){arguments[0]=r=e.$handleEvent(r),e.jumpCon(t.product_id)}}},[r("v-uni-image",{attrs:{src:t.cart_info.productAttr&&t.cart_info.productAttr.image||t.cart_info.product.image}})],1),r("v-uni-view",{staticClass:"text"},[r("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[r("v-uni-view",{staticClass:"name line1"},[e._v(e._s(t.cart_info.product.store_name))]),r("v-uni-view",{staticClass:"num"},[e._v("x "+e._s(t.product_num))])],1),t.cart_info.productAttr.sku?r("v-uni-view",{staticClass:"attr line1"},[e._v(e._s(t.cart_info.productAttr.sku))]):e._e(),r("v-uni-view",{staticClass:"acea-row row-middle item-money"},[r("v-uni-view",{staticClass:"moneys"},[e._v("¥"+e._s(t.cart_info.productAttr.price))]),1==t.is_refund?r("v-uni-view",{staticClass:"btn-item err"},[e._v("退款中 x "+e._s(t.product_num-t.refund_num))]):e._e(),t.is_refund>1?r("v-uni-view",{staticClass:"btn-item err"},[e._v("已退款 x "+e._s(t.product_num-t.refund_num))]):e._e()],1)],1)],1)],1)}))],2)],1)},a=[]},3083:function(e,t,r){"use strict";var i=r("d885"),a=r.n(i);a.a},"3a60":function(e,t,r){"use strict";r("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.arrivalSubscribe=function(){var e=a();return o([e.PRODUCT_INCREASE])},t.auth=a,t.openEextractSubscribe=function(){var e=a();return o([e.EXTRACT_NOTICE])},t.openExtrctSubscribe=function(){var e=a();return o([e.EXTRACT_NOTICE])},t.openOrderRefundSubscribe=function(){var e=a();return o([e.REFUND_CONFORM_CODE])},t.openOrderSubscribe=function(){var e=a();return o([e.ORDER_DELIVER_SUCCESS,e.DELIVER_GOODS_CODE])},t.openPaySubscribe=function(){var e=a();return o([e.DELIVER_GOODS_CODE,e.ORDER_DELIVER_SUCCESS,e.ORDER_PAY_SUCCESS])},t.openRechargeSubscribe=function(){var e=a();return o([e.USER_BALANCE_CHANGE])},t.subscribe=o,r("bf0f");var i=r("d838");function a(){var e,t=uni.getStorage
|