moreShopAdmin/build/admin/assets/details.57c49d50.js

2 lines
2.4 KiB
JavaScript
Raw Normal View History

2024-11-15 19:58:31 +08:00
import{m as d,s as i,r as D,aT as E,p as b,q as x,t as o,v as u,u as l,aW as y,aX as F,ac as k,aY as w}from"./.pnpm.1b0299fb.js";import{_ as C}from"./picker.0aa9b690.js";import{P as B}from"./index.6c48d0ba.js";import{a as R}from"./store_cash_finance_flow.d623b7ca.js";import"./lodash.c3b66c05.js";import"./index.49d8d118.js";import"./index.vue_vue_type_script_setup_true_lang.b077f234.js";import"./index.05c22055.js";import"./index.689cfa31.js";import"./@vueuse.72d44d91.js";import"./@vue.9d708d7c.js";import"./usePaging.00aa976d.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.abac7546.js";const U={class:"edit-popup"},g=d({name:"storeCashFinanceFlowDETAILS"}),J=d({...g,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:f,emit:I}){const _=i(),m=i();D("add");const t=E({id:""}),p=async a=>{for(const e in t)a[e]!=null&&a[e]!=null&&(t[e]=a[e])};return f({open:()=>{var a;(a=m.value)==null||a.open()},setFormData:p,getDetail:async a=>{const e=await R({id:a.id});p(e)}}),(a,e)=>{const s=y,r=F,c=k,V=C,v=w;return b(),x("div",U,[o(B,{ref_key:"popupRef",ref:m,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:u(()=>[o(v,{ref_key:"formRef",ref:_,model:l(t),"label-width":"90px"},{default:u(()=>[o(r,{label:"\u95E8\u5E97",prop:"store_name"},{default:u(()=>[o(s,{modelValue:l(t).store_name,"onUpdate:modelValue":e[0]||(e[0]=n=>l(t).store_name=n),readonly:""},null,8,["modelValue"])]),_:1}),o(r,{label:"\u5E94\u6536\u91D1\u989D",prop:"receivable"},{default:u(()=>[o(s,{modelValue:l(t).receivable,"onUpdate:modelValue":e[1]||(e[1]=n=>l(t).receivable=n),readonly:""},null,8,["modelValue"])]),_:1}),o(r,{label:"\u5907\u6CE8",prop:"remark"},{default:u(()=>[o(s,{modelValue:l(t).remark,"onUpdate:modelValue":e[2]||(e[2]=n=>l(t).remark=n),readonly:""},null,8,["modelValue"])]),_:1}),o(r,{label:"\u72B6\u6001",prop:"status"},{default:u(()=>[o(c,{modelValue:l(t).status,"onUpdate:modelValue":e[3]||(e[3]=n=>l(t).status=n),"active-text":"\u5DF2\u8F6C\u8D26","inactive-text":"\u672A\u8F6C\u8D26","active-value":1,"inactive-value":0,size:"large","inline-prompt":""},null,8,["modelValue"])]),_:1}),o(r,{label:"\u51ED\u8BC1",prop:"file"},{default:u(()=>[o(V,{modelValue:l(t).file,"onUpdate:modelValue":e[4]||(e[4]=n=>l(t).file=n),limit:1},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{J as default};