moreShopAdmin/dist/admin/assets/index.7e124ffb.js

2 lines
8.0 KiB
JavaScript
Raw Normal View History

2024-08-25 21:38:52 +08:00
import{U as re,J as ue,K as se,D as ne,C as ie,w as pe,F as me,L as de,M as ce,N as _e,O as fe}from"./element-plus.a63a26dd.js";import{_ as ve}from"./index.vue_vue_type_script_setup_true_lang.ecb80feb.js";import{u as he}from"./usePaging.6a6670f9.js";import{u as we}from"./useDictOptions.5cfa01eb.js";import{h as Ee,i as Ce}from"./warehouse_order.512378db.js";import"./lodash.2473fc51.js";import{f as Fe}from"./index.cde98ffa.js";import{_ as De}from"./edit.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.bc09f906.js";import{_ as be}from"./details.vue_vue_type_script_setup_true_name_storeOrderDETAILS_lang.e19d13de.js";import{a as ke}from"./system_store.f3614cdf.js";import{h as $}from"./moment.40bc58bf.js";import{a as ge}from"./supplier.a34f52ce.js";import{d as j,s as R,r as p,Z as ye,af as Ve,ap as Be,o as n,c as k,U as e,L as l,u as t,a as g,T as N,a9 as O,K as d,j as P,R as v,M as y,Q as A,n as I}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.4884cfc2.js";import"./axios.932d3f8a.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.9f6a56f3.js";import"./color.d1bc3784.js";import"./clone.83700f2e.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.fcc9be76.js";import"./vue-clipboard3.9e751565.js";import"./clipboard.dda64e67.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.c4e27aeb.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.cf6ad159.js";import"./store_product.e62586d9.js";import"./store_branch_product.26fcf8e6.js";import"./warehouse_product_storege.5b79ec79.js";import"./warehouse_product.33acb344.js";import"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.a3980a4e.js";const xe={class:"flex items-center mr-4"},Le={class:"mt-4"},Se={class:"flex mt-4 justify-end"},Te=j({name:"warehouseOrderLists"}),xo=j({...Te,setup(Ue){const C=R(),F=R(),D=p(!1),b=p(!1),r=ye({warehouse_id:"",product_name:"",financial_pm:1,store_id:"",start_time:"",end_time:"",supplier_id:""}),K=p([]),W=s=>{K.value=s.map(({id:o})=>o)},{dictData:V}=we(""),{pager:h,getLists:c,resetParams:q,resetPage:B}=he({fetchFun:Ce,params:r}),z=async s=>{var o,i;D.value=!0,await I(),(o=C.value)==null||o.open("edit"),(i=C.value)==null||i.setFormData(s)},J=async s=>{await Fe.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await Ee({id:s}),c()},Q=async s=>{var o,i;b.value=!0,await I(),(o=F.value)==null||o.open(),(i=F.value)==null||i.getDetail(s)},m=p([]),Z=()=>{m.value[0]&&m.value[1]?(r.start_time=$(m.value[0]).format("YYYY-MM-DD")+" 00:00:00",r.end_time=$(m.value[1]).format("YYYY-MM-DD")+" 23:59:59"):(r.start_time="",r.end_time=""),c()},w=p(!1),x=p([]),G=(s="")=>{w.value=!0,ke({name:s,page_size:50}).then(o=>{x.value=o.lists,setTimeout(()=>{w.value=!1},300)}).catch(o=>{setTimeout(()=>{w.value=!1},300)})},E=p(!1),L=p([]),H=(s="")=>{E.value=!0,ge({}).then(o=>{L.value=o.lists,setTimeout(()=>{E.value=!1},300)}).catch(o=>{setTimeout(()=>{E.value=!1},300)})};return c(),(s,o)=>{const i=ue,S=se,_=ne,T=ie,X=re,f=pe,ee=me,U=de,oe=Ve("router-link"),u=ce,te=_e,ae=ve,M=Be("perms"),le=fe;return n(),k("div",null,[e(U,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(ee,{class:"mb-[-16px]",model:t(r),inline:""},{default:l(()=>[e(_,{label:"\u95E8\u5E97\u540D\u79F0",prop:"store_id"},{default:l(()=>[g("div",xe,[e(S,{modelValue:t(r).store_id,"onUpdate:modelValue":o[0]||(o[0]=a=>t(r).store_id=a),filterable:"",remote:"","reserve-keyword":"",placeholder:"\u8F93\u5165\u95E8\u5E97\u540D\u79F0\u641C\u7D22","remote-show-suffix":""