| | |
| | | prop: "salesContractNo", |
| | | width: 220, |
| | | }, |
| | | // { |
| | | // label: "客户合同号", |
| | | // prop: "customerContractNo", |
| | | // width: 250, |
| | | // }, |
| | | { |
| | | label: "客户名称", |
| | | prop: "customerName", |
| | | width: 250, |
| | | }, |
| | | // { |
| | | // label: "项目名称", |
| | | // prop: "projectName", |
| | | // width:300 |
| | | // }, |
| | | { |
| | | label: "产品大类", |
| | | prop: "productCategory", |
| | |
| | | { |
| | | label: "绑定机器", |
| | | prop: "speculativeTradingName", |
| | | width: 220, |
| | | width: 160, |
| | | }, |
| | | { |
| | | label: "单位", |
| | |
| | | label: "录入日期", |
| | | prop: "entryDate", |
| | | width: 120, |
| | | }, |
| | | { |
| | | label: "状态", |
| | | prop: "status", |
| | | dataType: "tag", |
| | | formatType: (params) => { |
| | | if (params == '生产中') { |
| | | return "warning"; |
| | | } else if (params == '未开始') { |
| | | return "danger"; |
| | | } else { |
| | | return "success"; |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | label: "生产进度", |
| | | prop: "progress", |
| | | formatData: (cellValue) => { |
| | | // 如果值为空或undefined,显示空字符串 |
| | | if (cellValue === null || cellValue === undefined || cellValue === '') { |
| | | return ''; |
| | | } |
| | | // 直接在数字后面添加百分号 |
| | | return `${cellValue}%`; |
| | | } |
| | | }, |
| | | { |
| | | label: "数量", |
| | |
| | | white-space: nowrap; |
| | | } |
| | | </style> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |