import{_,d as b,r as v,f as d,g as V,K as w,m as a,l as e,$ as i}from"./index.9fabe127.js";const F=b({name:"annualPaymentPlan"}),O=Object.assign(F,{setup(G,{expose:f}){const l=v({}),p=v(),r=(t,n,o)=>{n||o(),/^\d+(\.\d{1,6})?$/.test(n)?n*1>=1e8?o("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):o():o("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},P={annualPlanAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanHaveAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u81EA\u6709\u8D44\u91D1",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanGovOwnFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanGovSuperiorFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanBankLendingAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u94F6\u884C\u8D37\u6B3E",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanOtherAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5176\u4ED6",trigger:"blur"},{validator:r,trigger:"blur"}]};return f({validForm:t=>{p.value.validate(n=>{t(n)})},formData:l,setFormData:t=>{l.value={annualPlanAmount:t.annualPlanAmount,annualPlanHaveAmount:t.annualPlanHaveAmount,annualPlanGovOwnFinanceAmount:t.annualPlanGovOwnFinanceAmount,annualPlanGovSuperiorFinanceAmount:t.annualPlanGovSuperiorFinanceAmount,annualPlanBankLendingAmount:t.annualPlanBankLendingAmount,annualPlanOtherAmount:t.annualPlanOtherAmount}}}),(t,n)=>{const o=d("el-input-number"),m=d("el-form-item"),s=d("el-col"),g=d("el-row"),A=d("el-form");return V(),w(A,{ref_key:"formRef",ref:p,model:l.value,rules:P,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:a(()=>[e(g,{gutter:40},{default:a(()=>[e(s,{span:24},{default:a(()=>[e(m,{label:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",prop:"annualPlanAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanAmount,"onUpdate:modelValue":n[0]||(n[0]=u=>l.value.annualPlanAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[1]||(n[1]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:a(()=>[e(m,{label:"\u81EA\u6709\u8D44\u91D1",prop:"annualPlanHaveAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanHaveAmount,"onUpdate:modelValue":n[2]||(n[2]=u=>l.value.annualPlanHaveAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[3]||(n[3]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:a(()=>[e(m,{label:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",prop:"annualPlanGovOwnFinanceAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanGovOwnFinanceAmount,"onUpdate:modelValue":n[4]||(n[4]=u=>l.value.annualPlanGovOwnFinanceAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[5]||(n[5]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:a(()=>[e(m,{label:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",prop:"annualPlanGovSuperiorFinanceAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanGovSuperiorFinanceAmount,"onUpdate:modelValue":n[6]||(n[6]=u=>l.value.annualPlanGovSuperiorFinanceAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[7]||(n[7]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:a(()=>[e(m,{label:"\u94F6\u884C\u8D37\u6B3E",prop:"annualPlanBankLendingAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanBankLendingAmount,"onUpdate:modelValue":n[8]||(n[8]=u=>l.value.annualPlanBankLendingAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[9]||(n[9]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:a(()=>[e(m,{label:"\u5176\u4ED6",prop:"annualPlanOtherAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanOtherAmount,"onUpdate:modelValue":n[10]||(n[10]=u=>l.value.annualPlanOtherAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[11]||(n[11]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),c=_(O,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/annualPaymentPlan.vue"]]);export{c as default};
