2025-01-11 16:20:06 +08:00
|
|
|
import{V as ge,a3 as we,Q as Ee,a0 as Be,C as Ce,D as be,N as ke,O as he,w as Ve,F as xe,K as Se,G as $e,b as Ae,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.f2965c43.js";import{d as J,s as I,r as m,Z as Ye,i as Ie,af as ze,ap as Ke,o as n,c as _,U as o,L as u,u as a,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 E,Q as B,n as N}from"./@vue.76ce7aa3.js";import{u as Oe}from"./usePaging.f8c888e4.js";import{u as Pe}from"./useDictOptions.b9f2df24.js";import{a as H}from"./store_order.bca5e7be.js";import{h as je}from"./index.2ebab4f0.js";import"./lodash.41b9567d.js";import{a as Ge}from"./system_store.f7225c0f.js";import{h as Z}from"./moment.40bc58bf.js";import{_ as Qe}from"./edit.vue_vue_type_script_setup_true_name_storeOrderEdit_lang.f11f14b5.js";import{_ as qe}from"./addBeforehand.vue_vue_type_script_setup_true_name_storeOrderEdit_lang.2bb277b7.js";import{_ as He}from"./details.vue_vue_type_script_setup_true_name_storeOrderDETAILS_lang.a4275e2d.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.07f7e4f1.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./axios.b4cbdbc9.js";import"./jspdf.75308076.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.f23177ae.js";import"./color.a6ad6672.js";import"./clone.954ba32c.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.4a097575.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.acd13204.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.0e8ea1ac.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.a9a99edd.js";import"./store_product.2da82c38.js";import"./store_branch_product.a2c0745c.js";import"./warehouse_product_storege.453bea94.js";import"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.e8b02bc9.js";import"./refundOrderProduct.vue_vue_type_script_setup_true_name_refundOrderProduct_lang.5b3072ad.js";import"./warehouse.7c520bce.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 $=I(),A=I(),M=I(),R=m(!1),T=m(!1),U=m(!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]}}];m([]);const l=Ye({order_id:"",uid:"",pay_type:"",store_id:"",start_time:"",end_time:"",paid:null,status:null,is_writeoff:null,source:"",timeScope:[]}),L=m("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),f()},ee=()=>{l.timeScope[0]&&l.timeScope[1
|