2024-10-13 21:59: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.a63a26dd.js";import{_ as Se}from"./index.vue_vue_type_script_setup_true_lang.ecb80feb.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.569b69a6.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.1c525481.js";import{a as N}from"./store_order.9bba7c1b.js";import{j as ze}from"./beforehand_order.21441899.js";import"./lodash.2473fc51.js";import{a as Ie}from"./system_store.f6a7c6eb.js";import{h as Ke}from"./index.c3c26e2f.js";import{h as j}from"./moment.40bc58bf.js";import{_ as Ne}from"./edit.vue_vue_type_script_setup_true_name_storeOrderEdit_lang.0c545ba6.js";import{_ as je}from"./details.vue_vue_type_script_setup_true_name_storeOrderDETAILS_lang.3c76e60b.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.4884cfc2.js";import"./axios.932d3f8a.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.3d678e42.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.9f6a56f3.js";import"./color.d1bc3784.js";import"./clone.83700f2e.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.fcc9be76.js";import"./vue-clipboard3.9e751565.js";import"./clipboard.dda64e67.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.d6dd16ed.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.5bc51299.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.7ac377f8.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.8fd0b09e.js";import"./store_product.12b05f18.js";import"./store_branch_product.676a5151.js";import"./warehouse_product_storege.6c504a16.js";import"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.94b31732.js";import"./refundOrderProduct.vue_vue_type_script_setup_true_name_refundOrderProduct_lang.f72e1b3a.js";import"./warehouse.f63a3d99.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
|