2 lines
4.4 KiB
JavaScript
2 lines
4.4 KiB
JavaScript
import{B as y,F as v,K as w,C as g,L as R}from"./element-plus.c5968462.js";import{P as O}from"./index.4450cf90.js";import{c as j}from"./custom.e6514cb6.js";import{d,s as i,a0 as c,o as k,c as A,V as t,M as e,T as a,U as _}from"./@vue.ab566ce7.js";import"./lodash.f060c5ce.js";import{_ as P}from"./index.9aa949ed.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.9bff6341.js";import"./dayjs.920ed704.js";import"./axios.fd7895df.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.89a2cd6d.js";import"./color.f7f12e1b.js";import"./clone.3f99ce25.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7ca60bdd.js";import"./ms.a9ae1d6d.js";import"./nprogress.2d805d1c.js";import"./vue-clipboard3.f9b015dd.js";import"./clipboard.84da4513.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.d693a0d8.js";const V={class:"detail-popup"},I=a(),N=a(),S=a(),T=a(),q=a(),K=a(),L=d({name:"customdetail"}),M=d({...L,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(U,{expose:m,emit:f}){const b=i(),p=i();c({provinceOptions:[],cityOptions:[],areaOptions:[]});const u=c({}),n=async s=>{Object.assign(u,s)},C=async s=>{const r=await j({id:s.id});n(r)},D=async()=>{var s;(s=p.value)==null||s.close()},F=()=>{var s;(s=p.value)==null||s.open()},E=()=>{f("close")};return m({open:F,setFormData:n,getDetail:C}),(s,r)=>{const o=y,l=v,h=w,B=g,x=R;return k(),A("div",V,[t(O,{ref_key:"popupRef",ref:p,title:"\u91C7\u8D2D\u5408\u540C\u8BE6\u60C5",async:!0,width:"80%",onConfirm:D,onClose:E},{default:e(()=>[t(x,{ref_key:"formRef",ref:b,model:u,"label-width":"120px"},{default:e(()=>[t(B,{class:"mb-2"},{default:e(()=>[t(h,null,{default:e(()=>[t(l,{span:12},{default:e(()=>[t(o,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[a(_(u.project_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[a(_(u.project_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u540D\u79F0"},{default:e(()=>[a(_(u.contract_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u7F16\u53F7"},{default:e(()=>[a(_(u.contract_no),1)]),_:1})]),_:1}),I,t(l,{span:12},{default:e(()=>[t(o,{label:"\u5408\u540C\u7C7B\u578B"},{default:e(()=>[a(_(u.contract_type),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u4F9B\u5E94\u5546\u540D\u79F0"},{default:e(()=>[a(_(u.supplier_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u4F9B\u5E94\u5546\u7F16\u7801"},{default:e(()=>[a(_(u.supplier_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u91C7\u8D2D\u7533\u8BF7\u5355\u53F7"},{default:e(()=>[a(_(u.material_purchase_request_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u6750\u6599\u540D\u79F0"},{default:e(()=>[a(_(u.material_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u6750\u6599\u7F16\u7801"},{default:e(()=>[a(_(u.material_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u89C4\u683C\u578B\u53F7"},{default:e(()=>[a(_(u.material_specs),1)]),_:1})]),_:1}),N,t(l,{span:12},{default:e(()=>[t(o,{label:"\u54C1\u724C"},{default:e(()=>[a(_(u.material_brand),1)]),_:1})]),_:1}),S,t(l,{span:12},{default:e(()=>[t(o,{label:"\u5355\u4F4D"},{default:e(()=>[a(_(u.material_unit),1)]),_:1})]),_:1}),T,t(l,{span:12},{default:e(()=>[t(o,{label:"\u6570\u91CF"},{default:e(()=>[a(_(u.num),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u542B\u7A0E\u5355\u4EF7"},{default:e(()=>[a(_(u.price),1)]),_:1})]),_:1}),t(l,{span:12},{default:e(()=>[t(o,{label:"\u7A0E\u7387"},{default:e(()=>[a(_(u.tax_rate_text)+"% ",1)]),_:1})]),_:1}),q,t(l,{span:12},{default:e(()=>[t(o,{label:"\u4E0D\u542B\u7A0E\u91D1\u989D"},{default:e(()=>[a(_(u.amount_excluding_tax),1)]),_:1})]),_:1}),K,t(l,{span:12},{default:e(()=>[t(o,{label:"\u542B\u7A0E\u91D1\u989D"},{default:e(()=>[a(_(u.amount_including_tax),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const vt=P(M,[["__scopeId","data-v-ab304423"]]);export{vt as default};
|