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.

2 lines
36KB

  1. var me=Object.defineProperty,be=Object.defineProperties;var fe=Object.getOwnPropertyDescriptors;var oe=Object.getOwnPropertySymbols;var ve=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable;var te=(i,j,C)=>j in i?me(i,j,{enumerable:!0,configurable:!0,writable:!0,value:C}):i[j]=C,ue=(i,j)=>{for(var C in j||(j={}))ve.call(j,C)&&te(i,C,j[C]);if(oe)for(var C of oe(j))he.call(j,C)&&te(i,C,j[C]);return i},ie=(i,j)=>be(i,fe(j));import{_ as ge,d as Pe,D as ye,r as z,L as re,c as $,e as b,f as h,i as t,j as o,F as g,J as G,I as P,k as U,h as k,Y as B,u as r,g as w,t as _}from"./index.eb58a47a.js";import{r as Q,h as O,i as T,f as q,c as y,b as J,e as L}from"./uploadAction.1eae5e63.js";const Ve={class:"el-upload__tip"},Se={class:"el-upload__tip"},Ue={class:"el-upload__tip"},Ce={class:"el-upload__tip"},Fe={class:"el-upload__tip"},je={class:"el-upload__tip"},De={class:"el-upload__tip"},Ye={class:"el-upload__tip"},$e={class:"el-upload__tip"},ke={class:"el-upload__tip"},we=Pe({name:"purchaseInfo"}),Ne=Object.assign(we,{props:{detail:{type:Object},basicInfoData:{type:Object},baseProjSetYear:{type:String,default:""},dictionaryList:{type:Array,default:()=>[]},isSupplemented:{type:Boolean,default:!1}},setup(i,{expose:j}){const C=i,N=ye.dictStore.uploadUrl,R=z(),u=z({sections:[{purchaseFile:[],biddingFile:[],purchaseContract:[]}]}),H={},de=()=>{u.value.sections.push({})},ne=D=>{u.value.sections.splice(D,1)},n=z();return j({formRef:R,formData:u}),re(()=>C.basicInfoData,D=>{var S;(D==null?void 0:D.baseProjIsConfidentiality)==="02"||(D==null?void 0:D.baseProjSetProg)==="00"?H.value={}:H.value={sections:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u6807\u6BB5"}]},(S=R.value)==null||S.clearValidate()},{deep:!0,immediate:!0}),re(()=>C.detail,D=>{var S,F,V,m;D&&(C.isSupplemented&&(n.value=D.procures||[]),(F=(S=C.detail)==null?void 0:S.procures)!=null&&F.length&&(u.value={sections:((m=(V=C.detail)==null?void 0:V.procures)==null?void 0:m.map(f=>ie(ue({},f),{purchaseFile:f.purchaseFile?Q(JSON.parse(f.purchaseFile)):[],biddingFile:f.biddingFile?Q(JSON.parse(f.biddingFile)):[],purchaseContract:f.purchaseContract?Q(JSON.parse(f.purchaseContract)):[]})))||[{purchaseFile:[],biddingFile:[],purchaseContract:[]}]}))},{deep:!0}),(D,S)=>{const F=$("el-button"),V=$("el-input"),m=$("el-form-item"),f=$("el-col"),X=$("el-option"),Z=$("el-select"),I=$("el-date-picker"),W=$("el-input-number"),E=$("el-row"),M=$("el-upload"),pe=$("el-divider"),ce=$("el-form");return b(),h(g,null,[t(ce,{ref_key:"formRef",ref:R,model:u.value,rules:H,"label-position":"top","label-suffix":":","scroll-to-error":""},{default:o(()=>[(b(!0),h(g,null,G(u.value.sections,(A,e)=>{var x,ee,ae,le,se;return b(),h(g,{key:e},[((x=u.value.sections)==null?void 0:x.length)>1?(b(),P(F,{key:0,type:"danger",icon:"Delete",link:"",class:"float-right",disabled:((ee=n.value)==null?void 0:ee.length)&&i.isSupplemented,onClick:Y=>ne(e)},{default:o(()=>[U("\u5220\u9664")]),_:2},1032,["disabled","onClick"])):k("v-if",!0),((ae=i.basicInfoData)==null?void 0:ae.baseProjIsConfidentiality)!=="02"&&((le=i.basicInfoData)==null?void 0:le.baseProjSetProg)!=="00"?(b(),h(g,{key:1},[t(E,{gutter:40},{default:o(()=>{var Y,l,p,c;return[["05","06","07","00"].includes((Y=i.basicInfoData)==null?void 0:Y.baseProjSetProg)?(b(),h(g,{key:0},[t(f,{span:24},{default:o(()=>[t(m,{label:"\u6807\u6BB5\u540D\u79F0",prop:`sections[${e}].baseBidName`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u65B9\u5F0F",prop:`sections[${e}].baseProjPurchaseWay`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:o(()=>{var s,a;return[t(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)&&i.isSupplemented},{default:o(()=>{var d;return[(b(!0),h(g,null,G((d=i.dictionaryList)==null?void 0:d.filter(v=>v.type==="PURCHASE_METHOD"),(v,K)=>(b(),P(X,{key:K,label:v.label,value:v.value},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7",prop:`sections[${e}].basePurchaseCode`},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):k("v-if",!0),["05","06","07","00"].includes((l=i.basicInfoData)==null?void 0:l.baseProjSetProg)||i.baseProjSetYear*1<2023?(b(),h(g,{key:1},[["01","02","03","04","06"].includes(A.baseProjPurchaseWay)&&i.baseProjSetYear*1>=2023?(b(),h(g,{key:0},[t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784",prop:`sections[${e}].basePurchasingAgencies`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{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:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):(b(),h(g,{key:1},[t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784",prop:`sections[${e}].basePurchaseCode`},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:`sections[${e}].baseUnifiedCreditCode`},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64))],64)):k("v-if",!0),["05","06","07","00"].includes((p=i.basicInfoData)==null?void 0:p.baseProjSetProg)?(b(),h(g,{key:2},[t(f,{span:8},{default:o(()=>[t(m,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u65F6\u95F4",prop:`sections[${e}].baseWinningBidTime`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:o(()=>{var s,a;return[t(I,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u91D1\u989D",prop:`sections[${e}].baseProjPurchaseAmount`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:o(()=>{var s,a;return[t(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)&&i.isSupplemented,onMousewheel:S[0]||(S[0]=B(()=>{},["prevent"]))},{suffix:o(()=>[U("\u4E07\u5143")]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u4F9B\u5E94\u5546\u540D\u79F0",prop:`sections[${e}].baseConsDeprt`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{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:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):k("v-if",!0),["05","06","07","00"].includes((c=i.basicInfoData)==null?void 0:c.baseProjSetProg)||i.baseProjSetYear*1<2023?(b(),h(g,{key:3},[t(f,{span:8},{default:o(()=>{var s;return[((s=i.basicInfoData)==null?void 0:s.baseProjSetProg)==="05"||i.baseProjSetYear*1<2023?(b(),P(m,{key:0,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u65F6\u95F4",prop:`sections[${e}].basePaymentTime`},{default:o(()=>{var a,d;return[t(I,{modelValue:u.value.sections[e].basePaymentTime,"onUpdate:modelValue":v=>u.value.sections[e].basePaymentTime=v,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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):(b(),P(m,{key:1,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u65F6\u95F4",prop:`sections[${e}].basePaymentTime`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:o(()=>{var a,d;return[t(I,{modelValue:u.value.sections[e].basePaymentTime,"onUpdate:modelValue":v=>u.value.sections[e].basePaymentTime=v,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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"]))]}),_:2},1024),t(f,{span:8},{default:o(()=>{var s;return[((s=i.basicInfoData)==null?void 0:s.baseProjSetProg)==="05"||i.baseProjSetYear*1<2023?(b(),P(m,{key:0,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u91D1\u989D",prop:`sections[${e}].paymentProgress`},{default:o(()=>{var a,d;return[t(W,{modelValue:u.value.sections[e].paymentProgress,"onUpdate:modelValue":v=>u.value.sections[e].paymentProgress=v,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)&&i.isSupplemented,onMousewheel:S[1]||(S[1]=B(()=>{},["prevent"]))},{suffix:o(()=>[U("\u4E07\u5143")]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):(b(),P(m,{key:1,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u91D1\u989D",prop:`sections[${e}].paymentProgress`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:o(()=>{var a,d;return[t(W,{modelValue:u.value.sections[e].paymentProgress,"onUpdate:modelValue":v=>u.value.sections[e].paymentProgress=v,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)&&i.isSupplemented,onMousewheel:S[2]||(S[2]=B(()=>{},["prevent"]))},{suffix:o(()=>[U("\u4E07\u5143")]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"]))]}),_:2},1024)],64)):k("v-if",!0)]}),_:2},1024),t(E,null,{default:o(()=>{var Y;return[["05","06","07","00"].includes((Y=i.basicInfoData)==null?void 0:Y.baseProjSetProg)?(b(),h(g,{key:0},[t(f,{span:8},{default:o(()=>[A.baseProjPurchaseWay==="00"?(b(),P(m,{key:0,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`},{default:o(()=>[t(M,{"file-list":u.value.sections[e].purchaseFile,"onUpdate:fileList":l=>u.value.sections[e].purchaseFile=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].purchaseFile),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",Ve,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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"])):(b(),P(m,{key:1,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:o(()=>[t(M,{"file-list":u.value.sections[e].purchaseFile,"onUpdate:fileList":l=>u.value.sections[e].purchaseFile=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].purchaseFile),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",Se,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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),t(f,{span:8},{default:o(()=>[A.baseProjPurchaseWay==="00"||A.baseProjPurchaseWay==="05"?(b(),P(m,{key:0,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`},{default:o(()=>[t(M,{"file-list":u.value.sections[e].biddingFile,"onUpdate:fileList":l=>u.value.sections[e].biddingFile=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].biddingFile),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",Ue,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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"])):(b(),P(m,{key:1,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:o(()=>[t(M,{"file-list":u.value.sections[e].biddingFile,"onUpdate:fileList":l=>u.value.sections[e].biddingFile=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].biddingFile),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",Ce,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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),t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u5408\u540C",prop:`sections[${e}].purchaseContract`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:o(()=>[t(M,{"file-list":u.value.sections[e].purchaseContract,"onUpdate:fileList":l=>u.value.sections[e].purchaseContract=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].purchaseContract),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",Fe,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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)):k("v-if",!0)]}),_:2},1024)],64)):(b(),h(g,{key:2},[t(E,{gutter:40},{default:o(()=>{var Y,l,p,c;return[["05","06","07","00"].includes((Y=i.basicInfoData)==null?void 0:Y.baseProjSetProg)?(b(),h(g,{key:0},[t(f,{span:24},{default:o(()=>[t(m,{label:"\u6807\u6BB5\u540D\u79F0",prop:`sections[${e}].baseBidName`},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u65B9\u5F0F",prop:`sections[${e}].baseProjPurchaseWay`,rules:[{required:!1,message:"\u8BF7\u9009\u62E9"}]},{default:o(()=>{var s,a;return[t(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)&&i.isSupplemented},{default:o(()=>{var d;return[(b(!0),h(g,null,G((d=i.dictionaryList)==null?void 0:d.filter(v=>v.type==="PURCHASE_METHOD"),(v,K)=>(b(),P(X,{key:K,label:v.label,value:v.value},null,8,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7",prop:`sections[${e}].basePurchaseCode`},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):k("v-if",!0),["05","06","07","00"].includes((l=i.basicInfoData)==null?void 0:l.baseProjSetProg)||i.baseProjSetYear*1<2023?(b(),h(g,{key:1},[["01","02","03","04","06"].includes(A.baseProjPurchaseWay)&&i.baseProjSetYear*1>=2023?(b(),h(g,{key:0},[t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784",prop:`sections[${e}].basePurchaseCode`,rules:[{required:!1,message:"\u8BF7\u586B\u5199"}]},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{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:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):(b(),h(g,{key:1},[t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784",prop:`sections[${e}].basePurchaseCode`},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:`sections[${e}].baseUnifiedCreditCode`},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64))],64)):k("v-if",!0),["05","06","07","00"].includes((p=i.basicInfoData)==null?void 0:p.baseProjSetProg)?(b(),h(g,{key:2},[t(f,{span:8},{default:o(()=>[t(m,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u65F6\u95F4",prop:`sections[${e}].baseWinningBidTime`,rules:[{required:!1,message:"\u8BF7\u9009\u62E9"}]},{default:o(()=>{var s,a;return[t(I,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u91D1\u989D",prop:`sections[${e}].baseProjPurchaseAmount`,rules:[{required:!1,message:"\u8BF7\u8F93\u5165"}]},{default:o(()=>{var s,a;return[t(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)&&i.isSupplemented,onMousewheel:S[3]||(S[3]=B(()=>{},["prevent"]))},{suffix:o(()=>[U("\u4E07\u5143")]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u4F9B\u5E94\u5546\u540D\u79F0",prop:`sections[${e}].baseConsDeprt`,rules:[{required:!1,message:"\u8BF7\u8F93\u5165"}]},{default:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024),t(f,{span:8},{default:o(()=>[t(m,{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:o(()=>{var s,a;return[t(V,{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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])]),_:2},1024)],64)):k("v-if",!0),["05","06","07","00"].includes((c=i.basicInfoData)==null?void 0:c.baseProjSetProg)||i.baseProjSetYear*1<2023?(b(),h(g,{key:3},[t(f,{span:8},{default:o(()=>{var s;return[((s=i.basicInfoData)==null?void 0:s.baseProjSetProg)==="05"||i.baseProjSetYear*1<2023?(b(),P(m,{key:0,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u65F6\u95F4",prop:`sections[${e}].basePaymentTime`},{default:o(()=>{var a,d;return[t(I,{modelValue:u.value.sections[e].basePaymentTime,"onUpdate:modelValue":v=>u.value.sections[e].basePaymentTime=v,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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):(b(),P(m,{key:1,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u65F6\u95F4",prop:`sections[${e}].basePaymentTime`,rules:[{required:!1,message:"\u8BF7\u9009\u62E9"}]},{default:o(()=>{var a,d;return[t(I,{modelValue:u.value.sections[e].basePaymentTime,"onUpdate:modelValue":v=>u.value.sections[e].basePaymentTime=v,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)&&i.isSupplemented},null,8,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"]))]}),_:2},1024),t(f,{span:8},{default:o(()=>{var s;return[((s=i.basicInfoData)==null?void 0:s.baseProjSetProg)==="05"||i.baseProjSetYear*1<2023?(b(),P(m,{key:0,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u91D1\u989D",prop:`sections[${e}].paymentProgress`},{default:o(()=>{var a,d;return[t(W,{modelValue:u.value.sections[e].paymentProgress,"onUpdate:modelValue":v=>u.value.sections[e].paymentProgress=v,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)&&i.isSupplemented,onMousewheel:S[4]||(S[4]=B(()=>{},["prevent"]))},{suffix:o(()=>[U("\u4E07\u5143")]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):(b(),P(m,{key:1,label:"\u9879\u76EE\u6B3E\u652F\u4ED8\u91D1\u989D",prop:`sections[${e}].paymentProgress`,rules:[{required:!1,message:"\u8BF7\u9009\u62E9"}]},{default:o(()=>{var a,d;return[t(W,{modelValue:u.value.sections[e].paymentProgress,"onUpdate:modelValue":v=>u.value.sections[e].paymentProgress=v,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)&&i.isSupplemented,onMousewheel:S[5]||(S[5]=B(()=>{},["prevent"]))},{suffix:o(()=>[U("\u4E07\u5143")]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"]))]}),_:2},1024)],64)):k("v-if",!0)]}),_:2},1024),t(E,null,{default:o(()=>{var Y;return[["05","06","07","00"].includes((Y=i.basicInfoData)==null?void 0:Y.baseProjSetProg)?(b(),h(g,{key:0},[t(f,{span:8},{default:o(()=>[A.baseProjPurchaseWay==="00"?(b(),P(m,{key:0,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`},{default:o(()=>[t(M,{"file-list":u.value.sections[e].purchaseFile,"onUpdate:fileList":l=>u.value.sections[e].purchaseFile=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].purchaseFile),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",je,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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"])):(b(),P(m,{key:1,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`,rules:[{required:!1,message:"\u8BF7\u4E0A\u4F20"}]},{default:o(()=>[t(M,{"file-list":u.value.sections[e].purchaseFile,"onUpdate:fileList":l=>u.value.sections[e].purchaseFile=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].purchaseFile),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",De,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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),t(f,{span:8},{default:o(()=>[A.baseProjPurchaseWay==="00"?(b(),P(m,{key:0,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`},{default:o(()=>[t(M,{"file-list":u.value.sections[e].biddingFile,"onUpdate:fileList":l=>u.value.sections[e].biddingFile=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].biddingFile),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",Ye,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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"])):(b(),P(m,{key:1,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`,rules:[{required:!1,message:"\u8BF7\u4E0A\u4F20"}]},{default:o(()=>[t(M,{"file-list":u.value.sections[e].biddingFile,"onUpdate:fileList":l=>u.value.sections[e].biddingFile=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].biddingFile),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",$e,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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),t(f,{span:8},{default:o(()=>[t(m,{label:"\u91C7\u8D2D\u5408\u540C",prop:`sections[${e}].purchaseContract`},{default:o(()=>[t(M,{"file-list":u.value.sections[e].purchaseContract,"onUpdate:fileList":l=>u.value.sections[e].purchaseContract=l,class:"w-full",action:r(N),"on-success":l=>r(O)(l,u.value.sections[e].purchaseContract),"on-error":r(T),"before-upload":l=>r(q)(l,{types:r(y)}),accept:r(y).map(l=>`.${l}`).join(","),multiple:"",limit:10,"on-preview":r(J),"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)&&i.isSupplemented)}},{tip:o(()=>[w("div",ke,"\u652F\u6301"+_(r(L))+"\u6587\u4EF6",1)]),default:o(()=>{var l,p,c,s,a;return[t(F,{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)&&i.isSupplemented},{default:o(()=>[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)):k("v-if",!0)]}),_:2},1024)],64)),e<((se=u.value.sections)==null?void 0:se.length)-1?(b(),P(pe,{key:3})):k("v-if",!0)],64)}),128))]),_:1},8,["model"]),w("p",null,[t(F,{type:"primary",plain:"",icon:"Plus",class:"w-full",onClick:de},{default:o(()=>[U("\u6DFB\u52A0\u6807\u6BB5")]),_:1})])],64)}}}),Te=ge(Ne,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/purchaseInfo.vue"]]);export{Te as default};