12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/orderGoods/index"],{"40bb":function(t,e,n){"use strict";var a=n("5dfd"),u=n.n(a);u.a},"5dfd":function(t,e,n){},b2a4:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{statusType:{type:Number,default:0},virtualType:{type:Number,default:0},evaluate:{type:Number,default:0},oid:{type:Number,default:0},paid:{type:Number,default:0},cartInfo:{type:Array,default:function(){return[]}},orderId:{type:String,default:""},shipping_type:{type:Number,default:-1},delivery_type:{type:String,default:""},pay_price:{type:String,default:""},jump:{type:Boolean,default:!1},is_confirm:{type:Boolean,default:!1},is_behalf:{type:Boolean,default:!1},split:{type:Boolean,default:!1},jumpDetail:{type:Boolean,default:!1},index:{type:Number,default:0},pid:{type:Number,default:0},refund_status:{type:Number,default:0},status_type:{type:Number,default:0},isShow:{type:Boolean,default:!0},is_refund_available:{type:Boolean,default:!0}},data:function(){return{totalNmu:0,operationModel:!1,status:""}},watch:{cartInfo:function(t,e){var n=0;t.forEach((function(t,e){n+=t.cart_num})),this.totalNmu=n}},mounted:function(){var t=this,e=0;this.$nextTick((function(){t.cartInfo.forEach((function(t,n){e+=t.cart_num})),t.$set(t,"totalNmu",e)}))},methods:{evaluateTap:function(e,n){t.navigateTo({url:"/pages/goods/goods_comment_con/index?unique="+e+"&uni="+n})},jumpCon:function(e){this.jump?t.navigateTo({url:"/pages/goods_details/index?id=".concat(e)}):this.jumpDetail&&t.navigateTo({url:"/pages/goods/order_details/index?order_id=".concat(this.orderId)})},logistics:function(e){t.navigateTo({url:"/pages/goods/goods_logistics/index?orderId="+e})},confirmOrder:function(t){this.$emit("confirmOrder",t)},changeOperation:function(){this.operationModel=!this.operationModel},openSubcribe:function(t){var e=[];e.push({cart_id:t.id,cart_num:t.surplus_refund_num});var n=JSON.stringify(e);this.$emit("openSubcribe","/pages/goods/goods_return/index?orderId=".concat(this.orderId,"&id=").concat(this.oid,"&cartIds=").concat(n))}}};e.default=n}).call(this,n("543d")["default"])},be0d:function(t,e,n){"use strict";n.r(e);var a=n("b2a4"),u=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=u.a},cca8:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=(t._self._c,t.is_behalf?t.$t("代付金额"):null),a=t.is_behalf||t.split||t.is_behalf?null:t.$t("共"),u=t.is_behalf||t.split||t.is_behalf?null:t.$t("件商品"),i=!t.is_behalf&&(t.split||t.is_behalf)&&t.split?t.$t("订单包裹"):null,o=!t.is_behalf&&(t.split||t.is_behalf)&&t.split&&-1===t.status_type?t.$t("申请退款中"):null,l=!t.is_behalf&&(t.split||t.is_behalf)&&t.split&&-1!==t.status_type&&-2===t.status_type?t.$t("已退款"):null,r=!t.is_behalf&&(t.split||t.is_behalf)&&t.split&&-1!==t.status_type&&-2!==t.status_type&&4===t.status_type?t.$t("已完成"):null,s=t.__map(t.cartInfo,(function(e,n){var a=t.__get_orig(e),u=e.productInfo.attrInfo?t.$t("¥"):null,i=e.productInfo.attrInfo&&e.refund_num&&-2!=t.statusType?t.$t("件退款中"):null,o=e.productInfo.attrInfo&&!e.is_valid&&0===t.shipping_type?t.$t("不支持配送"):null,l=e.productInfo.attrInfo&&!e.productInfo.store_mention&&1===t.shipping_type?t.$t("不支持自提"):null,r=e.productInfo.attrInfo?null:t.$t("¥"),s=e.productInfo.attrInfo||e.is_valid||0!==t.shipping_type?null:t.$t("仅支持到店"),d=e.productInfo.attrInfo||e.productInfo.store_mention||1!==t.shipping_type?null:t.$t("仅支持配送"),f=0==e.is_reply&&3==t.evaluate&&-1!=t.pid&&t.isShow?t.$t("评价"):null,p=1===t.paid&&0===t.refund_status&&e.refund_num!=e.cart_num&&!t.is_confirm&&t.is_refund_available&&t.isShow&&(0==t.virtualType||t.virtualType>0&&1==t.statusType)?t.$t("申请退款"):null,c=2===t.status_type&&n===t.cartInfo.length-1||!t.split,_=c&&"express"===t.delivery_type?t.$t("查看物流"):null,m=c&&2===t.status_type?t.$t("确认收货"):null;return{$orig:a,m7:u,m8:i,m9:o,m10:l,m11:r,m12:s,m13:d,m14:f,m15:p,g0:c,m16:_,m17:m}}));t.$mp.data=Object.assign({},{$root:{m0:n,m1:a,m2:u,m3:i,m4:o,m5:l,m6:r,l0:s}})},u=[]},cf6a:function(t,e,n){"use strict";n.r(e);var a=n("cca8"),u=n("be0d");for(var i in u)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(i);n("40bb");var o=n("f0c5"),l=Object(o["a"])(u["default"],a["b"],a["c"],!1,null,"224adcc5",null,!1,a["a"],void 0);e["default"]=l.exports}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'components/orderGoods/index-create-component',
- {
- 'components/orderGoods/index-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('543d')['createComponent'](__webpack_require__("cf6a"))
- })
- },
- [['components/orderGoods/index-create-component']]
- ]);
|