moreShopAdmin/dist/admin/assets/index.41e553b3.js

2 lines
9.9 KiB
JavaScript
Raw Normal View History

2024-12-12 11:35:18 +08:00
import{U as ee,k as oe,C as le,D as te,J as ue,K as ae,w as re,F as se,L as ne,M as de,b as ie,N as pe,O as me}from"./element-plus.91c68cc0.js";import{_ as _e}from"./index.vue_vue_type_script_setup_true_lang.863ae816.js";import{_ as fe}from"./index.vue_vue_type_script_setup_true_lang.ab3103ff.js";import{u as ce}from"./usePaging.f8c888e4.js";import{f as Fe}from"./index.538201cd.js";import{d as Y,r as p,s as ve,Z as be,i as Ee,af as we,ap as he,o as m,c as M,U as e,L as u,u as t,j as A,a as F,T as ke,a9 as Be,K as b,R as _,M as h,S as k,Q as Ce,n as ye}from"./@vue.76ce7aa3.js";import"./lodash.905d29aa.js";import{h as T}from"./moment.40bc58bf.js";import{o as O,p as Ve,l as ge}from"./beforehand_order.5b8db63c.js";import{a as De}from"./system_store.b390d8ef.js";import{_ as Ae}from"./drawer.vue_vue_type_script_setup_true_lang.37c1d26e.js";import{_ as xe}from"./edit.vue_vue_type_script_setup_true_name_beforehandOrderEdit_lang.f47e8645.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.c02a27d1.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./axios.74873e41.js";import"./jspdf.9e946b0e.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.5dec0992.js";import"./color.f3e3a53f.js";import"./clone.8eedf8fa.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"./picker.0a5d9a0a.js";import"./index.f0396244.js";import"./index.3136b658.js";import"./vuedraggable.9cbba807.js";import"./vue.1f30e2e1.js";import"./sortablejs.8430e608.js";const Ue={class:"flex items-center mr-4"},Se={class:"mt-4"},Le={class:"flex mt-4 justify-end"},Me=Y({name:"warehouseOrderLists"}),Lo=Y({...Me,setup(Te){const B=p(!1),C=ve(),y=p(!1),$=p(null);p([]);const a=be({order_id:"",product_name:"",financial_pm:1,store_id:"",start_time:"",end_time:"",supplier_id:"",order_sn:"",order_ck:"",order_rk:"",order_type:"",warehouse_type:"",mark:""}),R=p([]),P=s=>{R.value=s.map(({id:o})=>o)},N=async s=>{var o,i;B.value=!0,await ye(),(o=C.value)==null||o.open("edit"),(i=C.value)==null||i.setFormData(s)},{pager:v,getLists:E,resetParams:z,resetPage:x}=ce({fetchFun:O,params:a}),I=async s=>{await Fe.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await Ve({id:s}),E()},f=p([]),j=()=>{f.value[0]&&f.value[1]?(a.start_time=T(f.value[0]).format("YYYY-MM-DD")+" 00:00:00",a.end_time=T(f.value[1]).format("YYYY-MM-DD")+" 23:59:59"):(a.start_time="",a.end_time=""),E()},q=s=>{ge({id:s,type:2}).then(o=>{window.open(o.url,"_blank"),oe.success("\u5BFC\u51FA\u6210\u529F")})},w=p(!1),U=p([]),K=(s="")=>{w.value=!0,De({name:s,page_size:50}).then(o=>{U.value=o.lists,setTimeout(()=>{w.value=!1},300)}).catch(o=>{setTimeout(()=>{w.value=!1},300)})};return Ee(()=>{E()}),(s,o)=>{const i=le,n=te,J=ee,d=ue,V=ae,c=re,Q=fe,Z=se,S=ne,g=we("router-link"),r=de,G=ie,H=pe,W=_e,D=he("perms"),X=me;return m(),M("div",null,[e(S,{class:"!border-none mb-4",shadow:"never"},{default:u(()=>[e(Z,{class:"mb-[-16px]",model:t(a),inline:""},{default:u(()=>[e(n,{label:"\u8BA2\u5355\u53F7",prop:"order_id"},{default:u(()=>[e(i,{class:"w-[280px]",modelValue:t(a).order_id,"onUpdate:modelValue":o[0]||(o[0]=l=>t(a).order_id=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u53F7"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u65E5\u671F",prop:"create_time"},{default:u(()=>[e(J,{modelValue:t(f),"onUpdate:modelValue":o[1]||(o[1]=l=>A(f)?f.value=l:null),type:"daterange","range-separator":"\u81F