2024-11-14 18:01:22 +08:00
|
|
|
import{U as Fe,a4 as ge,H as we,$ as Ee,C as be,D as Ce,J as ke,K as Be,w as he,F as Ve,L as xe,M as Se,b as $e,N as Ae,O as Te}from"./element-plus.91c68cc0.js";import{_ as Me}from"./index.vue_vue_type_script_setup_true_lang.863ae816.js";import{_ as Ue}from"./index.vue_vue_type_script_setup_true_lang.20e90b1a.js";import{_ as Le}from"./index.vue_vue_type_script_setup_true_lang.17cfa423.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 a,u as l,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 b,Q as $,n as G}from"./@vue.76ce7aa3.js";import{u as Ie}from"./usePaging.f8c888e4.js";import{u as Ke}from"./useDictOptions.667b4f46.js";import{a as H}from"./store_order.74f9312d.js";import{o as Ne}from"./beforehand_order.e620a6c4.js";import"./lodash.4e6d2a38.js";import{a as je}from"./system_store.de59f6da.js";import{h as qe}from"./index.c425938f.js";import{h as J}from"./moment.40bc58bf.js";import{_ as Ge}from"./edit.vue_vue_type_script_setup_true_name_storeOrderEdit_lang.1913709c.js";import{_ as He}from"./details.vue_vue_type_script_setup_true_name_storeOrderDETAILS_lang.45d3c5f9.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.a1b5f040.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";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.62defa65.js";import"./orderInfo.vue_vue_type_script_setup_true_name_orderInfo_lang.b69d9111.js";import"./storeTable.vue_vue_type_script_setup_true_name_storeTable_lang.3d94d6f1.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.28765d89.js";import"./store_product.5301abf6.js";import"./store_branch_product.eb2144e6.js";import"./warehouse_product_storege.03f406bc.js";import"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.22b3458a.js";import"./refundOrderProduct.vue_vue_type_script_setup_true_name_refundOrderProduct_lang.1ab8ee26.js";import"./warehouse.2c8635df.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,e=new Date;return e.setDate(e.getDate()-7),[e,s]}},{text:"\u8FD1\u4E00\u6708",value:()=>{const s=new Date,e=new Date;return e.setMonth(e.getMonth()-1),[e,s]}},{text:"\u8FD1\u4E09\u6708",value:()=>{const s=new Date,e=new Date;return e.setMonth(e.getMonth()-3),[e,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
|