engineering/public/admin/assets/detail.75fd0974.js
2024-04-03 17:58:20 +08:00

2 lines
17 KiB
JavaScript

import{S as ce,T as be,a4 as de,O as fe,P as ge,R as we,a5 as ve,L as De}from"./element-plus.146e8f42.js";import{_ as he}from"./index.vue_vue_type_script_setup_true_lang.f4e238a2.js";import{P as Ee}from"./index.166d0653.js";import{c as Fe}from"./custom.d6d555ca.js";import{_ as ye}from"./index.1aecd252.js";import{d as G,r as _,a0 as m,s as q,o as Ce,c as Be,V as e,M as t,T as u,U as p,a as r,b7 as ze,b6 as xe}from"./@vue.ab566ce7.js";import"./lodash.cf6c933b.js";import{a as Ae}from"./procurement_contract.5a55ebe6.js";import{a as Se}from"./subcontracting_contract.792ab318.js";import{d as ke}from"./receiptrecord.cc63b6ab.js";import{p as je}from"./paymentplan.684a1328.js";import{c as Le}from"./paymentrequest.9cd00110.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.9bff6341.js";import"./dayjs.b71ea374.js";import"./axios.a47df6c5.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.7fa42df6.js";import"./color.33bf1982.js";import"./clone.a41dca03.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.2a4540f4.js";import"./ms.a9ae1d6d.js";import"./nprogress.efca4817.js";import"./vue-clipboard3.24161810.js";import"./clipboard.c8fd8745.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.d693a0d8.js";const h=E=>(ze("data-v-8b20535b"),E=E(),xe(),E),Ue={class:"detail-popup"},Te=h(()=>r("div",{class:"tit"},"\u91C7\u8D2D\u5408\u540C",-1)),Oe={style:{margin:"10px 0"}},Pe=h(()=>r("div",{class:"tit"},"\u5206\u5305\u5408\u540C",-1)),Ve={style:{margin:"10px 0"}},Re=h(()=>r("div",{class:"tit"},"\u91C7\u8D2D/\u5206\u5305\u53D1\u7968",-1)),Ie={style:{margin:"10px 0"}},Ne=h(()=>r("div",{class:"tit"},"\u4ED8\u6B3E\u8BA1\u5212",-1)),$e={style:{margin:"10px 0"}},Me=h(()=>r("div",{class:"tit"},"\u4ED8\u6B3E\u7533\u8BF7",-1)),qe={style:{margin:"10px 0"}},Ge=G({name:"customdetail"}),He=G({...Ge,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(E,{expose:H,emit:J}){const x=_("demo-tabs-1"),c=m({page_size:10,page_no:1,supplier_id:""}),b=m({page_size:10,page_no:1,supplier_id:""}),g=m({page_size:10,page_no:1,customer_demand_id:""}),A=m({page_size:10,page_no:1,supplier_id:""}),d=m({page_size:10,page_no:1,supplier_id:""}),f=m({page_size:10,page_no:1,supplier_id:""}),S=_(0),k=_(0),j=_(0),L=_(0),U=_(0),K=q(),y=q(),Q=m([]);m({provinceOptions:[],cityOptions:[],areaOptions:[]});const T=_([]),O=_([]),P=_([]),V=_([]),R=_([]),W=(o,n)=>{},i=m({}),X=o=>{c.page_size=o,C()},Y=o=>{b.page_size=o,w()},Z=o=>{g.page_size=o,I()},ee=o=>{d.page_size=o,w()},le=o=>{f.page_size=o,w()},oe=o=>{c.page_no=o,C()},te=o=>{b.page_no=o,w()},ae=o=>{g.page_no=o,w()},ue=o=>{d.page_no=o,N()},pe=o=>{f.page_no=o,$()},C=()=>{Ae(c).then(o=>{T.value=o.lists,S.value=o.count})},w=()=>{Se(b).then(o=>{O.value=o.lists,k.value=o.count})},I=()=>{ke(A).then(o=>{P.value=o.lists,j.value=o.count})},N=()=>{je(d).then(o=>{V.value=o.lists,L.value=o.count})},$=()=>{Le(f).then(o=>{R.value=o.lists,U.value=o.count})},M=async o=>{if(Object.assign(i,o),c.supplier_id=o.id,b.supplier_id=o.id,A.supplier_id=o.id,d.supplier_id=o.id,f.supplier_id=o.id,o.annex&&o.annex.length>0){const n=o.annex.map((s,B)=>({name:`\u6587\u4EF6${B+1}`,uri:s}));Object.assign(Q,n)}w(),C(),I(),N(),$()},ne=async o=>{const n=await Fe({id:o.id});M(n)},ie=async()=>{var o;(o=y.value)==null||o.close()},se=()=>{var o;(o=y.value)==null||o.open()},re=()=>{J("close")};return H({open:se,setFormData:M,getDetail:ne}),(o,n)=>{const s=ce,B=he,z=be,F=de,l=fe,v=ge,D=we,_e=ve,me=De;return Ce(),Be("div",Ue,[e(Ee,{ref_key:"popupRef",ref:y,title:"\u4F9B\u5E94\u5546\u7BA1\u7406\u8BE6\u60C5",async:!0,width:"80%",onConfirm:ie,onClose:re},{default:t(()=>[e(me,{ref_key:"formRef",ref:K,model:i,"label-width":"120px"},{default:t(()=>[e(_e,{modelValue:x.value,"onUpdate:modelValue":n[10]||(n[10]=a=>x.value=a),class:"demo-tabs",onTabClick:W},{default:t(()=>[e(F,{label:"\u57FA\u672C\u4FE1\u606F",name:"demo-tabs-1"},{default:t(()=>[e(z,{title:"\u57FA\u672C\u4FE1\u606F",column:2,border:""},{default:t(()=>[e(s,{label:"\u7EC4\u7EC7\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.org_name),1)]),_:1}),e(s,{label:"\u90E8\u95E8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.dept_name),1)]),_:1}),e(s,{label:"\u4F9B\u5E94\u5546\u7B80\u4ECB","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.supplier_introduction),1)]),_:1}),e(s,{label:"\u4F9B\u5E94\u5546\u5206\u7EC4","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.supplier_group_text),1)]),_:1}),e(s,{label:"\u4F9B\u5E94\u5546\u5206\u7C7B","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.supplier_category_text),1)]),_:1}),e(s,{label:"\u4F9B\u5E94\u5546\u7B49\u7EA7","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.supplier_grade_text),1)]),_:1}),e(s,{label:"\u8054\u7CFB\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.contacts),1)]),_:1}),e(s,{label:"\u6027\u522B","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.contacts_sex_text),1)]),_:1}),e(s,{label:"\u51FA\u751F\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.birthday),1)]),_:1}),e(s,{label:"\u8054\u7CFB\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.phone),1)]),_:1}),e(s,{label:"\u90AE\u7BB1","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.email),1)]),_:1}),e(s,{label:"\u5730\u5740","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.address),1)]),_:1}),e(s,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.remark),1)]),_:1}),e(s,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[e(B,{annex:i.annex},null,8,["annex"])]),_:1})]),_:1}),e(z,{title:"\u5F00\u7968\u4FE1\u606F",border:"",style:{margin:"20px 0"}},{default:t(()=>[e(s,{label:"\u5F00\u7968\u516C\u53F8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.invoice_company_name),1)]),_:1}),e(s,{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.taxpayer_identification_number),1)]),_:1}),e(s,{label:"\u5F00\u6237\u94F6\u884C","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.bank_name),1)]),_:1}),e(s,{label:"\u5F00\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.bank_accnout_name),1)]),_:1}),e(s,{label:"\u8D26\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.bank_account),1)]),_:1}),e(s,{label:"\u5F00\u6237\u5730\u5740","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.bank_address),1)]),_:1}),e(s,{label:"\u671F\u521D\u672A\u5F00\u7968\u91D1\u989D","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.init_invoice_amount),1)]),_:1})]),_:1}),e(z,{title:"\u8D26\u671F\u7BA1\u7406",border:"",style:{margin:"20px 0"}},{default:t(()=>[e(s,{label:"\u6388\u4FE1\u989D\u5EA6","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.credit_limit),1)]),_:1}),e(s,{label:"\u8D26\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(i.account_period),1)]),_:1})]),_:1})]),_:1}),e(F,{label:"\u5408\u540C",name:"demo-tabs-3"},{default:t(()=>[Te,r("div",null,[e(v,{data:T.value,stripe:"",style:{width:"100%"}},{default:t(()=>[e(l,{label:"\u5E8F\u53F7",type:"index",width:"55","show-overflow-tooltip":""}),e(l,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_no","show-overflow-tooltip":""}),e(l,{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplier_name","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u7C7B\u578B",prop:"contract_type","show-overflow-tooltip":""}),e(l,{label:"\u7B7E\u8BA2\u65E5\u671F",prop:"signing_date","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u91D1\u989D",prop:"contract_amount","show-overflow-tooltip":""}),e(l,{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"has_pay_amount","show-overflow-tooltip":""}),e(l,{label:"\u5DF2\u5F00\u7968\u91D1\u989D",prop:"has_invoice_amount","show-overflow-tooltip":""}),e(l,{label:"\u672A\u4ED8\u6B3E\u91D1\u989D",prop:"not_pay_amount","show-overflow-tooltip":""}),e(l,{label:"\u672A\u5F00\u7968\u91D1\u989D",prop:"not_invoice_amount","show-overflow-tooltip":""}),e(l,{label:"\u9000\u6B3E\u91D1\u989D",prop:"refund_amount","show-overflow-tooltip":""}),e(l,{label:"\u5DF2\u5165\u5E93\u6570\u91CF",prop:"has_storage_num","show-overflow-tooltip":""}),e(l,{label:"\u672A\u5165\u5E93\u6570\u91CF",prop:"not_storage_num","show-overflow-tooltip":""}),e(l,{label:"\u6570\u91CF",prop:"num","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",Oe,[e(D,{"current-page":c.page_no,"onUpdate:current-page":n[0]||(n[0]=a=>c.page_no=a),"page-size":c.page_size,"onUpdate:page-size":n[1]||(n[1]=a=>c.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:S.value,onSizeChange:X,onCurrentChange:oe},null,8,["current-page","page-size","total"])]),Pe,r("div",null,[e(v,{data:O.value,stripe:"",style:{width:"100%"}},{default:t(()=>[e(l,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_no","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name","show-overflow-tooltip":""}),e(l,{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplier_name","show-overflow-tooltip":""}),e(l,{label:"\u7B7E\u8BA2\u65E5\u671F",prop:"signing_date","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u7C7B\u578B",prop:"contract_type","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u91D1\u989D",prop:"contract_amount","show-overflow-tooltip":""}),e(l,{label:"\u6D3D\u5546\u91D1\u989D",prop:"negotiation_amount","show-overflow-tooltip":""}),e(l,{label:"\u4E0D\u542B\u7A0E\u91D1\u989D",prop:"excluding_tax_amount","show-overflow-tooltip":""}),e(l,{label:"\u5B9E\u9645\u5408\u540C\u91D1\u989D",prop:"reality_contract_amount","show-overflow-tooltip":""}),e(l,{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"has_pay_amount","show-overflow-tooltip":""}),e(l,{label:"\u672A\u4ED8\u6B3E\u91D1\u989D",prop:"not_pay_amount","show-overflow-tooltip":""}),e(l,{label:"\u5DF2\u5F00\u7968\u91D1\u989D",prop:"invoice_amount","show-overflow-tooltip":""}),e(l,{label:"\u672A\u5F00\u7968\u91D1\u989D",prop:"not_invoice_amount","show-overflow-tooltip":""}),e(l,{label:"\u5DF2\u9000\u6B3E\u91D1\u989D",prop:"refund_amount","show-overflow-tooltip":""}),e(l,{label:"\u7ED3\u7B97\u5DEE\u5F02",prop:"settlement_difference","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",Ve,[e(D,{"current-page":b.page_no,"onUpdate:current-page":n[2]||(n[2]=a=>b.page_no=a),"page-size":b.page_size,"onUpdate:page-size":n[3]||(n[3]=a=>b.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:k.value,onSizeChange:Y,onCurrentChange:te},null,8,["current-page","page-size","total"])])]),_:1}),e(F,{label:"\u6536\u7968",name:"demo-tabs-4"},{default:t(()=>[Re,r("div",null,[e(v,{data:P.value,stripe:"",style:{width:"100%"}},{default:t(()=>[e(l,{type:"selection",width:"55"}),e(l,{label:"\u5E8F\u53F7",type:"index",width:"55"}),e(l,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_no","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u7C7B\u578B",prop:"contract_type"},{default:t(({row:a})=>[u(p(a.contract_type==1?"\u91C7\u8D2D\u5408\u540C":"\u5206\u5305\u5408\u540C"),1)]),_:1}),e(l,{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplier_name","show-overflow-tooltip":""}),e(l,{label:"\u6536\u7968\u65E5\u671F",prop:"receipt_date","show-overflow-tooltip":""}),e(l,{label:"\u5F00\u7968\u65E5\u671F",prop:"invoicing_date","show-overflow-tooltip":""}),e(l,{label:"\u63D0\u4EA4\u4EBA",prop:"commitor","show-overflow-tooltip":""}),e(l,{label:"\u53D1\u7968\u7A0E\u7387",prop:"invoice_tax_rate_text","show-overflow-tooltip":""},{default:t(({row:a})=>[u(p(a.invoice_tax_rate_text)+"% ",1)]),_:1}),e(l,{label:"\u53D1\u7968\u91D1\u989D",prop:"invoice_amount","show-overflow-tooltip":""}),e(l,{label:"\u4E0D\u542B\u7A0E\u91D1\u989D",prop:"amount_excluding_tax","show-overflow-tooltip":""}),e(l,{label:"\u7A0E\u989D",prop:"tax_amount","show-overflow-tooltip":""}),e(l,{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoice_type"},{default:t(({row:a})=>[u(p(a.invoice_type_text),1)]),_:1}),e(l,{label:"\u53D1\u7968\u7F16\u53F7",prop:"invoice_no","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",Ie,[e(D,{"current-page":g.page_no,"onUpdate:current-page":n[4]||(n[4]=a=>g.page_no=a),"page-size":g.page_size,"onUpdate:page-size":n[5]||(n[5]=a=>g.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:j.value,onSizeChange:Z,onCurrentChange:ae},null,8,["current-page","page-size","total"])])]),_:1}),e(F,{label:"\u4ED8\u6B3E",name:"demo-tabs-5"},{default:t(()=>[Ne,r("div",null,[e(v,{data:V.value,stripe:"",style:{width:"100%"}},{default:t(()=>[e(l,{label:"\u5E8F\u53F7",type:"index",width:"55"}),e(l,{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplier_name","show-overflow-tooltip":""}),e(l,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_no","show-overflow-tooltip":""}),e(l,{label:"\u8BA1\u5212\u4ED8\u6B3E\u65E5\u671F",prop:"pay_date","show-overflow-tooltip":""}),e(l,{label:"\u91D1\u989D",prop:"amount","show-overflow-tooltip":""}),e(l,{label:"\u671F\u6B21",prop:"period","show-overflow-tooltip":""},{default:t(({row:a})=>[u(p(a.period_text),1)]),_:1}),e(l,{label:"\u5DF2\u4ED8\u6B3E",prop:"has_payment_amount","show-overflow-tooltip":""}),e(l,{label:"\u672A\u4ED8\u6B3E",prop:"not_payment_amount","show-overflow-tooltip":""}),e(l,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",$e,[e(D,{"current-page":d.page_no,"onUpdate:current-page":n[6]||(n[6]=a=>d.page_no=a),"page-size":d.page_size,"onUpdate:page-size":n[7]||(n[7]=a=>d.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:L.value,onSizeChange:ee,onCurrentChange:ue},null,8,["current-page","page-size","total"])]),Me,r("div",null,[e(v,{data:R.value,stripe:"",style:{width:"100%"}},{default:t(()=>[e(l,{label:"\u5E8F\u53F7",type:"index",width:"55"}),e(l,{label:"\u4ED8\u6B3E\u5355\u53F7",prop:"payment_apply_code","show-overflow-tooltip":""}),e(l,{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplier_name","show-overflow-tooltip":""}),e(l,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),e(l,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_no","show-overflow-tooltip":""}),e(l,{label:"\u4ED8\u6B3E\u65E5\u671F",prop:"pay_date","show-overflow-tooltip":""}),e(l,{label:"\u4ED8\u6B3E\u91D1\u989D",prop:"amount","show-overflow-tooltip":""}),e(l,{label:"\u4ED8\u6B3E\u65B9\u5F0F",prop:"pay_type","show-overflow-tooltip":""},{default:t(({row:a})=>[u(p(a.pay_type_text),1)]),_:1}),e(l,{label:"\u4ED8\u6B3E\u6027\u8D28",prop:"payment_natrue","show-overflow-tooltip":""},{default:t(({row:a})=>[u(p(a.payment_nature_text),1)]),_:1}),e(l,{label:"\u671F\u6B21",prop:"period","show-overflow-tooltip":""},{default:t(({row:a})=>[u(p(a.period),1)]),_:1}),e(l,{label:"\u7533\u8BF7\u4EBA",prop:"apply_user","show-overflow-tooltip":""}),e(l,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",qe,[e(D,{"current-page":f.page_no,"onUpdate:current-page":n[8]||(n[8]=a=>f.page_no=a),"page-size":f.page_size,"onUpdate:page-size":n[9]||(n[9]=a=>f.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:U.value,onSizeChange:le,onCurrentChange:pe},null,8,["current-page","page-size","total"])])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["model"])]),_:1},512)])}}});const Ul=ye(He,[["__scopeId","data-v-8b20535b"]]);export{Ul as default};