moreShopAdmin/build/admin/assets/index.9749973d.js

2 lines
9.7 KiB
JavaScript
Raw Normal View History

2024-09-11 16:59:04 +08:00
import{a6 as ce,C as me,D as _e,J as de,K as fe,w as he,F as ye,L as Ce,c as ge,a as ve,M as we,b as be,N as ke,O as Ee}from"./element-plus.4a7d92a3.js";import{_ as Fe}from"./index.vue_vue_type_script_setup_true_lang.5d4e738c.js";import{_ as De}from"./index.9e0667e2.js";import{_ as xe}from"./index.vue_vue_type_script_setup_true_lang.16184eff.js";import{d as K,r as f,Z as I,i as Be,af as Re,o as h,c as g,U as e,L as a,u as l,aa as Ve,T,a9 as U,R as p,a as c,a0 as Le,S as m,M as Pe,K as Ae,j as Se,n as P}from"./@vue.18505fe0.js";import{u as $e}from"./usePaging.6a6670f9.js";import{u as ze}from"./useDictOptions.9fe2acdb.js";import{a as Ne}from"./store_product.9e593423.js";import{g as Ie,t as Te,w as Ue}from"./workbench.dda98232.js";import{_ as Ke}from"./details.vue_vue_type_script_setup_true_name_storeProductDETAILS_lang.2063b39d.js";import{_ as Oe}from"./stockDetails.vue_vue_type_script_setup_true_name_storeProductDETAILS_lang.42032465.js";import{_ as We}from"./warehouseProduct.vue_vue_type_script_setup_true_name_storeProductDETAILS_lang.08deb371.js";import{a as je}from"./store_category.f5a15dab.js";import{u as qe}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.7347fedc.js";import"./axios.4607972f.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.131d90ed.js";import"./lodash.9dc701ad.js";import"./pinia.a969beab.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.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.0d2736b7.js";import"./vue-clipboard3.7d5a7a5d.js";import"./clipboard.860a1cea.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.ee949b04.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./store_order.9b760327.js";const Me={class:"flex flex-wrap"},Je={class:"mr-2"},Ze={class:"text-info"},Ge={key:0},He={class:"text-2xl mr-2"},Qe={class:"text-2xl mr-2"},Xe={key:1},Ye={class:"text-6xl mr-2"},et={class:"mt-4"},tt={class:"flex mt-4 justify-end"},ot=K({name:"storeProductLists"}),Gt=K({...ot,setup(at){const O=f(!1),W=f(!1),j=f(!1),A=qe(),b=f(null),k=f(null),E=f(null),i=I({store_name:"",class_all:"",bar_code:"",field:"stock",order_by:""}),q=()=>{Ie({}).then(n=>{})},M=async n=>{var o,r;O.value=!0,await P(),(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 P(),(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 P(),(r=E.value)==null||r.open(),(s=E.value)==null||s.getDetail(n,o)},J=f([]),Z=n=>{J.value=n.map(({id:o})=>o)};ze("");let $=1;A.query.page_no&&($=parseInt(A.query.page_no));const{pager:y,getLists:z,resetParams:G,resetPage:v}=$e({page:$,fetchFun:Ue,params:i});let D,x;const B=f(!1);let R;const H=n=>(R=n,B.value=!0,N.lazyLoad(x,D),!1),N={value:"id",label:"name",emitPath:!1,lazy:!0,lazyLoad(n,o){D||(D=o),x||(x=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},je({...s}).then(V=>{o(V.lists.map(w=>(w.leaf=!0,B.value=!1,w)))})}},Q=["#5DB1FF","#4CD384","#FFC46A","#CAA5F1","#FFC46A","#4CD384","#5DB1FF","#CAA5F1"],X=f(["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:"a