engineering/public/admin/assets/detail.c7212122.js
shengchanzhe a2653dcd36 提交pc
2024-01-27 11:43:47 +08:00

2 lines
4.9 KiB
JavaScript

import{y as I,A as O,B as S,C as j,D as V}from"./element-plus.4ff6f47d.js";import{P as N}from"./index.ff7c6188.js";import{a as P}from"./custom.01004c04.js";import{d as h,s as E,a0 as B,o as c,c as d,V as a,M as t,T as n,U as l,W as T,a8 as A,a as i,b7 as L,b6 as M}from"./@vue.ab566ce7.js";import"./lodash.8ea2174a.js";import{_ as U}from"./index.aaca920c.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.fc5568d8.js";import"./axios.5b893b79.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.4cbccc26.js";import"./color.033abf8c.js";import"./clone.a6258514.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7eedf28f.js";import"./ms.a9ae1d6d.js";import"./nprogress.93182424.js";import"./vue-clipboard3.6a55d49e.js";import"./clipboard.2986c82d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const W=p=>(L("data-v-900a1c9a"),p=p(),M(),p),q={class:"detail-popup"},z={style:{"margin-left":"5px",display:"block"}},G=["href"],H=W(()=>i("div",{class:"card-header"},[i("span",null,"\u4ED8\u6B3E\u94F6\u884C\u4FE1\u606F")],-1)),J=h({name:"customdetail"}),K=h({...J,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(p,{expose:y,emit:C}){const D=E(),r=E();B({provinceOptions:[],cityOptions:[],areaOptions:[]});const e=B({}),f=async _=>{Object.assign(e,_),console.log(e,"formdata")},x=async _=>{const m=await P({id:_.id});f(m)},k=async()=>{var _;(_=r.value)==null||_.close()},g=()=>{var _;(_=r.value)==null||_.open(),console.log("1111111")},v=()=>{C("close")};return y({open:g,setFormData:f,getDetail:x}),(_,m)=>{const o=I,u=O,b=S,F=j,w=V;return c(),d("div",q,[a(N,{ref_key:"popupRef",ref:r,title:"\u9000\u6B3E\u8BB0\u5F55\u8BE6\u60C5",async:!0,width:"80%",onConfirm:k,onClose:v},{default:t(()=>[a(w,{ref_key:"formRef",ref:D,model:e,"label-width":"160px"},{default:t(()=>[a(F,{class:"mb-2"},{default:t(()=>[a(b,null,{default:t(()=>[a(u,{span:12},{default:t(()=>[a(o,{label:"\u4F9B\u5E94\u5546\u540D\u79F0"},{default:t(()=>[n(l(e.supplier_name),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u4F9B\u5E94\u5546\u7F16\u7801"},{default:t(()=>[n(l(e.supplier_code),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u5408\u540C\u540D\u79F0"},{default:t(()=>[n(l(e.contract_name),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u5408\u540C\u7F16\u7801"},{default:t(()=>[n(l(e.contract_no),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>[n(l(e.project_name),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u9879\u76EE\u7F16\u7801"},{default:t(()=>[n(l(e.project_code),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u5408\u540C\u7C7B\u578B"},{default:t(()=>[n(l(e.contract_type_text),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u9000\u6B3E\u65E5\u671F"},{default:t(()=>[n(l(e.refund_date),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u9000\u6B3E\u91D1\u989D"},{default:t(()=>[n(l(e.refund_amount),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u9000\u6B3E\u539F\u56E0"},{default:t(()=>[n(l(e.reason),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u9000\u6B3E\u65B9\u5F0F"},{default:t(()=>[n(l(e.refund_type_text),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u5907\u6CE8"},{default:t(()=>[n(l(e.remark),1)]),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u9644\u4EF6"},{default:t(()=>[(c(!0),d(T,null,A(e.annex,(s,R)=>(c(),d("div",z,[i("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:s.uri,target:"_blank"},"\u6587\u4EF6 "+l(R+1),9,G)]))),256))]),_:1})]),_:1})]),_:1})]),_:1}),a(F,null,{header:t(()=>[H]),default:t(()=>[a(b,null,{default:t(()=>[a(u,{span:12},{default:t(()=>[a(o,{label:"\u8D26\u6237\u7F16\u7801"},{default:t(()=>{var s;return[n(l((s=e.bank_account_info)==null?void 0:s.account_sn),1)]}),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u5F00\u6237\u94F6\u884C"},{default:t(()=>{var s;return[n(l((s=e.bank_account_info)==null?void 0:s.deposit_bank),1)]}),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u5F00\u6237\u540D\u79F0"},{default:t(()=>{var s;return[n(l((s=e.bank_account_info)==null?void 0:s.account_name),1)]}),_:1})]),_:1}),a(u,{span:12},{default:t(()=>[a(o,{label:"\u5F00\u6237\u8D26\u53F7"},{default:t(()=>{var s;return[n(l((s=e.bank_account_info)==null?void 0:s.account),1)]}),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const It=U(K,[["__scopeId","data-v-900a1c9a"]]);export{It as default};