moreShopAdmin/dist/admin/assets/index.143c8832.js

2 lines
9.5 KiB
JavaScript
Raw Normal View History

2024-08-28 20:36:40 +08:00
import{a6 as pe,C as ce,D as me,J as _e,K as de,w as fe,F as he,L as ye,c as Ce,a as ge,M as ve,b as we,N as be,O as ke}from"./element-plus.a63a26dd.js";import{_ as Ee}from"./index.vue_vue_type_script_setup_true_lang.ecb80feb.js";import{_ as Fe}from"./index.6e783e20.js";import{_ as xe}from"./index.vue_vue_type_script_setup_true_lang.2fddeb51.js";import{d as K,r as _,Z as I,i as De,af as Be,o as h,c as g,U as e,L as a,u as l,aa as Re,T,a9 as U,R as d,a as p,a0 as Ve,S as c,M as Le,K as Ae,j as Pe,n as A}from"./@vue.18505fe0.js";import{u as Se}from"./usePaging.6a6670f9.js";import{u as $e}from"./useDictOptions.da569484.js";import{a as ze}from"./store_product.6d73dabd.js";import{t as Ne,w as Ie}from"./workbench.50096892.js";import{_ as Te}from"./details.vue_vue_type_script_setup_true_name_storeProductDETAILS_lang.9348fda0.js";import{_ as Ue}from"./stockDetails.vue_vue_type_script_setup_true_name_storeProductDETAILS_lang.b926e04e.js";import{_ as Ke}from"./warehouseProduct.vue_vue_type_script_setup_true_name_storeProductDETAILS_lang.1f90e03a.js";import{a as Oe}from"./store_category.5cbfee25.js";import{u as We}from"./vue-router.101084e3.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.4884cfc2.js";import"./axios.932d3f8a.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.5bbc12c8.js";import"./lodash.2473fc51.js";import"./pinia.a969beab.js";import"./css-color-function.9f6a56f3.js";import"./color.d1bc3784.js";import"./clone.83700f2e.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.fcc9be76.js";import"./vue-clipboard3.9e751565.js";import"./clipboard.dda64e67.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.5f9b7233.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./store_order.650e407c.js";const je={class:"flex flex-wrap"},qe={class:"mr-2"},Me={class:"text-info"},Je={key:0},Ze={class:"text-2xl mr-2"},Ge={class:"text-2xl mr-2"},He={key:1},Qe={class:"text-6xl mr-2"},Xe={class:"mt-4"},Ye={class:"flex mt-4 justify-end"},et=K({name:"storeProductLists"}),Jt=K({...et,setup(tt){const O=_(!1),W=_(!1),j=_(!1),P=We(),b=_(null),k=_(null),E=_(null),u=I({store_name:"",class_all:"",bar_code:"",field:"stock",order_by:""}),q=async n=>{var o,r;O.value=!0,await A(),(o=b.value)==null||o.open(),(r=b.value)==null||r.getDetail(n)},S=async(n,o=1)=>{var r,s;W.value=!0,await A(),(r=k.value)==null||r.open(),(s=k.value)==null||s.getDetail(n,o)},F=async(n,o=1)=>{var r,s;j.value=!0,await A(),(r=E.value)==null||r.open(),(s=E.value)==null||s.getDetail(n,o)},M=_([]),J=n=>{M.value=n.map(({id:o})=>o)};$e("");let $=1;P.query.page_no&&($=parseInt(P.query.page_no));const{pager:y,getLists:z,resetParams:Z,resetPage:v}=Se({page:$,fetchFun:Ie,params:u});let x,D;const B=_(!1);let R;const G=n=>(R=n,B.value=!0,N.lazyLoad(D,x),!1),N={value:"id",label:"name",emitPath:!1,lazy:!0,lazyLoad(n,o){x||(x=o),D||(D=n);const r=n.value||0;let s={};B.value?(s={name:R},R||(s={pid:r,page_size:1e4})):s={pid:r,page_size:1e4},Oe({...s}).then(V=>{o(V.lists.map(w=>(w.leaf=!0,B.value=!1,w)))})}},H=["#5DB1FF","#4CD384","#FFC46A","#CAA5F1","#FFC46A","#4CD384","#5DB1FF","#CAA5F1"],Q=_(["RectangleCopy58","RectangleCopy48","RectangleCopy65","RectangleCopy62","RectangleCopy56","RectangleCopy55","RectangleCopy57","RectangleCopy65","RectangleCopy61","RectangleCopy52","RectangleCopy14","RectangleCopy32"]),C=I({xAxis:{type:"category",data:[0],axisLabel:{rotate:45,color:"#333"}},yAxis:{type:"value",name:"\u91D1\u989D",position:"left",axisLabel:{formatter:"{value}"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},legend:{data:["\u8BBF\u95EE\u91CF"]},itemStyle:{color:"red"},tooltip:{trigger:"axis"},series:[{name:"\u8BBF\u95EE\u