2 lines
4.5 KiB
JavaScript
2 lines
4.5 KiB
JavaScript
import{P as L}from"./index.771e5a41.js";import{_ as N,a as O}from"./index.cf38292c.js";import{a0 as R,R as V,S as I,C as S}from"./element-plus.b3353ca6.js";import{Y as T,Z as $}from"./flowSet.0350f9c8.js";import{d as v,a0 as i,r as m,o as a,c as o,V as _,M as l,W as d,a8 as b,L as n,u as K,U as f,T as M}from"./@vue.ab566ce7.js";import{_ as U}from"./index.892155dd.js";import"./@element-plus.b89f1627.js";import"./approve.cdf281c2.js";import"./flow.ec77bb69.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 W={class:"detail-popup"},Y={key:0},Z={key:1},q=v({name:"customdetail"}),z=v({...q,emits:["success","close"],setup(G,{expose:E,emit:y}){const F=i([{lable:"\u9879\u76EE\u540D\u79F0",value:["project_name"]},{lable:"\u9879\u76EE\u7F16\u7801",value:["project_code"]},{lable:"\u501F\u6B3E\u5355\u53F7",value:["loan_apply_code"]},{lable:"\u51B2\u62B5\u501F\u6B3E\u91D1\u989D",value:["offset_loan_amount"]},{lable:"\u62A5\u9500\u4EBA",value:["apply_user"]},{lable:"\u62A5\u9500\u7C7B\u578B",value:["reimbursement_type_text"]},{lable:"\u62A5\u9500\u65E5\u671F",value:["apply_date"]},{lable:"\u6536\u6B3E\u4EBA\u59D3\u540D",value:["payee_name"]},{lable:"\u6536\u6B3E\u94F6\u884C",value:["payee_bank"]},{lable:"\u6536\u6B3E\u8D26\u53F7",value:["payee_account"]},{lable:"\u8D26\u6237\u7F16\u7801",value:["bank_account","account_sn"]},{lable:"\u5F00\u6237\u94F6\u884C",value:["bank_account","deposit_bank"]},{lable:"\u5F00\u6237\u540D\u79F0",value:["bank_account","account_name"]},{lable:"\u5F00\u6237\u8D26\u53F7",value:["bank_account","account"]},{lable:"\u5907\u6CE8",value:["remark"]}]),r=m(null),e=i({id:7,trip_apply_id:9,project_id:18,trip_reimbursement_code:"\u9879\u76EE\u5DEE\u65C5\u62A5\u9500-20240205-752579",reimbursement_type:"1",loan_apply_id:8,offset_loan_amount:"12.00",apply_user:"121",apply_date:"2024-02-20",payee_name:"12",payee_bank:"12",payee_account:"121",remark:"212",annex:[{uri:"https://ceshi-engineering.lihaink.cn/uploads/files/20240205/20240205112036d89cc6685.jpg",name:"20210719150601_4401e.jpg"}],bank_account_id:8,trip_apply_code:"\u9879\u76EE\u51FA\u5DEE-20240201-116911",project_name:"\u7B2C\u4E00\u4E2A\u9879\u76EE",project_code:"P-20240126-717033",project_manager:"",loan_apply_code:"\u9879\u76EE\u501F\u6B3E-20240205-930890",loan_amount:"12.00",reimbursement_type_text:"\u501F\u6B3E\u51B2\u62B5",total_amount:60,pay_amount:48,bank_account:{account_sn:"BANK-20240129-566530",deposit_bank:"\u5F20\u4F1F\u94F6\u884C",account_name:"\u5F20\u4F1F",account:"158845845"},approve_id:5}),k=async u=>{Object.assign(e,u),C()},B=()=>{var u;(u=r.value)==null||u.open()},p=()=>{y("close")},s=m([]),C=async()=>{if(e!=null&&e.approve_id)return;let u=await T();s.value=u};return E({open:B,setFormData:k}),(u,H)=>{const g=R,h=V,A=I,j=S,x=N,D=O,w=L;return a(),o("div",W,[_(w,{ref_key:"popupRef",ref:r,async:!0,width:"80%",onClose:p},{default:l(()=>[_(j,null,{default:l(()=>[_(A,{column:3,title:"\u6210\u672C\u8C03\u6574\u8BE6\u60C5",border:""},{default:l(()=>[(a(!0),o(d,null,b(F,(t,P)=>(a(),n(h,{label:t.lable,"label-align":"left",align:"left","label-class-name":"my-label",key:P},{default:l(()=>[t.lable!="\u9644\u4EF6"?(a(),o("span",Y,f(t.value.length>1?e[t.value[0]][t.value[1]]:e[t.value[0]]),1)):(a(),o("span",Z,[(a(!0),o(d,null,b(e.annex,c=>(a(),n(g,{class:"m-2",href:c.uri,target:"_blank"},{default:l(()=>[M(f(c.name),1)]),_:2},1032,["href"]))),256))]))]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),!(e!=null&&e.approve_id)||e.approve_check_status==4?(a(),n(x,{key:0,flows:s.value,submitApi:K($),id:e==null?void 0:e.id,onOff:p},null,8,["flows","submitApi","id"])):(a(),n(D,{key:1,approve_id:e==null?void 0:e.approve_id,onOff:p},null,8,["approve_id"]))]),_:1},512)])}}});const Re=U(z,[["__scopeId","data-v-40b7c34f"]]);export{Re as default};
|