2025-01-18 17:19:02 +08:00
|
|
|
import{V as Ee,a3 as ge,Q as we,a0 as be,C as Be,D as Ce,N as ke,O as he,w as Ve,F as xe,K as Se,G as Ae,b as $e,H as Me,I as Re}from"./element-plus.8e273e86.js";import{_ as Te}from"./index.vue_vue_type_script_setup_true_lang.d6032bc4.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.c25efc57.js";import{d as J,s as I,r as _,Z as Ye,i as Ie,af as ze,ap as Ke,o as n,c as f,U as o,L as a,u,aa as Ne,T as x,a9 as S,K as i,R as r,M as z,j as q,a as K,S as b,Q as B,n as N}from"./@vue.76ce7aa3.js";import{u as Oe}from"./usePaging.f8c888e4.js";import{u as Pe}from"./useDictOptions.cc192734.js";import{a as H}from"./store_order.eef9dd64.js";import{h as je}from"./index.4eb92b1c.js";import"./lodash.4e6d2a38.js";import{a as Ge}from"./system_store.aa0e1610.js";import{h as Z}from"./moment.40bc58bf.js";import{_ as Qe}from"./edit.vue_vue_type_script_setup_true_name_storeOrderEdit_lang.4c9e5f37.js";import{_ as qe}from"./addBeforehand.vue_vue_type_script_setup_true_name_storeOrderEdit_lang.884f86e2.js";import{_ as He}from"./details.vue_vue_type_script_setup_true_name_storeOrderDETAILS_lang.f7781d2a.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.63ba074e.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"./beforehand_order.be84c393.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.45278fa9.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.a39357f2.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.1c4ad7f9.js";import"./store_product.67945300.js";import"./store_branch_product.15081d2c.js";import"./warehouse_product_storege.4ecd1622.js";import"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.cc235938.js";import"./refundOrderProduct.vue_vue_type_script_setup_true_name_refundOrderProduct_lang.29e7ba20.js";import"./warehouse.133a325d.js";const Ze={class:"mt-4"},Je={class:"truncate text-[12px]"},We={key:0,style:{"text-align":"left"}},Xe={key:0},et={key:1},tt={class:"flex mt-4 justify-end"},ot=J({name:"storeOrderLists"}),ro=J({...ot,setup(lt){const A=I(),$=I(),M=I(),R=_(!1),T=_(!1),U=_(!1),W=[{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]}}];_([]);const l=Ye({order_id:"",uid:"",pay_type:"",store_id:"",start_time:"",end_time:"",paid:null,status:null,is_writeoff:null,source:"",timeScope:[]}),L=_("0"),X=s=>{s==0?(l.paid=null,l.status=null,l.is_writeoff=null):s==1?(l.paid=0,l.status=null,l.is_writeoff=null):s==2?(l.paid=1,l.status=1,l.is_writeoff=0):s==3?(l.paid=1,l.status=2,l.is_writeoff=null):s==4?(l.paid=null,l.status=4,l.is_writeoff=null):s==60&&(l.is_delivery=1,l.status=null,l.paid=null,l.is_writeoff=null),c()},ee=()=>{l.timeScope[0]&&l.timeScope[1]?(l.
|