ERP-admin/build/admin/assets/index.6aaffe2c.js

2 lines
4.8 KiB
JavaScript
Raw Normal View History

2024-05-21 15:15:41 +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.d8e0827b.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang.b67c1046.js";import{u as j}from"./usePaging.6a6670f9.js";import{u as Q}from"./useDictOptions.f8f89444.js";import{a as q}from"./cashierinfo.f9a9811d.js";import"./lodash.466e9fe4.js";import"./index.58242ff9.js";import{_ as K}from"./edit.vue_vue_type_script_setup_true_name_cashierinfoEdit_lang.f74eb113.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.a6528143.js";import"./@babel.16688d44.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./axios.4905d81f.js";import"./jspdf.54afd842.js";import"./fflate.fca59393.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.3461658b.js";import"./vue-clipboard3.c63182fd.js";import"./clipboard.dd2c63d0.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.432b2bf9.js";const J={class:"mt-4"},W={class:"flex mt-4 justify-end"},X=C({name:"cashierinfoLists"}),Qo=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-