purchase-modal.4ade5824.js 3.1 KB

1
  1. import{aj as o,aF as s,_ 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.1417328f.js";import{B as E}from"./basic-descriptions.cadaf928.js";import{c as v,b as B,s as A}from"./status.727086c1.js";import{c as n}from"./tootip.8c37fa8a.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:(u,{department:e})=>n(u,"\u90E8\u95E8: "+e,260)},{label:"\u91C7\u8D2D\u65F6\u95F4",span:6,field:"createdTime"},{label:"\u4E70\u5165\u65B9\u516C\u53F8",field:"companyName",span:12,render:(u,{companyNo:e})=>n(u,"\u4E1A\u52A1\u4F01\u4E1A\u516C\u53F8\u7F16\u53F7 : "+e,300)},{label:"\u5356\u51FA\u65B9\u516C\u53F8",span:12,field:"supplierName",render:(u,{supplierNo:e})=>n(u,"\u4F9B\u5E94\u5546\u7F16\u53F7 : "+e,300)},{label:"\u5546\u54C1\u540D\u79F0",field:"goodName",span:24,render:(u,{goodNo:e})=>n(u,"\u5546\u54C1\u7F16\u53F7 : "+e,260)},{label:"\u5BF9\u8D26\u72B6\u6001",field:"status",render(u){return o(s,null,{default:()=>{var e;return(e=g.find(l=>l.value==u))==null?void 0:e.label}})}},{label:"\u8BA2\u5355\u6765\u6E90",field:"cgdSource",render(u){return o(s,null,{default:()=>{var e;return(e=v.find(l=>l.value==u))==null?void 0:e.label}})}},{label:"\u5546\u54C1\u7C7B\u578B",field:"cgdType",render(u){return o(s,null,{default:()=>{var e;return(e=B.find(l=>l.value==u))==null?void 0:e.label}})}},{label:"\u53D1\u8D27\u72B6\u6001",field:"sendStatus",render(u){return o(s,null,{default:()=>{var e;return(e=A.find(l=>l.value==u))==null?void 0:e.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(u,{firstCat:e,secCat:l,thirdCat:a}){return o(s,null,{default:()=>e+"_"+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"}],U=[],y=[...N,...U],S=D({__name:"purchase-modal",setup(u,{expose:e}){const l=i(!1),a=i({});return e({onDisplay:r=>{l.value=!0,a.value=r}}),(r,d)=>{const p=b("ElDialog");return m(),C(p,{modelValue:l.value,"onUpdate:modelValue":d[0]||(d[0]=t=>l.value=t),title:"\u91C7\u8D2D\u5355\u8BE6\u60C5","custom-class":"dialog-max",center:"",onClose:d[1]||(d[1]=t=>a.value={})},{default:F(()=>[_(f(E),{columns:f(y),data:a.value},null,8,["columns","data"])]),_:1},8,["modelValue"])}}});var h=c(S,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/supply/porder/components/purchase-modal.vue"]]);export{h as default};