2 lines
6.3 KiB
JavaScript
2 lines
6.3 KiB
JavaScript
import{y as V,A as N,B as L,C as T,D as $}from"./element-plus.258bf9e7.js";import{_ as M,a as U}from"./index.a91b9a2c.js";import{P as W}from"./index.9492d03b.js";import{a as q}from"./custom.13e75d58.js";import{m as z,n as G}from"./flowSet.6e7dc427.js";import{d as D,s as B,a0 as h,r as H,o as s,c as b,V as a,M as e,T as n,U as o,W as J,a8 as K,L as v,u as Q,a as c,b7 as X,b6 as Y}from"./@vue.ab566ce7.js";import{_ as Z}from"./index.ec401e3b.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"./approve.4bfa22cd.js";import"./flow.825559ec.js";import"./vue-router.87ebc608.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.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const C=d=>(X("data-v-31b3c754"),d=d(),Y(),d),ee={class:"detail-popup"},ae={style:{"margin-left":"5px",display:"block"}},te=["href"],ue=C(()=>c("div",{class:"card-header"},[c("span",null,"\u6536\u6B3E\u4EBA\u4FE1\u606F")],-1)),le=C(()=>c("div",{class:"card-header"},[c("span",null,"\u4ED8\u6B3E\u94F6\u884C\u4FE1\u606F")],-1)),oe=D({name:"customdetail"}),ne=D({...oe,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(d,{expose:k,emit:w}){const x=B(),i=B();h({provinceOptions:[],cityOptions:[],areaOptions:[]});const t=h({}),E=async _=>{Object.assign(t,_),R()},g=async _=>{const y=await q({id:_.id});E(y)},O=async()=>{var _;(_=i.value)==null||_.close()},A=()=>{var _;(_=i.value)==null||_.open()},r=()=>{w("close")},F=H([]),R=async()=>{if(t!=null&&t.approve_id)return;let _=await z();F.value=_};return k({open:A,setFormData:E,getDetail:g}),(_,y)=>{const u=V,l=N,f=L,m=T,I=M,S=U,j=$;return s(),b("div",ee,[a(W,{ref_key:"popupRef",ref:i,title:"\u4ED8\u6B3E\u7533\u8BF7\u8BE6\u60C5",async:!0,width:"80%",onConfirm:O,onClose:r},{default:e(()=>[a(j,{ref_key:"formRef",ref:x,model:t,"label-width":"160px"},{default:e(()=>[a(m,{class:"mb-2"},{default:e(()=>[a(f,null,{default:e(()=>[a(l,{span:12},{default:e(()=>[a(u,{label:"\u4F9B\u5E94\u5546\u540D\u79F0"},{default:e(()=>[n(o(t.supplier_name),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u4F9B\u5E94\u5546\u7F16\u7801"},{default:e(()=>[n(o(t.supplier_code),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u5408\u540C\u540D\u79F0"},{default:e(()=>[n(o(t.contract_name),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u5408\u540C\u7F16\u7801"},{default:e(()=>[n(o(t.contract_no),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[n(o(t.project_name),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[n(o(t.project_code),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u5408\u540C\u7C7B\u578B"},{default:e(()=>[n(o(t.contract_type_text),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u4ED8\u6B3E\u5355\u53F7"},{default:e(()=>[n(o(t.payment_apply_code),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u4ED8\u6B3E\u65E5\u671F"},{default:e(()=>[n(o(t.pay_date),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u4ED8\u6B3E\u91D1\u989D"},{default:e(()=>[n(o(t.amount),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u4ED8\u6B3E\u65B9\u5F0F"},{default:e(()=>[n(o(t.pay_type_text),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u4ED8\u6B3E\u6027\u8D28"},{default:e(()=>[n(o(t.payment_nature_text),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u671F\u6B21"},{default:e(()=>[n(o(t.period),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u7533\u8BF7\u4EBA"},{default:e(()=>[n(o(t.apply_user),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u5907\u6CE8"},{default:e(()=>[n(o(t.remark),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u9644\u4EF6"},{default:e(()=>[(s(!0),b(J,null,K(t.annex,(p,P)=>(s(),b("div",ae,[c("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:p.uri,target:"_blank"},"\u6587\u4EF6 "+o(P+1),9,te)]))),256))]),_:1})]),_:1})]),_:1})]),_:1}),a(m,null,{header:e(()=>[ue]),default:e(()=>[a(f,null,{default:e(()=>[a(l,{span:12},{default:e(()=>[a(u,{label:"\u6536\u6B3E\u5F00\u6237\u94F6\u884C"},{default:e(()=>[n(o(t.payee_bank),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u6536\u6B3E\u5F00\u6237\u540D\u79F0"},{default:e(()=>[n(o(t.payee_account_name),1)]),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u6536\u6B3E\u8D26\u53F7"},{default:e(()=>[n(o(t.payee_account),1)]),_:1})]),_:1})]),_:1})]),_:1}),a(m,null,{header:e(()=>[le]),default:e(()=>[a(f,null,{default:e(()=>[a(l,{span:12},{default:e(()=>[a(u,{label:"\u8D26\u6237\u7F16\u7801"},{default:e(()=>{var p;return[n(o((p=t.bank_account_info)==null?void 0:p.account_sn),1)]}),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u5F00\u6237\u94F6\u884C"},{default:e(()=>{var p;return[n(o((p=t.bank_account_info)==null?void 0:p.deposit_bank),1)]}),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u5F00\u6237\u540D\u79F0"},{default:e(()=>{var p;return[n(o((p=t.bank_account_info)==null?void 0:p.account_name),1)]}),_:1})]),_:1}),a(l,{span:12},{default:e(()=>[a(u,{label:"\u5F00\u6237\u8D26\u53F7"},{default:e(()=>{var p;return[n(o((p=t.bank_account_info)==null?void 0:p.account),1)]}),_:1})]),_:1})]),_:1})]),_:1}),!(t!=null&&t.approve_id)||t.approve_check_status==4?(s(),v(I,{key:0,flows:F.value,submitApi:Q(G),id:t==null?void 0:t.id,onOff:r},null,8,["flows","submitApi","id"])):(s(),v(S,{key:1,approve_id:t==null?void 0:t.approve_id,onOff:r},null,8,["approve_id"]))]),_:1},8,["model"])]),_:1},512)])}}});const Ge=Z(ne,[["__scopeId","data-v-31b3c754"]]);export{Ge as default};
|