import{al as r,a$ as t,_ as o,d as i,o as d,G as f,l as a}from"./index.js";import{d as p,u as c}from"./types.ebfbff8f.js";import{c as b}from"./tootip.e1d72495.js";import{B as m}from"./basic-descriptions.64fbdf9d.js";const v=[{value:"1",label:"\u91D1\u7A0E\u9000\u7968"},{value:"2",label:"\u7EBF\u4E0B\u9000\u7968"}],B=[{value:"0",label:"\u5F85\u8D22\u52A1\u5BA1\u6838"},{value:"1",label:"\u5F85\u9000\u7968"},{value:"2",label:"\u9000\u7968\u6210\u529F"},{value:"3",label:"\u5BA1\u6838\u9A73\u56DE"},{value:"4",label:"\u9000\u7968\u5931\u8D25"}],F=[{value:"1",label:"\u9500\u8D27\u9000\u56DE"},{value:"2",label:"\u5F00\u7968\u6709\u8BEF"},{value:"3",label:"\u670D\u52A1\u7EC8\u6B62"},{value:"4",label:"\u9500\u552E\u6298\u8BA9"}],E=[{field:"returnCode",label:"\u9000\u7968\u7F16\u7801"},{field:"status",label:"\u72B6\u6001",render(e){return r(t,{size:"small"},{default:()=>{var u;return((u=B.find(l=>l.value===String(e)))==null?void 0:u.label)||"--"}})}},{field:"apply_name",label:"\u7533\u8BF7\u4EBA",render:(e,{apply_id:u})=>b(e,"\u7533\u8BF7\u4EBAID : "+u,160)},{field:"addtime",label:"\u7533\u8BF7\u65F6\u95F4"},{field:"invNo",label:"\u5F00\u7968\u7533\u8BF7\u7F16\u7801"},{field:"red_inv",label:"\u7EA2\u51B2\u4FE1\u606F\u8868\u7F16\u7801"},{field:"return_reason",label:"\u7EA2\u51B2\u539F\u56E0",render(e){return r(t,{size:"small"},{default:()=>{var u;return((u=F.find(l=>l.value===String(e)))==null?void 0:u.label)||"--"}})}},{field:"return_type",label:"\u9000\u7968\u65B9\u5F0F",render(e){return r(t,{size:"small"},{default:()=>{var u;return((u=v.find(l=>l.value===String(e)))==null?void 0:u.label)||"--"}})}},{field:"reason",label:"\u9000\u7968\u539F\u56E0",span:24},{field:"remark",label:"\u5907\u6CE8",span:24},{field:"eaxm_remark",label:"\u5BA1\u6838\u5907\u6CE8",span:24}],_=i({__name:"inv-return",props:p,emits:["map-offset-top"],setup(e){const u=e,{data:l,code:s,defaultRef:n}=c(u);return(A,D)=>(d(),f(a(m),{show:a(s)==="0",ref_key:"defaultRef",ref:n,data:a(l),columns:a(E)},null,8,["show","data","columns"]))}});var S=o(_,[["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/views/search/standBook/details/inv-return.vue"]]);export{S as default};
