Compare commits
4 Commits
b19fb6aeb6
...
a89087b7fa
| Author | SHA1 | Date | |
|---|---|---|---|
| a89087b7fa | |||
| 6651f83da8 | |||
| 788fc5f745 | |||
| 4f8dfeeff6 |
15
frontend/web.config
Normal file
15
frontend/web.config
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<system.webServer>
|
||||||
|
<rewrite>
|
||||||
|
<rules>
|
||||||
|
<rule name="Logistics Support Tool" stopProcessing="true">
|
||||||
|
<match url=".*" />
|
||||||
|
<conditions logicalGrouping="MatchAll">
|
||||||
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions>
|
||||||
|
<action type="Rewrite" url="./dist/index.html" />
|
||||||
|
</rule>
|
||||||
|
</rules>
|
||||||
|
</rewrite>
|
||||||
|
</system.webServer>
|
||||||
|
</configuration>
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"admConfig": {
|
"admConfig": {
|
||||||
"build": 367,
|
"build": 368,
|
||||||
"oldBuild": "backend-0.1.3.zip"
|
"oldBuild": "backend-0.1.3.zip"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ export const scacCheck = async (data: any) => {
|
|||||||
? `<SCAC>${data[0].remark
|
? `<SCAC>${data[0].remark
|
||||||
.split(",")[0]
|
.split(",")[0]
|
||||||
.split(":")[1]
|
.split(":")[1]
|
||||||
?.toUpperCase()}</SCAC>`
|
?.toUpperCase()
|
||||||
|
.slice(0, 4)}</SCAC>`
|
||||||
: `<SCAC/>`
|
: `<SCAC/>`
|
||||||
}
|
}
|
||||||
<Mode/>
|
<Mode/>
|
||||||
|
|||||||
@@ -152,6 +152,19 @@ export const labelingProcess = async ({
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// check if we actaully have a lot passed over so we do not error out again.
|
||||||
|
if (filteredLot.length === 0) {
|
||||||
|
createLog(
|
||||||
|
"error",
|
||||||
|
"labeling",
|
||||||
|
"ocp",
|
||||||
|
`Error getting lot info from ${
|
||||||
|
printer ? printer.name : "Missing printer info"
|
||||||
|
}`
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// check mm is good
|
// check mm is good
|
||||||
const mmStaged = await isMainMatStaged(filteredLot[0]);
|
const mmStaged = await isMainMatStaged(filteredLot[0]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user