ERP-admin/build/admin/assets/index.bd44a98f.js

2 lines
4.7 KiB
JavaScript
Raw Normal View History

2024-05-21 13:42:22 +08:00
import{C as I,D as R,w as L,F as N,T as P,O as S,Q as T,R as A}from"./element-plus.619595c4.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang.02c63712.js";import{u as j}from"./usePaging.6a6670f9.js";import{u as Q}from"./useDictOptions.2130484f.js";import{a as q}from"./cashierinfo.66697ca0.js";import"./lodash.0987e768.js";import"./index.adbcc6f1.js";import{_ as K}from"./edit.vue_vue_type_script_setup_true_name_cashierinfoEdit_lang.b98f1aa2.js";import{d as C,s as M,r as w,Z as O,o as m,c as Z,U as o,L as s,u as e,R as b,M as z,K as E,a as h,j as G,Q as H}from"./@vue.18505fe0.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.6ad9ae30.js";import"./axios.fbe06b45.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.29b71fa4.js";import"./color.87d313dc.js";import"./clone.a63396d9.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.316b9a3d.js";import"./vue-clipboard3.f9a42727.js";import"./clipboard.bf37ca4b.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.122ff80d.js";const J={class:"mt-4"},W={class:"flex mt-4 justify-end"},X=C({name:"cashierinfoLists"}),Ao=C({...X,setup(Y){const v=M(),d=w(!1),t=O({pid:"",room:"",goods:"",warehouse:"",serial:""}),F=w([]),V=c=>{F.value=c.map(({id:l})=>l)},{dictData:g}=Q(""),{pager:p,getLists:n,resetParams:D,resetPage:B}=j({fetchFun:q,params:t});return n(),(c,l)=>{const i=I,u=R,f=L,x=N,_=P,a=S,k=T,U=$,y=A;return m(),Z("div",null,[o(_,{class:"!border-none mb-4",shadow:"never"},{default:s(()=>[o(x,{class:"mb-[-16px]",model:e(t),inline:""},{default:s(()=>[o(u,{label:"\u6240\u5C5EID",prop:"pid"},{default:s(()=>[o(i,{class:"w-[280px]",modelValue:e(t).pid,"onUpdate:modelValue":l[0]||(l[0]=r=>e(t).pid=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6240\u5C5EID"},null,8,["modelValue"])]),_:1}),o(u,{label:"\u4ED3\u50A8",prop:"room"},{default:s(()=>[o(i,{class:"w-[280px]",modelValue:e(t).room,"onUpdate:modelValue":l[1]||(l[1]=r=>e(t).room=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4ED3\u50A8"},null,8,["modelValue"])]),_:1}),o(u,{label:"\u5546\u54C1",prop:"goods"},{default:s(()=>[o(i,{class:"w-[280px]",modelValue:e(t).goods,"onUpdate:modelValue":l[2]||(l[2]=r=>e(t).goods=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1"},null,8,["modelValue"])]),_:1}),o(u,{label:"\u4ED3\u5E93",prop:"warehouse"},{default:s(()=>[o(i,{class:"w-[280px]",modelValue:e(t).warehouse,"onUpdate:modelValue":l[3]||(l[3]=r=>e(t).warehouse=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4ED3\u5E93"},null,8,["modelValue"])]),_:1}),o(u,{label:"\u4E32\u53F7",prop:"serial"},{default:s(()=>[o(i,{class:"w-[280px]",modelValue:e(t).serial,"onUpdate:modelValue":l[4]||(l[4]=r=>e(t).serial=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4E32\u53F7"},null,8,["modelValue"])]),_:1}),o(u,null,{default:s(()=>[o(f,{type:"primary",onClick:e(B)},{default:s(()=>[b("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(f,{onClick:e(D)},{default:s(()=>[b("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),z((m(),E(_,{class:"!border-none",shadow:"never"},{default:s(()=>[h("div",J,[o(k,{data:e(p).lists,onSelectionChange:V},{default:s(()=>[o(a,{label:"ID",prop:"id","show-overflow-tooltip":""}),o(a,{label:"\u6240\u5C5EID",prop:"pid","show-overflow-tooltip":""}),o(a,{label:"\u4ED3\u50A8",prop:"room","show-overflow-tooltip":""}),o(a,{label:"\u5546\u54C1",prop:"goods_name","show-overflow-tooltip":""}),o(a,{label:"\u4ED3\u5E93",prop:"warehouse","show-overflow-tooltip":""}),o(a,{label:"\u4E32\u53F7",prop:"cashier_number","show-overflow-tooltip":""}),o(a,{label:"\u6570\u91CF",prop:"nums","show-overflow-tooltip":""}),o(a,{