moreShopAdmin/build/admin/assets/index.a25fef13.js

2 lines
7.2 KiB
JavaScript
Raw Normal View History

2024-10-29 11:57:20 +08:00
import{C as T,D as j,w as M,F as W,L as q,M as K,N as O,O as Q}from"./element-plus.4a7d92a3.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.5d4e738c.js";import{f as z,b as G}from"./index.3ee06ac6.js";import{u as H}from"./usePaging.6a6670f9.js";import{u as J}from"./useDictOptions.a5324ab4.js";import{e as X,b as Y}from"./warehouse_product_return.16037c8e.js";import"./lodash.9dc701ad.js";import{_ as ee}from"./edit.vue_vue_type_script_setup_true_name_warehouseProductReturnEdit_lang.0908367c.js";import{d as k,s as oe,r as V,Z as le,ap as te,o as d,c as ue,U as e,L as a,u as o,R as m,M as f,K as c,a as B,j as ae,Q as re,n as D}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.7347fedc.js";import"./axios.4607972f.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.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.0d2736b7.js";import"./vue-clipboard3.7d5a7a5d.js";import"./clipboard.860a1cea.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.47f1e565.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";const pe={class:"mt-4"},ie={class:"flex mt-4 justify-end"},se=k({name:"warehouseProductReturnLists"}),Ge=k({...se,setup(de){const w=oe(),F=V(!1),r=le({warehouse_id:"",supplier_id:"",store_id:"",product_id:"",oid:"",code:"",return_type:""}),h=V([]),y=i=>{h.value=i.map(({id:l})=>l)},{dictData:g}=J(""),{pager:_,getLists:b,resetParams:x,resetPage:U}=H({fetchFun:Y,params:r}),I=async()=>{var i;F.value=!0,await D(),(i=w.value)==null||i.open("add")},P=async i=>{var l,p;F.value=!0,await D(),(l=w.value)==null||l.open("edit"),(p=w.value)==null||p.setFormData(i)},v=async i=>{await z.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await X({id:i}),b()};return b(),(i,l)=>{const p=T,s=j,n=M,R=W,C=q,$=G,t=K,L=O,N=Z,E=te("perms"),A=Q;return d(),ue("div",null,[e(C,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[e(R,{class:"mb-[-16px]",model:o(r),inline:""},{default:a(()=>[e(s,{label:"\u4ED3\u5E93ID",prop:"warehouse_id"},{default:a(()=>[e(p,{class:"w-[280px]",modelValue:o(r).warehouse_id,"onUpdate:modelValue":l[0]||(l[0]=u=>o(r).warehouse_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4ED3\u5E93ID"},null,8,["modelValue"])]),_:1}),e(s,{label:"\u4F9B\u5E94\u5546id",prop:"supplier_id"},{default:a(()=>[e(p,{class:"w-[280px]",modelValue:o(r).supplier_id,"onUpdate:modelValue":l[1]||(l[1]=u=>o(r).supplier_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4F9B\u5E94\u5546id"},null,8,["modelValue"])]),_:1}),e(s,{label:"\u95E8\u5E97id",prop:"store_id"},{default:a(()=>[e(p,{class:"w-[280px]",modelValue:o(r).store_id,"onUpdate:modelValue":l[2]||(l[2]=u=>o(r).store_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u95E8\u5E97id"},null,8,["modelValue"])]),_:1}),e(s,{label:"\u5546\u54C1ID",prop:"product_id"},{default:a(()=>[e(p,{class:"w-[280px]",modelValue:o(r).product_id,"onUpdate:modelValue":l[3]||(l[3]=u=>o(r).product_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1ID"},null,8,["modelValue"])]),_:1}),e(s,{label:"\u5355\u53F7id",prop:"oid"},{default:a(()=>[e(p,{class:"w-[280px]",modelValue:o(r).oid,"onUpdate:modelValue":l[4]||(l[4]=u=>o(r).oid=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5355\u53F7id"},null,8,["modelValue"])]),_:1}),e(s,{label:"\u5355\u53F7",prop:"code"},{default:a(()=>[e(p,{class:"w-[280px]",modelValue:o(r).code,"onUpdate:modelValue":l[5]||(l[5]=u=>o(r).code=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5355\u53F7"},null,8,["modelValue"])]),_:1}),e(s,{label:"1\u4ED3\u5E932\