2 lines
5.4 KiB
JavaScript
2 lines
5.4 KiB
JavaScript
import{y as P,A as V,B as N,C as L,D as T}from"./element-plus.b3353ca6.js";import{_ as $,a as M}from"./index.cf38292c.js";import{P as U}from"./index.771e5a41.js";import{a as W}from"./custom.735a8774.js";import{s as q,t as z}from"./flowSet.0350f9c8.js";import{d as C,s as y,a0 as B,r as G,o as _,c as d,V as t,M as e,T as n,U as l,W as H,a8 as J,L as h,u as K,a as f,b7 as Q,b6 as X}from"./@vue.ab566ce7.js";import{_ as Y}from"./index.892155dd.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.cdf281c2.js";import"./flow.ec77bb69.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 Z=r=>(Q("data-v-34547c67"),r=r(),X(),r),ee={class:"detail-popup"},te={style:{"margin-left":"5px",display:"block"}},ae=["href"],oe=Z(()=>f("div",{class:"card-header"},[f("span",null,"\u4ED8\u6B3E\u94F6\u884C\u4FE1\u606F")],-1)),ue=C({name:"customdetail"}),le=C({...ue,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(r,{expose:k,emit:w}){const x=y(),c=y();B({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=B({}),m=async p=>{Object.assign(a,p),R()},g=async p=>{const F=await W({id:p.id});m(F)},D=async()=>{var p;(p=c.value)==null||p.close()},O=()=>{var p;(p=c.value)==null||p.open(),console.log("1111111")},i=()=>{w("close")},b=G([]),R=async()=>{if(a!=null&&a.approve_id)return;let p=await q();b.value=p};return k({open:O,setFormData:m,getDetail:g}),(p,F)=>{const o=P,u=V,E=N,v=L,I=$,S=M,j=T;return _(),d("div",ee,[t(U,{ref_key:"popupRef",ref:c,title:"\u9000\u6B3E\u8BB0\u5F55\u8BE6\u60C5",async:!0,width:"80%",onConfirm:D,onClose:i},{default:e(()=>[t(j,{ref_key:"formRef",ref:x,model:a,"label-width":"160px"},{default:e(()=>[t(v,{class:"mb-2"},{default:e(()=>[t(E,null,{default:e(()=>[t(u,{span:12},{default:e(()=>[t(o,{label:"\u4F9B\u5E94\u5546\u540D\u79F0"},{default:e(()=>[n(l(a.supplier_name),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u4F9B\u5E94\u5546\u7F16\u7801"},{default:e(()=>[n(l(a.supplier_code),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u540D\u79F0"},{default:e(()=>[n(l(a.contract_name),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u7F16\u7801"},{default:e(()=>[n(l(a.contract_no),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[n(l(a.project_name),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[n(l(a.project_code),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u7C7B\u578B"},{default:e(()=>[n(l(a.contract_type_text),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u9000\u6B3E\u65E5\u671F"},{default:e(()=>[n(l(a.refund_date),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u9000\u6B3E\u91D1\u989D"},{default:e(()=>[n(l(a.refund_amount),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u9000\u6B3E\u539F\u56E0"},{default:e(()=>[n(l(a.reason),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u9000\u6B3E\u65B9\u5F0F"},{default:e(()=>[n(l(a.refund_type_text),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5907\u6CE8"},{default:e(()=>[n(l(a.remark),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u9644\u4EF6"},{default:e(()=>[(_(!0),d(H,null,J(a.annex,(s,A)=>(_(),d("div",te,[f("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:s.uri,target:"_blank"},"\u6587\u4EF6 "+l(A+1),9,ae)]))),256))]),_:1})]),_:1})]),_:1})]),_:1}),t(v,null,{header:e(()=>[oe]),default:e(()=>[t(E,null,{default:e(()=>[t(u,{span:12},{default:e(()=>[t(o,{label:"\u8D26\u6237\u7F16\u7801"},{default:e(()=>{var s;return[n(l((s=a.bank_account_info)==null?void 0:s.account_sn),1)]}),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5F00\u6237\u94F6\u884C"},{default:e(()=>{var s;return[n(l((s=a.bank_account_info)==null?void 0:s.deposit_bank),1)]}),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5F00\u6237\u540D\u79F0"},{default:e(()=>{var s;return[n(l((s=a.bank_account_info)==null?void 0:s.account_name),1)]}),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5F00\u6237\u8D26\u53F7"},{default:e(()=>{var s;return[n(l((s=a.bank_account_info)==null?void 0:s.account),1)]}),_:1})]),_:1})]),_:1})]),_:1}),!(a!=null&&a.approve_id)||a.approve_check_status==4?(_(),h(I,{key:0,flows:b.value,submitApi:K(z),id:a==null?void 0:a.id,onOff:i},null,8,["flows","submitApi","id"])):(_(),h(S,{key:1,approve_id:a==null?void 0:a.approve_id,onOff:i},null,8,["approve_id"]))]),_:1},8,["model"])]),_:1},512)])}}});const ze=Y(le,[["__scopeId","data-v-34547c67"]]);export{ze as default};
|