2 lines
4.1 KiB
JavaScript
2 lines
4.1 KiB
JavaScript
import{y as j,A as N,B as P,C as $,D as A}from"./element-plus.517d4382.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang.e1e5e943.js";import{P as S}from"./index.b17dae19.js";import{a as T}from"./custom.99349afc.js";import{d as b,a0 as i,s as E,o as c,c as _,V as t,M as e,T as u,U as s,a as m,W as L,a8 as M}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as U}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"./vue-router.87ebc608.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"},q={style:{"margin-left":"5px",display:"block"}},z=["href"],G=["onClick"],H=b({name:"customdetail"}),J=b({...H,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(C,{expose:F,emit:D}){const d=i([]),h=E(),p=E();i({provinceOptions:[],cityOptions:[],areaOptions:[]});const o=i({}),f=async a=>{if(Object.assign(o,a),a.return_desc&&a.return_desc.length>0){const r=a.return_desc.map((l,n)=>({name:`\u6587\u4EF6${n+1}`,uri:l}));Object.assign(d,r)}},v=async a=>{const r=await T({id:a.id});f(r)},g=async()=>{var a;(a=p.value)==null||a.close()},x=()=>{var a;console.log("1111111"),(a=p.value)==null||a.open()},B=()=>{D("close")};return F({open:x,setFormData:f,getDetail:v}),(a,r)=>{const l=j,n=N,k=I,w=P,O=$,R=A;return c(),_("div",W,[t(S,{ref_key:"popupRef",ref:p,title:"\u884C\u653F\u4ED8\u6B3E\u8BE6\u60C5",async:!0,width:"80%",onConfirm:g,onClose:B},{default:e(()=>[t(R,{ref_key:"formRef",ref:h,model:o,"label-width":"160px"},{default:e(()=>[t(O,{class:"mb-2"},{default:e(()=>[t(w,null,{default:e(()=>[t(n,{span:12},{default:e(()=>[t(l,{label:"\u5408\u540C\u7F16\u53F7"},{default:e(()=>[u(s(o.contract?o.contract.contract_no:"\u6682\u65E0\u6570\u636E"),1)]),_:1})]),_:1}),t(n,{span:12},{default:e(()=>[t(l,{label:"\u5408\u540C\u540D\u79F0"},{default:e(()=>[u(s(o.contract?o.contract.contract_name:"\u6682\u65E0\u6570\u636E"),1)]),_:1})]),_:1}),t(n,{span:12},{default:e(()=>[t(l,{label:"\u7533\u8BF7\u65E5\u671F"},{default:e(()=>[u(s(o.apply_date),1)]),_:1})]),_:1}),t(n,{span:12},{default:e(()=>[t(l,{label:"\u7533\u8BF7\u4EBA"},{default:e(()=>[u(s(o.applier),1)]),_:1})]),_:1}),t(n,{span:12},{default:e(()=>[t(l,{label:"\u5408\u540C\u91D1\u989D"},{default:e(()=>[u(s(o.amount_daxie),1)]),_:1})]),_:1}),t(n,{span:12},{default:e(()=>[t(l,{label:"\u4ED8\u6B3E\u65B9\u5F0F"},{default:e(()=>[t(k,{options:C.dictData.pay_type,value:o.pay_type},null,8,["options","value"])]),_:1})]),_:1}),t(n,{span:12},{default:e(()=>[t(l,{label:"\u672C\u6B21\u652F\u4ED8\u91D1\u989D"},{default:e(()=>[u(s(o.payment_amount),1)]),_:1})]),_:1}),t(n,{span:12},{default:e(()=>[t(l,{label:"\u6536\u6B3E\u94F6\u884C"},{default:e(()=>[u(s(o.deposit_bank),1)]),_:1})]),_:1}),t(n,{span:12},{default:e(()=>[t(l,{label:"\u5907\u6CE8"},{default:e(()=>[u(s(o.remark),1)]),_:1})]),_:1}),t(n,{span:24},{default:e(()=>[t(l,{label:"\u9644\u4EF6"},{default:e(()=>[m("div",null,[(c(!0),_(L,null,M(d,(y,V)=>(c(),_("div",q,[m("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:y.uri,target:"_blank"},s(y.name),9,z),m("span",{style:{cursor:"pointer","margin-left":"5px"},onClick:K=>a.delFileFn(V)},"x",8,G)]))),256))])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const jt=U(J,[["__scopeId","data-v-a765c633"]]);export{jt as default};
|