moreShopAdmin/build/admin/assets/index.94468db2.js

2 lines
4.5 KiB
JavaScript

import{V as P,C as T,D as U,w as A,F as z,K as N,G as S,H as j,I as K}from"./element-plus.8e273e86.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang.d6032bc4.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang.ca6e332b.js";import{u as $}from"./usePaging.f8c888e4.js";import"./index.41916feb.js";import{d as f}from"./beforehand_order_cart_info.a1ef28e0.js";import"./lodash.41b9567d.js";import{h as b}from"./moment.40bc58bf.js";import{d as E,Z as q,r as h,i as G,o as w,c as H,U as o,L as r,u as e,j as F,R as v,M as Z,K as J,a as C}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.d70ecc7a.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./axios.b4cbdbc9.js";import"./jspdf.75308076.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.f23177ae.js";import"./color.a6ad6672.js";import"./clone.954ba32c.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"}),Oo=E({...X,setup(oo){const a=q({store_name:"",bhoid:"",start_time:"",end_time:""}),g=h([]),B=u=>{g.value=u.map(({id:t})=>t)},n=h([]),V=()=>{n.value[0]&&n.value[1]?(a.start_time=b(n.value[0]).format("YYYY-MM-DD")+" 00:00:00",a.end_time=b(n.value[1]).format("YYYY-MM-DD")+" 23:59:59"):(a.start_time="",a.end_time=""),m()},{pager:p,getLists:m,resetParams:D,resetPage:k}=$({fetchFun:f,params:a});return G(()=>{m()}),(u,t)=>{const d=T,i=U,x=P,_=A,Y=R,y=z,c=N,l=S,M=j,I=O,L=K;return w(),H("div",null,[o(c,{class:"!border-none mb-4",shadow:"never"},{default:r(()=>[o(y,{class:"mb-[-16px]",model:e(a),inline:""},{default:r(()=>[o(i,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name"},{default:r(()=>[o(d,{class:"w-[280px]",modelValue:e(a).store_name,"onUpdate:modelValue":t[0]||(t[0]=s=>e(a).store_name=s),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(i,{label:"\u8BA2\u5355id",prop:"bhoid"},{default:r(()=>[o(d,{class:"w-[280px]",modelValue:e(a).bhoid,"onUpdate:modelValue":t[1]||(t[1]=s=>e(a).bhoid=s),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355id"},null,8,["modelValue"])]),_:1}),o(i,{label:"\u65E5\u671F",prop:"create_time"},{default:r(()=>[o(x,{modelValue:e(n),"onUpdate:modelValue":t[2]||(t[2]=s=>F(n)?n.value=s:null),type:"daterange","range-separator":"\u81F3","start-placeholder":"\u5F00\u59CB\u65E5\u671F","end-placeholder":"\u7ED3\u675F\u65E5\u671F","unlink-panels":"",onChange:V},null,8,["modelValue"])]),_:1}),o(i,null,{default:r(()=>[o(_,{type:"primary",onClick:e(k)},{default:r(()=>t[4]||(t[4]=[v("\u67E5\u8BE2")])),_:1},8,["onClick"]),o(_,{onClick:e(D)},{default:r(()=>t[5]||(t[5]=[v("\u91CD\u7F6E")])),_:1},8,["onClick"]),o(Y,{class:"ml-2.5","fetch-fun":e(f),params:e(a),"page-size":e(p).size},null,8,["fetch-fun","params","page-size"])]),_:1})]),_:1},8,["model"])]),_:1}),Z((w(),J(c,{class:"!border-none",shadow:"never"},{default:r(()=>[C("div",Q,[o(M,{data:e(p).lists,onSelectionChange:B},{default:r(()=>[o(l,{type:"selection",width:"55"}),o(l,{label:"\u8BA2\u5355id",prop:"bhoid","show-overflow-tooltip":""}),o(l,{label:"\u5546\u54C1",prop:"store_name","show-overflow-tooltip":""}),o(l,{label:"\u5355\u4F4D",prop:"unit_name","show-overflow-tooltip":""}),o(l,{label:"\u4F9B\u8D27\u4EF7",prop:"purchase","show-overflow-tooltip":""}),o(l,{label:"\u5355\u4EF7",prop:"price","show-overflow-tooltip":""}),o(l,{label:"\u603B\u4EF7",prop:"total_price","show-overflow-tooltip":""}),o(l,{label:"\u6570\u91CF",prop:"cart_num","show-overflow-tooltip":""}),o(l,{label:"\u5907\u6CE8",prop:"mark","show-overflow-tooltip":""}),o(l,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""})]),_:1},8,["data"])]),C("div",W,[o(I,{modelValue:e(p),"onUpdate:modelValue":t[3]||(t[3]=s=>F(p)?p.value=s:null),onChange:e(m)},null,8,["modelValue","onChange"])])]),_:1})),[[L,e(p).loading]])])}}});export{Oo as default};