| | |
| | | }, |
| | | { |
| | | field: "supplyQuantity", |
| | | title: "çç¹æ°", |
| | | title: "çç¹å·®å¼æ°", |
| | | type: "number", |
| | | span: 8 |
| | | |
| | | }, |
| | | |
| | | ], |
| | |
| | | field: "palletCode", |
| | | title: "æçç¼å·", |
| | | type: "string", |
| | | hidden: true, |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | |
| | | }, |
| | | { |
| | | field: "supplyQuantity", |
| | | title: "çç¹æ°", |
| | | title: "çç¹å·®å¼æ°", |
| | | type: "number", |
| | | width: 100, |
| | | align: "left", |
| | | cellStyle: (row) => { |
| | | const value = row.supplyQuantity; |
| | | if (value > 0) { |
| | | return { color: "#00ff00" }; // ç»¿è² |
| | | } else if (value < 0) { |
| | | return { color: "#ff0000" }; // çº¢è² |
| | | } |
| | | // else { |
| | | // return { color: '#000000' }; // é»è² |
| | | // } |
| | | }, |
| | | }, |
| | | { |
| | | field: "inDate", |
| | |
| | | field: "productionDate", |
| | | title: "çäº§æ¥æ", |
| | | type: "date", |
| | | hidden: true, |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "shelfLife", |
| | | title: "ä¿è´¨æå¤©æ°", |
| | | hidden: true, |
| | | type: "number", |
| | | width: 120, |
| | | align: "left", |
| | |
| | | field: "alarmInformation", |
| | | title: "æ¥è¦ä¿¡æ¯", |
| | | type: "string", |
| | | hidden: true, |
| | | width: 120, |
| | | align: "left", |
| | | }, |