2 lines
5.5 KiB
JavaScript
2 lines
5.5 KiB
JavaScript
import{_ as j,a as P}from"./index.011c79f0.js";import{R,_ as L,S}from"./element-plus.517d4382.js";import{P as V}from"./index.b17dae19.js";import{a as $}from"./custom.99349afc.js";import{a0 as I,a1 as N}from"./flowSet.6da79e1c.js";import{d as E,s as g,a0 as _,r as T,o as s,c as u,V as l,M as a,T as n,U as o,W as M,a8 as U,L as y,u as W}from"./@vue.ab566ce7.js";import{_ as q}from"./index.8b1962e9.js";import"./@element-plus.b89f1627.js";import"./approve.bbbe5096.js";import"./flow.34e13ba8.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.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const z={class:"detail-popup"},G={key:0},H={style:{"margin-left":"5px",display:"block"}},J={key:1},K=E({name:"customdetail"}),Q=E({...K,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(X,{expose:F,emit:v}){g();const c=g(),x=_([]);_({provinceOptions:[],cityOptions:[],areaOptions:[]});const e=_({}),f=async i=>{if(Object.assign(e,i),i.annex&&i.annex.length>0){const r=i.annex.map((t,m)=>({name:`\u6587\u4EF6${m+1}`,uri:t}));Object.assign(x,r)}D()},k=async i=>{const r=await $({id:i.id});f(r)},B=async()=>{var i;(i=c.value)==null||i.close()},h=()=>{var i;(i=c.value)==null||i.open()},p=()=>{v("close")},b=T([]),D=async()=>{if(e!=null&&e.approve_id)return;let i=await I();b.value=i};return F({open:h,setFormData:f,getDetail:k}),(i,r)=>{const t=R,m=L,d=S,C=j,w=P;return s(),u("div",z,[l(V,{ref_key:"popupRef",ref:c,title:"\u56DE\u6B3E\u8BB0\u5F55\u8BE6\u60C5",async:!0,width:"80%",onConfirm:B,onClose:p},{default:a(()=>[l(d,{title:"\u57FA\u672C\u4FE1\u606F",column:2,border:""},{default:a(()=>[l(t,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.project_name),1)]),_:1}),l(t,{label:"\u9879\u76EE\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.project_code),1)]),_:1}),l(t,{label:"\u5408\u540C\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.contract_name),1)]),_:1}),l(t,{label:"\u5408\u540C\u7F16\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.contract_code),1)]),_:1}),l(t,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.custom_name),1)]),_:1}),l(t,{label:"\u671F\u6B21","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.period),1)]),_:1}),l(t,{label:"\u6536\u6B3E\u6027\u8D28","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.invoice_status_text),1)]),_:1}),l(t,{label:"\u91D1\u989D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.amount),1)]),_:1}),l(t,{label:"\u4ED8\u6B3E\u65B9\u5F0F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.pay_type_text),1)]),_:1}),l(t,{label:"\u6B3E\u9879\u8BF4\u660E","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.return_desc),1)]),_:1}),l(t,{label:"\u6536\u6B3E\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.receiver),1)]),_:1}),l(t,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.remark),1)]),_:1}),l(t,{label:"\u5408\u540C\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[e.annex.length>0?(s(),u("div",G,[(s(!0),u(M,null,U(e.annex,(O,A)=>(s(),u("div",H,[l(m,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:O,target:"_blank"},{default:a(()=>[n("\u6587\u4EF6"+o(A+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(s(),u("div",J," \u6682\u65E0\u9644\u4EF6 "))]),_:1})]),_:1}),l(d,{title:"\u4ED8\u6B3E\u94F6\u884C\u4FE1\u606F",column:3,style:{margin:"20px 0"},border:""},{default:a(()=>[l(t,{label:"\u8D26\u6237\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.bank_account_info.account_sn),1)]),_:1}),l(t,{label:"\u5F00\u6237\u94F6\u884C","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.bank_account_info.deposit_bank),1)]),_:1}),l(t,{label:"\u8D26\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(o(e.bank_account_info.account),1)]),_:1})]),_:1}),!(e!=null&&e.approve_id)||e.approve_check_status==4?(s(),y(C,{key:0,flows:b.value,submitApi:W(N),id:e==null?void 0:e.id,onOff:p},null,8,["flows","submitApi","id"])):(s(),y(w,{key:1,approve_id:e==null?void 0:e.approve_id,onOff:p},null,8,["approve_id"]))]),_:1},512)])}}});const $e=q(Q,[["__scopeId","data-v-be80844e"]]);export{$e as default};
|