2 lines
4.1 KiB
JavaScript
2 lines
4.1 KiB
JavaScript
import{y as h,A as w,B as g,C as v,D as k}from"./element-plus.258bf9e7.js";import{P as R}from"./index.9492d03b.js";import{a as j}from"./custom.13e75d58.js";import{d as m,s as i,a0 as c,o as A,c as O,V as t,M as e,T as o,U as p}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as P}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 V={class:"detail-popup"},I=o(),N=m({name:"customdetail"}),S=m({...N,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:d,emit:f}){const E=i(),s=i();c({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=c({}),n=async _=>{Object.assign(a,_),console.log(a)},b=async _=>{const r=await j({id:_.id});n(r)},C=async()=>{var _;(_=s.value)==null||_.close()},D=()=>{var _;console.log("1111111"),(_=s.value)==null||_.open()},F=()=>{f("close")};return d({open:D,setFormData:n,getDetail:b}),(_,r)=>{const u=h,l=w,B=g,y=v,x=k;return A(),O("div",V,[t(R,{ref_key:"popupRef",ref:s,title:"\u5206\u5305\u5408\u540C\u8BE6\u60C5",async:!0,width:"80%",onConfirm:C,onClose:F},{default:e(()=>[t(x,{ref_key:"formRef",ref:E,model:a,"label-width":"120px"},{default:e(()=>[t(y,{class:"mb-2"},{default:e(()=>[t(B,null,{default:e(()=>[t(l,{span:12},{default:e(()=>[t(u,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[o(p(a.project_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[o(p(a.project_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u5408\u540C\u540D\u79F0"},{default:e(()=>[o(p(a.contract_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u5408\u540C\u7F16\u53F7"},{default:e(()=>[o(p(a.contract_no),1)]),_:1})]),_:1}),I,t(l,{span:12},{default:e(()=>[t(u,{label:"\u5408\u540C\u7C7B\u578B"},{default:e(()=>[o(p(a.contract_type),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u4F9B\u5E94\u5546\u540D\u79F0"},{default:e(()=>[o(p(a.supplier_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u4F9B\u5E94\u5546\u7F16\u7801"},{default:e(()=>[o(p(a.supplier_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u5DE5\u4F5C\u7C7B\u578B"},{default:e(()=>[o(p(a.work_type),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u5DE5\u4F5C\u5185\u5BB9"},{default:e(()=>[o(p(a.work_content),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u9879\u76EE\u7279\u5F81"},{default:e(()=>[o(p(a.project_features),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u5355\u4F4D"},{default:e(()=>[o(p(a.num),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u5DE5\u4F5C\u91CF"},{default:e(()=>[o(p(a.unit),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u4E0D\u542B\u7A0E\u91D1\u989D"},{default:e(()=>[o(p(a.amount_excluding_tax),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u542B\u7A0E\u91D1\u989D"},{default:e(()=>[o(p(a.amount_including_tax),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u542B\u7A0E\u5355\u4EF7"},{default:e(()=>[o(p(a.price),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u7A0E\u7387"},{default:e(()=>[o(p(a.tax_rate_text)+"% ",1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Ft=P(S,[["__scopeId","data-v-838ee3b2"]]);export{Ft as default};
|