engineering/public/admin/assets/detail.1f149926.js
2024-01-06 14:42:59 +08:00

2 lines
6.5 KiB
JavaScript

import{y as j,A as V,B as N,C as $,D as P}from"./element-plus.e49c119c.js";import{_ as S}from"./index.vue_vue_type_script_setup_true_lang.e1e5e943.js";import{P as T}from"./index.2ebad864.js";import{a as I}from"./custom.bdf64167.js";import{d as B,s as D,a0 as p,o as r,c as d,V as a,M as e,T as n,U as o,W as L,a8 as M,a as E}from"./@vue.ab566ce7.js";import"./lodash.86334a69.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.5571e62a.js";import"./axios.9ce976cc.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.f22ffba3.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.156d1593.js";import"./color.4188bfef.js";import"./clone.a0efef30.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ca37accd.js";import"./ms.a9ae1d6d.js";import"./nprogress.30953505.js";import"./vue-clipboard3.4e4a29c9.js";import"./clipboard.1a812829.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const U={class:"detail-popup"},W=n(),q={style:{"margin-left":"5px",display:"block"}},z=["href"],G=["onClick"],H=B({name:"customdetail"}),Ra=B({...H,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(c,{expose:C,emit:y}){const v=D(),i=D(),f=p([]);p({provinceOptions:[],cityOptions:[],areaOptions:[]});const t=p({}),m=async _=>{if(_.annex&&_.annex.length>0){const s=_.annex.map((u,l)=>({name:`\u6587\u4EF6${l+1}`,uri:u}));Object.assign(f,s)}Object.assign(t,_)},g=async _=>{const s=await I({id:t.id});m(s)},x=async()=>{var _;(_=i.value)==null||_.close()},h=()=>{var _;console.log("1111111"),(_=i.value)==null||_.open()},A=()=>{y("close")};return C({open:h,setFormData:m,getDetail:g}),(_,s)=>{const u=j,l=V,b=S,k=N,w=$,O=P;return r(),d("div",U,[a(T,{ref_key:"popupRef",ref:i,title:"\u5F00\u7968\u7533\u8BF7\u8BE6\u60C5",async:!0,width:"80%",onConfirm:x,onClose:A},{default:e(()=>[a(O,{ref_key:"formRef",ref:v,model:t,"label-width":"160px"},{default:e(()=>[a(w,{class:"mb-2"},{default:e(()=>[a(k,null,{default:e(()=>[a(l,{span:8},{default:e(()=>[a(u,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[n(o(t.project_name),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5BA2\u6237\u540D\u79F0"},{default:e(()=>[n(o(t.custom.name),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[n(o(t.project_code),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5408\u540C\u7F16\u53F7"},{default:e(()=>[n(o(t.contract.contract_name),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5408\u540C\u540D\u79F0"},{default:e(()=>[n(o(t.contract?t.contract.contract_code:"\u6682\u65E0\u6570\u636E"),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5408\u540C\u91D1\u989D"},{default:e(()=>[n(o(t.contract.amount),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u671F\u6B21"},{default:e(()=>[a(b,{options:c.dictData.pay_period,value:t.period},null,8,["options","value"])]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u7D2F\u8BA1\u5F00\u7968\u91D1\u989D"},{default:e(()=>[n(o(t.accumulate_amount),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u7D2F\u8BA1\u56DE\u6B3E\u91D1\u989D"},{default:e(()=>[n(o(t.accumulated_payments_received),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u7A0E\u7387"},{default:e(()=>[n(o(t.tax_rate),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u53D1\u7968\u7C7B\u578B"},{default:e(()=>[a(b,{options:c.dictData.invoice_type,value:t.invoice_type},null,8,["options","value"])]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5F00\u7968\u91D1\u989D(\u542B\u7A0E)"},{default:e(()=>[n(o(t.invoicing_amount),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u91D1\u989D\u5927\u5199"},{default:e(()=>[n(o(t.invoicing_amount_daxie),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5F00\u7968\u91D1\u989D(\u7A0E\u989D)"},{default:e(()=>[n(o(t.invoicing_amount),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5F00\u7968\u91D1\u989D(\u975E\u7A0E)"},{default:e(()=>[n(o(t.amount_including_tax),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5F00\u7968\u5185\u5BB9"},{default:e(()=>[n(o(t.content),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u53D1\u7968\u7F16\u53F7"},{default:e(()=>[n(o(t.invoice_no),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5F00\u7968\u516C\u53F8\u540D\u79F0"},{default:e(()=>[n(o(t.invoicing_company_name),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7"},{default:e(()=>[n(o(t.taxpayer_identification_number),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5F00\u6237\u94F6\u884C"},{default:e(()=>[n(o(t.deposit_bank),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u8D26\u53F7"},{default:e(()=>[n(o(t.bank_accnout),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5F00\u6237\u5730\u5740\u53CA\u7535\u8BDD"},{default:e(()=>[n(o(t.address_phone),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u6536\u7968\u5730\u5740"},{default:e(()=>[n(o(t.receiving_address),1)]),_:1})]),_:1}),W,a(l,{span:8},{default:e(()=>[a(u,{label:"\u8054\u7CFB\u4EBA"},{default:e(()=>[n(o(t.contacts),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u8054\u7CFB\u7535\u8BDD"},{default:e(()=>[n(o(t.phone),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u90AE\u5BC4\u65F6\u95F4"},{default:e(()=>[n(o(t.mailing_time),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u90AE\u5BC4\u65B9\u5F0F"},{default:e(()=>[n(o(t.mailing_type),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u90AE\u5BC4\u5355\u53F7"},{default:e(()=>[n(o(t.mailing_no),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u5907\u6CE8"},{default:e(()=>[n(o(t.remark),1)]),_:1})]),_:1}),a(l,{span:8},{default:e(()=>[a(u,{label:"\u9644\u4EF6"},{default:e(()=>[(r(!0),d(L,null,M(f,(F,R)=>(r(),d("div",q,[E("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:F.uri,target:"_blank"},o(F.name),9,z),E("span",{style:{cursor:"pointer","margin-left":"5px"},onClick:J=>_.delFileFn(R)},"x",8,G)]))),256))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{Ra as default};