This commit is contained in:
@@ -498,7 +498,7 @@ export default {
|
||||
TODO:
|
||||
|
||||
fetch current list of serials
|
||||
[Route("api/v{version:apiVersion}/part")][HttpGet("serials/{id}")]
|
||||
|
||||
remove already selected serials from that list
|
||||
put into availableSerials
|
||||
|
||||
@@ -508,7 +508,6 @@ export default {
|
||||
when done sb able to view current available serials not selected, quickly pick them off and then add en-masse
|
||||
|
||||
*/
|
||||
|
||||
const partId = this.value.items[this.activeWoItemIndex].parts[
|
||||
this.activeItemIndex
|
||||
].partId;
|
||||
@@ -516,8 +515,13 @@ export default {
|
||||
return;
|
||||
}
|
||||
let res = await window.$gz.api.get(`part/serials/${partId}`);
|
||||
console.log(res);
|
||||
if(res.error){
|
||||
//display info box error here, see recent code where did that forget at the moment because .... you know why :)
|
||||
}else{
|
||||
console.log(res);
|
||||
this.serialDialog = true;
|
||||
}
|
||||
|
||||
},
|
||||
async addPartAssembly() {
|
||||
let res = await window.$gz.api.get(
|
||||
|
||||
Reference in New Issue
Block a user