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
27KB

  1. var ne=Object.defineProperty,pe=Object.defineProperties;var ce=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var ee=(p,h,y)=>h in p?ne(p,h,{enumerable:!0,configurable:!0,writable:!0,value:y}):p[h]=y,ae=(p,h)=>{for(var y in h||(h={}))de.call(h,y)&&ee(p,y,h[y]);if(x)for(var y of x(h))me.call(h,y)&&ee(p,y,h[y]);return p},le=(p,h)=>pe(p,ce(h));import{_ as fe,d as be,D as ve,r as se,L as oe,e as U,f as i,g as d,k as l,l as a,F as m,J,I as f,m as _,i as C,Y as T,j as t,h as D,t as k}from"./index.11dc4694.js";import{r as H,h as F,i as S,f as M,c as b,b as N,e as w}from"./uploadAction.c865409e.js";const Pe={class:"el-upload__tip"},_e={class:"el-upload__tip"},ye={class:"el-upload__tip"},Ve={class:"el-upload__tip"},he={class:"el-upload__tip"},ge={class:"el-upload__tip"},Ue={class:"el-upload__tip"},Ce={class:"el-upload__tip"},je={class:"el-upload__tip"},De={class:"el-upload__tip"},Ye=be({name:"purchaseInfo"}),$e=Object.assign(Ye,{props:{detail:{type:Object},basicInfoData:{type:Object},baseProjSetYear:{type:String,default:""},dictionaryList:{type:Array,default:()=>[]}},setup(p,{expose:h}){const y=p,Y=ve.dictStore.uploadUrl,O=se(),s=se({sections:[{purchaseFile:[],biddingFile:[],purchaseContract:[]}]}),E={},te=()=>{s.value.sections.push({})},ue=j=>{s.value.sections.splice(j,1)};return h({formRef:O,formData:s}),oe(()=>y.basicInfoData,j=>{var P;(j==null?void 0:j.baseProjIsConfidentiality)==="02"||(j==null?void 0:j.baseProjSetProg)==="00"?E.value={}:E.value={sections:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u6807\u6BB5"}]},(P=O.value)==null||P.clearValidate()},{deep:!0,immediate:!0}),oe(()=>y.detail,j=>{var P,V,v,r;j&&(V=(P=y.detail)==null?void 0:P.procures)!=null&&V.length&&(s.value={sections:((r=(v=y.detail)==null?void 0:v.procures)==null?void 0:r.map(n=>le(ae({},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:[]}]})}),(j,P)=>{const V=U("el-button"),v=U("el-input"),r=U("el-form-item"),n=U("el-col"),K=U("el-option"),z=U("el-select"),L=U("el-date-picker"),I=U("el-input-number"),B=U("el-row"),$=U("el-upload"),re=U("el-divider"),ie=U("el-form");return i(),d(m,null,[l(ie,{ref_key:"formRef",ref:O,model:s.value,rules:E,"label-position":"top","label-suffix":":","scroll-to-error":""},{default:a(()=>[(i(!0),d(m,null,J(s.value.sections,(q,e)=>{var G,Q,X,Z;return i(),d(m,{key:e},[((G=s.value.sections)==null?void 0:G.length)>1?(i(),f(V,{key:0,type:"danger",icon:"Delete",link:"",class:"float-right",onClick:g=>ue(e)},{default:a(()=>[_("\u5220\u9664")]),_:2},1032,["onClick"])):C("v-if",!0),((Q=p.basicInfoData)==null?void 0:Q.baseProjIsConfidentiality)!=="02"&&((X=p.basicInfoData)==null?void 0:X.baseProjSetProg)!=="00"?(i(),d(m,{key:1},[l(B,{gutter:40},{default:a(()=>{var g,o,W,A;return[["05","06","07","00"].includes((g=p.basicInfoData)==null?void 0:g.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,J((u=p.dictionaryList)==null?void 0:u.filter(c=>c.type==="PURCHASE_METHOD"),(c,R)=>(i(),f(K,{key:R,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)):C("v-if",!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(q.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)):C("v-if",!0),["05","06","07","00"].includes((W=p.basicInfoData)==null?void 0:W.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(L,{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(I,{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]=T(()=>{},["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)):C("v-if",!0),["05","06","07","00"].includes((A=p.basicInfoData)==null?void 0:A.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(L,{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(L,{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(I,{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]=T(()=>{},["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(I,{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]=T(()=>{},["prevent"]))},{suffix:a(()=>[_("\u4E07\u5143")]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]))]}),_:2},1024)],64)):C("v-if",!0)]}),_:2},1024),l(B,null,{default:a(()=>{var g;return[["05","06","07","00"].includes((g=p.basicInfoData)==null?void 0:g.baseProjSetProg)?(i(),d(m,{key:0},[l(n,{span:8},{default:a(()=>[q.baseProjPurchaseWay==="00"?(i(),f(r,{key:0,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`},{default:a(()=>[l($,{"file-list":s.value.sections[e].purchaseFile,"onUpdate:fileList":o=>s.value.sections[e].purchaseFile=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].purchaseFile),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"",limit:10,"on-preview":t(N)},{tip:a(()=>[D("div",Pe,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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($,{"file-list":s.value.sections[e].purchaseFile,"onUpdate:fileList":o=>s.value.sections[e].purchaseFile=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].purchaseFile),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"",limit:10,"on-preview":t(N)},{tip:a(()=>[D("div",_e,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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(()=>[q.baseProjPurchaseWay==="00"||q.baseProjPurchaseWay==="05"?(i(),f(r,{key:0,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`},{default:a(()=>[l($,{"file-list":s.value.sections[e].biddingFile,"onUpdate:fileList":o=>s.value.sections[e].biddingFile=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].biddingFile),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"",limit:10,"on-preview":t(N)},{tip:a(()=>[D("div",ye,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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($,{"file-list":s.value.sections[e].biddingFile,"onUpdate:fileList":o=>s.value.sections[e].biddingFile=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].biddingFile),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"","on-preview":t(N),limit:10},{tip:a(()=>[D("div",Ve,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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($,{"file-list":s.value.sections[e].purchaseContract,"onUpdate:fileList":o=>s.value.sections[e].purchaseContract=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].purchaseContract),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"",limit:10},{tip:a(()=>[D("div",he,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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)):C("v-if",!0)]}),_:2},1024)],64)):(i(),d(m,{key:2},[l(B,{gutter:40},{default:a(()=>{var g,o,W,A;return[["05","06","07","00"].includes((g=p.basicInfoData)==null?void 0:g.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,J((u=p.dictionaryList)==null?void 0:u.filter(c=>c.type==="PURCHASE_METHOD"),(c,R)=>(i(),f(K,{key:R,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)):C("v-if",!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(q.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)):C("v-if",!0),["05","06","07","00"].includes((W=p.basicInfoData)==null?void 0:W.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(L,{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(I,{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]=T(()=>{},["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)):C("v-if",!0),["05","06","07","00"].includes((A=p.basicInfoData)==null?void 0:A.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(L,{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(L,{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(I,{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]=T(()=>{},["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(I,{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]=T(()=>{},["prevent"]))},{suffix:a(()=>[_("\u4E07\u5143")]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]))]}),_:2},1024)],64)):C("v-if",!0)]}),_:2},1024),l(B,null,{default:a(()=>{var g;return[["05","06","07","00"].includes((g=p.basicInfoData)==null?void 0:g.baseProjSetProg)?(i(),d(m,{key:0},[l(n,{span:8},{default:a(()=>[q.baseProjPurchaseWay==="00"?(i(),f(r,{key:0,label:"\u62DB\u6807\uFF08\u91C7\u8D2D\uFF09\u6587\u4EF6",prop:`sections[${e}].purchaseFile`},{default:a(()=>[l($,{"file-list":s.value.sections[e].purchaseFile,"onUpdate:fileList":o=>s.value.sections[e].purchaseFile=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].purchaseFile),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"",limit:10},{tip:a(()=>[D("div",ge,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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($,{"file-list":s.value.sections[e].purchaseFile,"onUpdate:fileList":o=>s.value.sections[e].purchaseFile=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].purchaseFile),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"",limit:10},{tip:a(()=>[D("div",Ue,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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(()=>[q.baseProjPurchaseWay==="00"?(i(),f(r,{key:0,label:"\u4E2D\u6807\uFF08\u6210\u4EA4\uFF09\u901A\u77E5",prop:`sections[${e}].biddingFile`},{default:a(()=>[l($,{"file-list":s.value.sections[e].biddingFile,"onUpdate:fileList":o=>s.value.sections[e].biddingFile=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].biddingFile),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"",limit:10},{tip:a(()=>[D("div",Ce,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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($,{"file-list":s.value.sections[e].biddingFile,"onUpdate:fileList":o=>s.value.sections[e].biddingFile=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].biddingFile),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"",limit:10},{tip:a(()=>[D("div",je,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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($,{"file-list":s.value.sections[e].purchaseContract,"onUpdate:fileList":o=>s.value.sections[e].purchaseContract=o,class:"w-full",action:t(Y),"on-success":o=>t(F)(o,s.value.sections[e].purchaseContract),"on-error":t(S),"before-upload":o=>t(M)(o,{types:t(b)}),accept:t(b).map(o=>`.${o}`).join(","),multiple:"",limit:10},{tip:a(()=>[D("div",De,"\u652F\u6301"+k(t(w))+"\u6587\u4EF6",1)]),default:a(()=>[l(V,{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)):C("v-if",!0)]}),_:2},1024)],64)),e<((Z=s.value.sections)==null?void 0:Z.length)-1?(i(),f(re,{key:3})):C("v-if",!0)],64)}),128))]),_:1},8,["model"]),D("p",null,[l(V,{type:"primary",plain:"",icon:"Plus",class:"w-full",onClick:te},{default:a(()=>[_("\u6DFB\u52A0\u6807\u6BB5")]),_:1})])],64)}}}),Me=fe($e,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/purchaseInfo.vue"]]);export{Me as default};