2 lines
5.2 KiB
JavaScript
2 lines
5.2 KiB
JavaScript
import{R as x,_ as v,S as k}from"./element-plus.517d4382.js";import{P as A}from"./index.b17dae19.js";import{a as O}from"./custom.99349afc.js";import{d as p,s as f,a0 as c,o,c as i,V as l,M as e,T as n,U as u,W as j,a8 as w}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as R}from"./index.8b1962e9.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.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const P={class:"detail-popup"},S={key:0},V={style:{"margin-left":"5px",display:"block"}},I={key:1},L=p({name:"customdetail"}),N=p({...L,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:b,emit:d}){f();const m=f();c([]),c({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=c({}),r=async s=>{Object.assign(a,s)},g=async s=>{const _=await O({id:s.id});r(_)},y=async()=>{var s;(s=m.value)==null||s.close()},E=()=>{var s;console.log("1111111"),(s=m.value)==null||s.open()},B=()=>{d("close")};return b({open:E,setFormData:r,getDetail:g}),(s,_)=>{const t=x,F=v,D=k;return o(),i("div",P,[l(A,{ref_key:"popupRef",ref:m,title:"\u9879\u76EE\u6982\u7B97\u8BE6\u60C5",async:!0,width:"80%",onConfirm:y,onClose:B},{default:e(()=>[l(D,{column:2,border:""},{default:e(()=>[l(t,{label:"\u7EC4\u7EC7\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.org_name),1)]),_:1}),l(t,{label:"\u90E8\u95E8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.dept_name),1)]),_:1}),l(t,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.custom_name),1)]),_:1}),l(t,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.project_name),1)]),_:1}),l(t,{label:"\u9879\u76EE\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.project_code),1)]),_:1}),l(t,{label:"\u6982\u7B97\u6765\u6E90","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.estimate_source_text),1)]),_:1}),l(t,{label:"\u9700\u6C42\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.customer_demand_name),1)]),_:1}),l(t,{label:"\u8054\u7CFB\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.contact_name),1)]),_:1}),l(t,{label:"\u8054\u7CFB\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.contact_phone),1)]),_:1}),l(t,{label:"\u5236\u5355\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.create_user),1)]),_:1}),l(t,{label:"\u62A5\u4EF7\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.quotation_date),1)]),_:1}),l(t,{label:"\u53D1\u7968\u7C7B\u578B","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.invoice_type_text),1)]),_:1}),l(t,{label:"\u6982\u7B97\u91D1\u989D(\u4E07\u5143)","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.estimate_amount),1)]),_:1}),l(t,{label:"\u8981\u6C42","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.ask),1)]),_:1}),l(t,{label:"\u6DFB\u52A0\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.add_user_name),1)]),_:1}),l(t,{label:"\u521B\u5EFA\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.create_time),1)]),_:1}),l(t,{label:"\u66F4\u65B0\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.update_user_name),1)]),_:1}),l(t,{label:"\u66F4\u65B0\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[n(u(a.update_time),1)]),_:1}),l(t,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:e(()=>[a.annex.length>0?(o(),i("div",S,[(o(!0),i(j,null,w(a.annex,(h,C)=>(o(),i("div",V,[l(F,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:h,target:"_blank"},{default:e(()=>[n("\u6587\u4EF6"+u(C+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(o(),i("div",I," \u6682\u65E0\u9644\u4EF6 "))]),_:1})]),_:1})]),_:1},512)])}}});const Fl=R(N,[["__scopeId","data-v-596c64ed"]]);export{Fl as default};
|