engineering/public/admin/assets/detail.2dc02c36.js
2024-03-04 15:04:21 +08:00

2 lines
4.6 KiB
JavaScript

import{R as B,S as C,D as A}from"./element-plus.258bf9e7.js";import{P as h}from"./index.9492d03b.js";import{a as v}from"./custom.13e75d58.js";import{d as r,s as c,a0 as p,o as x,c as R,V as e,M as a,T as o,U as n}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as w}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 O={class:"detail-popup"},j=r({name:"customdetail"}),k=r({...j,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(P,{expose:f,emit:_}){const b=c(),u=c();p({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=p({}),i=async s=>{Object.assign(l,s),console.log(l,"2222222222")},d=async s=>{const m=await v({id:s.id});i(m)},g=async()=>{var s;(s=u.value)==null||s.close()},y=()=>{var s;console.log("1111111"),(s=u.value)==null||s.open()},E=()=>{_("close")};return f({open:y,setFormData:i,getDetail:d}),(s,m)=>{const t=B,F=C,D=A;return x(),R("div",O,[e(h,{ref_key:"popupRef",ref:u,title:"\u62A5\u4EF7\u660E\u7EC6\u8BE6\u60C5",async:!0,width:"80%",onConfirm:g,onClose:E},{default:a(()=>[e(D,{ref_key:"formRef",ref:b,model:l,"label-width":"160px"},{default:a(()=>[e(F,{column:3,border:""},{default:a(()=>[e(t,{label:"\u6295\u6807\u5BA1\u67E5\u5355\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.bid_document_examination_code),1)]),_:1}),e(t,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.custom_name),1)]),_:1}),e(t,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.project_name),1)]),_:1}),e(t,{label:"\u9879\u76EE\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.project_code),1)]),_:1}),e(t,{label:"\u4EA7\u54C1\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.product_name),1)]),_:1}),e(t,{label:"\u578B\u53F7\u89C4\u683C","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.product_specs),1)]),_:1}),e(t,{label:"\u5355\u4F4D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.product_unit),1)]),_:1}),e(t,{label:"\u6570\u91CF","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.num),1)]),_:1}),e(t,{label:"\u6210\u672C\u5355\u4EF7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.cost_price),1)]),_:1}),e(t,{label:"\u91D1\u989D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.cost_amount),1)]),_:1}),e(t,{label:"\u70B9\u6570","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.points),1)]),_:1}),e(t,{label:"\u62A5\u4EF7\u5355\u4EF7","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.sale_price),1)]),_:1}),e(t,{label:"\u62A5\u4EF7\u91D1\u989D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.sale_amount),1)]),_:1}),e(t,{label:"\u6DFB\u52A0\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.add_user_name),1)]),_:1}),e(t,{label:"\u521B\u5EFA\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.create_time),1)]),_:1}),e(t,{label:"\u66F4\u65B0\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.update_user_name),1)]),_:1}),e(t,{label:"\u66F4\u65B0\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(l.update_time),1)]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const bl=w(k,[["__scopeId","data-v-9449109b"]]);export{bl as default};