engineering/public/admin/assets/detail.81f7633d.js
2024-02-27 10:28:16 +08:00

2 lines
4.6 KiB
JavaScript

import{y as S,A,B as T,L as V,M as N,C as P,D as L}from"./element-plus.517d4382.js";import{P as M}from"./index.b17dae19.js";import{a as $}from"./custom.99349afc.js";import{d as D,s as h,a0 as E,o as r,c as i,V as o,M as t,T as n,U as u,W as U,a8 as W,a as c,b7 as q,b6 as z}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as G}from"./index.8b1962e9.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.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const H=_=>(q("data-v-2e5dd192"),_=_(),z(),_),J={class:"detail-popup"},K={key:0},Q={style:{"margin-left":"5px",display:"block"}},X=["href"],Y=["onClick"],Z={key:1},oo=H(()=>c("div",{style:{margin:"10px 0"}},"\u652F\u4ED8\u660E\u7EC6",-1)),to=D({name:"customdetail"}),eo=D({...to,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(_,{expose:w,emit:v}){const F=h(),d=h(),f=E([]);E({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=E({}),b=async e=>{if(Object.assign(l,e),e.annex&&e.annex.length>0){const m=e.annex.map((p,a)=>({name:`\u6587\u4EF6${a+1}`,uri:p}));Object.assign(f,m)}},B=async e=>{const m=await $({id:e.id});b(m)},C=async()=>{var e;(e=d.value)==null||e.close()},x=()=>{var e;console.log("1111111"),(e=d.value)==null||e.open()},g=()=>{v("close")};return w({open:x,setFormData:b,getDetail:B}),(e,m)=>{const p=S,a=A,k=T,s=V,O=N,R=P,j=L;return r(),i("div",J,[o(M,{ref_key:"popupRef",ref:d,title:"\u5DE5\u8D44\u4ED8\u6B3E\u8BE6\u60C5",async:!0,width:"80%",onConfirm:C,onClose:g},{default:t(()=>[o(j,{ref_key:"formRef",ref:F,model:l,"label-width":"120px"},{default:t(()=>[o(R,{class:"mb-2"},{default:t(()=>[o(k,null,{default:t(()=>[o(a,{span:12},{default:t(()=>[o(p,{label:"\u5DE5\u8D44\u4ED8\u6B3E\u5355\u53F7"},{default:t(()=>[n(u(l.payment_code),1)]),_:1})]),_:1}),o(a,{span:12},{default:t(()=>[o(p,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>[n(u(l.project_name),1)]),_:1})]),_:1}),o(a,{span:12},{default:t(()=>[o(p,{label:"\u9879\u76EE\u7F16\u53F7"},{default:t(()=>[n(u(l.project_code),1)]),_:1})]),_:1}),o(a,{span:12},{default:t(()=>[o(p,{label:"\u4ED8\u6B3E\u7C7B\u578B"},{default:t(()=>[n(u(l.payment_type),1)]),_:1})]),_:1}),o(a,{span:12},{default:t(()=>[o(p,{label:"\u4ED8\u6B3E\u7C7B\u578B"},{default:t(()=>[n(u(l.payment_type),1)]),_:1})]),_:1}),o(a,{span:12},{default:t(()=>[o(p,{label:"\u7533\u8BF7\u65E5\u671F"},{default:t(()=>[n(u(l.apply_date),1)]),_:1})]),_:1}),o(a,{span:12},{default:t(()=>[o(p,{label:"\u5408\u8BA1\u91D1\u989D"},{default:t(()=>[n(u(l.total_amount),1)]),_:1})]),_:1}),o(a,{span:12}),o(a,{span:24},{default:t(()=>[o(p,{label:"\u9644\u4EF6"},{default:t(()=>[f.length>0?(r(),i("div",K,[(r(!0),i(U,null,W(f,(y,I)=>(r(),i("div",Q,[c("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:y.uri,target:"_blank"},u(y.name),9,X),c("span",{style:{cursor:"pointer","margin-left":"5px"},onClick:ao=>e.delFileFn(I)},"x",8,Y)]))),256))])):(r(),i("div",Z,"\u6682\u65E0\u9644\u4EF6"))]),_:1})]),_:1})]),_:1}),oo,c("div",null,[o(O,{data:l.payment_detail},{default:t(()=>[o(s,{label:"\u5E8F\u53F7",type:"index","show-overflow-tooltip":""}),o(s,{label:"\u59D3\u540D",prop:"person_name","show-overflow-tooltip":""}),o(s,{label:"\u5DE5\u79CD",prop:"person_work_type_text","show-overflow-tooltip":""}),o(s,{label:"\u94F6\u884C\u5361\u53F7",prop:"person_bank_no","show-overflow-tooltip":""}),o(s,{label:"\u603B\u6536\u5165",prop:"total_income","show-overflow-tooltip":""}),o(s,{label:"\u603B\u652F\u51FA",prop:"total_pay_out","show-overflow-tooltip":""}),o(s,{label:"\u672A\u53D1\u653E",prop:"balance","show-overflow-tooltip":""}),o(s,{label:"\u672C\u6B21\u7533\u8BF7\u4ED8\u6B3E\u91D1\u989D",prop:"apply_amount","show-overflow-tooltip":""}),o(s,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""})]),_:1},8,["data"])])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Mo=G(eo,[["__scopeId","data-v-2e5dd192"]]);export{Mo as default};