2 lines
3.7 KiB
JavaScript
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.2c2b06a1.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang.7141614b.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang.a6636662.js";import{u as I}from"./usePaging.6a6670f9.js";import{u as K}from"./useDictOptions.126182fb.js";import{d as O}from"./user_product_storage_log.34dfa9bc.js";import"./lodash.4e6d2a38.js";import"./index.3ccf3a31.js";import{_ as Q}from"./edit.vue_vue_type_script_setup_true_name_userProductStorageLogEdit_lang.18f81fcd.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.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.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.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.b0c09b66.js";import"./index.4dc74392.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"}),Qo=E({...oo,setup(to){var u;const h=z(),d=w(!1),a=G({create_time:"",start_time:"",end_time:"",oid:"",product_id:""}),m=Z();(u=m.query)!=null&&u.oid&&(a.oid=m.query.oid,a.product_id=m.query.product_id);const k=w([]),y=c=>{k.value=c.map(({id:e})=>e)},{dictData:T}=K(""),{pager:n,getLists:l,resetParams:B,resetPage:L}=I({fetchFun:O,params:a});return l(),(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(l)},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(l),onClose:e[3]||(e[3]=s=>d.value=!1)},null,8,["dict-data","onSuccess"])):X("",!0)])}}});export{Qo as default};
|