2024-10-15 16:13:50 +08:00
|
|
|
import{U as ce,a2 as ve,H as he,$ as ye,C as De,D as Fe,J as ge,K as we,w as Ee,F as be,L as Ce,M as Be,b as ke,N as Ve,O as xe}from"./element-plus.4a7d92a3.js";import{_ as Se}from"./index.vue_vue_type_script_setup_true_lang.5d4e738c.js";import{_ as Ae}from"./index.vue_vue_type_script_setup_true_lang.ab7008c1.js";import{_ as Te}from"./index.vue_vue_type_script_setup_true_lang.574b1844.js";import{d as q,s as K,r as p,Z as $e,i as Me,af as Ue,o as n,c as m,U as t,L as l,u as a,aa as Le,T as x,a9 as S,K as d,j as U,R as r,M as Re,a as L,S as g,Q as R,n as Oe}from"./@vue.18505fe0.js";import{u as Ye}from"./usePaging.6a6670f9.js";import{u as Pe}from"./useDictOptions.ed20089f.js";import{a as N}from"./store_order.1e7475c6.js";import{j as ze}from"./beforehand_order.69accb3c.js";import"./lodash.9dc701ad.js";import{a as Ie}from"./system_store.ceccfc47.js";import{h as Ke}from"./index.2a097206.js";import{h as j}from"./moment.40bc58bf.js";import{_ as Ne}from"./edit.vue_vue_type_script_setup_true_name_storeOrderEdit_lang.57c08241.js";import{_ as je}from"./details.vue_vue_type_script_setup_true_name_storeOrderDETAILS_lang.a8202e20.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.7347fedc.js";import"./axios.4607972f.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.3cd15715.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./vue-router.101084e3.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.0d2736b7.js";import"./vue-clipboard3.7d5a7a5d.js";import"./clipboard.860a1cea.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./delivery_service.e1003790.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.90ed22f0.js";import"./orderInfo.vue_vue_type_script_setup_true_name_orderInfo_lang.143e1eec.js";import"./storeTable.vue_vue_type_script_setup_true_name_storeTable_lang.76a4f212.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.17987f2f.js";import"./store_product.3c6b9c3c.js";import"./store_branch_product.497a3ea4.js";import"./warehouse_product_storege.109adddb.js";import"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.6a9fc7a7.js";import"./refundOrderProduct.vue_vue_type_script_setup_true_name_refundOrderProduct_lang.2c74ce28.js";import"./warehouse.e3b258fc.js";const qe={class:"mt-4"},Ge={class:"truncate text-[12px]"},He={key:0,style:{"text-align":"left"}},Je={key:0},Qe={key:1},Ze={class:"flex mt-4 justify-end"},We=q({name:"storeOrderLists"}),to=q({...We,setup(Xe){const G=K(),A=K(),O=p(!1),T=p(!1),H=[{text:"\u8FD1\u4E00\u5468",value:()=>{const s=new Date,o=new Date;return o.setDate(o.getDate()-7),[o,s]}},{text:"\u8FD1\u4E00\u6708",value:()=>{const s=new Date,o=new Date;return o.setMonth(o.getMonth()-1),[o,s]}},{text:"\u8FD1\u4E09\u6708",value:()=>{const s=new Date,o=new Date;return o.setMonth(o.getMonth()-3),[o,s]}}],_=p([]),u=$e({order_id:"",uid:"",pay_type:"",store_id:"",start_time:"",end_time:"",paid:null,status:null,is_writeoff:null,source:""}),$=p("0"),J=s=>{s==0?(u.paid=null,u.status=null,u.is_writeoff=null):s==1?(u.paid=0,u.status=null,u.is_writeoff=null):s==2?(u.paid=1,u.status=1,u.is_writeoff=0):s==3?(u.paid=1,u.status=2,u.is_writeoff=null):s==4?(u.paid=null,u.status=4,u.is_writeoff=null):s==60&&(u.is_delivery=1,u.status=null,u.paid=null,u.is_writeoff=null),v()},Q=()=>{_.value[0]&&_.value[1]?(u.start_time=j(_.value[0]).format("YYYY-MM-DD")+" 00:00:00",u.end_time=j(_.value[1]).format("YYYY-MM-DD")+" 23:59:59"):(u.start_time="",u.end_time=""),v()},w=p(!1),Y=p([]),Z=(s="")=>{w
|