import{B as a,t as l,r as i,aM as s}from"./index.7a111e62.js";import{b as r,c as p}from"./status.8b8d6c88.js";function h(){return{columns:a([{label:"\u9500\u552E\u8BA2\u5355\u7F16\u53F7",prop:"sequenceNo",minWidth:160,showOverflowTooltip:!0},{label:"\u6240\u5C5E\u5E73\u53F0",prop:"department",minWidth:160,showOverflowTooltip:!0},{label:"\u5546\u54C1\u7F16\u7801",prop:"goodNo",minWidth:160,showOverflowTooltip:!0},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:160,showOverflowTooltip:!0},{label:"\u4F01\u4E1A\u5BA2\u6237\u7F16\u53F7",prop:"companyNo",minWidth:160,showOverflowTooltip:!0},{label:"\u4F01\u4E1A\u5BA2\u6237\u540D\u79F0",prop:"companyName",minWidth:160,showOverflowTooltip:!0},{label:"\u8BA2\u5355\u603B\u91D1\u989D",prop:"totalPrice",minWidth:110,showOverflowTooltip:!0},{label:"\u9000\u8D27\u6570\u91CF",prop:"th_fee",width:110,showOverflowTooltip:!0},{label:"\u9000\u8D27\u91D1\u989D",prop:"th_fee",width:110,showOverflowTooltip:!0},{label:"\u53D1\u8D27\u72B6\u6001",prop:"sendStatus",minWidth:110,showOverflowTooltip:!0,cellRenderer:({row:e,props:t})=>l(i("el-tag"),{size:t.size,type:(r.find(o=>o.value==e.sendStatus+"")||{}).type||"info",effect:"plain"},{default:()=>[(r.find(o=>o.value==e.sendStatus+"")||{}).label||"--"]})},{label:"\u53D1\u7968\u5DF2\u6838\u9500",prop:"ainv_fee",minWidth:110,showOverflowTooltip:!0},{label:"\u53D1\u7968\u6838\u9500\u4E2D",prop:"inv_fee",minWidth:110,showOverflowTooltip:!0},{label:"\u53D1\u7968\u672A\u6838\u9500",prop:"winv_fee",minWidth:110,showOverflowTooltip:!0},{label:"\u53D1\u7968\u6838\u9500\u72B6\u6001",prop:"inv_type",minWidth:110,showOverflowTooltip:!0,cellRenderer:({row:e,props:t})=>l(i("el-tag"),{size:t.size,type:(p.find(o=>o.value==e.inv_status+"")||{}).type||"info",effect:"plain"},{default:()=>[(p.find(o=>o.value==e.inv_status+"")||{}).label||"--"]})},{label:"\u4E1A\u52A1\u5458",prop:"ownerName",minWidth:80,showOverflowTooltip:!0},{label:"\u521B\u5EFA\u65F6\u95F4",minWidth:145,prop:"createTime",showOverflowTooltip:!0,formatter:({createTime:e})=>s(e).format("YYYY-MM-DD HH:mm:ss")}])}}export{h as useColumns};
