2024-11-08 16:41:28 +08:00
|
|
|
import{U as De,a4 as Fe,H as ge,$ as we,C as Ee,D as be,J as Ce,K as ke,w as Be,F as Ve,L as xe,M as Se,b as $e,N as Ae,O as Te}from"./element-plus.7e347b00.js";import{_ as Me}from"./index.vue_vue_type_script_setup_true_lang.af250dfd.js";import{_ as Ue}from"./index.vue_vue_type_script_setup_true_lang.ab7008c1.js";import{_ as Le}from"./index.vue_vue_type_script_setup_true_lang.b99f481e.js";import{d as Q,s as q,r as p,Z as Re,i as Oe,af as Ye,ap as Pe,o as n,c as m,U as o,L as l,u as a,aa as ze,T as x,a9 as S,K as i,j as O,R as r,M as Y,a as P,S as E,Q as $,n as G}from"./@vue.18505fe0.js";import{u as Ie}from"./usePaging.6a6670f9.js";import{u as Ke}from"./useDictOptions.14b113d2.js";import{a as H}from"./store_order.4732714c.js";import{n as Ne}from"./beforehand_order.96ebe9df.js";import"./lodash.4e6d2a38.js";import{a as je}from"./system_store.8f6870fa.js";import{h as qe}from"./index.5aa7d0e8.js";import{h as J}from"./moment.40bc58bf.js";import{_ as Ge}from"./edit.vue_vue_type_script_setup_true_name_storeOrderEdit_lang.d28f9667.js";import{_ as He}from"./details.vue_vue_type_script_setup_true_name_storeOrderDETAILS_lang.8da86ce4.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.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.a037a0fd.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.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.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.b0c09b66.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.cf1573d2.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.4c283518.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.b993a112.js";import"./store_product.48702cca.js";import"./store_branch_product.0ed8c6c5.js";import"./warehouse_product_storege.a30de2d6.js";import"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.aea34588.js";import"./refundOrderProduct.vue_vue_type_script_setup_true_name_refundOrderProduct_lang.8c4a2fc3.js";import"./warehouse.dd28022c.js";const Je={class:"mt-4"},Qe={class:"truncate text-[12px]"},Ze={key:0,style:{"text-align":"left"}},We={key:0},Xe={key:1},et={class:"flex mt-4 justify-end"},tt=Q({name:"storeOrderLists"}),so=Q({...tt,setup(ot){const A=q(),T=q(),M=p(!1),U=p(!1),Z=[{text:"\u8FD1\u4E00\u5468",value:()=>{const s=new Date,t=new Date;return t.setDate(t.getDate()-7),[t,s]}},{text:"\u8FD1\u4E00\u6708",value:()=>{const s=new Date,t=new Date;return t.setMonth(t.getMonth()-1),[t,s]}},{text:"\u8FD1\u4E09\u6708",value:()=>{const s=new Date,t=new Date;return t.setMonth(t.getMonth()-3),[t,s]}}],_=p([]),u=Re({order_id:"",uid:"",pay_type:"",store_id:"",start_time:"",end_time:"",paid:null,status:null,is_writeoff:null,source:""}),L=p("0"),W=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),y()},X=()=>{_.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_ti
|