| | |
| | | prop: "entryDate", |
| | | width: 120, |
| | | }, |
| | | { |
| | | label: "生产进度", |
| | | prop: "progress", |
| | | formatData: (cellValue) => { |
| | | // 如果值为空或undefined,显示空字符串 |
| | | if (cellValue === null || cellValue === undefined || cellValue === '') { |
| | | return ''; |
| | | } |
| | | // 直接在数字后面添加百分号 |
| | | return `${cellValue}%`; |
| | | } |
| | | }, |
| | | // { |
| | | // label: "生产进度", |
| | | // prop: "progress", |
| | | // formatData: (cellValue) => { |
| | | // // 如果值为空或undefined,显示空字符串 |
| | | // if (cellValue === null || cellValue === undefined || cellValue === '') { |
| | | // return ''; |
| | | // } |
| | | // // 直接在数字后面添加百分号 |
| | | // return `${cellValue}%`; |
| | | // } |
| | | // }, |
| | | { |
| | | label: "数量", |
| | | prop: "quantity", |