1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-deliver-detail-deliver-detail"],{"0428":function(module,exports,__webpack_require__){"use strict";__webpack_require__("7a82"),Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,__webpack_require__("fb6a"),__webpack_require__("99af"),__webpack_require__("e9c4"),__webpack_require__("d81d");var _deliver=__webpack_require__("c474"),_stock=__webpack_require__("a7d3"),_default={data:function(){return{dateList:"",detailList:"",params:{page_index:1,page_size:10},total:0,isStorage:!1}},onLoad:function(){this.getDate()},filters:{getAds:function(t){return t.length>15?t.slice(0,15)+"...":t},getNickname:function(t){return t.length>5?t.slice(0,5)+"...":t}},methods:{giftsList:function giftsList(btem){null===btem.remark&&(btem.remark="");var obj=eval(btem.notes);uni.navigateTo({url:"../gifts_list/gifts_list?remark=".concat(btem.remark,"&item=").concat(encodeURIComponent(JSON.stringify(obj)))})},changeSwitch:function(t,e){var i=this,a=this.dateList;if(0==a.length)return uni.showToast({title:"暂无数据",icon:"none"}),!1;a.map((function(t,a){a==e?(t.switch=!t.switch,t.switch&&i.getDetail(t.date)):i.$set(t,"switch",!1)}))},getDate:function(t){var e=this,i=this.params;(0,_deliver.getGroup)(i).then((function(i){if(200==i.code){var a=i.data.list;if(0==a.length)return!1;a.map((function(t,i){0==i?e.$set(t,"switch",!0):e.$set(t,"switch",!1)})),e.total=Math.ceil(i.data.total/e.params.page_size),e.dateList=t?e.dateList.concat(a):a,e.getDetail(i.data.list[0].date,i.data.list[0].switch)}else uni.showModal({content:i.message||"获取列表失败",showCancel:!1})}))},skipOrder:function(t){uni.navigateTo({url:"../order-detail1/order-detail1?order_num="+t})},getDetail:function(t,e){var i=this;(0,_deliver.getDetail)({time:t}).then((function(t){if(200==t.code){var a=t.data.list;a.map((function(t,a){0==a&&e?i.$set(t,"toggle",!0):i.$set(t,"toggle",!1)})),i.detailList=a}else uni.showModal({content:t.message||"获取详情失败",showCancel:!1})}))},getMore:function(){if(this.params.page_index>this.total)return uni.showToast({title:"没有更多啦~",icon:"none"}),!1;this.params.page_index++,this.getDate(!0)},goodsDetail:function(t,e,i,a){null===a&&(a="");var o="";o=t.good_user_id==t.user_id&&0==i?1:0,uni.navigateTo({url:"../stock/ing_ruku?order_id="+e+"&status="+o+"&remark="+a})},getLog:function(t){var e=t.express_number,i=t.express_com,a=t.id;uni.navigateTo({url:"../logistics-details/logistics-details?express_number="+e+"&express_com="+i+"&id="+a})},toPublishRuKu:function(t,e,i){var a=this;uni.showModal({content:"入库时请确认商品信息是否正确",confirmText:"入库",cancelText:"取消",success:function(o){o.confirm&&(uni.showLoading(),(0,_stock.publishRuKu)({id:t}).then((function(t){uni.hideLoading(),200===t.code?(a.detailList[e].get_order.get_express[i].put_status=1,uni.showModal({content:"入库成功",showCancel:!1})):uni.showModal({content:t.message||"入库失败",showCancel:!1})})).catch((function(){uni.hideLoading(),uni.showModal({content:"入库失败",showCancel:!1})})))}})}}};exports.default=_default},"09a9":function(t,e,i){t.exports=i.p+"static/img/no_finish.22bbcad5.png"},"773d":function(t,e,i){t.exports=i.p+"static/img/no_record.51341960.png"},a7d3:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.stockRecordNew=e.stockRecordDetailNew=e.stockRecordDetail=e.stockRecord=e.stockGoods=e.publishRuKuNew=e.publishRuKu=e.publishFirstPanKu=e.publishChuKu=e.panKuRecordDetail=e.panKuRecord=e.myStock=e.morePanKuRevise=e.goodsInfo=e.goodsDetail=e.getScanLog=e.getPanKuStock=e.allStock=e.allDaiRuKu=e.GetExpressInnage=void 0;var o=a(i("ef1d"));e.stockGoods=function(){return o.default.get("/storage/storage_detail")};e.getPanKuStock=function(){return o.default.get("/storage/get_storage")};e.publishChuKu=function(t){return o.default.post("/storage/out_storage",t)};e.goodsInfo=function(t){return o.default.get("/order/look_good",t)};e.publishFirstPanKu=function(t){return o.default.post("/storage/one_sure_storage",t)};e.goodsDetail=function(t){return o.default.get("/order/good_detail",t)};e.publishRuKu=function(t){return o.default.get("/storage/put_good_storage",t)};e.morePanKuRevise=function(t){return o.default.post("/storage/sure_storage",t)};e.stockRecord=function(t){return o.default.get("/storage/put_storage_group",t)};e.stockRecordDetail=function(t){return o.default.get("/storage/put_storage_detail",t)};e.allDaiRuKu=function(t){return o.default.get("/storage/put_storage",t)};e.myStock=function(){return o.default.get("/storage/my_storage")};e.allStock=function(){return o.default.get("/storage/storage_detail")};e.panKuRecord=function(t){return o.default.get("/storage/sure_storage_group",t)};e.panKuRecordDetail=function(t){return o.default.get("/storage/sure_storage_detail",t)};e.publishRuKuNew=function(t){return o.default.post("/storage/put_storages",t)};e.stockRecordNew=function(t){return o.default.get("/storage/put_storage_groups",t)};e.stockRecordDetailNew=function(t){return o.default.get("/storage/put_storage_details",t)};e.GetExpressInnage=function(t){return o.default.get("/express/GetExpressInnage",t)};e.getScanLog=function(t){return o.default.get("/UserSend/getScanLog",t)}},abbb:function(t,e,i){"use strict";i.r(e);var a=i("c0cc"),o=i("d720");for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("af5b");var r=i("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"00621f88",null,!1,a["a"],void 0);e["default"]=s.exports},af5b:function(t,e,i){"use strict";var a=i("f904"),o=i.n(a);o.a},bc04:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-00621f88]{margin-top:%?10?%}.app-item uni-input[data-v-00621f88], .app-item uni-picker[data-v-00621f88], .app-item uni-textarea[data-v-00621f88]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-00621f88]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-00621f88]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-00621f88]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-00621f88]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-00621f88]{color:#fff;background:#f76454}.small-btn[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-00621f88]{color:#999;border-color:#999}.login-btn[data-v-00621f88]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-00621f88]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-00621f88]{margin-right:%?20?%}.border-right[data-v-00621f88]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-00621f88]{margin-right:%?6?%}.position-center[data-v-00621f88]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-00621f88]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-00621f88]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-00621f88]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-00621f88]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-00621f88]{color:#f76454}.swiper-nav[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-00621f88]{color:#f76454}.swiper-nav .moveBar[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-00621f88]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-00621f88]{flex:1;width:100%}.swiper-area uni-swiper[data-v-00621f88]{width:100%;height:100%}.article-header[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-00621f88]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-00621f88]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-00621f88]{color:#f76454}.article-footer[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-00621f88]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-00621f88]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-00621f88]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-00621f88]{color:#f76454}\n/*主题色及按钮渐变背景*/\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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.list uni-view[data-v-00621f88],\n.list uni-text[data-v-00621f88]{font-weight:500}.list .list_con[data-v-00621f88]{width:100%;height:%?120?%;padding:0 %?30?%;background:#fff;box-sizing:border-box}.list .list_con uni-image[data-v-00621f88]{width:%?35?%;height:%?35?%;vertical-align:%?-6?%}.list .list_con .circle_out[data-v-00621f88]{width:%?44?%;height:%?44?%;background:rgba(234,74,65,.2);border-radius:50%}.list .list_con .circle_out .circle_in[data-v-00621f88]{width:%?28?%;height:%?28?%;background:#ea4a41;border-radius:50%}.list .list_con .date[data-v-00621f88]{color:#fb231f;font-size:%?32?%;margin:0 %?30?% 0 %?15?%}.list .list_con .order_count[data-v-00621f88]{font-size:%?32?%;margin-top:%?-10?%}.list .list_con .noList[data-v-00621f88]{width:100%;text-align:center;font-size:%?28?%;color:#999;margin-top:%?150?%}.list .block[data-v-00621f88]{width:100%;height:%?30?%;background:#f9f9fb}.list .con_detail[data-v-00621f88]{width:%?690?%;margin:0 auto %?30?%;padding:%?20?% %?70?% %?20?% %?20?%;box-sizing:border-box;border-radius:%?24?%;background:#f8f8f8;position:relative}.list .con_detail .state[data-v-00621f88]{width:%?108?%;height:%?98?%;position:absolute;top:0;right:%?10?%}.list .con_detail .detail > uni-view[data-v-00621f88]{margin-top:%?20?%;font-size:%?32?%}.list .con_detail .detail > uni-view .order_no[data-v-00621f88]{color:#3394f8}.list .con_detail .more[data-v-00621f88]{position:relative;color:#fb231f}.list .con_detail .more[data-v-00621f88]::after{content:"";display:block;width:%?15?%;height:%?15?%;position:absolute;top:%?15?%;right:%?-30?%}.list .con_detail .close[data-v-00621f88]::after{border-top:%?3?% solid #fb231f;border-right:%?3?% solid #fb231f;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.list .con_detail .open[data-v-00621f88]::after{border-top:%?3?% solid #fb231f;border-right:%?3?% solid #fb231f;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.list .con_detail .box .box_con[data-v-00621f88]{width:%?630?%;height:%?194?%;background:#fff;margin-top:%?30?%;padding:%?15?% %?30?%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;border-radius:%?24?%;position:relative}.list .con_detail .box .box_con .box_fix[data-v-00621f88]{width:%?6?%;height:%?84?%;background:#fb231f;position:absolute;top:%?56?%;left:0}.list .con_detail .box .box_con .box_btn[data-v-00621f88]{width:%?100?%;height:%?56?%;line-height:%?56?%;text-align:center;color:#fff;border-radius:%?8?%;font-size:%?28?%}.list .con_detail .box .box_con .gray_btn[data-v-00621f88]{background:#999}.list .con_detail .box .box_con .active_btn[data-v-00621f88]{background:linear-gradient(88deg,#f97c55,#f44545)}.list .con_detail .box .box_con .flexe[data-v-00621f88]{display:flex;justify-content:center}.list .con_detail .box .box_con .opera[data-v-00621f88]{border-top:%?2?% solid #eee;padding-top:%?15?%}.list .con_detail .box .box_con .opera .search[data-v-00621f88]{color:#fb231f;width:30%;text-align:center;font-size:%?28?%;border-right:%?2?% solid #eee}.list .con_detail .box .box_con .opera .searcht[data-v-00621f88]{color:#fb231f;width:100%;text-align:center;font-size:%?28?%}.list .con_detail .box .box_con .opera .searche[data-v-00621f88]{color:#fb231f;width:100%;text-align:center;font-size:%?28?%;border-right:%?2?% solid #eee}',""]),t.exports=e},c0cc:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"list"},[t._l(t.dateList,(function(e,o){return a("v-uni-view",{key:o},[a("v-uni-view",{staticClass:"list_con flexB",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeSwitch(e,o)}}},[a("v-uni-view",{staticClass:"flexS"},[a("v-uni-view",{staticClass:"circle_out flexCC"},[a("v-uni-view",{staticClass:"circle_in"})],1),a("v-uni-text",{staticClass:"date"},[t._v(t._s(e.date))]),a("v-uni-text",{staticClass:"order_count"},[t._v("订单数:"+t._s(e.count))])],1),a("v-uni-image",{attrs:{src:i("d8ba")}})],1),e.switch?a("v-uni-view",{staticStyle:{"margin-bottom":"30rpx"}},t._l(t.detailList,(function(e,o){return a("v-uni-view",{key:"key"+o,staticClass:"con_detail"},[e.get_order&&2==e.get_order.track_status?a("v-uni-image",{staticClass:"state",attrs:{src:i("f9cb")}}):a("v-uni-image",{staticClass:"state",attrs:{src:i("09a9")}}),e.get_order?a("v-uni-view",{staticClass:"detail"},[a("v-uni-view",[a("v-uni-text",[t._v("订单编号:")]),a("v-uni-text",{staticClass:"order_no"},[t._v(t._s(e.get_order.order_num))])],1),a("v-uni-view",[a("v-uni-text",[t._v("收货人:")]),e.get_order.address?a("v-uni-text",[t._v(t._s(t._f("getNickname")(e.get_order.address.username)))]):t._e(),a("v-uni-text",{staticStyle:{"font-size":"28rpx","margin-left":"15rpx"}},[t._v(t._s(e.get_order.address.mobile))])],1),a("v-uni-view",[a("v-uni-text",[t._v("地址:")]),a("v-uni-text",[t._v(t._s(e.get_order.address.province)+t._s(e.get_order.address.city)+t._s(e.get_order.address.town)+t._s(e.get_order.address.address))])],1),a("v-uni-view",{staticClass:"flexB"},[e.get_order.get_express?a("v-uni-view",[t._v("箱数:"+t._s(e.get_order.get_express.length?e.get_order.get_express.length:0)+"箱")]):t._e(),a("v-uni-view",{staticClass:"more",class:e.toggle?"open":"close",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),e.toggle=!e.toggle}}},[t._v("查看详情")])],1)],1):t._e(),e.toggle&&e.get_order?a("v-uni-view",{staticClass:"box"},t._l(e.get_order.get_express,(function(e,i){return a("v-uni-view",{key:i,staticClass:"box_con"},[1===e.is_gift?a("v-uni-view",{staticClass:"box_fix"}):t._e(),a("v-uni-view",{staticClass:"flexS",staticStyle:{"margin-bottom":"15rpx"}},[a("v-uni-text",[t._v("第"+t._s(i+1)+"箱")]),a("v-uni-text",{staticStyle:{margin:"0 30rpx"}},[t._v(t._s(e.express_com))]),a("v-uni-text",[t._v("单号:"+t._s(e.express_number))])],1),0===e.is_gift?a("v-uni-view",{staticClass:"flexB opera"},[a("v-uni-view",{staticClass:"search",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goodsDetail(e,e.id,e.put_status,e.remark)}}},[t._v("货物详情")]),a("v-uni-view",{staticClass:"search",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getLog(e)}}},[t._v("物流查询")]),a("v-uni-view",{staticClass:"box_btn",class:e.good_user_id!=e.user_id||1==e.put_status?"gray_btn":"active_btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),e.good_user_id==e.user_id&&0==e.put_status&&t.toPublishRuKu(e.id,o,i)}}},[t._v(t._s(1==e.put_status?"已入库":"入库"))])],1):t._e(),1===e.is_gift?a("v-uni-view",{staticClass:"flexe opera"},[a("v-uni-view",{staticClass:"searche",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.giftsList(e)}}},[t._v("礼品详情")]),a("v-uni-view",{staticClass:"searcht",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getLog(e)}}},[t._v("物流查询")])],1):t._e()],1)})),1):t._e()],1)})),1):t._e(),a("v-uni-view",{staticClass:"block"})],1)})),0==t.dateList.length?a("v-uni-view",{staticClass:"noData"},[a("v-uni-image",{attrs:{src:i("773d")}}),a("v-uni-view",{staticClass:"gray",staticStyle:{"font-size":"30rpx"}},[t._v("--暂无数据--")])],1):t._e()],2)],1)},o=[]},c474:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getGroup=e.getDetail=void 0;var o=a(i("ef1d"));e.getGroup=function(t){return o.default.get("/storage/get_group",t)};e.getDetail=function(t){return o.default.get("/storage/get_detail",t)}},d720:function(t,e,i){"use strict";i.r(e);var a=i("0428"),o=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},d8ba:function(t,e,i){t.exports=i.p+"static/img/arrow.a49c3717.png"},f904:function(t,e,i){var a=i("bc04");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("44e808ce",a,!0,{sourceMap:!1,shadowMode:!1})},f9cb:function(t,e,i){t.exports=i.p+"static/img/finish.da8ae899.png"}}]);
|