import{C as v,D as E,t as F,F as b}from"./element-plus.a63a26dd.js";import{_ as x}from"./picker.4999ba7b.js";import{P as y}from"./index.c69e7fd7.js";import{a as C}from"./store_cash_finance_flow.4af77f1f.js";import"./lodash.2473fc51.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.4884cfc2.js";import"./axios.932d3f8a.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.09002eed.js";import"./index.vue_vue_type_script_setup_true_lang.ecb80feb.js";import"./index.fe6b0700.js";import"./index.d7fb2d76.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"./usePaging.6a6670f9.js";import"./vuedraggable.ac9cc40f.js";import"./vue.7b0b04ca.js";import"./sortablejs.82ef1d94.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};
