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