import{aj as d,aL as n,_ as c,d as D,E as i,x as b,o as m,N as C,K as F,y as _,u as f}from"./index.743f0c80.js";import{B as E}from"./basic-descriptions.e56bd542.js";import{e as v,f as B,g as A}from"./status.868e86c0.js";import{c as s}from"./tootip.48acd346.js";const g=[{value:"0",label:"\u672A\u5BF9\u8D26"},{value:"1",label:"\u5BF9\u8D26"}],N=[{label:"\u9500\u552E\u8BA2\u5355\u7F16\u53F7",field:"sequenceNo",span:12},{label:"\u91C7\u8D2D\u5458",field:"ownerName",span:6,labelWidth:"80",render:(e,{department:u})=>s(e,"\u90E8\u95E8: "+u,260)},{label:"\u91C7\u8D2D\u65F6\u95F4",span:6,field:"createdTime"},{label:"\u4E70\u5165\u65B9\u516C\u53F8",field:"companyName",span:12,render:(e,{companyNo:u})=>s(e,"\u4E1A\u52A1\u4F01\u4E1A\u516C\u53F8\u7F16\u53F7 : "+u,300)},{label:"\u5356\u51FA\u65B9\u516C\u53F8",span:12,field:"supplierName",render:(e,{supplierNo:u})=>s(e,"\u4F9B\u5E94\u5546\u7F16\u53F7 : "+u,300)},{label:"\u5546\u54C1\u540D\u79F0",field:"goodName",span:24,render:(e,{goodNo:u})=>s(e,"\u5546\u54C1\u7F16\u53F7 : "+u,260)},{label:"\u5BF9\u8D26\u72B6\u6001",field:"status",render(e){return d(n,null,{default:()=>{var u;return(u=g.find(l=>l.value==e))==null?void 0:u.label}})}},{label:"\u8BA2\u5355\u6765\u6E90",field:"cgdSource",render(e){return d(n,null,{default:()=>{var u;return(u=v.find(l=>l.value==e))==null?void 0:u.label}})}},{label:"\u5546\u54C1\u7C7B\u578B",field:"cgdType",render(e){return d(n,null,{default:()=>{var u;return(u=B.find(l=>l.value==e))==null?void 0:u.label}})}},{label:"\u53D1\u8D27\u72B6\u6001",field:"sendStatus",render(e){return d(n,null,{default:()=>{var u;return(u=A.find(l=>l.value==e))==null?void 0:u.label}})}},{label:"\u5546\u54C1\u6570\u91CF",field:"goodNum"},{label:"\u5DF2\u53D1\u8D27\u6570\u91CF",field:"sendNum"},{label:"\u672A\u53D1\u8D27\u6570\u91CF",field:"wsendNum"},{label:"\u9000\u8D27\u6570\u91CF",field:"thNum"},{label:"\u5206\u7C7B",span:12,field:"cat",render(e,{firstCat:u,secCat:l,thirdCat:a}){return d(n,null,{default:()=>u+"_"+l+"_"+a})}},{label:"\u54C1\u724C",span:8,field:"goodBrand"},{label:"\u6838\u7B97\u7801",field:"fundCode",span:4},{label:"\u5355\u4F4D",field:"goodUnit"},{label:"\u7A0E\u7387",field:"tax"},{label:"\u5355\u4EF7",field:"goodPrice"},{label:"\u603B\u4EF7",field:"totalPrice"},{label:"\u5DF2\u4ED8\u91D1\u989D",field:"apay_fee"},{label:"\u672A\u4ED8\u91D1\u989D",field:"wpay_fee"},{label:"\u5DF2\u56DE\u7968",field:"ainv_fee"},{label:"\u672A\u56DE\u7968",field:"winv_fee"},{label:"\u5DE5\u827A\u63CF\u8FF0",span:24,field:"goodDesc"},{label:"\u5907\u6CE8",span:24,field:"remark"}],S=[],U=[...N,...S],y=D({__name:"purchase-modal",setup(e,{expose:u}){const l=i(!1),a=i({});return u({onDisplay:r=>{l.value=!0,a.value=r}}),(r,o)=>{const p=b("ElDialog");return m(),C(p,{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=t=>l.value=t),title:"\u91C7\u8D2D\u5355\u8BE6\u60C5","custom-class":"dialog-max",center:"",onClose:o[1]||(o[1]=t=>a.value={})},{default:F(()=>[_(f(E),{columns:f(U),data:a.value},null,8,["columns","data"])]),_:1},8,["modelValue"])}}});var h=c(y,[["__file","D:/work/accout-vue3-ui/src/views/supply/porder/components/purchase-modal.vue"]]);export{h as default};