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

2 lines
15 KiB
JavaScript

import{R as Fe,S as ye,L as Be,M as xe,B as Ae,a4 as Se,O as Le,a5 as Ue,D as je}from"./element-plus.258bf9e7.js";import{_ as ke}from"./index.ec401e3b.js";import{P as Te}from"./index.9492d03b.js";import{a as Re}from"./project.bccf4059.js";import{a as Ve}from"./quotation.ef3461ed.js";import{a as $e}from"./custom.13e75d58.js";import{a as Oe}from"./custom_service.4ce5ba67.js";import{a as Pe}from"./custom_contacts.b7c66382.js";import{a as Ie}from"./contract.4f8a540d.js";import{d as Ne}from"./contract_negotiation.1907410e.js";import{a as qe}from"./remittance.3fda3ff0.js";import{a as Me}from"./recordsPayment.151d9a50.js";import{d as Y,s as X,r as _,a0 as g,o as Qe,c as Ge,V as e,M as l,T as s,U as r,a as p,b7 as He,b6 as Je}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.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"./vue-router.87ebc608.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 w=z=>(He("data-v-9c55ba09"),z=z(),Je(),z),Ke={class:"detail-popup"},We=w(()=>p("div",{class:"tit",style:{margin:"20px 0"}},"\u5176\u4ED6\u8054\u7CFB\u4EBA",-1)),Xe={style:{margin:"10px 0"}},Ye={style:{margin:"10px 0"}},Ze=w(()=>p("div",{class:"tit"},"\u5408\u540C",-1)),ea={style:{margin:"10px 0"}},aa=w(()=>p("div",{class:"tit",style:{margin:"20px 0"}},"\u5408\u540C\u6D3D\u5546",-1)),ta={style:{margin:"10px 0"}},la=s("Task"),oa=w(()=>p("div",{class:"tit",style:{margin:"20px 0"}},"\u56DE\u6B3E\u8BA1\u5212",-1)),ua={style:{margin:"10px 0"}},na=w(()=>p("div",{class:"tit",style:{margin:"20px 0"}},"\u56DE\u6B3E\u8BB0\u5F55",-1)),sa={style:{margin:"10px 0"}},pa={style:{margin:"10px 0"}},ia=Y({name:"customdetail"}),ra=Y({...ia,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(z,{expose:Z,emit:ee}){const ae=X(),F=X(),k=_([]),T=_([]),R=_([]),V=_([]),$=_([]),O=_([]),P=_([]),I=_("new_name_1"),te=(a,o)=>{};g({provinceOptions:[],cityOptions:[],areaOptions:[]});const N=_([]),n=g({}),c=g({page_size:10,page_no:1,custom_id:""}),m=g({page_size:10,page_no:1,custom_id:""}),d=g({page_size:10,page_no:1,custom_id:""}),b=g({page_size:10,page_no:1,custom_id:""}),f=g({page_size:10,page_no:1,custom_id:""}),h=g({page_size:10,page_no:1,custom_id:""}),v=g({page_size:10,page_no:1,custom_id:""}),q=_(0),M=_(0),Q=_(0),G=_(0),H=_(0),J=_(0),K=_(0);_(0);const le=a=>{c.page_size=a,y()},oe=a=>{m.page_size=a,B()},ue=a=>{d.page_size=a,x()},ne=a=>{b.page_size=a,A()},se=a=>{f.page_size=a,S()},pe=a=>{h.page_size=a,L()},ie=a=>{v.page_size=a,U()},re=a=>{console.log(`current page: ${a}`),c.page_no=a,y()},_e=a=>{console.log(`current page: ${a}`),m.page_no=a,B()},ge=a=>{d.page_no=a,console.log(`current page: ${a}`),x()},ce=a=>{b.page_no=a,console.log(`current page: ${a}`),A()},me=a=>{f.page_no=a,console.log(`current page: ${a}`),S()},de=a=>{h.page_no=a,console.log(`current page: ${a}`),L()},be=a=>{v.page_no=a,console.log(`current page: ${a}`),U()},W=async a=>{Ee(a.id),Object.assign(n,a),c.custom_id=a.id,m.custom_id=a.id,d.custom_id=a.id,b.custom_id=a.id,f.custom_id=a.id,h.custom_id=a.id,v.custom_id=a.id,y(),B(),x(),A(),S(),L(),U()},fe=async a=>{const o=await $e({id:a.id});W(o)},he=async()=>{var a;(a=F.value)==null||a.close()},ve=()=>{var a;(a=F.value)==null||a.open()},Ce=()=>{ee("close")},Ee=a=>{Pe({page_size:1e3,page_no:1,custom_id:a}).then(o=>{N.value=o.lists})},y=()=>{Re(c).then(a=>{k.value=a.lists,q.value=a.count})},B=()=>{Ve(m).then(a=>{T.value=a.lists,M.value=a.count})},x=()=>{Oe(d).then(a=>{R.value=a.lists,Q.value=a.count})},A=()=>{Ie(b).then(a=>{V.value=a.lists,G.value=a.count})},S=()=>{Ne(f).then(a=>{$.value=a.lists,H.value=a.count})},L=()=>{qe(h).then(a=>{O.value=a.lists,J.value=a.count})},U=()=>{Me(v).then(a=>{P.value=a.lists,K.value=a.count})};return Z({open:ve,setFormData:W,getDetail:fe}),(a,o)=>{const i=Fe,j=ye,t=Be,C=xe,De=Ae,E=Se,D=Le,we=Ue,ze=je;return Qe(),Ge("div",Ke,[e(Te,{ref_key:"popupRef",ref:F,title:"\u5BA2\u6237\u8BE6\u60C5",async:!0,width:"80%",onConfirm:he,onClose:Ce},{default:l(()=>[e(ze,{ref_key:"formRef",ref:ae,model:n,"label-width":"90px"},{default:l(()=>[e(we,{modelValue:I.value,"onUpdate:modelValue":o[14]||(o[14]=u=>I.value=u),class:"demo-tabs",onTabClick:te},{default:l(()=>[e(E,{label:"\u5BA2\u6237\u4FE1\u606F",name:"new_name_1"},{default:l(()=>[e(j,{title:"\u57FA\u672C\u4FE1\u606F",column:2,border:""},{default:l(()=>[e(i,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.name),1)]),_:1}),e(i,{label:"\u5BA2\u6237\u5C5E\u6027","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.custom_type_text),1)]),_:1}),e(i,{label:"\u5BA2\u6237\u5730\u5740","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.province_name+n.city_name+n.area_name+n.address),1)]),_:1}),e(i,{label:"\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.phone),1)]),_:1}),e(i,{label:"\u4FE1\u7528\u5EA6","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.credit_rating_text),1)]),_:1}),e(i,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.notes),1)]),_:1})]),_:1}),e(j,{title:"\u4E3B\u8981\u8D1F\u8D23\u4EBA",column:2,border:"",style:{margin:"20px 0"}},{default:l(()=>[e(i,{label:"\u59D3\u540D","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.master_name),1)]),_:1}),e(i,{label:"\u804C\u4F4D","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.master_position),1)]),_:1}),e(i,{label:"\u624B\u673A","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.master_phone),1)]),_:1}),e(i,{label:"\u90AE\u7BB1","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.master_email),1)]),_:1}),e(i,{label:"\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.master_telephone),1)]),_:1}),e(i,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.master_notes),1)]),_:1})]),_:1}),We,e(De,null,{default:l(()=>[e(C,{data:N.value},{default:l(()=>[e(t,{label:"\u5E8F\u53F7",type:"index",width:"55"}),e(t,{label:"\u7EC4\u7EC7",prop:"org_name","show-overflow-tooltip":""}),e(t,{label:"\u90E8\u95E8",prop:"dept_name","show-overflow-tooltip":""}),e(t,{label:"\u59D3\u540D",prop:"name","show-overflow-tooltip":""}),e(t,{label:"\u804C\u4F4D",prop:"position","show-overflow-tooltip":""}),e(t,{label:"\u624B\u673A",prop:"phone","show-overflow-tooltip":""}),e(t,{label:"\u7535\u8BDD",prop:"telephone","show-overflow-tooltip":""}),e(t,{label:"\u90AE\u7BB1",prop:"email","show-overflow-tooltip":""}),e(t,{label:"\u5907\u6CE8",prop:"notes","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1}),e(j,{title:"\u5F00\u7968\u4FE1\u606F",column:2,border:"",style:{margin:"20px 0"}},{default:l(()=>[e(i,{label:"\u5F00\u7968\u516C\u53F8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.company_name),1)]),_:1}),e(i,{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.company_tin),1)]),_:1}),e(i,{label:"\u5F00\u6237\u5730\u5740","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.bank_open_address),1)]),_:1}),e(i,{label:"\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.company_telephone),1)]),_:1}),e(i,{label:"\u5F00\u6237\u94F6\u884C","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.bank_name),1)]),_:1}),e(i,{label:"\u94F6\u884C\u8D26\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:l(()=>[s(r(n.bank_account),1)]),_:1})]),_:1})]),_:1}),e(E,{label:"\u9879\u76EE",name:"new_name_2"},{default:l(()=>[p("div",null,[e(C,{data:k.value,stripe:"",style:{width:"100%"}},{default:l(()=>[e(t,{label:"\u9879\u76EE\u7F16\u7801",prop:"project_code",width:"180"}),e(t,{label:"\u9879\u76EE\u540D\u79F0",prop:"name",width:"180"}),e(t,{label:"\u9879\u76EE\u4F30\u7B97(\u4E07\u5143)",prop:"project_estimation"}),e(t,{label:"\u9879\u76EE\u72B6\u6001",prop:"status"}),e(t,{label:"\u9879\u76EE\u7C7B\u578B",prop:"project_type"}),e(t,{label:"\u7ACB\u9879\u65E5\u671F",prop:"create_time"})]),_:1},8,["data"])]),p("div",Xe,[e(D,{"current-page":c.page_no,"onUpdate:current-page":o[0]||(o[0]=u=>c.page_no=u),"page-size":c.page_size,"onUpdate:page-size":o[1]||(o[1]=u=>c.page_size=u),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:q.value,onSizeChange:le,onCurrentChange:re},null,8,["current-page","page-size","total"])])]),_:1}),e(E,{label:"\u62A5\u4EF7",name:"new_name_3"},{default:l(()=>[p("div",null,[e(C,{data:T.value,stripe:"",style:{width:"100%"}},{default:l(()=>[e(t,{label:"\u62A5\u4EF7\u5355\u53F7",prop:"code",width:"180"}),e(t,{label:"\u5236\u5355\u4EBA",prop:"create_user",width:"180"}),e(t,{label:"\u62A5\u4EF7\u65E5\u671F",prop:"quotation_date"}),e(t,{label:"\u8BA2\u5355\u91D1\u989D",prop:"amount_including_tax"}),e(t,{label:"\u8FD0\u8D39",prop:"freight"}),e(t,{label:"\u5176\u5B83\u8D39\u7528",prop:"other_fee"}),e(t,{label:"\u5408\u8BA1\u91D1\u989D",prop:"total_amount"})]),_:1},8,["data"])]),p("div",Ye,[e(D,{"current-page":m.page_no,"onUpdate:current-page":o[2]||(o[2]=u=>m.page_no=u),"page-size":m.page_size,"onUpdate:page-size":o[3]||(o[3]=u=>m.page_size=u),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:M.value,onSizeChange:oe,onCurrentChange:_e},null,8,["current-page","page-size","total"])])]),_:1}),e(E,{label:"\u5408\u540C",name:"new_name_4"},{default:l(()=>[Ze,p("div",null,[e(C,{data:V.value,stripe:"",style:{width:"100%"}},{default:l(()=>[e(t,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name","show-overflow-tooltip":""}),e(t,{label:"\u7B7E\u7EA6\u65E5\u671F",prop:"contract_date","show-overflow-tooltip":""}),e(t,{label:"\u5408\u540C\u7C7B\u578B",prop:"contract_type_text","show-overflow-tooltip":""}),e(t,{label:"\u5408\u540C\u91D1\u989D",prop:"amount","show-overflow-tooltip":""}),e(t,{label:"\u5B9E\u9645\u5408\u540C\u91D1\u989D",prop:"reality_contract_amount","show-overflow-tooltip":""}),e(t,{label:"\u5DF2\u56DE\u6B3E",prop:"returned_amount","show-overflow-tooltip":""}),e(t,{label:"\u672A\u56DE\u6B3E",prop:"not_returned_amount","show-overflow-tooltip":""}),e(t,{label:"\u5DF2\u5F00\u7968",prop:"invoicing_amount","show-overflow-tooltip":""}),e(t,{label:"\u672A\u5F00\u7968",prop:"not_invoicing_amount","show-overflow-tooltip":""})]),_:1},8,["data"])]),p("div",ea,[e(D,{"current-page":b.page_no,"onUpdate:current-page":o[4]||(o[4]=u=>b.page_no=u),"page-size":b.page_size,"onUpdate:page-size":o[5]||(o[5]=u=>b.page_size=u),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:G.value,onSizeChange:ne,onCurrentChange:ce},null,8,["current-page","page-size","total"])]),aa,p("div",null,[e(C,{data:$.value,stripe:"",style:{width:"100%"}},{default:l(()=>[e(t,{label:"\u6D3D\u5546\u7F16\u53F7",prop:"negotiation_no","show-overflow-tooltip":""}),e(t,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_code","show-overflow-tooltip":""}),e(t,{label:"\u6D3D\u5546\u5355\u540D\u79F0",prop:"negotiation_name","show-overflow-tooltip":""}),e(t,{label:"\u6D3D\u5546\u7C7B\u522B",prop:"negotiation_type","show-overflow-tooltip":""}),e(t,{label:"\u7B7E\u7EA6\u65E5\u671F",prop:"contract_date","show-overflow-tooltip":""}),e(t,{label:"\u6D3D\u5546\u91D1\u989D",prop:"negotiation_amount","show-overflow-tooltip":""})]),_:1},8,["data"])]),p("div",ta,[e(D,{"current-page":f.page_no,"onUpdate:current-page":o[6]||(o[6]=u=>f.page_no=u),"page-size":f.page_size,"onUpdate:page-size":o[7]||(o[7]=u=>f.page_size=u),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:H.value,onSizeChange:se,onCurrentChange:me},null,8,["current-page","page-size","total"])])]),_:1}),e(E,{label:"\u53D1\u7968",name:"new_name_6"},{default:l(()=>[la]),_:1}),e(E,{label:"\u56DE\u6B3E",name:"new_name_7"},{default:l(()=>[oa,p("div",null,[e(C,{data:O.value,stripe:"",style:{width:"100%"}},{default:l(()=>[e(t,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_name",width:"180"}),e(t,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_code",width:"180"}),e(t,{label:"\u671F\u6B21",prop:"period"}),e(t,{label:"\u8BA1\u5212\u65E5\u671F",prop:"return_date"}),e(t,{label:"\u72B6\u6001",prop:"return_status"}),e(t,{label:"\u91D1\u989D",prop:"amount"}),e(t,{label:"\u5DF2\u56DE\u6B3E",prop:"has_return_amount"}),e(t,{label:"\u672A\u56DE\u6B3E",prop:"not_return_amount"})]),_:1},8,["data"])]),p("div",ua,[e(D,{"current-page":h.page_no,"onUpdate:current-page":o[8]||(o[8]=u=>h.page_no=u),"page-size":h.page_size,"onUpdate:page-size":o[9]||(o[9]=u=>h.page_size=u),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:J.value,onSizeChange:pe,onCurrentChange:de},null,8,["current-page","page-size","total"])]),na,p("div",null,[e(C,{data:P.value,stripe:"",style:{width:"100%"}},{default:l(()=>[e(t,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name",width:"180"}),e(t,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_code",width:"180"}),e(t,{label:"\u671F\u6B21",prop:"period"}),e(t,{label:"\u65E5\u671F",prop:"return_date"}),e(t,{label:"\u91D1\u989D",prop:"amount"}),e(t,{label:"\u6536\u6B3E\u4EBA",prop:"receiver"})]),_:1},8,["data"])]),p("div",sa,[e(D,{"current-page":v.page_no,"onUpdate:current-page":o[10]||(o[10]=u=>v.page_no=u),"page-size":v.page_size,"onUpdate:page-size":o[11]||(o[11]=u=>v.page_size=u),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:K.value,onSizeChange:ie,onCurrentChange:be},null,8,["current-page","page-size","total"])])]),_:1}),e(E,{label:"\u552E\u540E",name:"new_name_8"},{default:l(()=>[p("div",null,[e(C,{data:R.value,stripe:"",style:{width:"100%"}},{default:l(()=>[e(t,{label:"\u5DE5\u5355\u7F16\u53F7",prop:"custom_service_code",width:"180"}),e(t,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_code",width:"180"}),e(t,{label:"\u6295\u8BC9\u4E3B\u9898",prop:"name"}),e(t,{label:"\u65E5\u671F",prop:"date"}),e(t,{label:"\u5206\u7C7B",prop:"classification"}),e(t,{label:"\u662F\u5426\u89E3\u51B3",prop:"is_solve_text"}),e(t,{label:"\u89E3\u51B3\u65E5\u671F",prop:"done_date"})]),_:1},8,["data"])]),p("div",pa,[e(D,{"current-page":d.page_no,"onUpdate:current-page":o[12]||(o[12]=u=>d.page_no=u),"page-size":d.page_size,"onUpdate:page-size":o[13]||(o[13]=u=>d.page_size=u),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:Q.value,onSizeChange:ue,onCurrentChange:ge},null,8,["current-page","page-size","total"])])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["model"])]),_:1},512)])}}});const et=ke(ra,[["__scopeId","data-v-9c55ba09"]]);export{et as default};