1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-dai_ruku"],{"1de5":function(e,t,i){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},3494:function(e,t,i){e.exports=i.p+"static/img/arrow.ad35c373.png"},3769:function(e,t,i){"use strict";var o=i("7e18"),n=i.n(o);n.a},5162:function(e,t,i){"use strict";var o;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return o}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"RuKuContainer"},[i("v-uni-view",{staticClass:"orderList"},e._l(e.list,(function(t){return i("v-uni-view",{key:t.id,staticClass:"orderItem"},[i("v-uni-view",{staticClass:"Header",class:t.toggle?"open":"",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),t.toggle=!t.toggle}}},[i("v-uni-view",{staticClass:"num"},[e._v("第"+e._s(t.number)+"次发货,共"+e._s(t.get_express.length)+"箱")]),i("v-uni-view",{staticClass:"type"},[e._v(e._s(t.express_com))]),i("v-uni-view",{staticClass:"time"},[e._v(e._s(e._f("dateFormatter")(t.created_at,"yyyy/MM/dd")))])],1),t.toggle?i("v-uni-view",{staticClass:"hideBody"},e._l(t.get_express,(function(o){return i("v-uni-view",{key:o.id,staticClass:"hideItem"},[i("v-uni-view",{staticClass:"hideNum"},[i("v-uni-view",{staticClass:"num"},[e._v("第"+e._s(o.count)+"箱")]),i("v-uni-view",{staticClass:"orderNum"},[e._v("单号:"+e._s(o.express_number))])],1),i("v-uni-view",{staticClass:"control"},[i("v-uni-view",{staticClass:"textBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toInfo(o)}}},[e._v("货物详情")]),i("v-uni-view",{staticClass:"textBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.logisticsQuery(o)}}},[e._v("物流查询")]),i("v-uni-view",{staticClass:"btn",class:!t.is_per||o.put_status?"disable":"",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toRuKu(t,o)}}},[e._v("入库")])],1)],1)})),1):e._e()],1)})),1)],1)},r=[]},"585a":function(e,t,i){var o=i("24fb"),n=i("1de5"),r=i("3494");t=o(!1);var a=n(r);t.push([e.i,'@charset "UTF-8";.app-item[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-2a1651c8]{margin-top:%?10?%}.app-item uni-input[data-v-2a1651c8], .app-item uni-picker[data-v-2a1651c8], .app-item uni-textarea[data-v-2a1651c8]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-2a1651c8]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-2a1651c8]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-2a1651c8]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-2a1651c8]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2a1651c8]{color:#fff;background:#f76454}.small-btn[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2a1651c8]{color:#999;border-color:#999}.login-btn[data-v-2a1651c8]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2a1651c8]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-2a1651c8]{margin-right:%?20?%}.border-right[data-v-2a1651c8]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-2a1651c8]{margin-right:%?6?%}.position-center[data-v-2a1651c8]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-2a1651c8]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-2a1651c8]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-2a1651c8]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-2a1651c8]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-2a1651c8]{color:#f76454}.swiper-nav[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-2a1651c8]{color:#f76454}.swiper-nav .moveBar[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-2a1651c8]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-2a1651c8]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-2a1651c8]{width:100%;height:100%}.article-header[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-2a1651c8]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2a1651c8]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-2a1651c8]{color:#f76454}.article-footer[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-2a1651c8]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-2a1651c8]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-2a1651c8]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.RuKuContainer[data-v-2a1651c8]{width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1;background-color:#f9f9fb}.RuKuContainer .btn[data-v-2a1651c8]{width:%?140?%;height:%?56?%;border-radius:%?8?%;background-color:#ea4a41;color:#fff;font-size:%?28?%;line-height:%?56?%;text-align:center;text-align:center}.RuKuContainer .orderList[data-v-2a1651c8]{width:100%}.RuKuContainer .orderList .orderItem[data-v-2a1651c8]{width:100%;margin-bottom:%?30?%;background-color:#fff}.RuKuContainer .orderList .orderItem .Header[data-v-2a1651c8]{width:100%;height:%?104?%;background-color:#fff;padding:0 %?30?%;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.RuKuContainer .orderList .orderItem .Header .num[data-v-2a1651c8]{color:#333;font-size:%?32?%;line-height:%?44?%;font-weight:700}.RuKuContainer .orderList .orderItem .Header .type[data-v-2a1651c8], .RuKuContainer .orderList .orderItem .Header .time[data-v-2a1651c8]{color:#999;font-size:%?28?%;line-height:%?40?%}.RuKuContainer .orderList .orderItem .Header[data-v-2a1651c8]::after{content:"";display:block;width:%?30?%;height:%?30?%;background-image:url('+a+');background-position:50%;background-size:cover;background-repeat:no-repeat}.RuKuContainer .orderList .orderItem .Header.open[data-v-2a1651c8]::after{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}.RuKuContainer .orderList .orderItem .hideBody[data-v-2a1651c8]{width:100%;padding-bottom:%?30?%}.RuKuContainer .orderList .orderItem .hideBody .hideItem[data-v-2a1651c8]{width:calc(100% - %?60?%);margin:0 auto %?30?% auto;padding:%?30?%;box-sizing:border-box;background-color:#f9f9fb;border-radius:%?24?%}.RuKuContainer .orderList .orderItem .hideBody .hideItem[data-v-2a1651c8]:nth-last-of-type(1){margin-bottom:0}.RuKuContainer .orderList .orderItem .hideBody .hideItem .hideNum[data-v-2a1651c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding-bottom:%?20?%;border-bottom:1px solid #eee;margin-bottom:%?26?%;color:#333;font-size:%?32?%;line-height:%?44?%}.RuKuContainer .orderList .orderItem .hideBody .hideItem .hideNum .num[data-v-2a1651c8]{width:%?120?%;text-align:left}.RuKuContainer .orderList .orderItem .hideBody .hideItem .hideNum .orderNum[data-v-2a1651c8]{-webkit-box-flex:1;-webkit-flex:1;flex:1;min-width:0}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control[data-v-2a1651c8]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .textBtn[data-v-2a1651c8], .RuKuContainer .orderList .orderItem .hideBody .hideItem .control .btn[data-v-2a1651c8]{width:calc((100% - %?120?%) / 3)}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .textBtn[data-v-2a1651c8]{color:#ea4a41;font-size:%?32?%;line-height:%?44?%;text-align:left;position:relative;margin-right:%?60?%}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .textBtn[data-v-2a1651c8]::after{content:"";display:block;width:1px;height:%?26?%;background-color:#eee;position:absolute;top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .btn.disable[data-v-2a1651c8]{background-color:#f9f9fb!important;color:#999!important;border:1px solid #eee;box-sizing:border-box}',""]),e.exports=t},"7e18":function(e,t,i){var o=i("585a");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var n=i("4f06").default;n("66965e98",o,!0,{sourceMap:!1,shadowMode:!1})},8968:function(e,t,i){"use strict";i("d81d"),i("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i("d929"),n={data:function(){return{list:[],order_id:"",initOpenId:""}},onShow:function(){var e=getCurrentPages().pop();this.order_id=e.options.order_id,this.getOrderInfo()},methods:{getOrderInfo:function(){uni.showLoading();var e=this;(0,o.goodsInfo)({id:e.order_id}).then((function(t){if(uni.hideLoading(),200===t.code){var i=uni.getStorageSync("rukuOpenId");e.list=t.data.list.map((function(e){return e.toggle=i&&Number(i)===Number(e.id),e}))}else uni.showModal({content:t.message||"获取货物详情失败",showCancel:!1})})).catch((function(){uni.hideLoading(),uni.showModal({content:"获取货物详情失败",showCancel:!1})}))},toInfo:function(e){this.toUrlLink("stock/ing_ruku?status=0&order_id="+e.id)},logisticsQuery:function(e){uni.navigateTo({url:"../logistics-details/logistics-details?id="+e.id+"&express_com="+e.express_com+"&express_number="+e.express_number})},toRuKu:function(e,t){if(!e.is_per||t.put_status)return!1;var i=this;uni.setStorage({key:"rukuOpenId",data:e.id,success:function(){i.toUrlLink("stock/ing_ruku?status=1&order_id="+t.id)}})},toUrlLink:function(e){if(!e)return!1;uni.navigateTo({url:"../".concat(e)})}}};t.default=n},d929:function(e,t,i){"use strict";var o=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.stockRecordDetailNew=t.stockRecordNew=t.publishRuKuNew=t.panKuRecordDetail=t.panKuRecord=t.allStock=t.myStock=t.allDaiRuKu=t.stockRecordDetail=t.stockRecord=t.morePanKuRevise=t.publishRuKu=t.goodsDetail=t.publishFirstPanKu=t.goodsInfo=t.publishChuKu=t.getPanKuStock=t.stockGoods=void 0;var n=o(i("fce7")),r=function(){return n.default.get("/storage/storage_detail")};t.stockGoods=r;var a=function(){return n.default.get("/storage/get_storage")};t.getPanKuStock=a;var c=function(e){return n.default.post("/storage/out_storage",e)};t.publishChuKu=c;var d=function(e){return n.default.get("/order/look_good",e)};t.goodsInfo=d;var s=function(e){return n.default.post("/storage/one_sure_storage",e)};t.publishFirstPanKu=s;var l=function(e){return n.default.get("/order/good_detail",e)};t.goodsDetail=l;var b=function(e){return n.default.get("/storage/put_good_storage",e)};t.publishRuKu=b;var u=function(e){return n.default.post("/storage/sure_storage",e)};t.morePanKuRevise=u;var f=function(e){return n.default.get("/storage/put_storage_group",e)};t.stockRecord=f;var w=function(e){return n.default.get("/storage/put_storage_detail",e)};t.stockRecordDetail=w;var k=function(e){return n.default.get("/storage/put_storage",e)};t.allDaiRuKu=k;var g=function(){return n.default.get("/storage/my_storage")};t.myStock=g;var x=function(){return n.default.get("/storage/storage_detail")};t.allStock=x;var p=function(e){return n.default.get("/storage/sure_storage_group",e)};t.panKuRecord=p;var h=function(e){return n.default.get("/storage/sure_storage_detail",e)};t.panKuRecordDetail=h;var m=function(e){return n.default.post("/storage/put_storages",e)};t.publishRuKuNew=m;var v=function(e){return n.default.get("/storage/put_storage_groups",e)};t.stockRecordNew=v;var y=function(e){return n.default.get("/storage/put_storage_details",e)};t.stockRecordDetailNew=y},e895:function(e,t,i){"use strict";i.r(t);var o=i("8968"),n=i.n(o);for(var r in o)"default"!==r&&function(e){i.d(t,e,(function(){return o[e]}))}(r);t["default"]=n.a},f275:function(e,t,i){"use strict";i.r(t);var o=i("5162"),n=i("e895");for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("3769");var a,c=i("f0c5"),d=Object(c["a"])(n["default"],o["b"],o["c"],!1,null,"2a1651c8",null,!1,o["a"],a);t["default"]=d.exports}}]);
|