moreShopAdmin/build/admin/assets/index.2338f3de.js

2 lines
3.7 KiB
JavaScript

import{D as R,w as S,F as N,L as U,M as q,N as $,O as j}from"./element-plus.4a7d92a3.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang.5d4e738c.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang.77dd59e0.js";import{u as I}from"./usePaging.6a6670f9.js";import{u as K}from"./useDictOptions.357feaed.js";import{d as O}from"./user_product_storage_log.8d353486.js";import"./lodash.9dc701ad.js";import"./index.572e6a3e.js";import{_ as Q}from"./edit.vue_vue_type_script_setup_true_name_userProductStorageLogEdit_lang.00d5dfc2.js";import{u as Z}from"./vue-router.101084e3.js";import{d as E,s as z,r as w,Z as G,o as p,c as H,U as o,L as r,u as t,R as g,M as J,K as C,a as b,j as W,Q as X}from"./@vue.18505fe0.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"./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.c33ef412.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";const Y={class:"flex mt-4 justify-end"},oo=E({name:"userProductStorageLogLists"}),Io=E({...oo,setup(to){var u;const h=z(),d=w(!1),a=G({create_time:"",start_time:"",end_time:"",oid:"",product_id:""}),l=Z();(u=l.query)!=null&&u.oid&&(a.oid=l.query.oid,a.product_id=l.query.product_id);const k=w([]),y=c=>{k.value=c.map(({id:e})=>e)},{dictData:T}=K(""),{pager:n,getLists:m,resetParams:B,resetPage:L}=I({fetchFun:O,params:a});return m(),(c,e)=>{const D=A,_=R,f=S,V=N,v=U,i=q,x=$,F=M,P=j;return p(),H("div",null,[o(v,{class:"!border-none mb-4",shadow:"never"},{default:r(()=>[o(V,{class:"mb-[-16px]",model:t(a),inline:""},{default:r(()=>[o(_,{label:"",prop:"create_time"},{default:r(()=>[o(D,{startTime:t(a).start_time,"onUpdate:startTime":e[0]||(e[0]=s=>t(a).start_time=s),endTime:t(a).end_time,"onUpdate:endTime":e[1]||(e[1]=s=>t(a).end_time=s)},null,8,["startTime","endTime"])]),_:1}),o(_,null,{default:r(()=>[o(f,{type:"primary",onClick:t(L)},{default:r(()=>[g("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(f,{onClick:t(B)},{default:r(()=>[g("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),J((p(),C(v,{class:"!border-none",shadow:"never"},{default:r(()=>[b("div",null,[o(x,{data:t(n).lists,onSelectionChange:y},{default:r(()=>[o(i,{label:"\u8BA2\u5355id",prop:"oid","show-overflow-tooltip":""}),o(i,{label:"\u7528\u6237",prop:"nickname","show-overflow-tooltip":""}),o(i,{label:"\u5546\u54C1",prop:"store_name","show-overflow-tooltip":""}),o(i,{label:"\u95E8\u5E97",prop:"system_store_name","show-overflow-tooltip":""}),o(i,{label:"\u72B6\u6001",prop:"financial_pm","show-overflow-tooltip":""}),o(i,{label:"\u6570\u91CF",prop:"nums","show-overflow-tooltip":""})]),_:1},8,["data"])]),b("div",Y,[o(F,{modelValue:t(n),"onUpdate:modelValue":e[2]||(e[2]=s=>W(n)?n.value=s:null),onChange:t(m)},null,8,["modelValue","onChange"])])]),_:1})),[[P,t(n).loading]]),t(d)?(p(),C(Q,{key:0,ref_key:"editRef",ref:h,"dict-data":t(T),onSuccess:t(m),onClose:e[3]||(e[3]=s=>d.value=!1)},null,8,["dict-data","onSuccess"])):X("",!0)])}}});export{Io as default};