import{y as j,A as R,B as k,C as I,D as O}from"./element-plus.258bf9e7.js";import{_ as S}from"./index.vue_vue_type_script_setup_true_lang.e1e5e943.js";import{P as V}from"./index.9492d03b.js";import{a as A}from"./custom.13e75d58.js";import{d as E,s as D,a0 as b,o as r,c as i,V as t,M as e,T as l,U as n,W as N,a8 as P,b7 as T,b6 as L,a as M}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as U}from"./index.ec401e3b.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.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const W=s=>(T("data-v-bb0a6e04"),s=s(),L(),s),$={class:"detail-popup"},q=W(()=>M("div",null,"\u91C7\u8D2D\u5408\u540C\u660E\u7EC6",-1)),z=E({name:"customdetail"}),G=E({...z,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(s,{expose:F,emit:C}){const v=D(),_=D();b({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=b({}),c=async p=>{Object.assign(a,p)},y=async p=>{const d=await A({id:p.id});c(d)},B=async()=>{var p;(p=_.value)==null||p.close()},h=()=>{var p;console.log("1111111"),(p=_.value)==null||p.open()},x=()=>{C("close")};return F({open:h,setFormData:c,getDetail:y}),(p,d)=>{const o=j,u=R,m=S,f=k,g=I,w=O;return r(),i("div",$,[t(V,{ref_key:"popupRef",ref:_,title:"\u91C7\u8D2D\u53D8\u66F4\u8BE6\u60C5",async:!0,width:"80%",onConfirm:B,onClose:x},{default:e(()=>[t(w,{ref_key:"formRef",ref:v,model:a,"label-width":"120px"},{default:e(()=>[t(g,{class:"mb-2"},{default:e(()=>[t(f,null,{default:e(()=>[t(u,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u7F16\u53F7"},{default:e(()=>[l(n(a.contract_no),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u4F9B\u5E94\u5546\u5408\u540C\u53F7"},{default:e(()=>[l(n(a.supplier_contract_no),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u4F9B\u5E94\u5546\u540D\u79F0"},{default:e(()=>[l(n(a.supplier_contract_no),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u4F9B\u5E94\u5546\u7F16\u7801"},{default:e(()=>[l(n(a.supplier_contract_no),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[l(n(a.project?a.project.name:"\u6682\u65E0\u6570\u636E"),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[l(n(a.project?a.project.project_code:"\u6682\u65E0\u6570\u636E"),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u7B7E\u8BA2\u65E5\u671F"},{default:e(()=>[l(n(a.signing_date),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u91D1\u989D"},{default:e(()=>[l(n(a.amount),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u7C7B\u578B"},{default:e(()=>[t(m,{options:s.dictData.contract_type,value:a.contract_type},null,8,["options","value"])]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u8D26\u671F"},{default:e(()=>[t(m,{options:s.dictData.account_period,value:a.account_period},null,8,["options","value"])]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u91D1\u989D\u5927\u5199"},{default:e(()=>[l(n(a.amount_daxie),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u4E0D\u542B\u7A0E\u91D1\u989D"},{default:e(()=>[l(n(a.amount_excluding_tax),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u8D28\u4FDD\u91D1\u6BD4\u4F8B"},{default:e(()=>[l(n(a.retention_money_rate),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u8D28\u4FDD\u91D1"},{default:e(()=>[l(n(a.retention_money),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(o,{label:"\u5907\u6CE8"},{default:e(()=>[l(n(a.remark),1)]),_:1})]),_:1})]),_:1}),q,t(f,null,{default:e(()=>[(r(!0),i(N,null,P(a.material,(H,J)=>(r(),i("div",null,[t(u,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u7F16\u53F7"},{default:e(()=>[l(n(a.contract_no),1)]),_:1})]),_:1})]))),256))]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const It=U(G,[["__scopeId","data-v-bb0a6e04"]]);export{It as default};