2 lines
6.6 KiB
JavaScript
2 lines
6.6 KiB
JavaScript
import{y as j,A as V,B as N,C as $,D as I}from"./element-plus.258bf9e7.js";import{_ as P}from"./index.vue_vue_type_script_setup_true_lang.e1e5e943.js";import{P as S}from"./index.9492d03b.js";import{a as T}from"./custom.13e75d58.js";import{d as B,s as D,a0 as p,o as d,c as r,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.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={class:"detail-popup"},q=n(),z={style:{"margin-left":"5px",display:"block"}},G=["href"],H=["onClick"],J=B({name:"customdetail"}),K=B({...J,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(c,{expose:C,emit:v}){const y=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 T({id:t.id});m(s)},x=async()=>{var _;(_=i.value)==null||_.close()},h=()=>{var _;console.log("1111111"),(_=i.value)==null||_.open()},A=()=>{v("close")};return C({open:h,setFormData:m,getDetail:g}),(_,s)=>{const u=j,l=V,b=P,k=N,w=$,O=I;return d(),r("div",W,[a(S,{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:y,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}),q,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(()=>[(d(!0),r(L,null,M(f,(F,R)=>(d(),r("div",z,[E("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:F.uri,target:"_blank"},o(F.name),9,G),E("span",{style:{cursor:"pointer","margin-left":"5px"},onClick:Q=>_.delFileFn(R)},"x",8,H)]))),256))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Va=U(K,[["__scopeId","data-v-091bac51"]]);export{Va as default};
|