moreShopAdmin/dist/admin/assets/details.9957f908.js

2 lines
3.6 KiB
JavaScript
Raw Normal View History

2024-11-08 12:27:11 +08:00
import{C as B,D as E,F}from"./element-plus.7e347b00.js";import{P as V}from"./index.b12708e3.js";import{a as y}from"./system_store_storage.cf992247.js";import"./lodash.1312d99b.js";import{d as s,s as n,r as b,Z as C,o as g,c as x,U as t,L as a,u as l}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.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./index.551a785f.js";import"./axios.ec410059.js";import"./jspdf.263a760e.js";import"./fflate.0418c72f.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.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.b0c09b66.js";const D={class:"edit-popup"},A=s({name:"systemStoreStorageDETAILS"}),_e=s({...A,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(U,{expose:f,emit:S}){const _=n(),i=n();b("add");const o=C({id:"",store_id:"",admin_id:"",operating_id:"",product_id:"",nums:"",status:""}),d=async r=>{for(const e in o)r[e]!=null&&r[e]!=null&&(o[e]=r[e])};return f({open:()=>{var r;(r=i.value)==null||r.open()},setFormData:d,getDetail:async r=>{const e=await y({id:r.id});d(e)}}),(r,e)=>{const p=B,m=E,c=F;return g(),x("div",D,[t(V,{ref_key:"popupRef",ref:i,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:a(()=>[t(c,{ref_key:"formRef",ref:_,model:l(o),"label-width":"90px"},{default:a(()=>[t(m,{label:"\u95E8\u5E97",prop:"store_id"},{default:a(()=>[t(p,{modelValue:l(o).store_id,"onUpdate:modelValue":e[0]||(e[0]=u=>l(o).store_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u95E8\u5E97",readonly:!0},null,8,["modelValue"])]),_:1}),t(m,{label:"\u5BFC\u5165\u4EBA\u5458",prop:"admin_id"},{default:a(()=>[t(p,{modelValue:l(o).admin_id,"onUpdate:modelValue":e[1]||(e[1]=u=>l(o).admin_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5BFC\u5165\u4EBA\u5458",readonly:!0},null,8,["modelValue"])]),_:1}),t(m,{label:"\u95E8\u5E97\u786E\u8BA4\u4EBA\u5458",prop:"operating_id"},{default:a(()=>[t(p,{modelValue:l(o).operating_id,"onUpdate:modelValue":e[2]||(e[2]=u=>l(o).operating_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u95E8\u5E97\u786E\u8BA4\u4EBA\u5458",readonly:!0},null,8,["modelValue"])]),_:1}),t(m,{label:"\u5546\u54C1",prop:"product_id"},{default:a(()=>[t(p,{modelValue:l(o).product_id,"onUpdate:modelValue":e[3]||(e[3]=u=>l(o).product_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1",readonly:!0},null,8,["modelValue"])]),_:1}),t(m,{label:"\u6570\u91CF",prop:"nums"},{default:a(()=>[t(p,{modelValue:l(o).nums,"onUpdate:modelValue":e[4]||(e[4]=u=>l(o).nums=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6570\u91CF",readonly:!0},null,8,["modelValue"])]),_:1}),t(m,{label:"\u72B6\u6001",prop:"status"},{default:a(()=>[t(p,{modelValue:l(o).status,"onUpdate:modelValue":e[5]||(e[5]=u=>l(o).status=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u72B6\u6001",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{_e as default};