moreShopAdmin/build/admin/assets/index.08a3fc14.js

2 lines
3.8 KiB
JavaScript

import{D as R,w as S,F as U,K as q,G as N,H as $,I as j}from"./element-plus.352c7be0.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang.567dc22a.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang.1bfba321.js";import{u as A}from"./usePaging.f8c888e4.js";import{u as G}from"./useDictOptions.e4cad3dc.js";import{d as H}from"./user_product_storage_log.a6af0323.js";import"./lodash.41b9567d.js";import"./index.742fa617.js";import{_ as M}from"./edit.vue_vue_type_script_setup_true_name_userProductStorageLogEdit_lang.b36f6a49.js";import{u as Q}from"./vue-router.10bd5b90.js";import{d as E,s as Z,r as w,Z as z,o as p,c as J,U as o,L as a,u as e,R as g,M as O,K as C,a as b,j as W,Q as X}from"./@vue.76ce7aa3.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./axios.b4cbdbc9.js";import"./jspdf.75308076.js";import"./fflate.0418c72f.js";import"./pinia.f3529286.js";import"./css-color-function.f23177ae.js";import"./color.a6ad6672.js";import"./clone.954ba32c.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.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.js";import"./index.a623973e.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";const Y={class:"flex mt-4 justify-end"},oo=E({name:"userProductStorageLogLists"}),Mo=E({...oo,setup(to){var u;const k=Z(),d=w(!1),r=z({create_time:"",start_time:"",end_time:"",oid:"",product_id:""}),m=Q();(u=m.query)!=null&&u.oid&&(r.oid=m.query.oid,r.product_id=m.query.product_id);const y=w([]),T=_=>{y.value=_.map(({id:t})=>t)},{dictData:h}=G(""),{pager:n,getLists:l,resetParams:B,resetPage:D}=A({fetchFun:H,params:r});return l(),(_,t)=>{const L=K,c=R,f=S,V=U,v=q,i=N,x=$,F=I,P=j;return p(),J("div",null,[o(v,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[o(V,{class:"mb-[-16px]",model:e(r),inline:""},{default:a(()=>[o(c,{label:"",prop:"create_time"},{default:a(()=>[o(L,{startTime:e(r).start_time,"onUpdate:startTime":t[0]||(t[0]=s=>e(r).start_time=s),endTime:e(r).end_time,"onUpdate:endTime":t[1]||(t[1]=s=>e(r).end_time=s)},null,8,["startTime","endTime"])]),_:1}),o(c,null,{default:a(()=>[o(f,{type:"primary",onClick:e(D)},{default:a(()=>t[4]||(t[4]=[g("\u67E5\u8BE2")])),_:1},8,["onClick"]),o(f,{onClick:e(B)},{default:a(()=>t[5]||(t[5]=[g("\u91CD\u7F6E")])),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),O((p(),C(v,{class:"!border-none",shadow:"never"},{default:a(()=>[b("div",null,[o(x,{data:e(n).lists,onSelectionChange:T},{default:a(()=>[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:e(n),"onUpdate:modelValue":t[2]||(t[2]=s=>W(n)?n.value=s:null),onChange:e(l)},null,8,["modelValue","onChange"])])]),_:1})),[[P,e(n).loading]]),e(d)?(p(),C(M,{key:0,ref_key:"editRef",ref:k,"dict-data":e(h),onSuccess:e(l),onClose:t[3]||(t[3]=s=>d.value=!1)},null,8,["dict-data","onSuccess"])):X("",!0)])}}});export{Mo as default};