pages-stock-total.6f8ea569.js 19 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-total"],{"0e29":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d3b7"),a("159b"),a("b64b"),a("13d5"),a("4de4"),a("a9e3"),a("14d9");var n=a("a7d3"),o={data:function(){return{infoList:[]}},onLoad:function(){var t=this;uni.showLoading(),(0,n.allStock)().then((function(e){uni.hideLoading(),200===e.code?Object.keys(e.data).forEach((function(a){e.data[a].spec.length>0&&(e.data[a].toggle=!1,e.data[a].attr=t.changeKey(a),e.data[a].men=e.data[a].spec.filter((function(t){var e=t.sex;return e})).reduce((function(t,e){return t+Number(e.num)}),0),e.data[a].women=e.data[a].spec.filter((function(t){var e=t.sex;return!e})).reduce((function(t,e){return t+Number(e.num)}),0),e.data[a].total=e.data[a].spec.reduce((function(t,e){return t+Number(e.num)}),0),t.infoList.push(e.data[a]))})):uni.showModal({content:e.message||"获取详情失败",showCancel:!1})})).catch((function(){uni.hideLoading(),uni.showModal({content:"获取详情失败",showCancel:!1})}))},methods:{changeKey:function(t){var e="";switch(t){case"hard":e="精装版";break;case"new_old":e="纯棉版";break;case"old":e="高腰版";break;case"simple":e="简约版";break;case"youth":e="青春版";break;default:e="简约版";break}return e}}};e.default=o},"11d4":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"PanKuContainer"},[a("v-uni-view",{staticClass:"all"},[a("v-uni-view",{staticClass:"num"},[t._v("库存:总共"),a("v-uni-text",{staticClass:"spec"},[t._v(t._s(t.infoList.reduce((function(t,e){return t+Number(e.total)}),0)))]),t._v("套")],1)],1),a("v-uni-view",{staticClass:"goodList"},t._l(t.infoList,(function(e,n){return a("v-uni-view",{key:n,staticClass:"goodItem"},[a("v-uni-view",{staticClass:"top"},[a("v-uni-view",{staticClass:"avatar",style:{backgroundImage:"url("+e.imgurl+")"}}),a("v-uni-view",{staticClass:"info"},[a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"fixed"},[t._v("一年零一天不满意退钱")])],1)],1),a("v-uni-view",{staticClass:"skuContainer"},[a("v-uni-view",{staticClass:"header",class:e.toggle?"open":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),e.toggle=!e.toggle}}},[a("v-uni-view",{staticClass:"icon"}),a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.attr))])],1),e.toggle?a("v-uni-view",{staticClass:"skuList"},[a("v-uni-view",{staticClass:"skuHeader"},[a("v-uni-view",{staticClass:"type"},[t._v("规格")]),a("v-uni-view",{staticClass:"size"},[t._v("尺码")]),a("v-uni-view",{staticClass:"num"},[t._v("数量")])],1),t._l(e.spec,(function(e,n){return a("v-uni-view",{key:n,staticClass:"skuItem"},[a("v-uni-view",{staticClass:"type"},[t._v(t._s(e.sex?"男款":"女款"))]),a("v-uni-view",{staticClass:"size"},[t._v(t._s(e.size))]),a("v-uni-view",{staticClass:"num"},[t._v(t._s(e.num))])],1)}))],2):t._e(),a("v-uni-view",{staticClass:"dataAll"},[a("v-uni-view",{staticClass:"sex"},[t._v("男款:"+t._s(e.men)+"套\n\t\t\t\t\t\t/\n\t\t\t\t\t\t女款:"+t._s(e.women)+"套")]),a("v-uni-view",{staticClass:"num"},[t._v("合计:"),a("v-uni-text",{staticClass:"spec"},[t._v(t._s(e.total)+"套")])],1)],1)],1)],1)})),1)],1)},o=[]},1877:function(t,e,a){var n=a("24fb"),o=a("1de5"),i=a("3cb0");e=n(!1);var r=o(i);e.push([t.i,'@charset "UTF-8";.app-item[data-v-589968ba]{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-589968ba]{margin-top:%?10?%}.app-item uni-input[data-v-589968ba], .app-item uni-picker[data-v-589968ba], .app-item uni-textarea[data-v-589968ba]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-589968ba]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-589968ba]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-589968ba]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-589968ba]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-589968ba]{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-589968ba]{color:#fff;background:#f76454}.small-btn[data-v-589968ba]{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-589968ba]{color:#999;border-color:#999}.login-btn[data-v-589968ba]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-589968ba]{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-589968ba]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-589968ba]{margin-right:%?20?%}.border-right[data-v-589968ba]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-589968ba]{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-589968ba]{margin-right:%?6?%}.position-center[data-v-589968ba]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-589968ba]{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-589968ba]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-589968ba]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-589968ba]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-589968ba]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-589968ba]{color:#f76454}.swiper-nav[data-v-589968ba]{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-589968ba]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-589968ba]{color:#f76454}.swiper-nav .moveBar[data-v-589968ba]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-589968ba]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-589968ba]{flex:1;width:100%}.swiper-area uni-swiper[data-v-589968ba]{width:100%;height:100%}.article-header[data-v-589968ba]{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-589968ba]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-589968ba]{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-589968ba]{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-589968ba]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-589968ba]{color:#f76454}.article-footer[data-v-589968ba]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-589968ba]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-589968ba]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-589968ba]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-589968ba]{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/* 文章场景相关 */uni-page-body[data-v-589968ba]{display:flex;flex-direction:column}.PanKuContainer[data-v-589968ba]{width:100%;flex:1;background-color:#f9f9fb;padding:%?30?%}.PanKuContainer .btn[data-v-589968ba]{width:%?140?%;height:%?56?%;border-radius:%?8?%;background-color:#ea4a41;color:#fff;font-size:%?28?%;line-height:%?56?%;text-align:center;text-align:center}.PanKuContainer .all[data-v-589968ba]{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:%?30?%}.PanKuContainer .all .num[data-v-589968ba]{color:#333;font-size:%?36?%;line-height:%?50?%;font-weight:700}.PanKuContainer .all .num .spec[data-v-589968ba]{color:#ea4a41!important}.PanKuContainer .reviseBtn[data-v-589968ba]{position:fixed;bottom:0;left:0;right:0;height:%?100?%;display:flex;align-items:center;justify-content:space-between;background:#fff;color:#fff;font-size:%?32?%;padding:0 %?30?%}.PanKuContainer .reviseBtn .type[data-v-589968ba]{color:#999;font-size:%?28?%;margin-right:%?10?%}.PanKuContainer .reviseBtn .all[data-v-589968ba]{color:#333;font-size:%?28?%}.PanKuContainer .reviseBtn .num[data-v-589968ba]{font-size:%?40?%;color:#ea4a41}.PanKuContainer .reviseBtn .unit[data-v-589968ba]{font-size:%?28?%;color:#ea4a41}.PanKuContainer .reviseBtn .submitBtn[data-v-589968ba]{width:%?192?%;height:%?68?%;line-height:%?68?%;text-align:center;border-radius:%?68?%;background:linear-gradient(90deg,#f97c55,#f44545);color:#fff;font-size:%?28?%}.PanKuContainer .goodList[data-v-589968ba]{width:100%}.PanKuContainer .goodList .goodItem[data-v-589968ba]{width:100%;margin-bottom:%?30?%;box-sizing:border-box}.PanKuContainer .goodList .goodItem .top[data-v-589968ba]{width:100%;display:flex;align-items:stretch;justify-content:space-between;margin-bottom:%?40?%}.PanKuContainer .goodList .goodItem .top .avatar[data-v-589968ba]{width:%?180?%;height:%?144?%;background-color:#eee;background-position:50%;background-size:cover;background-repeat:no-repeat;border-radius:%?8?%}.PanKuContainer .goodList .goodItem .top .info[data-v-589968ba]{display:flex;justify-content:center;flex-direction:column;flex:1;overflow:hidden;margin-left:%?20?%}.PanKuContainer .goodList .goodItem .top .info .name[data-v-589968ba]{color:#333;font-size:%?32?%;line-height:%?44?%;margin-bottom:%?20?%}.PanKuContainer .goodList .goodItem .top .info .fixed[data-v-589968ba]{color:#f76454;font-size:%?28?%;height:%?40?%;line-height:%?40?%;border:1px solid #f76454;box-sizing:border-box;width:%?328?%;border-radius:%?40?%;color:#f76454;text-align:center}.PanKuContainer .goodList .goodItem .skuContainer[data-v-589968ba]{width:100%;background-color:#fff;box-sizing:border-box;border-radius:%?24?%;overflow:hidden}.PanKuContainer .goodList .goodItem .skuContainer .header[data-v-589968ba]{width:100%;height:%?104?%;padding:0 %?30?%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;border-bottom:1px solid #eee}.PanKuContainer .goodList .goodItem .skuContainer .header .icon[data-v-589968ba]{width:%?30?%;height:%?30?%;border-radius:50%;background-color:rgba(234,74,65,.36);margin-right:%?10?%;display:flex;align-items:center;justify-content:center}.PanKuContainer .goodList .goodItem .skuContainer .header .icon[data-v-589968ba]::before{content:"";display:block;width:%?18?%;height:%?18?%;border-radius:50%;background-color:#ea4a41}.PanKuContainer .goodList .goodItem .skuContainer .header .name[data-v-589968ba]{color:#333;font-size:%?32?%;line-height:%?44?%}.PanKuContainer .goodList .goodItem .skuContainer .header[data-v-589968ba]::after{display:block;content:"";margin-left:auto;width:%?30?%;height:%?30?%;background-image:url('+r+");background-position:50%;background-size:cover;background-repeat:no-repeat}.PanKuContainer .goodList .goodItem .skuContainer .header.open[data-v-589968ba]::after{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}.PanKuContainer .goodList .goodItem .skuContainer .skuList[data-v-589968ba]{width:100%}.PanKuContainer .goodList .goodItem .skuContainer .skuList .skuHeader[data-v-589968ba], .PanKuContainer .goodList .goodItem .skuContainer .skuList .skuItem[data-v-589968ba]{width:100%;height:%?100?%;padding:0 %?30?%;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee}.PanKuContainer .goodList .goodItem .skuContainer .skuList .skuHeader .type[data-v-589968ba], .PanKuContainer .goodList .goodItem .skuContainer .skuList .skuHeader .size[data-v-589968ba], .PanKuContainer .goodList .goodItem .skuContainer .skuList .skuHeader .num[data-v-589968ba], .PanKuContainer .goodList .goodItem .skuContainer .skuList .skuItem .type[data-v-589968ba], .PanKuContainer .goodList .goodItem .skuContainer .skuList .skuItem .size[data-v-589968ba], .PanKuContainer .goodList .goodItem .skuContainer .skuList .skuItem .num[data-v-589968ba]{flex:1;overflow:hidden;display:flex;align-items:center;justify-content:center}.PanKuContainer .goodList .goodItem .skuContainer .skuList .skuHeader .type[data-v-589968ba], .PanKuContainer .goodList .goodItem .skuContainer .skuList .skuItem .type[data-v-589968ba]{justify-content:flex-start}.PanKuContainer .goodList .goodItem .skuContainer .skuList .skuHeader .size[data-v-589968ba], .PanKuContainer .goodList .goodItem .skuContainer .skuList .skuItem .size[data-v-589968ba]{justify-content:center}.PanKuContainer .goodList .goodItem .skuContainer .skuList .skuHeader .num[data-v-589968ba], .PanKuContainer .goodList .goodItem .skuContainer .skuList .skuItem .num[data-v-589968ba]{justify-content:flex-end}.PanKuContainer .goodList .goodItem .skuContainer .skuList .skuHeader[data-v-589968ba]{color:#999;font-size:%?28?%;line-height:%?40?%}.PanKuContainer .goodList .goodItem .skuContainer .dataAll[data-v-589968ba]{width:100%;height:%?116?%;padding:0 %?30?%;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.PanKuContainer .goodList .goodItem .skuContainer .dataAll .sex[data-v-589968ba]{color:#333;font-size:%?28?%}.PanKuContainer .goodList .goodItem .skuContainer .dataAll .num[data-v-589968ba]{color:#999;font-size:%?28?%}.PanKuContainer .goodList .goodItem .skuContainer .dataAll .num .spec[data-v-589968ba]{color:#ea4a41!important;font-size:%?40?%!important;font-weight:bolder}",""]),t.exports=e},"1de5":function(t,e,a){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"1ebe":function(t,e,a){var n=a("1877");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=a("4f06").default;o("c7b6409c",n,!0,{sourceMap:!1,shadowMode:!1})},"3cb0":function(t,e,a){t.exports=a.p+"static/img/arrow.ad35c373.png"},"7c89":function(t,e,a){"use strict";var n=a("1ebe"),o=a.n(n);o.a},"7c98":function(t,e,a){"use strict";a.r(e);var n=a("0e29"),o=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},a7d3:function(t,e,a){"use strict";a("7a82");var n=a("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=n(a("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)}},b35d:function(t,e,a){"use strict";a.r(e);var n=a("11d4"),o=a("7c98");for(var i in o)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(i);a("7c89");var r=a("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"589968ba",null,!1,n["a"],void 0);e["default"]=s.exports}}]);