particulars.js.map 24 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///D:/company/RedDragonfly/pages/statistics/particulars.vue?8a08","webpack:///D:/company/RedDragonfly/pages/statistics/particulars.vue?0912","webpack:///D:/company/RedDragonfly/pages/statistics/particulars.vue?6bd5","webpack:///D:/company/RedDragonfly/pages/statistics/particulars.vue?5941","uni-app:///pages/statistics/particulars.vue","webpack:///D:/company/RedDragonfly/pages/statistics/particulars.vue?7ecb","webpack:///D:/company/RedDragonfly/pages/statistics/particulars.vue?1607"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","status","wu","showRight","showLeft","list","id","num","BeginSingle","FinishSingle","chartData","brandIndex","capacityIndex","geneIndex","levelIndex","warehouseIndex","brand","capacity","gene","level","warehouse","brandName","capacityName","geneName","levelName","warehouseName","page","contentText","contentdown","contentrefresh","contentnomore","onLoad","uni","title","created","mounted","methods","getData","startTime","endTime","type","typeName","accessToken","account","res","more","pagination","offset","getScreen","name","code","showDrawer","closeDrawer","change","reset","confirm","getTime","month","day"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,oBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AACgN;AAChN,gBAAgB,0NAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yQAEN;AACP,KAAK;AACL;AACA,aAAa,0VAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtDA;AAAA;AAAA;AAAA;AAAy0B,CAAgB,s1BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;AC4G71B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAIA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;QACAC;QACAC;MACA;IACA;EACA;EACAC;IACA;IACA;IACA;IACA;IACA;IACA;MACAC;QACAC;MACA;IACA;IACA;EACA;EACAC;EACAC;IACA;EACA;EACAC;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAL;kBACAC;gBACA;gBAAA;gBAAA,OACA;kBACAK;kBAAA;kBACAC;kBAAA;kBACAC;kBACAC;kBACAzB;kBAAA;kBACAE;kBAAA;kBACAC;kBAAA;kBACAF;kBAAA;kBACAG;kBAAA;kBACAsB;kBACAC;gBACA;cAAA;gBAZAC;gBAaAZ;gBACA;gBACA;kBACA;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAa;MACA;MACA;MACA;MACA;QACA;MACA;IACA;IACA;IACAC;MACA;MACA,mGACAC;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAJ;gBACA;gBACA;kBACAK;kBACAC;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAC;MACA;IACA;IACA;IACAC;MACA;IACA;IACA;IACAC;MACA;QACA;QACA;UACA;QACA;UACA;QACA;MACA;QACA;QACA;UACA;QACA;UACA;QACA;MACA;QACA;QACA;UACA;QACA;UACA;QACA;MACA;QACA;QACA;UACA;QACA;UACA;QACA;MACA;QACA;QACA;UACA;QACA;UACA;QACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;IACA;IACA;IACAC;MACA;MACA;IACA;IACA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;MACA;MACAC;MACAC;MACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC5SA;AAAA;AAAA;AAAA;AAAwiD,CAAgB,y/CAAG,EAAC,C;;;;;;;;;;;ACA5jD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/statistics/particulars.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/statistics/particulars.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./particulars.vue?vue&type=template&id=a4f5ffea&\"\nvar renderjs\nimport script from \"./particulars.vue?vue&type=script&lang=js&\"\nexport * from \"./particulars.vue?vue&type=script&lang=js&\"\nimport style0 from \"./particulars.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/statistics/particulars.vue\"\nexport default component.exports","export * from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./particulars.vue?vue&type=template&id=a4f5ffea&\"","var components\ntry {\n components = {\n uniDrawer: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-drawer/components/uni-drawer/uni-drawer\" */ \"@/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue\"\n )\n },\n uniLoadMore: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-load-more/components/uni-load-more/uni-load-more\" */ \"@/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 = _vm.__map(_vm.chartData, function (v, i) {\n var $orig = _vm.__get_orig(v)\n var m0 = _vm.getTime(v.opTime)\n return {\n $orig: $orig,\n m0: m0,\n }\n })\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./particulars.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./particulars.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"particulars\">\r\n\t\t<view class=\"top\">\r\n\t\t\t<text class=\"text\" @click=\"showDrawer()\">\r\n\t\t\t\t筛选\r\n\t\t\t</text>\r\n\t\t\t<uni-drawer ref=\"showRight\" mode=\"right\" :width=\"340\">\r\n\t\t\t\t<view class=\"close\">\r\n\t\t\t\t\t<view class=\"par\">\r\n\t\t\t\t\t\t<text class=\"tad\">\r\n\t\t\t\t\t\t\t仓库\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t\t\t<view class=\"td\" :class=\"warehouseIndex == i ? 'active' : ''\" v-for=\"(v,i) in warehouse\"\r\n\t\t\t\t\t\t\t\t:key=\"i\" @click=\"change(v,i,0)\">\r\n\t\t\t\t\t\t\t\t{{v.name}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"par\">\r\n\t\t\t\t\t\t<text class=\"tad\">\r\n\t\t\t\t\t\t\t品牌\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t\t\t<view class=\"td\" :class=\"brandIndex == i ? 'active' : ''\" v-for=\"(v,i) in brand\" :key=\"i\"\r\n\t\t\t\t\t\t\t\t@click=\"change(v,i,1)\">\r\n\t\t\t\t\t\t\t\t{{v}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"par\">\r\n\t\t\t\t\t\t<text class=\"tad\">\r\n\t\t\t\t\t\t\t是否转基因\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t\t\t<view class=\"td\" :class=\"geneIndex == i ? 'active' : ''\" v-for=\"(v,i) in gene\" :key=\"i\"\r\n\t\t\t\t\t\t\t\t@click=\"change(v,i,2)\">\r\n\t\t\t\t\t\t\t\t{{v == -1 ? '全部' : v == 0 ? '转基因' : v== 1 ? '非转基因' : '其他'}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"par\">\r\n\t\t\t\t\t\t<text class=\"tad\">\r\n\t\t\t\t\t\t\t等级\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t\t\t<view class=\"td\" :class=\"levelIndex == i ? 'active' : ''\" v-for=\"(v,i) in level\" :key=\"i\"\r\n\t\t\t\t\t\t\t\t@click=\"change(v,i,3)\">\r\n\t\t\t\t\t\t\t\t{{v}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"par\">\r\n\t\t\t\t\t\t<text class=\"tad\">\r\n\t\t\t\t\t\t\t容量\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t\t\t<view class=\"td\" :class=\"capacityIndex == i ? 'active' : ''\" v-for=\"(v,i) in capacity\"\r\n\t\t\t\t\t\t\t\t:key=\"i\" @click=\"change(v,i,4)\">\r\n\t\t\t\t\t\t\t\t{{v}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"btn\">\r\n\t\t\t\t\t\t<view class=\"\" @click=\"reset()\">\r\n\t\t\t\t\t\t\t重置\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"\" @click=\"confirm()\">\r\n\t\t\t\t\t\t\t确定\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</uni-drawer>\r\n\t\t</view>\r\n\t\t<scroll-view scroll-y=\"true\" class=\"main\" @scrolltolower=\"more()\">\r\n\t\t\t<view class=\"hint\" v-if=\"wu\">\r\n\t\t\t\t暂无数据\r\n\t\t\t</view>\r\n\t\t\t<view class=\"tab\" v-for=\"(v, i) in chartData\" :key=\"i\">\r\n\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t{{v.fullName}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t操作人: {{v.name}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t{{v.comeGo}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t{{v.Num}}箱\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t{{getTime(v.opTime)}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<uni-load-more :status=\"status\" :content-text=\"contentText\" />\r\n\t\t</scroll-view>\r\n\t\t<view class=\"bom\">\r\n\t\t\t合计: {{num}}箱\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\trecordDetail,\r\n\t\tstockSearch\r\n\t} from '../../api/statistics.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tstatus: 'more',\r\n\t\t\t\twu: false,\r\n\t\t\t\tshowRight: false,\r\n\t\t\t\tshowLeft: false,\r\n\t\t\t\tlist: '',\r\n\t\t\t\tid: '',\r\n\t\t\t\tnum: 0,\r\n\t\t\t\tBeginSingle: '',\r\n\t\t\t\tFinishSingle: '',\r\n\t\t\t\tchartData: '',\r\n\t\t\t\tbrandIndex: 0,\r\n\t\t\t\tcapacityIndex: 0,\r\n\t\t\t\tgeneIndex: 0,\r\n\t\t\t\tlevelIndex: 0,\r\n\t\t\t\twarehouseIndex: 0,\r\n\t\t\t\tbrand: [],\r\n\t\t\t\tcapacity: [],\r\n\t\t\t\tgene: [],\r\n\t\t\t\tlevel: [],\r\n\t\t\t\twarehouse: [],\r\n\t\t\t\tbrandName: '',\r\n\t\t\t\tcapacityName: '',\r\n\t\t\t\tgeneName: '',\r\n\t\t\t\tlevelName: '',\r\n\t\t\t\twarehouseName: '',\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tcontentText: {\r\n\t\t\t\t\tcontentdown: '上拉加载更多',\r\n\t\t\t\t\tcontentrefresh: '加载中',\r\n\t\t\t\t\tcontentnomore: '没有更多'\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.id = options.id\r\n\t\t\tthis.name = options.name\r\n\t\t\tthis.BeginSingle = options.startTime\r\n\t\t\tthis.FinishSingle = options.endTime\r\n\t\t\tthis.num = options.sum\r\n\t\t\tif (this.name) {\r\n\t\t\t\tuni.setNavigationBarTitle({\r\n\t\t\t\t\ttitle: this.name\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\tthis.getData()\r\n\t\t},\r\n\t\tcreated() {},\r\n\t\tmounted() {\r\n\t\t\tthis.getScreen()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tasync getData() {\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '加载中'\r\n\t\t\t\t});\r\n\t\t\t\tconst res = await recordDetail({\r\n\t\t\t\t\tstartTime: this.BeginSingle, // 开始时间\r\n\t\t\t\t\tendTime: this.FinishSingle, // 结束时间\r\n\t\t\t\t\ttype: this.id,\r\n\t\t\t\t\ttypeName: this.name,\r\n\t\t\t\t\tbrand: this.brandName, // 品牌\r\n\t\t\t\t\tgene: this.geneName, // 转基因\r\n\t\t\t\t\tlevel: this.levelName, // 等级\r\n\t\t\t\t\tcapacity: this.capacityName, // 容量\r\n\t\t\t\t\twarehouse: this.warehouseName, //仓库\r\n\t\t\t\t\taccessToken: uni.getStorageSync('tokenInfo'),\r\n\t\t\t\t\taccount: uni.getStorageSync('account')\r\n\t\t\t\t})\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tthis.list = res.data.list\r\n\t\t\t\tif(this.list.length === 0){\r\n\t\t\t\t\tthis.wu = true\r\n\t\t\t\t}\r\n\t\t\t\tthis.chartData = this.pagination(1, 20, this.list);\r\n\t\t\t},\r\n\t\t\t// 上拉加载更多\r\n\t\t\tmore() {\r\n\t\t\t\t\tthis.status = 'loading'\r\n\t\t\t\t\tthis.page++;\r\n\t\t\t\t\tthis.chartData =[...this.chartData, ...this.pagination(this.page, 20, this.list)]\r\n\t\t\t\t\tif (this.chartData.length===this.list.length){\r\n\t\t\t\t\t\tthis.status = \"noMore\"\r\n\t\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 数组分页\r\n\t\t\tpagination(pageNo, pageSize, array) {\r\n\t\t\t\tlet offset = (pageNo - 1) * pageSize;\r\n\t\t\t\treturn (offset + pageSize >= array.length) ? array.slice(offset, array.length) : array.slice(offset,\r\n\t\t\t\t\toffset + pageSize);\r\n\t\t\t},\r\n\t\t\tasync getScreen() {\r\n\t\t\t\tconst res = await stockSearch({})\r\n\t\t\t\tthis.warehouse = res.data.data.warehouse\r\n\t\t\t\tthis.warehouse.unshift({\r\n\t\t\t\t\tname: \"全部仓库\",\r\n\t\t\t\t\tcode: 'ck00'\r\n\t\t\t\t})\r\n\t\t\t\tthis.brand = res.data.data.brand\r\n\t\t\t\tthis.brand.unshift(\"全部品牌\")\r\n\t\t\t\tthis.level = res.data.data.level\r\n\t\t\t\tthis.level.unshift(\"全部等级\")\r\n\t\t\t\tthis.capacity = res.data.data.capacity\r\n\t\t\t\tthis.capacity.unshift(\"全部容量\")\r\n\t\t\t\tthis.gene = res.data.data.gene\r\n\t\t\t\tthis.gene.unshift(-1)\r\n\t\t\t},\r\n\t\t\t// 打开窗口\r\n\t\t\tshowDrawer(e) {\r\n\t\t\t\tthis.$refs.showRight.open()\r\n\t\t\t},\r\n\t\t\t// 关闭窗口\r\n\t\t\tcloseDrawer(e) {\r\n\t\t\t\tthis.$refs.showRight.close()\r\n\t\t\t},\r\n\t\t\t// 点击\r\n\t\t\tchange(v, i, num) {\r\n\t\t\t\tif (num === 0) {\r\n\t\t\t\t\tthis.warehouseIndex = i\r\n\t\t\t\t\tif (i == 0) {\r\n\t\t\t\t\t\tthis.warehouseName = ''\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.warehouseName = v.name\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (num === 1) {\r\n\t\t\t\t\tthis.brandIndex = i\r\n\t\t\t\t\tif (i == 0) {\r\n\t\t\t\t\t\tthis.brandName = ''\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.brandName = v\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (num === 2) {\r\n\t\t\t\t\tthis.geneIndex = i\r\n\t\t\t\t\tif (i == 0) {\r\n\t\t\t\t\t\tthis.geneName = ''\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.geneName = v\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (num === 3) {\r\n\t\t\t\t\tthis.levelIndex = i\r\n\t\t\t\t\tif (i == 0) {\r\n\t\t\t\t\t\tthis.levelName = ''\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.levelName = v\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (num === 4) {\r\n\t\t\t\t\tthis.capacityIndex = i\r\n\t\t\t\t\tif (i == 0) {\r\n\t\t\t\t\t\tthis.capacityName = ''\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.capacityName = v\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 筛选重置\r\n\t\t\treset() {\r\n\t\t\t\tthis.brandIndex = 0\r\n\t\t\t\tthis.capacityIndex = 0\r\n\t\t\t\tthis.geneIndex = 0\r\n\t\t\t\tthis.levelIndex = 0\r\n\t\t\t\tthis.warehouseIndex = 0\r\n\t\t\t\tthis.brandName = ''\r\n\t\t\t\tthis.capacityName = ''\r\n\t\t\t\tthis.geneName = ''\r\n\t\t\t\tthis.levelName = ''\r\n\t\t\t\tthis.warehouseName = ''\r\n\t\t\t},\r\n\t\t\t// 筛选确定\r\n\t\t\tconfirm() {\r\n\t\t\t\tthis.getData()\r\n\t\t\t\tthis.closeDrawer()\r\n\t\t\t},\r\n\t\t\t// 获取时间\r\n\t\t\tgetTime(time = new Date()) {\r\n\t\t\t\tlet date = new Date(time);\r\n\t\t\t\tlet year = date.getFullYear();\r\n\t\t\t\tlet month = date.getMonth() + 1;\r\n\t\t\t\tlet day = date.getDate();\r\n\t\t\t\tlet hour = date.getHours() < 10 ? \"0\" + date.getHours() : date.getHours()\r\n\t\t\t\tlet minute = date.getMinutes() < 10 ? \"0\" + date.getMinutes() : date.getMinutes()\r\n\t\t\t\tmonth >= 1 && month <= 9 ? (month = \"0\" + month) : \"\";\r\n\t\t\t\tday >= 0 && day <= 9 ? (day = \"0\" + day) : \"\";\r\n\t\t\t\tlet timer = year + '-' + month + '-' + day + ' ' + hour + ':' + minute;\r\n\t\t\t\treturn timer;\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.particulars {\r\n\t\theight: 100%;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: space-between;\r\n\r\n\t\t.top {\r\n\t\t\theight: 100rpx;\r\n\t\t\tline-height: 100rpx;\r\n\t\t\ttext-align: right;\r\n\t\t\tbackground-color: #e40315;\r\n\r\n\t\t\t.text {\r\n\t\t\t\tpadding: 30rpx;\r\n\t\t\t\tcolor: #fff;\r\n\t\t\t}\r\n\r\n\t\t\t.close {\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\tjustify-content: space-between;\r\n\r\n\t\t\t\t.par {\r\n\t\t\t\t\ttext-align: left;\r\n\t\t\t\t\tpadding: 20rpx;\r\n\r\n\t\t\t\t\t.th {\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-wrap: wrap;\r\n\r\n\t\t\t\t\t\t.td {\r\n\t\t\t\t\t\t\tbackground-color: #eff3f6;\r\n\t\t\t\t\t\t\theight: 50rpx;\r\n\t\t\t\t\t\t\tline-height: 50rpx;\r\n\t\t\t\t\t\t\tpadding: 0 20rpx;\r\n\t\t\t\t\t\t\tborder-radius: 4px;\r\n\t\t\t\t\t\t\tmargin: 0 10rpx 10rpx 0;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t.active {\r\n\t\t\t\t\t\t\tbackground-color: #e40315;\r\n\t\t\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.btn {\r\n\t\t\t\t\theight: 80rpx;\r\n\t\t\t\t\tpadding: 10rpx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tmargin-bottom: 20rpx;\r\n\r\n\t\t\t\t\tview {\r\n\t\t\t\t\t\theight: 100%;\r\n\t\t\t\t\t\tflex: 1;\r\n\t\t\t\t\t\tbackground-color: #e40315;\r\n\t\t\t\t\t\tborder-right: 2rpx solid #fff;\r\n\t\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\t\tline-height: 80rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.main {\r\n\t\t\theight: calc(100% - 230rpx);\r\n\t\t\tpadding: 0 20rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\t.hint {\r\n\t\t\t\ttext-align: center;\r\n\t\t\t}\r\n\r\n\t\t\t.tab {\r\n\t\t\t\tpadding: 15rpx 0;\r\n\t\t\t\tborder-bottom: 1rpx solid #e3e3e3;\r\n\r\n\t\t\t\t&>view:nth-child(2) {\r\n\t\t\t\t\tmargin: 10rpx 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.th {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.td {\r\n\t\t\t\t\tcolor: #818181;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.bom {\r\n\t\t\theight: 120rpx;\r\n\t\t\tborder-top: 10rpx solid #f1f1f1;\r\n\t\t\ttext-align: center;\r\n\t\t\tline-height: 120rpx;\r\n\t\t\tcolor: #e40315;\r\n\t\t\tfont-size: 26rpx;\r\n\t\t}\r\n\t}\r\n</style>","import mod from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./particulars.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./particulars.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1693280596056\n var cssReload = require(\"D:/Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}