add topping edit to recipelist WIP

This commit is contained in:
pakintada@gmail.com 2024-01-19 17:13:04 +07:00
parent 6b37c73aea
commit ddfbeb4ac6
6 changed files with 180 additions and 73 deletions

View file

@ -48,6 +48,14 @@ export function isNonMaterial(materialId: number) {
);
}
// Inter mode checker
export function convertFromInterProductCode(materialId: number) {
let interPrefix = Math.floor(materialId / 10000) * 10000;
let interId = materialId - interPrefix;
return interId;
}
// StringParam
export class StringParam {