2 lines
4.4 KiB
JavaScript
2 lines
4.4 KiB
JavaScript
import{y as x,A as g,B as v,C as w,D as R}from"./element-plus.517d4382.js";import{P as A}from"./index.b17dae19.js";import{a as O}from"./custom.99349afc.js";import{d,s as i,a0 as c,o as j,c as k,V as t,M as e,T as a,U as _}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as P}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 V={class:"detail-popup"},I=a(),N=a(),S=a(),T=a(),q=a(),M=a(),U=d({name:"customdetail"}),z=d({...U,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(G,{expose:m,emit:f}){const b=i(),p=i();c({provinceOptions:[],cityOptions:[],areaOptions:[]});const o=c({}),n=async s=>{console.log(s),Object.assign(o,s)},C=async s=>{const r=await O({id:s.id});n(r)},D=async()=>{var s;(s=p.value)==null||s.close()},F=()=>{var s;console.log("1111111"),(s=p.value)==null||s.open()},E=()=>{f("close")};return m({open:F,setFormData:n,getDetail:C}),(s,r)=>{const u=x,l=g,h=v,y=w,B=R;return j(),k("div",V,[t(A,{ref_key:"popupRef",ref:p,title:"\u91C7\u8D2D\u5408\u540C\u8BE6\u60C5",async:!0,width:"80%",onConfirm:D,onClose:E},{default:e(()=>[t(B,{ref_key:"formRef",ref:b,model:o,"label-width":"120px"},{default:e(()=>[t(y,{class:"mb-2"},{default:e(()=>[t(h,null,{default:e(()=>[t(l,{span:12},{default:e(()=>[t(u,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[a(_(o.project_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[a(_(o.project_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u5408\u540C\u540D\u79F0"},{default:e(()=>[a(_(o.contract_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u5408\u540C\u7F16\u53F7"},{default:e(()=>[a(_(o.contract_no),1)]),_:1})]),_:1}),I,t(l,{span:12},{default:e(()=>[t(u,{label:"\u5408\u540C\u7C7B\u578B"},{default:e(()=>[a(_(o.contract_type),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u4F9B\u5E94\u5546\u540D\u79F0"},{default:e(()=>[a(_(o.supplier_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u4F9B\u5E94\u5546\u7F16\u7801"},{default:e(()=>[a(_(o.supplier_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u91C7\u8D2D\u7533\u8BF7\u5355\u53F7"},{default:e(()=>[a(_(o.material_purchase_request_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u6750\u6599\u540D\u79F0"},{default:e(()=>[a(_(o.material_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u6750\u6599\u7F16\u7801"},{default:e(()=>[a(_(o.material_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u89C4\u683C\u578B\u53F7"},{default:e(()=>[a(_(o.material_specs),1)]),_:1})]),_:1}),N,t(l,{span:12},{default:e(()=>[t(u,{label:"\u54C1\u724C"},{default:e(()=>[a(_(o.material_brand),1)]),_:1})]),_:1}),S,t(l,{span:12},{default:e(()=>[t(u,{label:"\u5355\u4F4D"},{default:e(()=>[a(_(o.material_unit),1)]),_:1})]),_:1}),T,t(l,{span:12},{default:e(()=>[t(u,{label:"\u6570\u91CF"},{default:e(()=>[a(_(o.num),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u542B\u7A0E\u5355\u4EF7"},{default:e(()=>[a(_(o.price),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(u,{label:"\u7A0E\u7387"},{default:e(()=>[a(_(o.tax_rate_text)+"% ",1)]),_:1})]),_:1}),q,t(l,{span:12},{default:e(()=>[t(u,{label:"\u4E0D\u542B\u7A0E\u91D1\u989D"},{default:e(()=>[a(_(o.amount_excluding_tax),1)]),_:1})]),_:1}),M,t(l,{span:12},{default:e(()=>[t(u,{label:"\u542B\u7A0E\u91D1\u989D"},{default:e(()=>[a(_(o.amount_including_tax),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const gt=P(z,[["__scopeId","data-v-6539e3e8"]]);export{gt as default};
|