2 lines
17 KiB
JavaScript
2 lines
17 KiB
JavaScript
import{R as ge,Z as we,S as ve,a1 as he,L as De,M as Ee,O as Fe,a2 as ye,D as Ce}from"./element-plus.4ff6f47d.js";import{P as Be}from"./index.ff7c6188.js";import{a as ze}from"./custom.01004c04.js";import{_ as xe}from"./index.aaca920c.js";import{d as G,r as _,a0 as m,s as q,o as D,c as E,V as e,M as t,T as u,U as p,W as Ae,a8 as ke,a as r,b7 as Se,b6 as je}from"./@vue.ab566ce7.js";import"./lodash.8ea2174a.js";import{d as Le}from"./procurement_contract.38e1c48b.js";import{a as Ue}from"./subcontracting_contract.8c088cec.js";import{d as Oe}from"./receiptrecord.95d9433e.js";import{p as Te}from"./paymentplan.475e1263.js";import{c as Ve}from"./paymentrequest.9f42c3ff.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.fc5568d8.js";import"./axios.5b893b79.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.4cbccc26.js";import"./color.033abf8c.js";import"./clone.a6258514.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7eedf28f.js";import"./ms.a9ae1d6d.js";import"./nprogress.93182424.js";import"./vue-clipboard3.6a55d49e.js";import"./clipboard.2986c82d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const F=y=>(Se("data-v-1edb6144"),y=y(),je(),y),Pe={class:"detail-popup"},Re={key:0},Ie={style:{"margin-left":"5px",display:"block"}},$e={key:1},Ne=F(()=>r("div",{class:"tit"},"\u91C7\u8D2D\u5408\u540C",-1)),Me={style:{margin:"10px 0"}},We=F(()=>r("div",{class:"tit"},"\u5206\u5305\u5408\u540C",-1)),Ze={style:{margin:"10px 0"}},qe=F(()=>r("div",{class:"tit"},"\u91C7\u8D2D/\u5206\u5305\u53D1\u7968",-1)),Ge={style:{margin:"10px 0"}},He=F(()=>r("div",{class:"tit"},"\u4ED8\u6B3E\u8BA1\u5212",-1)),Je={style:{margin:"10px 0"}},Ke=F(()=>r("div",{class:"tit"},"\u4ED8\u6B3E\u7533\u8BF7",-1)),Qe={style:{margin:"10px 0"}},Xe=G({name:"customdetail"}),Ye=G({...Xe,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(y,{expose:H,emit:J}){const S=_("demo-tabs-1"),c=m({page_size:10,page_no:1,supplier_id:""}),d=m({page_size:10,page_no:1,supplier_id:""}),g=m({page_size:10,page_no:1,customer_demand_id:""}),j=m({page_size:10,page_no:1,supplier_id:""}),b=m({page_size:10,page_no:1,supplier_id:""}),f=m({page_size:10,page_no:1,supplier_id:""}),L=_(0),U=_(0),O=_(0),T=_(0),V=_(0),K=q(),B=q(),Q=m([]);m({provinceOptions:[],cityOptions:[],areaOptions:[]});const P=_([]),R=_([]),I=_([]),$=_([]),z=_([]),X=(o,i)=>{},n=m({}),Y=o=>{c.page_size=o,x()},ee=o=>{d.page_size=o,w()},le=o=>{g.page_size=o,N()},oe=o=>{b.page_size=o,w()},te=o=>{f.page_size=o,w()},ae=o=>{console.log(`current page: ${o}`),c.page_no=o,x()},ue=o=>{d.page_no=o,console.log(`current page: ${o}`),w()},pe=o=>{g.page_no=o,console.log(`current page: ${o}`),w()},ne=o=>{b.page_no=o,M()},ie=o=>{f.page_no=o,console.log(`current page: ${o}`),W()},x=()=>{Le(c).then(o=>{P.value=o.lists,L.value=o.count})},w=()=>{Ue(d).then(o=>{R.value=o.lists,U.value=o.count})},N=()=>{Oe(j).then(o=>{I.value=o.lists,O.value=o.count})},M=()=>{Te(b).then(o=>{$.value=o.lists,T.value=o.count})},W=()=>{Ve(f).then(o=>{z.value=o.lists,V.value=o.count,console.log(z.value,4545454)})},Z=async o=>{if(Object.assign(n,o),c.supplier_id=o.id,d.supplier_id=o.id,j.supplier_id=o.id,b.supplier_id=o.id,f.supplier_id=o.id,o.annex&&o.annex.length>0){const i=o.annex.map((s,A)=>({name:`\u6587\u4EF6${A+1}`,uri:s}));Object.assign(Q,i)}w(),x(),N(),M(),W()},se=async o=>{const i=await ze({id:o.id});Z(i)},re=async()=>{var o;(o=B.value)==null||o.close()},_e=()=>{var o;(o=B.value)==null||o.open()},me=()=>{J("close")};return H({open:_e,setFormData:Z,getDetail:se}),(o,i)=>{const s=ge,A=we,k=ve,C=he,l=De,v=Ee,h=Fe,ce=ye,de=Ce;return D(),E("div",Pe,[e(Be,{ref_key:"popupRef",ref:B,title:"\u4F9B\u5E94\u5546\u7BA1\u7406\u8BE6\u60C5",async:!0,width:"80%",onConfirm:re,onClose:me},{default:t(()=>[e(de,{ref_key:"formRef",ref:K,model:n,"label-width":"120px"},{default:t(()=>[e(ce,{modelValue:S.value,"onUpdate:modelValue":i[10]||(i[10]=a=>S.value=a),class:"demo-tabs",onTabClick:X},{default:t(()=>[e(C,{label:"\u57FA\u672C\u4FE1\u606F",name:"demo-tabs-1"},{default:t(()=>[e(k,{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(n.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(n.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(n.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(n.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(n.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(n.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(n.contacts),1)]),_:1}),e(s,{label:"\u6027\u522B","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(n.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(n.birthday),1)]),_:1}),e(s,{label:"\u8054\u7CFB\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(n.phone),1)]),_:1}),e(s,{label:"\u90AE\u7BB1","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(n.email),1)]),_:1}),e(s,{label:"\u5730\u5740","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(n.address),1)]),_:1}),e(s,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(n.remark),1)]),_:1}),e(s,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>{var a;return[((a=n==null?void 0:n.annex)==null?void 0:a.length)>0?(D(),E("div",Re,[(D(!0),E(Ae,null,ke(n.annex,(be,fe)=>(D(),E("div",Ie,[e(A,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:be,target:"_blank"},{default:t(()=>[u("\u6587\u4EF6"+p(fe+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(D(),E("div",$e," \u6682\u65E0\u9644\u4EF6 "))]}),_:1})]),_:1}),e(k,{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(n.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(n.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(n.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(n.bank_accnout_name),1)]),_:1}),e(s,{label:"\u8D26\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(n.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(n.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(n.init_invoice_amount),1)]),_:1})]),_:1}),e(k,{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(n.credit_limit),1)]),_:1}),e(s,{label:"\u8D26\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[u(p(n.account_period),1)]),_:1})]),_:1})]),_:1}),e(C,{label:"\u5408\u540C",name:"demo-tabs-3"},{default:t(()=>[Ne,r("div",null,[e(v,{data:P.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",Me,[e(h,{"current-page":c.page_no,"onUpdate:current-page":i[0]||(i[0]=a=>c.page_no=a),"page-size":c.page_size,"onUpdate:page-size":i[1]||(i[1]=a=>c.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:L.value,onSizeChange:Y,onCurrentChange:ae},null,8,["current-page","page-size","total"])]),We,r("div",null,[e(v,{data:R.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",Ze,[e(h,{"current-page":d.page_no,"onUpdate:current-page":i[2]||(i[2]=a=>d.page_no=a),"page-size":d.page_size,"onUpdate:page-size":i[3]||(i[3]=a=>d.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:U.value,onSizeChange:ee,onCurrentChange:ue},null,8,["current-page","page-size","total"])])]),_:1}),e(C,{label:"\u6536\u7968",name:"demo-tabs-4"},{default:t(()=>[qe,r("div",null,[e(v,{data:I.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",Ge,[e(h,{"current-page":g.page_no,"onUpdate:current-page":i[4]||(i[4]=a=>g.page_no=a),"page-size":g.page_size,"onUpdate:page-size":i[5]||(i[5]=a=>g.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:O.value,onSizeChange:le,onCurrentChange:pe},null,8,["current-page","page-size","total"])])]),_:1}),e(C,{label:"\u4ED8\u6B3E",name:"demo-tabs-5"},{default:t(()=>[He,r("div",null,[e(v,{data:$.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",Je,[e(h,{"current-page":b.page_no,"onUpdate:current-page":i[6]||(i[6]=a=>b.page_no=a),"page-size":b.page_size,"onUpdate:page-size":i[7]||(i[7]=a=>b.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:T.value,onSizeChange:oe,onCurrentChange:ne},null,8,["current-page","page-size","total"])]),Ke,r("div",null,[e(v,{data:z.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(h,{"current-page":f.page_no,"onUpdate:current-page":i[8]||(i[8]=a=>f.page_no=a),"page-size":f.page_size,"onUpdate:page-size":i[9]||(i[9]=a=>f.page_size=a),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:V.value,onSizeChange:te,onCurrentChange:ie},null,8,["current-page","page-size","total"])])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["model"])]),_:1},512)])}}});const Il=xe(Ye,[["__scopeId","data-v-1edb6144"]]);export{Il as default};
|