import{_ as A,d as w,r as f,f as n,g,K as P,m as t,l as o,$ as d}from"./index.9fabe127.js";const b=w({name:"fundsAllocation"}),h=Object.assign(b,{setup(D,{expose:i}){const l=f({}),p=f(),c={softwareDevelopmentAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F6F\u4EF6\u5F00\u53D1",trigger:"blur"}],cloudHardwarePurchaseAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u914D\u7F6E",trigger:"blur"}],thirdPartyAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u7B2C\u4E09\u65B9\u670D\u52A1",trigger:"blur"}]};return i({validForm:r=>{p.value.validate(e=>{r(e)})},formData:l,setFormData:r=>{l.value={softwareDevelopmentAmount:r.softwareDevelopmentAmount,cloudHardwarePurchaseAmount:r.cloudHardwarePurchaseAmount,thirdPartyAmount:r.thirdPartyAmount}}}),(r,e)=>{const u=n("el-input-number"),s=n("el-form-item"),m=n("el-col"),_=n("el-row"),v=n("el-form");return g(),P(v,{ref_key:"formRef",ref:p,model:l.value,rules:c,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:t(()=>[o(_,{gutter:40},{default:t(()=>[o(m,{span:8},{default:t(()=>[o(s,{label:"\u8F6F\u4EF6\u5F00\u53D1",prop:"softwareDevelopmentAmount"},{default:t(()=>[o(u,{modelValue:l.value.softwareDevelopmentAmount,"onUpdate:modelValue":e[0]||(e[0]=a=>l.value.softwareDevelopmentAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[1]||(e[1]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),o(m,{span:8},{default:t(()=>[o(s,{label:"\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u914D\u7F6E",prop:"cloudHardwarePurchaseAmount"},{default:t(()=>[o(u,{modelValue:l.value.cloudHardwarePurchaseAmount,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.cloudHardwarePurchaseAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[3]||(e[3]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),o(m,{span:8},{default:t(()=>[o(s,{label:"\u7B2C\u4E09\u65B9\u670D\u52A1",prop:"thirdPartyAmount"},{default:t(()=>[o(u,{modelValue:l.value.thirdPartyAmount,"onUpdate:modelValue":e[4]||(e[4]=a=>l.value.thirdPartyAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[5]||(e[5]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),H=A(h,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/fundsAllocation.vue"]]);export{H as default};
