refactor(quality): more changes to the system to perfect it
This commit is contained in:
@@ -13,7 +13,12 @@ export const addNewPallet = async (data: any) => {
|
||||
* Post new pallets
|
||||
*/
|
||||
|
||||
const returnLabels = ["return to warehouse", "rework", "grind", "scrap"];
|
||||
const returnLabels = [
|
||||
"return to warehouse",
|
||||
"send to rework",
|
||||
"send to grind",
|
||||
"send to scrap",
|
||||
];
|
||||
|
||||
console.log(data, returnLabels.includes(data.palletStatusText));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user