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.

purchaseInfo.3240c14d.js 35KB

преди 3 месеца
1
  1. import{d as de,B as ne,r as z,J as se,c as D,e as f,f as P,h as o,i as t,F as y,H as K,G as h,j as U,k as Y,T as B,u as i,g as $,t as N}from"./index.a2494fc2.js";import{r as Q,h as M,i as T,f as O,c as V,b as q,e as A}from"./uploadAction.0eabe13b.js";const pe={class:"el-upload__tip"},ce={class:"el-upload__tip"},me={class:"el-upload__tip"},be={class:"el-upload__tip"},fe={class:"el-upload__tip"},ve={class:"el-upload__tip"},ge={class:"el-upload__tip"},Pe={class:"el-upload__tip"},ye={class:"el-upload__tip"},he={class:"el-upload__tip"},Ve=de({name:"purchaseInfo"}),Ce=Object.assign(Ve,{props:{detail:{type:Object},basicInfoData:{type:Object},baseProjSetYear:{type:String,default:""},dictionaryList:{type:Array,default:()=>[]},isSupplemented:{type:Boolean,default:!1}},setup(r,{expose:te}){const I=r,k=ne.dictStore.uploadUrl,H=z(),u=z({sections:[{purchaseFile:[],biddingFile:[],purchaseContract:[]}]}),R={},oe=()=>{u.value.sections.push({})},ue=F=>{u.value.sections.splice(F,1)},n=z();return te({formRef:H,formData:u}),se(()=>I.basicInfoData,F=>{var m;(F==null?void 0:F.baseProjIsConfidentiality)==="02"||(F==null?void 0:F.baseProjSetProg)==="00"?R.value={}:R.value={sections:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u6807\u6BB5"}]},(m=H.value)==null||m.clearValidate()},{deep:!0,immediate:!0}),se(()=>I.detail,F=>{var m,C,S,b;F&&(I.isSupplemented&&(n.value=F.procures||[]),(C=(m=I.detail)==null?void 0:m.procures)!=null&&C.length&&(u.value={sections:((b=(S=I.detail)==null?void 0:S.procures)==null?void 0:b.map(v=>({...v,purchaseFile:v.purchaseFile?Q(JSON.parse(v.purchaseFile)):[],biddingFile:v.biddingFile?Q(JSON.parse(v.biddingFile)):[],purchaseContract:v.purchaseContract?Q(JSON.parse(v.purchaseContract)):[]})))||[{purchaseFile:[],biddingFile:[],purchaseContract:[]}]}))},{deep:!0}),(F,m)=>{const C=D("el-button"),S=D("el-input"),b=D("el-form-item"),v=D("el-col"),X=D("el-option"),Z=D("el-select"),L=D("el-date-picker"),W=D("el-input-number"),E=D("el-row"),w=D("el-upload"),re=D("el-divider"),ie=D("el-form");return f(),P(y,null,[o(ie,{ref_key:"formRef",ref:H,model:u.value,rules:R,"label-position":"top","label-suffix":":","scroll-to-error":""},{default:t(()=>[(f(!0),P(y,null,K(u.value.sections,(J,e)=>{var _,x,ee,ae,le;return f(),P(y,{key:e},[((_=u.value.sections)==null?void 0:_.length)>1?(f(),h(C,{key:0,type:"danger",icon:"Delete",link:"",class:"float-right",disabled:((x=n.value)==null?void 0:x.length)&&r.isSupplemented,onClick:j=>ue(e)},{default:t(()=>m[6]||(m[6]=[U("\u5220\u9664")])),_:2},1032,["disabled","onClick"])):Y("",!0),((ee=r.basicInfoData)==null?void 0:ee.baseProjIsConfidentiality)!=="02"&&((ae=r.basicInfoData)==null?void 0:ae.baseProjSetProg)!=="00"?(f(),P(y,{key:1},[o(E,{gutter:40},{default:t(()=>{var j,l,p,c;return[["05","06","07","00"].includes((j=r.basicInfoData)==null?void 0:j.baseProjSetProg)?(f(),P(y,{key:0},[o(v,{span:24},{default:t(()=>[o(b,{label:"\u6807\u6BB5\u540D\u79F0",prop:`sections[${e}].baseBidName`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseBidName,"onUpdate:modelValue":d=>u.value.sections[e].baseBidName=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseBidName)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u65B9\u5F0F",prop:`sections[${e}].baseProjPurchaseWay`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:t(()=>{var s,a;return[o(Z,{modelValue:u.value.sections[e].baseProjPurchaseWay,"onUpdate:modelValue":d=>u.value.sections[e].baseProjPurchaseWay=d,class:"w-full",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseProjPurchaseWay)&&r.isSupplemented},{default:t(()=>{var d;return[(f(!0),P(y,null,K((d=r.dictionaryList)==null?void 0:d.filter(g=>g.type==="PURCHASE_METHOD"),(g,G)=>(f(),h(X,{key:G,label:g.label,value:g.value},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7",prop:`sections[${e}].basePurchaseCode`},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].basePurchaseCode,"onUpdate:modelValue":d=>u.value.sections[e].basePurchaseCode=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.basePurchaseCode)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):Y("",!0),["05","06","07","00"].includes((l=r.basicInfoData)==null?void 0:l.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),P(y,{key:1},[["01","02","03","04","06"].includes(J.baseProjPurchaseWay)&&r.baseProjSetYear*1>=2023?(f(),P(y,{key:0},[o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784",prop:`sections[${e}].basePurchasingAgencies`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].basePurchasingAgencies,"onUpdate:modelValue":d=>u.value.sections[e].basePurchasingAgencies=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.basePurchasingAgencies)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:`sections[${e}].baseUnifiedCreditCode`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseUnifiedCreditCode,"onUpdate:modelValue":d=>u.value.sections[e].baseUnifiedCreditCode=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseUnifiedCreditCode)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):(f(),P(y,{key:1},[o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784",prop:`sections[${e}].basePurchaseCode`},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].basePurchasingAgencies,"onUpdate:modelValue":d=>u.value.sections[e].basePurchasingAgencies=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.basePurchasingAgencies)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:`sections[${e}].baseUnifiedCreditCode`},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseUnifiedCreditCode,"onUpdate:modelValue":d=>u.value.sections[e].baseUnifiedCreditCode=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseUnifiedCreditCode)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64))],64)):Y("",!0),["05","06","07","00"].includes((p=r.basicInfoData)==null?void 0:p.baseProjSetProg)?(f(),P(y,{key:2},[o(v,{span:8},{default:t(()=>[o(b,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u65F6\u95F4",prop:`sections[${e}].baseWinningBidTime`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:t(()=>{var s,a;return[o(L,{modelValue:u.value.sections[e].baseWinningBidTime,"onUpdate:modelValue":d=>u.value.sections[e].baseWinningBidTime=d,type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",placeholder:"\u8BF7\u9009\u62E9",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseWinningBidTime)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u91D1\u989D",prop:`sections[${e}].baseProjPurchaseAmount`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:t(()=>{var s,a;return[o(W,{modelValue:u.value.sections[e].baseProjPurchaseAmount,"onUpdate:modelValue":d=>u.value.sections[e].baseProjPurchaseAmount=d,class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseProjPurchaseAmount)&&r.isSupplemented,onMousewheel:m[0]||(m[0]=B(()=>{},["prevent"]))},{suffix:t(()=>m[7]||(m[7]=[U("\u4E07\u5143")])),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u4F9B\u5E94\u5546\u540D\u79F0",prop:`sections[${e}].baseConsDeprt`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseConsDeprt,"onUpdate:modelValue":d=>u.value.sections[e].baseConsDeprt=d,disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseConsDeprt)&&r.isSupplemented,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u4F9B\u5E94\u5546\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:`sections[${e}].baseConsDeprtUsci`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseConsDeprtUsci,"onUpdate:modelValue":d=>u.value.sections[e].baseConsDeprtUsci=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseConsDeprtUsci)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):Y("",!0),["05","06","07","00"].includes((c=r.basicInfoData)==null?void 0:c.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),P(y,{key:3},[o(v,{span:8},{default:t(()=>{var s;return[((s=r.basicInfoData)==null?void 0:s.baseProjSetProg)==="05"||r.baseProjSetYear*1<2023?(f(),h(b,{key:0,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u65F6\u95F4",prop:`sections[${e}].basePaymentTime`},{default:t(()=>{var a,d;return[o(L,{modelValue:u.value.sections[e].basePaymentTime,"onUpdate:modelValue":g=>u.value.sections[e].basePaymentTime=g,type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",placeholder:"\u8BF7\u9009\u62E9",disabled:((d=(a=n.value)==null?void 0:a[e])==null?void 0:d.basePaymentTime)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):(f(),h(b,{key:1,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u65F6\u95F4",prop:`sections[${e}].basePaymentTime`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:t(()=>{var a,d;return[o(L,{modelValue:u.value.sections[e].basePaymentTime,"onUpdate:modelValue":g=>u.value.sections[e].basePaymentTime=g,type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",placeholder:"\u8BF7\u9009\u62E9",disabled:((d=(a=n.value)==null?void 0:a[e])==null?void 0:d.basePaymentTime)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"]))]}),_:2},1024),o(v,{span:8},{default:t(()=>{var s;return[((s=r.basicInfoData)==null?void 0:s.baseProjSetProg)==="05"||r.baseProjSetYear*1<2023?(f(),h(b,{key:0,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u91D1\u989D",prop:`sections[${e}].paymentProgress`},{default:t(()=>{var a,d;return[o(W,{modelValue:u.value.sections[e].paymentProgress,"onUpdate:modelValue":g=>u.value.sections[e].paymentProgress=g,class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,disabled:((d=(a=n.value)==null?void 0:a[e])==null?void 0:d.paymentProgress)&&r.isSupplemented,onMousewheel:m[1]||(m[1]=B(()=>{},["prevent"]))},{suffix:t(()=>m[8]||(m[8]=[U("\u4E07\u5143")])),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):(f(),h(b,{key:1,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u91D1\u989D",prop:`sections[${e}].paymentProgress`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:t(()=>{var a,d;return[o(W,{modelValue:u.value.sections[e].paymentProgress,"onUpdate:modelValue":g=>u.value.sections[e].paymentProgress=g,class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,disabled:((d=(a=n.value)==null?void 0:a[e])==null?void 0:d.paymentProgress)&&r.isSupplemented,onMousewheel:m[2]||(m[2]=B(()=>{},["prevent"]))},{suffix:t(()=>m[9]||(m[9]=[U("\u4E07\u5143")])),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"]))]}),_:2},1024)],64)):Y("",!0)]}),_:2},1024),o(E,null,{default:t(()=>{var j;return[["05","06","07","00"].includes((j=r.basicInfoData)==null?void 0:j.baseProjSetProg)?(f(),P(y,{key:0},[o(v,{span:8},{default:t(()=>[J.baseProjPurchaseWay==="00"?(f(),h(b,{key:0,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`},{default:t(()=>[o(w,{"file-list":u.value.sections[e].purchaseFile,"onUpdate:fileList":l=>u.value.sections[e].purchaseFile=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].purchaseFile),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseFile))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",pe,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseFile))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[10]||(m[10]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"])):(f(),h(b,{key:1,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:t(()=>[o(w,{"file-list":u.value.sections[e].purchaseFile,"onUpdate:fileList":l=>u.value.sections[e].purchaseFile=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].purchaseFile),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseFile))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",ce,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseFile))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[11]||(m[11]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"]))]),_:2},1024),o(v,{span:8},{default:t(()=>[J.baseProjPurchaseWay==="00"||J.baseProjPurchaseWay==="05"?(f(),h(b,{key:0,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`},{default:t(()=>[o(w,{"file-list":u.value.sections[e].biddingFile,"onUpdate:fileList":l=>u.value.sections[e].biddingFile=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].biddingFile),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.biddingFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.biddingFile))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",me,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.biddingFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.biddingFile))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[12]||(m[12]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"])):(f(),h(b,{key:1,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:t(()=>[o(w,{"file-list":u.value.sections[e].biddingFile,"onUpdate:fileList":l=>u.value.sections[e].biddingFile=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].biddingFile),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.biddingFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.biddingFile))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",be,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.biddingFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.biddingFile))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[13]||(m[13]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"]))]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u5408\u540C",prop:`sections[${e}].purchaseContract`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:t(()=>[o(w,{"file-list":u.value.sections[e].purchaseContract,"onUpdate:fileList":l=>u.value.sections[e].purchaseContract=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].purchaseContract),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseContract)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseContract))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",fe,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseContract)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseContract))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[14]||(m[14]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"])]),_:2},1024)],64)):Y("",!0)]}),_:2},1024)],64)):(f(),P(y,{key:2},[o(E,{gutter:40},{default:t(()=>{var j,l,p,c;return[["05","06","07","00"].includes((j=r.basicInfoData)==null?void 0:j.baseProjSetProg)?(f(),P(y,{key:0},[o(v,{span:24},{default:t(()=>[o(b,{label:"\u6807\u6BB5\u540D\u79F0",prop:`sections[${e}].baseBidName`},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseBidName,"onUpdate:modelValue":d=>u.value.sections[e].baseBidName=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseBidName)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u65B9\u5F0F",prop:`sections[${e}].baseProjPurchaseWay`,rules:[{required:!1,message:"\u8BF7\u9009\u62E9"}]},{default:t(()=>{var s,a;return[o(Z,{modelValue:u.value.sections[e].baseProjPurchaseWay,"onUpdate:modelValue":d=>u.value.sections[e].baseProjPurchaseWay=d,class:"w-full",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseProjPurchaseWay)&&r.isSupplemented},{default:t(()=>{var d;return[(f(!0),P(y,null,K((d=r.dictionaryList)==null?void 0:d.filter(g=>g.type==="PURCHASE_METHOD"),(g,G)=>(f(),h(X,{key:G,label:g.label,value:g.value},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7",prop:`sections[${e}].basePurchaseCode`},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].basePurchaseCode,"onUpdate:modelValue":d=>u.value.sections[e].basePurchaseCode=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.basePurchaseCode)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):Y("",!0),["05","06","07","00"].includes((l=r.basicInfoData)==null?void 0:l.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),P(y,{key:1},[["01","02","03","04","06"].includes(J.baseProjPurchaseWay)&&r.baseProjSetYear*1>=2023?(f(),P(y,{key:0},[o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784",prop:`sections[${e}].basePurchaseCode`,rules:[{required:!1,message:"\u8BF7\u586B\u5199"}]},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].basePurchasingAgencies,"onUpdate:modelValue":d=>u.value.sections[e].basePurchasingAgencies=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.basePurchasingAgencies)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:`sections[${e}].baseUnifiedCreditCode`,rules:[{required:!1,message:"\u8BF7\u586B\u5199"}]},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseUnifiedCreditCode,"onUpdate:modelValue":d=>u.value.sections[e].baseUnifiedCreditCode=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseUnifiedCreditCode)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):(f(),P(y,{key:1},[o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784",prop:`sections[${e}].basePurchaseCode`},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].basePurchasingAgencies,"onUpdate:modelValue":d=>u.value.sections[e].basePurchasingAgencies=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.basePurchasingAgencies)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:`sections[${e}].baseUnifiedCreditCode`},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseUnifiedCreditCode,"onUpdate:modelValue":d=>u.value.sections[e].baseUnifiedCreditCode=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseUnifiedCreditCode)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64))],64)):Y("",!0),["05","06","07","00"].includes((p=r.basicInfoData)==null?void 0:p.baseProjSetProg)?(f(),P(y,{key:2},[o(v,{span:8},{default:t(()=>[o(b,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u65F6\u95F4",prop:`sections[${e}].baseWinningBidTime`,rules:[{required:!1,message:"\u8BF7\u9009\u62E9"}]},{default:t(()=>{var s,a;return[o(L,{modelValue:u.value.sections[e].baseWinningBidTime,"onUpdate:modelValue":d=>u.value.sections[e].baseWinningBidTime=d,type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",placeholder:"\u8BF7\u9009\u62E9",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseWinningBidTime)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u91D1\u989D",prop:`sections[${e}].baseProjPurchaseAmount`,rules:[{required:!1,message:"\u8BF7\u8F93\u5165"}]},{default:t(()=>{var s,a;return[o(W,{modelValue:u.value.sections[e].baseProjPurchaseAmount,"onUpdate:modelValue":d=>u.value.sections[e].baseProjPurchaseAmount=d,class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseProjPurchaseAmount)&&r.isSupplemented,onMousewheel:m[3]||(m[3]=B(()=>{},["prevent"]))},{suffix:t(()=>m[15]||(m[15]=[U("\u4E07\u5143")])),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u4F9B\u5E94\u5546\u540D\u79F0",prop:`sections[${e}].baseConsDeprt`,rules:[{required:!1,message:"\u8BF7\u8F93\u5165"}]},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseConsDeprt,"onUpdate:modelValue":d=>u.value.sections[e].baseConsDeprt=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseConsDeprt)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u4F9B\u5E94\u5546\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:`sections[${e}].baseConsDeprtUsci`,rules:[{required:!1,message:"\u8BF7\u8F93\u5165"}]},{default:t(()=>{var s,a;return[o(S,{modelValue:u.value.sections[e].baseConsDeprtUsci,"onUpdate:modelValue":d=>u.value.sections[e].baseConsDeprtUsci=d,placeholder:"\u8BF7\u586B\u5199",disabled:((a=(s=n.value)==null?void 0:s[e])==null?void 0:a.baseConsDeprtUsci)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):Y("",!0),["05","06","07","00"].includes((c=r.basicInfoData)==null?void 0:c.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),P(y,{key:3},[o(v,{span:8},{default:t(()=>{var s;return[((s=r.basicInfoData)==null?void 0:s.baseProjSetProg)==="05"||r.baseProjSetYear*1<2023?(f(),h(b,{key:0,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u65F6\u95F4",prop:`sections[${e}].basePaymentTime`},{default:t(()=>{var a,d;return[o(L,{modelValue:u.value.sections[e].basePaymentTime,"onUpdate:modelValue":g=>u.value.sections[e].basePaymentTime=g,type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",placeholder:"\u8BF7\u9009\u62E9",disabled:((d=(a=n.value)==null?void 0:a[e])==null?void 0:d.basePaymentTime)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):(f(),h(b,{key:1,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u65F6\u95F4",prop:`sections[${e}].basePaymentTime`,rules:[{required:!1,message:"\u8BF7\u9009\u62E9"}]},{default:t(()=>{var a,d;return[o(L,{modelValue:u.value.sections[e].basePaymentTime,"onUpdate:modelValue":g=>u.value.sections[e].basePaymentTime=g,type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",placeholder:"\u8BF7\u9009\u62E9",disabled:((d=(a=n.value)==null?void 0:a[e])==null?void 0:d.basePaymentTime)&&r.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"]))]}),_:2},1024),o(v,{span:8},{default:t(()=>{var s;return[((s=r.basicInfoData)==null?void 0:s.baseProjSetProg)==="05"||r.baseProjSetYear*1<2023?(f(),h(b,{key:0,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u91D1\u989D",prop:`sections[${e}].paymentProgress`},{default:t(()=>{var a,d;return[o(W,{modelValue:u.value.sections[e].paymentProgress,"onUpdate:modelValue":g=>u.value.sections[e].paymentProgress=g,class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,disabled:((d=(a=n.value)==null?void 0:a[e])==null?void 0:d.paymentProgress)&&r.isSupplemented,onMousewheel:m[4]||(m[4]=B(()=>{},["prevent"]))},{suffix:t(()=>m[16]||(m[16]=[U("\u4E07\u5143")])),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):(f(),h(b,{key:1,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u91D1\u989D",prop:`sections[${e}].paymentProgress`,rules:[{required:!1,message:"\u8BF7\u9009\u62E9"}]},{default:t(()=>{var a,d;return[o(W,{modelValue:u.value.sections[e].paymentProgress,"onUpdate:modelValue":g=>u.value.sections[e].paymentProgress=g,class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,disabled:((d=(a=n.value)==null?void 0:a[e])==null?void 0:d.paymentProgress)&&r.isSupplemented,onMousewheel:m[5]||(m[5]=B(()=>{},["prevent"]))},{suffix:t(()=>m[17]||(m[17]=[U("\u4E07\u5143")])),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"]))]}),_:2},1024)],64)):Y("",!0)]}),_:2},1024),o(E,null,{default:t(()=>{var j;return[["05","06","07","00"].includes((j=r.basicInfoData)==null?void 0:j.baseProjSetProg)?(f(),P(y,{key:0},[o(v,{span:8},{default:t(()=>[J.baseProjPurchaseWay==="00"?(f(),h(b,{key:0,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`},{default:t(()=>[o(w,{"file-list":u.value.sections[e].purchaseFile,"onUpdate:fileList":l=>u.value.sections[e].purchaseFile=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].purchaseFile),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseFile))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",ve,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseFile))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[18]||(m[18]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"])):(f(),h(b,{key:1,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`,rules:[{required:!1,message:"\u8BF7\u4E0A\u4F20"}]},{default:t(()=>[o(w,{"file-list":u.value.sections[e].purchaseFile,"onUpdate:fileList":l=>u.value.sections[e].purchaseFile=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].purchaseFile),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseFile))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",ge,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseFile))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[19]||(m[19]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"]))]),_:2},1024),o(v,{span:8},{default:t(()=>[J.baseProjPurchaseWay==="00"?(f(),h(b,{key:0,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`},{default:t(()=>[o(w,{"file-list":u.value.sections[e].biddingFile,"onUpdate:fileList":l=>u.value.sections[e].biddingFile=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].biddingFile),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.biddingFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.biddingFile))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",Pe,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.biddingFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.biddingFile))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[20]||(m[20]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"])):(f(),h(b,{key:1,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`,rules:[{required:!1,message:"\u8BF7\u4E0A\u4F20"}]},{default:t(()=>[o(w,{"file-list":u.value.sections[e].biddingFile,"onUpdate:fileList":l=>u.value.sections[e].biddingFile=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].biddingFile),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.biddingFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.biddingFile))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",ye,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.biddingFile)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.biddingFile))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[21]||(m[21]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"]))]),_:2},1024),o(v,{span:8},{default:t(()=>[o(b,{label:"\u91C7\u8D2D\u5408\u540C",prop:`sections[${e}].purchaseContract`},{default:t(()=>[o(w,{"file-list":u.value.sections[e].purchaseContract,"onUpdate:fileList":l=>u.value.sections[e].purchaseContract=l,class:"w-full",action:i(k),"on-success":l=>i(M)(l,u.value.sections[e].purchaseContract),"on-error":i(T),"before-upload":l=>i(O)(l,{types:i(V)}),accept:i(V).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":i(q),"before-remove":()=>{var l,p,c,s,a;return!(((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseContract)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseContract))!=null&&a.length)&&r.isSupplemented)}},{tip:t(()=>[$("div",he,"\u652F\u6301"+N(i(A))+"\u6587\u4EF6",1)]),default:t(()=>{var l,p,c,s,a;return[o(C,{type:"primary",class:"mr-4",disabled:((p=(l=n.value)==null?void 0:l[e])==null?void 0:p.purchaseContract)&&!!((a=JSON.parse((s=(c=n.value)==null?void 0:c[e])==null?void 0:s.purchaseContract))!=null&&a.length)&&r.isSupplemented},{default:t(()=>m[22]||(m[22]=[U("\u4E0A\u4F20\u6587\u4EF6")])),_:2},1032,["disabled"])]}),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:2},1032,["prop"])]),_:2},1024)],64)):Y("",!0)]}),_:2},1024)],64)),e<((le=u.value.sections)==null?void 0:le.length)-1?(f(),h(re,{key:3})):Y("",!0)],64)}),128))]),_:1},8,["model"]),$("p",null,[o(C,{type:"primary",plain:"",icon:"Plus",class:"w-full",onClick:oe},{default:t(()=>m[23]||(m[23]=[U("\u6DFB\u52A0\u6807\u6BB5")])),_:1})])],64)}}});export{Ce as default};