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

2 lines
4.3 KiB
JavaScript

import{y as R,A as j,B as V,C as N,D as P}from"./element-plus.4ff6f47d.js";import{P as A}from"./index.ff7c6188.js";import{a as I}from"./custom.01004c04.js";import{d as y,s as b,a0 as _,o as i,c,V as e,M as t,T as s,U as n,W as S,a8 as T,a as E}from"./@vue.ab566ce7.js";import"./lodash.8ea2174a.js";import{_ as $}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 L={class:"detail-popup"},M={style:{"margin-left":"5px",display:"block"}},U=["href"],W=["onClick"],q=y({name:"customdetail"}),z=y({...q,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(G,{expose:C,emit:x}){const F=b(),p=b(),m=_([]);_({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=_({}),f=async u=>{if(Object.assign(l,u),u.annex&&u.annex.length>0){const r=u.annex.map((a,o)=>({name:`\u6587\u4EF6${o+1}`,uri:a}));Object.assign(m,r)}},D=async u=>{const r=await I({id:u.id});f(r)},g=async()=>{var u;(u=p.value)==null||u.close()},h=()=>{var u;console.log("1111111"),(u=p.value)==null||u.open()},B=()=>{x("close")};return C({open:h,setFormData:f,getDetail:D}),(u,r)=>{const a=R,o=j,k=V,v=N,w=P;return i(),c("div",L,[e(A,{ref_key:"popupRef",ref:p,title:"\u9879\u76EE\u5408\u540C\u8BE6\u60C5",async:!0,width:"80%",onConfirm:g,onClose:B},{default:t(()=>[e(w,{ref_key:"formRef",ref:F,model:l,"label-width":"160px"},{default:t(()=>[e(v,{class:"mb-2"},{default:t(()=>[e(k,null,{default:t(()=>[e(o,{span:12},{default:t(()=>[e(a,{label:"\u4F9B\u5E94\u5546\u540D\u79F0"},{default:t(()=>[s(n(l.supplier_name),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u4F9B\u5E94\u5546\u7F16\u7801"},{default:t(()=>[s(n(l.supplier_code),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u5408\u540C\u540D\u79F0"},{default:t(()=>[s(n(l.contract_name),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u5408\u540C\u7F16\u7801"},{default:t(()=>[s(n(l.contract_no),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>[s(n(l.project_name),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u9879\u76EE\u7F16\u7801"},{default:t(()=>[s(n(l.project_code),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u5408\u540C\u7C7B\u578B"},{default:t(()=>[s(n(l.contract_type_text),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u8BA1\u5212\u4ED8\u6B3E\u65E5\u671F"},{default:t(()=>[s(n(l.pay_date),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u91D1\u989D"},{default:t(()=>[s(n(l.amount),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u72B6\u6001"},{default:t(()=>[s(n(l.status_text),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u671F\u6B21"},{default:t(()=>[s(n(l.period_text),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u5916\u5E01\u5907\u6CE8"},{default:t(()=>[s(n(l.foreign_currency_remark),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u5907\u6CE8"},{default:t(()=>[s(n(l.remark),1)]),_:1})]),_:1}),e(o,{span:12},{default:t(()=>[e(a,{label:"\u9644\u4EF6"},{default:t(()=>[(i(!0),c(S,null,T(m,(d,O)=>(i(),c("div",M,[E("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:d.uri,target:"_blank"},n(d.name),9,U),E("span",{style:{cursor:"pointer","margin-left":"5px"},onClick:H=>u.delFileFn(O)},"x",8,W)]))),256))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Oe=$(z,[["__scopeId","data-v-15988fb8"]]);export{Oe as default};