import{C as v,D as E,t as F,F as b}from"./element-plus.7b9d0c0d.js";import{_ as x}from"./picker.217bd9de.js";import{P as y}from"./index.75fd8450.js";import{a as C}from"./store_cash_finance_flow.b72d131b.js";import"./lodash.9dc701ad.js";import{d,s,r as k,Z as w,o as B,c as U,U as o,L as m,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.7347fedc.js";import"./axios.4607972f.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.eb1580c5.js";import"./index.vue_vue_type_script_setup_true_lang.8b9de773.js";import"./index.283ad693.js";import"./index.c56b65b4.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"./usePaging.6a6670f9.js";import"./vuedraggable.1648e3a8.js";import"./vue.393dceb0.js";import"./sortablejs.382fadba.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";const R={class:"edit-popup"},g=d({name:"storeCashFinanceFlowDETAILS"}),ye=d({...g,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(I,{expose:f,emit:S}){const _=s(),n=s();k("add");const t=w({id:""}),u=async r=>{for(const e in t)r[e]!=null&&r[e]!=null&&(t[e]=r[e])};return f({open:()=>{var r;(r=n.value)==null||r.open()},setFormData:u,getDetail:async r=>{const e=await C({id:r.id});u(e)}}),(r,e)=>{const i=v,p=E,c=F,V=x,D=b;return B(),U("div",R,[o(y,{ref_key:"popupRef",ref:n,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:m(()=>[o(D,{ref_key:"formRef",ref:_,model:l(t),"label-width":"90px"},{default:m(()=>[o(p,{label:"\u95E8\u5E97",prop:"store_name"},{default:m(()=>[o(i,{modelValue:l(t).store_name,"onUpdate:modelValue":e[0]||(e[0]=a=>l(t).store_name=a),readonly:""},null,8,["modelValue"])]),_:1}),o(p,{label:"\u5E94\u6536\u91D1\u989D",prop:"receivable"},{default:m(()=>[o(i,{modelValue:l(t).receivable,"onUpdate:modelValue":e[1]||(e[1]=a=>l(t).receivable=a),readonly:""},null,8,["modelValue"])]),_:1}),o(p,{label:"\u5907\u6CE8",prop:"remark"},{default:m(()=>[o(i,{modelValue:l(t).remark,"onUpdate:modelValue":e[2]||(e[2]=a=>l(t).remark=a),readonly:""},null,8,["modelValue"])]),_:1}),o(p,{label:"\u72B6\u6001",prop:"status"},{default:m(()=>[o(c,{modelValue:l(t).status,"onUpdate:modelValue":e[3]||(e[3]=a=>l(t).status=a),"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(p,{label:"\u51ED\u8BC1",prop:"file"},{default:m(()=>[o(V,{modelValue:l(t).file,"onUpdate:modelValue":e[4]||(e[4]=a=>l(t).file=a),limit:1},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{ye as default};