columns.1cb043a2.js 1.2 KB

1
  1. import{c as t,a}from"./status.5045c580.js";import{r as i,w as p,t as r}from"./index.3ad9ddce.js";function c(){return{columns:i([{type:"selection",width:55,hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u91C7\u8D2D\u5355\u7F16\u53F7",prop:"sequenceNo"},{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName"},{label:"\u4F9B\u5E94\u5546\u7F16\u53F7",prop:"supplierNo"},{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName"},{label:"\u8BA2\u5355\u6765\u6E90",prop:"cgdSource",width:95,cellRenderer:({row:e,props:l})=>p(r("el-tag"),{size:l.size,type:"",effect:"plain"},{default:()=>[(t.find(o=>o.value==e.cgdSource+"")||{}).label||"--"]})},{label:"\u5546\u54C1\u7C7B\u578B",prop:"cgdType",width:95,cellRenderer:({row:e,props:l})=>p(r("el-tag"),{size:l.size,type:"",effect:"plain"},{default:()=>[(a.find(o=>o.value==e.cgdType+"")||{}).label||"--"]})},{label:"\u91C7\u8D2D\u5458",prop:"ownerName",width:75},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"addtime",width:155},{label:"\u64CD\u4F5C",fixed:"right",width:55,slot:"operation"}])}}export{c as useColumns};