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