engineering/public/admin/assets/detail.ec0f2449.js
2024-03-04 15:04:21 +08:00

2 lines
9.7 KiB
JavaScript

import{_ as M,a as $}from"./index.a91b9a2c.js";import{R as z,a2 as U,S as W,C as q,L as G,M as H,B as J}from"./element-plus.258bf9e7.js";import{P as K}from"./index.9492d03b.js";import{a as Q,b as X,c as Y}from"./bid_document_examination_detail.7c75ca6e.js";import{d as C,s as Z,r as E,a0 as B,o,c as s,V as l,M as a,T as u,U as n,W as y,a8 as F,L as w,u as ll,b7 as el,b6 as al,a as x}from"./@vue.ab566ce7.js";import{_ as tl}from"./index.ec401e3b.js";import"./@element-plus.b89f1627.js";import"./approve.4bfa22cd.js";import"./flow.825559ec.js";import"./vue-router.87ebc608.js";import"./@vueuse.8fcae4c2.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.1d82ee7c.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const ul=r=>(el("data-v-5000f68a"),r=r(),al(),r),nl={class:"detail-popup"},ol={key:0},il={style:{"margin-left":"5px",display:"block"}},sl={key:1},_l={key:0},cl={style:{"margin-left":"5px",display:"block"}},pl={key:1},rl={key:0},bl={style:{"margin-left":"5px",display:"block"}},ml={key:1},fl=ul(()=>x("div",{class:"card-header"},[x("span",null,"\u4EA7\u54C1\u660E\u7EC6")],-1)),dl=C({name:"customdetail"}),gl=C({...dl,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(r,{expose:k,emit:A}){const m=Z(),v=E([]),L=E(""),D=B({page_size:10,page_no:1,bid_document_examination_id:""}),j=()=>{X(D).then(i=>{v.value=i.lists,L.value=i.count})},e=B({}),S=async i=>{D.bid_document_examination_id=i.id,Object.assign(e,i),j(),O()},I=async()=>{var i;(i=m.value)==null||i.close()},R=()=>{var i;(i=m.value)==null||i.open()},f=()=>{A("close")},h=E([]),O=async()=>{if(e!=null&&e.approve_id)return;let i=await Q();h.value=i};return k({open:R,setFormData:S}),(i,El)=>{const t=z,d=U,g=W,b=q,_=G,P=H,T=J,V=M,N=$;return o(),s("div",nl,[l(K,{ref_key:"popupRef",ref:m,title:"\u6295\u6807\u5BA1\u67E5\u8BE6\u60C5",async:!0,width:"80%",onConfirm:I,onClose:f},{default:a(()=>[l(b,null,{default:a(()=>[l(g,{title:"\u57FA\u672C\u4FE1\u606F",column:3,border:""},{default:a(()=>[l(t,{label:"\u6807\u4E66\u7F16\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.bid_document_no),1)]),_:1}),l(t,{label:"\u8D2D\u4E70\u4EBA\u5458","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.buyer),1)]),_:1}),l(t,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.custom_name),1)]),_:1}),l(t,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.project_name),1)]),_:1}),l(t,{label:"\u62DB\u6807\u516C\u53F8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.invite_tenders_company_name),1)]),_:1}),l(t,{label:"\u6295\u6807\u516C\u53F8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.bid_company_name),1)]),_:1}),l(t,{label:"\u8D2D\u4E70\u6807\u4E66\u91D1\u989D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.bid_document_amount),1)]),_:1}),l(t,{label:"\u62DB\u6807\u9879\u76EE\u8D44\u91D1\u6765\u6E90","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.bidding_project_fund_source),1)]),_:1}),l(t,{label:"\u6295\u6807\u65F6\u95F4","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.bidding_time),1)]),_:1}),l(t,{label:"\u8D2D\u4E70\u6807\u4E66\u65F6\u95F4","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.buy_date),1)]),_:1}),l(t,{label:"\u62DB\u6807\u65B9\u5F0F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.bid_type),1)]),_:1}),l(t,{label:"\u6295\u6807\u5730\u5740","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.bid_address),1)]),_:1}),l(t,{label:"\u662F\u5426\u9700\u8981\u4FDD\u8BC1\u91D1","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.is_margin),1)]),_:1}),l(t,{label:"\u4FDD\u8BC1\u91D1\u91D1\u989D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.margin_amount),1)]),_:1}),l(t,{label:"\u4FDD\u8BC1\u91D1\u9000\u8FD8\u65F6\u95F4","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.margin_amount_return_date),1)]),_:1}),l(t,{label:"\u5F00\u6807\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.bid_opening_date),1)]),_:1}),l(t,{label:"\u62DB\u6807\u9879\u76EE\u6982\u51B5","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.bid_project_overview),1)]),_:1}),l(t,{label:"\u9879\u76EE\u7B80\u4ECB","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.project_desc),1)]),_:1}),l(t,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[e.annex&&e.annex.length>0?(o(),s("div",ol,[(o(!0),s(y,null,F(e.annex,(c,p)=>(o(),s("div",il,[l(d,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:c,target:"_blank"},{default:a(()=>[u("\u6587\u4EF6"+n(p+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(o(),s("div",sl," \u6682\u65E0\u9644\u4EF6"))]),_:1})]),_:1})]),_:1}),l(b,null,{default:a(()=>[l(g,{title:"\u6280\u672F\u5BA1\u67E5",column:1,border:"",style:{"margin-top":"30px"}},{default:a(()=>[l(t,{label:"\u6280\u672F\u534F\u8BAE\u504F\u5DEE","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.technical_protocol_deviation),1)]),_:1}),l(t,{label:"\u534F\u8BAE\u504F\u5DEE\u5904\u7406\u65B9\u6848","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.protocol_deviation_handling_plan),1)]),_:1}),l(t,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[e.technical_review_annex&&e.technical_review_annex.length>0?(o(),s("div",_l,[(o(!0),s(y,null,F(e.technical_review_annex,(c,p)=>(o(),s("div",cl,[l(d,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:c,target:"_blank"},{default:a(()=>[u("\u6587\u4EF6"+n(p+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(o(),s("div",pl," \u6682\u65E0\u9644\u4EF6"))]),_:1})]),_:1})]),_:1}),l(b,null,{default:a(()=>[l(g,{title:"\u5546\u52A1\u5BA1\u67E5",column:3,border:"",style:{"margin-top":"30px"}},{default:a(()=>[l(t,{label:"\u603B\u91D1\u989D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.total_amount),1)]),_:1}),l(t,{label:"\u7A0E\u7387","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.tax_rate),1)]),_:1}),l(t,{label:"\u4ED8\u6B3E\u65B9\u5F0F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.pay_type),1)]),_:1}),l(t,{label:"\u4ED8\u6B3E\u6BD4\u4F8B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.pay_rate),1)]),_:1}),l(t,{label:"\u5546\u52A1\u5408\u540C\u504F\u5DEE","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.business_contract_deviation),1)]),_:1}),l(t,{label:"\u504F\u5DEE\u5904\u7406\u65B9\u6848","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[u(n(e.business_contract_deviation_handling_plan),1)]),_:1}),l(t,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[e.business_contract_deviation_annex&&e.business_contract_deviation_annex.length>0?(o(),s("div",rl,[(o(!0),s(y,null,F(e.business_contract_deviation_annex,(c,p)=>(o(),s("div",bl,[l(d,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:c,target:"_blank"},{default:a(()=>[u("\u6587\u4EF6"+n(p+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(o(),s("div",ml," \u6682\u65E0\u9644\u4EF6"))]),_:1})]),_:1})]),_:1}),l(b,null,{header:a(()=>[fl]),default:a(()=>[l(T,null,{default:a(()=>[l(P,{data:v.value},{default:a(()=>[l(_,{label:"\u5E8F\u53F7",type:"index",width:"55"}),l(_,{label:"\u4EA7\u54C1\u540D\u79F0",prop:"product_name","show-overflow-tooltip":""}),l(_,{label:"\u578B\u53F7\u89C4\u683C",prop:"product_specs","show-overflow-tooltip":""}),l(_,{label:"\u5355\u4F4D",prop:"product_unit","show-overflow-tooltip":""}),l(_,{label:"\u6570\u91CF",prop:"num","show-overflow-tooltip":""}),l(_,{label:"\u6210\u672C\u5355\u4EF7",prop:"cost_price","show-overflow-tooltip":""}),l(_,{label:"\u91D1\u989D",prop:"cost_amount","show-overflow-tooltip":""}),l(_,{label:"\u70B9\u6570",prop:"points","show-overflow-tooltip":""}),l(_,{label:"\u62A5\u4EF7\u5355\u4EF7",prop:"sale_price","show-overflow-tooltip":""}),l(_,{label:"\u62A5\u4EF7\u91D1\u989D",prop:"sale_amount","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1})]),_:1}),!(e!=null&&e.approve_id)||e.approve_check_status==4?(o(),w(V,{key:0,flows:h.value,submitApi:ll(Y),id:e==null?void 0:e.id,onOff:f},null,8,["flows","submitApi","id"])):(o(),w(N,{key:1,approve_id:e==null?void 0:e.approve_id,onOff:f},null,8,["approve_id"]))]),_:1},512)])}}});const te=tl(gl,[["__scopeId","data-v-5000f68a"]]);export{te as default};