2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{P as A}from"./index.b17dae19.js";import{_ as g,a as h}from"./index.011c79f0.js";import{R as j,S as P,C as L}from"./element-plus.517d4382.js";import{E as O,F as R}from"./flowSet.6da79e1c.js";import{d as m,a0 as i,r as c,o as a,c as _,V as p,M as u,W as V,a8 as I,L as n,u as N,T as S,U as T}from"./@vue.ab566ce7.js";import{_ as $}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 M={class:"detail-popup"},U=m({name:"customdetail"}),W=m({...U,emits:["success","close"],setup(q,{expose:d,emit:b}){const v=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"]}]),s=c(null),e=i({}),f=async o=>{Object.assign(e,o),F()},E=()=>{var o;(o=s.value)==null||o.open()},l=()=>{b("close")},r=c([]),F=async()=>{if(e!=null&&e.approve_id)return;let o=await O();r.value=o};return d({open:E,setFormData:f}),(o,z)=>{const y=j,k=P,B=L,C=g,w=h,x=A;return a(),_("div",M,[p(x,{ref_key:"popupRef",ref:s,async:!0,width:"80%",onClose:l},{default:u(()=>[p(B,null,{default:u(()=>[p(k,{column:3,title:"\u8D39\u7528\u62A5\u9500\u8BE6\u60C5",border:""},{default:u(()=>[(a(!0),_(V,null,I(v,(t,D)=>(a(),n(y,{label:t.lable,"label-align":"left",align:"left","label-class-name":"my-label",key:D},{default:u(()=>[S(T(t.value.length>1?e[t.value[0]][t.value[1]]:e[t.value[0]]),1)]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),!(e!=null&&e.approve_id)||e.approve_check_status==4?(a(),n(C,{key:0,flows:r.value,submitApi:N(R),id:e==null?void 0:e.id,onOff:l},null,8,["flows","submitApi","id"])):(a(),n(w,{key:1,approve_id:e==null?void 0:e.approve_id,onOff:l},null,8,["approve_id"]))]),_:1},512)])}}});const je=$(W,[["__scopeId","data-v-fdcd66e3"]]);export{je as default};
|