2 lines
3.8 KiB
JavaScript
2 lines
3.8 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.91c68cc0.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang.863ae816.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang.2ca6b570.js";import{u as I}from"./usePaging.f8c888e4.js";import{u as K}from"./useDictOptions.1f11cf62.js";import{d as O}from"./user_product_storage_log.cb75051c.js";import"./lodash.4e6d2a38.js";import"./index.d12b3af4.js";import{_ as Q}from"./edit.vue_vue_type_script_setup_true_name_userProductStorageLogEdit_lang.ae6e18aa.js";import{u as Z}from"./vue-router.10bd5b90.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 a,u as e,R as g,M as J,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.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./pinia.f3529286.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.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.e03c2e5b.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"}),Qo=E({...oo,setup(to){var u;const k=z(),d=w(!1),r=G({create_time:"",start_time:"",end_time:"",oid:"",product_id:""}),m=Z();(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}=K(""),{pager:n,getLists:l,resetParams:B,resetPage:L}=I({fetchFun:O,params:r});return l(),(_,t)=>{const D=A,c=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:a(()=>[o(V,{class:"mb-[-16px]",model:e(r),inline:""},{default:a(()=>[o(c,{label:"",prop:"create_time"},{default:a(()=>[o(D,{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(L)},{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}),J((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(Q,{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{Qo as default};
|