moreShopAdmin/build/admin/assets/index.96285fbd.js

2 lines
5.2 KiB
JavaScript
Raw Normal View History

2024-11-21 17:27:37 +08:00
import{U as A,C as P,D as T,w as I,F as N,L as z,M as O,N as S,O as j}from"./element-plus.91c68cc0.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang.863ae816.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang.d134accc.js";import{u as $}from"./usePaging.f8c888e4.js";import"./index.d12b3af4.js";import{d as f}from"./beforehand_order_cart_info.e57bc4ef.js";import"./lodash.4e6d2a38.js";import{h as w}from"./moment.40bc58bf.js";import{d as E,Z as K,r as h,i as Z,o as b,c as G,U as o,L as r,u as t,j as v,R as C,M as H,K as J,a as F}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"./index.e03c2e5b.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.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";const Q={class:"mt-4"},W={class:"flex mt-4 justify-end"},X=E({name:"beforehandOrderCartInfoLists"}),qo=E({...X,setup(oo){const a=K({store_name:"",bhoid:"",start_time:"",end_time:""}),g=h([]),D=m=>{g.value=m.map(({id:l})=>l)},p=h([]),B=()=>{p.value[0]&&p.value[1]?(a.start_time=w(p.value[0]).format("YYYY-MM-DD")+" 00:00:00",a.end_time=w(p.value[1]).format("YYYY-MM-DD")+" 23:59:59"):(a.start_time="",a.end_time=""),i()},{pager:s,getLists:i,resetParams:V,resetPage:k}=$({fetchFun:f,params:a});return Z(()=>{i()}),(m,l)=>{const d=P,n=T,x=A,_=I,y=R,Y=N,c=z,e=O,M=S,L=q,U=j;return b(),G("div",null,[o(c,{class:"!border-none mb-4",shadow:"never"},{default:r(()=>[o(Y,{class:"mb-[-16px]",model:t(a),inline:""},{default:r(()=>[o(n,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name"},{default:r(()=>[o(d,{class:"w-[280px]",modelValue:t(a).store_name,"onUpdate:modelValue":l[0]||(l[0]=u=>t(a).store_name=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(n,{label:"\u8BA2\u5355id",prop:"bhoid"},{default:r(()=>[o(d,{class:"w-[280px]",modelValue:t(a).bhoid,"onUpdate:modelValue":l[1]||(l[1]=u=>t(a).bhoid=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355id"},null,8,["modelValue"])]),_:1}),o(n,{label:"\u65E5\u671F",prop:"create_time"},{default:r(()=>[o(x,{modelValue:t(p),"onUpdate:modelValue":l[2]||(l[2]=u=>v(p)?p.value=u:null),type:"daterange","range-separator":"\u81F3","start-placeholder":"\u5F00\u59CB\u65E5\u671F","end-placeholder":"\u7ED3\u675F\u65E5\u671F","unlink-panels":"",onChange:B},null,8,["modelValue"])]),_:1}),o(n,null,{default:r(()=>[o(_,{type:"primary",onClick:t(k)},{default:r(()=>l[4]||(l[4]=[C("\u67E5\u8BE2")])),_:1},8,["onClick"]),o(_,{onClick:t(V)},{default:r(()=>l[5]||(l[5]=[C("\u91CD\u7F6E")])),_:1},8,["onClick"]),o(y,{class:"ml-2.5","fetch-fun":t(f),params:t(a),"page-size":t(s).size},null,8,["fetch-fun","params","page-size"])]),_:1})]),_:1},8,["model"])]),_:1}),H((b(),J(c,{class:"!border-none",shadow:"never"},{default:r(()=>[F("div",Q,[o(M,{data:t(s).lists,onSelectionChange:D},{default:r(()=>[o(e,{type:"selection",width:"55"}),o(e,{label:"\u8BA2\u5355id",prop:"bhoid","show-overflow-tooltip":""}),o(e,{label:"\u5546\u54C1",prop:"store_name","show-overflow-tooltip":""}),o(e,{label:"\u5355\u4F4D",prop:"unit_name","show-overflow-tooltip":""}),o(e,{label:"\u5305\u88C5",prop:"package","show-overflow-tooltip":""}),o(e,{label:"\u578B\u53F7",prop:"ma