您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

fundsAllocation-98994298.js 2.1KB

1
  1. import{r as f,b as u,c as w,L as A,h as t,f as o,N as d,k as b}from"./index-dd5fae99.js";const g=b({name:"fundsAllocation"}),D=Object.assign(g,{setup(h,{expose:i}){const l=f({}),p=f(),_={softwareDevelopmentAmount:[{required:!0,message:"请输入软件开发",trigger:"blur"}],cloudHardwarePurchaseAmount:[{required:!0,message:"请输入云资源、硬件配置",trigger:"blur"}],thirdPartyAmount:[{required:!0,message:"请输入第三方服务",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 n=u("el-input-number"),m=u("el-form-item"),s=u("el-col"),v=u("el-row"),c=u("el-form");return w(),A(c,{ref_key:"formRef",ref:p,model:l.value,rules:_,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:t(()=>[o(v,{gutter:40},{default:t(()=>[o(s,{span:8},{default:t(()=>[o(m,{label:"软件开发",prop:"softwareDevelopmentAmount"},{default:t(()=>[o(n,{modelValue:l.value.softwareDevelopmentAmount,"onUpdate:modelValue":e[0]||(e[0]=a=>l.value.softwareDevelopmentAmount=a),placeholder:"请填写",min:0,controls:!1,onMousewheel:e[1]||(e[1]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),o(s,{span:8},{default:t(()=>[o(m,{label:"云资源、硬件配置",prop:"cloudHardwarePurchaseAmount"},{default:t(()=>[o(n,{modelValue:l.value.cloudHardwarePurchaseAmount,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.cloudHardwarePurchaseAmount=a),placeholder:"请填写",min:0,controls:!1,onMousewheel:e[3]||(e[3]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),o(s,{span:8},{default:t(()=>[o(m,{label:"第三方服务",prop:"thirdPartyAmount"},{default:t(()=>[o(n,{modelValue:l.value.thirdPartyAmount,"onUpdate:modelValue":e[4]||(e[4]=a=>l.value.thirdPartyAmount=a),placeholder:"请填写",min:0,controls:!1,onMousewheel:e[5]||(e[5]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{D as default};