pages-stock-chuku_record.9bbcc8a5.js 22 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-chuku_record"],{"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)}},"201f":function(t,e,a){var i=a("c37b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("4f06").default;r("a5da5686",i,!0,{sourceMap:!1,shadowMode:!1})},"2fa2":function(t,e,a){"use strict";var i=a("201f"),r=a.n(i);r.a},"3cb0":function(t,e,a){t.exports=a.p+"static/img/arrow.ad35c373.png"},"4dd7":function(t,e,a){"use strict";a.r(e);var i=a("e94f"),r=a("e4cc");for(var n in r)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return r[t]}))}(n);a("2fa2");var o=a("f0c5"),s=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"3916b6b4",null,!1,i["a"],void 0);e["default"]=s.exports},"4ec92":function(t,e,a){a("6f48")},6566:function(t,e,a){"use strict";var i=a("9bf2").f,r=a("7c73"),n=a("6964"),o=a("0366"),s=a("19aa"),d=a("7234"),c=a("2266"),l=a("c6d2"),u=a("4754"),f=a("2626"),b=a("83ab"),g=a("f183").fastKey,h=a("69f3"),v=h.set,p=h.getterFor;t.exports={getConstructor:function(t,e,a,l){var u=t((function(t,i){s(t,f),v(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),b||(t.size=0),d(i)||c(i,t[l],{that:t,AS_ENTRIES:a})})),f=u.prototype,h=p(e),m=function(t,e,a){var i,r,n=h(t),o=y(t,e);return o?o.value=a:(n.last=o={index:r=g(e,!0),key:e,value:a,previous:i=n.last,next:void 0,removed:!1},n.first||(n.first=o),i&&(i.next=o),b?n.size++:t.size++,"F"!==r&&(n.index[r]=o)),t},y=function(t,e){var a,i=h(t),r=g(e);if("F"!==r)return i.index[r];for(a=i.first;a;a=a.next)if(a.key==e)return a};return n(f,{clear:function(){var t=h(this),e=t.index,a=t.first;while(a)a.removed=!0,a.previous&&(a.previous=a.previous.next=void 0),delete e[a.index],a=a.next;t.first=t.last=void 0,b?t.size=0:this.size=0},delete:function(t){var e=h(this),a=y(this,t);if(a){var i=a.next,r=a.previous;delete e.index[a.index],a.removed=!0,r&&(r.next=i),i&&(i.previous=r),e.first==a&&(e.first=i),e.last==a&&(e.last=r),b?e.size--:this.size--}return!!a},forEach:function(t){var e,a=h(this),i=o(t,arguments.length>1?arguments[1]:void 0);while(e=e?e.next:a.first){i(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!y(this,t)}}),n(f,a?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),b&&i(f,"size",{get:function(){return h(this).size}}),u},setStrong:function(t,e,a){var i=e+" Iterator",r=p(e),n=p(i);l(t,e,(function(t,e){v(this,{type:i,target:t,state:r(t),kind:e,last:void 0})}),(function(){var t=n(this),e=t.kind,a=t.last;while(a&&a.removed)a=a.previous;return t.target&&(t.last=a=a?a.next:t.state.first)?u("keys"==e?a.key:"values"==e?a.value:[a.key,a.value],!1):(t.target=void 0,u(void 0,!0))}),a?"entries":"values",!a,!0),f(e)}}},"6f48":function(t,e,a){"use strict";var i=a("6d61"),r=a("6566");i("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r)},a7d3:function(t,e,a){"use strict";a("7a82");var i=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 r=i(a("ef1d"));e.stockGoods=function(){return r.default.get("/storage/storage_detail")};e.getPanKuStock=function(){return r.default.get("/storage/get_storage")};e.publishChuKu=function(t){return r.default.post("/storage/out_storage",t)};e.goodsInfo=function(t){return r.default.get("/order/look_good",t)};e.publishFirstPanKu=function(t){return r.default.post("/storage/one_sure_storage",t)};e.goodsDetail=function(t){return r.default.get("/order/good_detail",t)};e.publishRuKu=function(t){return r.default.get("/storage/put_good_storage",t)};e.morePanKuRevise=function(t){return r.default.post("/storage/sure_storage",t)};e.stockRecord=function(t){return r.default.get("/storage/put_storage_group",t)};e.stockRecordDetail=function(t){return r.default.get("/storage/put_storage_detail",t)};e.allDaiRuKu=function(t){return r.default.get("/storage/put_storage",t)};e.myStock=function(){return r.default.get("/storage/my_storage")};e.allStock=function(){return r.default.get("/storage/storage_detail")};e.panKuRecord=function(t){return r.default.get("/storage/sure_storage_group",t)};e.panKuRecordDetail=function(t){return r.default.get("/storage/sure_storage_detail",t)};e.publishRuKuNew=function(t){return r.default.post("/storage/put_storages",t)};e.stockRecordNew=function(t){return r.default.get("/storage/put_storage_groups",t)};e.stockRecordDetailNew=function(t){return r.default.get("/storage/put_storage_details",t)};e.GetExpressInnage=function(t){return r.default.get("/express/GetExpressInnage",t)};e.getScanLog=function(t){return r.default.get("/UserSend/getScanLog",t)}},c37b:function(t,e,a){var i=a("24fb"),r=a("1de5"),n=a("3cb0");e=i(!1);var o=r(n);e.push([t.i,'@charset "UTF-8";.app-item[data-v-3916b6b4]{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-3916b6b4]{margin-top:%?10?%}.app-item uni-input[data-v-3916b6b4], .app-item uni-picker[data-v-3916b6b4], .app-item uni-textarea[data-v-3916b6b4]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-3916b6b4]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-3916b6b4]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-3916b6b4]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-3916b6b4]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-3916b6b4]{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-3916b6b4]{color:#fff;background:#f76454}.small-btn[data-v-3916b6b4]{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-3916b6b4]{color:#999;border-color:#999}.login-btn[data-v-3916b6b4]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-3916b6b4]{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-3916b6b4]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-3916b6b4]{margin-right:%?20?%}.border-right[data-v-3916b6b4]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-3916b6b4]{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-3916b6b4]{margin-right:%?6?%}.position-center[data-v-3916b6b4]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-3916b6b4]{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-3916b6b4]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-3916b6b4]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-3916b6b4]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-3916b6b4]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-3916b6b4]{color:#f76454}.swiper-nav[data-v-3916b6b4]{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-3916b6b4]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-3916b6b4]{color:#f76454}.swiper-nav .moveBar[data-v-3916b6b4]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-3916b6b4]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-3916b6b4]{flex:1;width:100%}.swiper-area uni-swiper[data-v-3916b6b4]{width:100%;height:100%}.article-header[data-v-3916b6b4]{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-3916b6b4]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-3916b6b4]{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-3916b6b4]{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-3916b6b4]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-3916b6b4]{color:#f76454}.article-footer[data-v-3916b6b4]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-3916b6b4]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-3916b6b4]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-3916b6b4]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-3916b6b4]{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-3916b6b4]{width:100%}.recordContainer[data-v-3916b6b4]{background-color:#f9f9fb;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}.recordContainer .nav[data-v-3916b6b4]{width:100%;height:%?104?%;padding:0 %?60?%;box-sizing:border-box;background-color:#fff;display:flex;align-items:center;justify-content:space-between}.recordContainer .nav-item[data-v-3916b6b4]{position:relative;color:#333;font-size:%?32?%;line-height:%?44?%}.recordContainer .nav-item.active[data-v-3916b6b4]{color:#ea4a41!important}.recordContainer .nav-item.active[data-v-3916b6b4]::after{content:"";display:block;position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:%?30?%;height:%?4?%;border-radius:%?4?%;background:linear-gradient(97deg,#f97c55,#f44545)}.recordContainer .record-body[data-v-3916b6b4]{width:100%;padding:%?30?%;box-sizing:border-box}.recordContainer .search[data-v-3916b6b4]{width:100%;display:flex;align-items:center;justify-content:space-between}.recordContainer .search .time[data-v-3916b6b4]{width:%?468?%;height:%?68?%;border-radius:%?68?%;background-color:#fff;padding:0 %?34?%;box-sizing:border-box;line-height:%?68?%;font-size:%?28?%;display:flex;align-items:center;justify-content:space-between}.recordContainer .search .time .value[data-v-3916b6b4]{color:#999;letter-spacing:1px}.recordContainer .search .time .fixed[data-v-3916b6b4]{color:#333}.recordContainer .search .btn[data-v-3916b6b4]{width:%?192?%;height:%?68?%;border-radius:%?68?%;text-align:center;line-height:%?68?%;color:#fff;font-size:%?28?%;background:linear-gradient(90deg,#f97c55 0,#f44545)}.recordContainer .Header[data-v-3916b6b4]{width:100%;height:%?110?%;display:flex;align-items:center;justify-content:space-between;color:#333;font-size:%?32?%;line-height:%?44?%}.recordContainer .Header .spec[data-v-3916b6b4]{color:#ea4a41!important;font-weight:700}.recordContainer .typeCard[data-v-3916b6b4]{width:100%;border-radius:%?24?%;background-color:#fff;margin-bottom:%?30?%;overflow:hidden}.recordContainer .typeCard .header[data-v-3916b6b4]{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}.recordContainer .typeCard .header .icon[data-v-3916b6b4]{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}.recordContainer .typeCard .header .icon[data-v-3916b6b4]::before{content:"";display:block;width:%?18?%;height:%?18?%;border-radius:50%;background-color:#ea4a41}.recordContainer .typeCard .header .name[data-v-3916b6b4]{color:#333;font-size:%?32?%;line-height:%?44?%}.recordContainer .typeCard .header[data-v-3916b6b4]::after{display:block;content:"";margin-left:auto;width:%?30?%;height:%?30?%;background-image:url('+o+");background-position:50%;background-size:cover;background-repeat:no-repeat}.recordContainer .typeCard .header.open[data-v-3916b6b4]::after{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}.recordContainer .typeCard .scrollList[data-v-3916b6b4]{width:100%;height:%?416?%}.recordContainer .typeCard .scrollList .scrollItem[data-v-3916b6b4]{width:100%;height:%?104?%;border-bottom:1px solid #eee;box-sizing:border-box;padding:0 %?30?%;color:#333;font-size:%?28?%;line-height:%?40?%;display:flex;align-items:center;justify-content:space-between}.recordContainer .typeCard .scrollList .scrollItem .spec[data-v-3916b6b4]{font-size:%?32?%!important;color:#ea4a41!important}.recordContainer .typeCard .scrollList .scrollItem.noMore[data-v-3916b6b4]{justify-content:center!important;border-bottom:none!important}.recordContainer .typeCard .scrollList .scrollItem .sex[data-v-3916b6b4],\n.recordContainer .typeCard .scrollList .scrollItem .size[data-v-3916b6b4],\n.recordContainer .typeCard .scrollList .scrollItem .time[data-v-3916b6b4],\n.recordContainer .typeCard .scrollList .scrollItem .num[data-v-3916b6b4],\n.recordContainer .typeCard .scrollList .scrollItem .type[data-v-3916b6b4]{width:%?80?%;overflow:hidden;text-overflow:ellipsis}.recordContainer .typeCard .scrollList .scrollItem .time[data-v-3916b6b4]{width:%?280?%!important}.recordContainer .typeCard .scrollList .scrollItem .num[data-v-3916b6b4]{flex:1!important;text-align:right}.recordContainer .typeCard .scrollList .scrollItem .type[data-v-3916b6b4]{text-align:right}.recordContainer .typeCard .scrollList .scrollItem .spec2[data-v-3916b6b4]{color:#0e8eff!important}.recordContainer .typeCard .scrollList .noTip[data-v-3916b6b4]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#333;font-size:%?28?%}.recordContainer .typeCard .all[data-v-3916b6b4]{width:100%;height:%?116?%;padding:0 %?30?%;display:flex;align-items:center;justify-content:space-between}.recordContainer .typeCard .all .sex[data-v-3916b6b4]{color:#333;font-size:%?28?%;line-height:%?40?%}.recordContainer .typeCard .all .num[data-v-3916b6b4]{color:#999;font-size:%?28?%}.recordContainer .typeCard .all .num .spec[data-v-3916b6b4]{color:#ea4a41;font-size:%?40?%;line-height:%?56?%;font-weight:700}.recordContainer .typeCard .panku[data-v-3916b6b4]{justify-content:center!important}.recordContainer .typeCard .panku .ku[data-v-3916b6b4]{color:#333;font-size:%?28?%}.recordContainer .typeCard .panku .ku .spec[data-v-3916b6b4]{color:#ea4a41!important;font-size:%?36?%!important;line-height:%?50?%!important}.recordContainer .typeCard .panku .ku[data-v-3916b6b4]:nth-last-of-type(1){margin-left:%?20?%}",""]),t.exports=e},cd40:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("99af"),a("d81d"),a("b64b"),a("a9e3"),a("4ec92"),a("d3b7"),a("3ca3"),a("ddb0");var r=i(a("2909")),n=a("a7d3"),o=a("37f3"),s={data:function(){return{recoedParams:{start_time:"",end_time:"",record_type:1},infoList:[],searchParams:{start_time:(0,o.dateFormatter)(Date.now(),"yyyy-MM-dd"),end_time:(0,o.dateFormatter)(Date.now(),"yyyy-MM-dd")}}},onLoad:function(){this.recoedParams.start_time=(0,o.dateFormatter)(Date.now(),"yyyy-MM-dd"),this.recoedParams.end_time=(0,o.dateFormatter)(Date.now(),"yyyy-MM-dd"),this.getStockRecord()},methods:{toSearch:function(){var t=this.searchParams,e=t.start_time,a=t.end_time;if(new Date(a).getTime()<new Date(e).getTime())return uni.showModal({content:"结束时间不能大于开始时间",showCancel:!1}),!1;this.recoedParams.start_time=e,this.recoedParams.end_time=a,this.getStockRecord()},toChangeEndTime:function(t){this.searchParams.end_time=t.detail.value},toChangeStartTime:function(t){this.searchParams.start_time=t.detail.value},toGetDetail:function(t){t.total&&t.isMore?this.getRecordDetail(t.page_index,t.type,(function(e){t.children=[].concat((0,r.default)(t.children),(0,r.default)(e)),t.toggle=!t.toggle,e.length<20&&(t.isMore=!1)})):t.toggle=!t.toggle},getRecordDetail:function(t,e,a){uni.showLoading(),(0,n.stockRecordDetail)({page_index:t,type:e,status:-1,record_type:this.recoedParams.record_type,start_time:this.recoedParams.start_time+" 00:00:00",end_time:this.recoedParams.end_time+" 23:59:59"}).then((function(t){uni.hideLoading(),200===t.code?a&&a(t.data.list):uni.showModal({content:t.message||"查看记录详情失败",showCancel:!1})})).catch((function(){uni.hideLoading(),uni.showModal({content:"查看记录详情失败",showCancel:!1})}))},getStockRecord:function(){var t=this;uni.showLoading();var e=this,a=this.recoedParams,i=a.start_time,r=a.end_time,o=a.record_type;(0,n.stockRecord)({start_time:i+" 00:00:00",end_time:r+" 23:59:59",record_type:o,status:-1}).then((function(a){200===a.code?e.infoList=Object.keys(a.data).map((function(e){var i=Object.assign({},a.data[e]);return i.type=t.changeKey(e).type,i.type_name=t.changeKey(e).name,i.children=[],i.total=Number(i.man)+Number(i.woman),i.toggle=!1,i.page_index=1,i.isMore=!0,i})):uni.showModal({content:a.message||"获取库存记录失败",showCancel:!1})})).catch((function(){uni.hideLoading(),uni.showModal({content:"获取库存记录失败",showCancel:!1})}))},changeKey:function(t){var e=new Map([["simple",{name:"简约版",type:"1"}],["new_old",{name:"纯棉版",type:"3"}],["old",{name:"高腰版",type:"2"}],["hard",{name:"精装版",type:"0"}],["youth",{name:"青春版",type:"4"}]]);return e.get(t)}}};e.default=s},e4cc:function(t,e,a){"use strict";a.r(e);var i=a("cd40"),r=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=r.a},e94f:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"recordContainer"},[a("v-uni-view",{staticClass:"record-body"},[a("v-uni-view",{staticClass:"search"},[a("v-uni-view",{staticClass:"time"},[a("v-uni-picker",{attrs:{mode:"date"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.toChangeStartTime.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"value"},[t._v(t._s(t._f("dateFormatter")(t.searchParams.start_time,"yyyy-MM-dd")))])],1),a("v-uni-view",{staticClass:"fixed"},[t._v("至")]),a("v-uni-picker",{attrs:{mode:"date"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.toChangeEndTime.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"value"},[t._v(t._s(t._f("dateFormatter")(t.searchParams.end_time,"yyyy-MM-dd")))])],1)],1),a("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toSearch.apply(void 0,arguments)}}},[t._v("查询")])],1),a("v-uni-view",{staticClass:"Header"},[a("v-uni-view",[t._v("出库记录")]),a("v-uni-view",[t._v("总共出库:"),a("v-uni-text",{staticClass:"spec"},[t._v(t._s(t.infoList.reduce((function(t,e){return t+Number(e.total)}),0))+"套")])],1)],1),t._l(t.infoList,(function(e){return a("v-uni-view",{key:e.type,staticClass:"typeCard"},[a("v-uni-view",{staticClass:"header",class:e.toggle?"open":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.toGetDetail(e)}}},[a("v-uni-view",{staticClass:"icon"}),a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.type_name))])],1),e.toggle?[a("v-uni-scroll-view",{staticClass:"scrollList",attrs:{"scroll-y":"true"}},[e.children.length>0?[t._l(e.children,(function(e){return a("v-uni-view",{key:e.id,staticClass:"scrollItem"},[a("v-uni-view",{staticClass:"sex"},[t._v(t._s(e.sex?"男款":"女款"))]),a("v-uni-view",{staticClass:"size"},[t._v(t._s(e.size))]),a("v-uni-view",{staticClass:"time"},[t._v(t._s(t._f("dateFormatter")(e.created_at,"yyyy/MM/dd hh:mm:ss")))]),a("v-uni-view",{staticClass:"num spec"},[t._v("-"+t._s(e.num))])],1)})),e.isMore?t._e():a("v-uni-view",{staticClass:"scrollItem noMore"},[t._v("没有更多记录了")])]:[a("v-uni-view",{staticClass:"noTip"},[t._v("暂无记录")])]],2)]:t._e(),a("v-uni-view",{staticClass:"all"},[a("v-uni-view",{staticClass:"sex"},[t._v("男款:"+t._s(e.man)+"套/女款:"+t._s(e.woman)+"套")]),a("v-uni-view",{staticClass:"num"},[t._v("出库:"),a("v-uni-text",{staticClass:"spec"},[t._v(t._s(e.total)+"套")])],1)],1)],2)}))],2)],1)},r=[]}}]);