You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

annualPaymentPlan.310b4de9.js 4.3KB

1
  1. import{d as _,r as v,c as s,e as b,I as V,i as a,h as e,V as d}from"./index.d340e473.js";const w=_({name:"annualPaymentPlan"}),x=Object.assign(w,{setup(F,{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")},g={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=s("el-input-number"),m=s("el-form-item"),i=s("el-col"),P=s("el-row"),A=s("el-form");return b(),V(A,{ref_key:"formRef",ref:p,model:l.value,rules:g,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:a(()=>[e(P,{gutter:40},{default:a(()=>[e(i,{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]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{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]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{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]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{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]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{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]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{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]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{x as default};