This commit is contained in:
@@ -493,7 +493,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
selectSerials() {
|
async selectSerials() {
|
||||||
/*
|
/*
|
||||||
TODO:
|
TODO:
|
||||||
|
|
||||||
@@ -509,6 +509,14 @@ export default {
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
const partId = this.value.items[this.activeWoItemIndex].parts[
|
||||||
|
this.activeItemIndex
|
||||||
|
].partId;
|
||||||
|
if (!partId || partId == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
let res = await window.$gz.api.get(`part/serials/${partId}`);
|
||||||
|
console.log(res);
|
||||||
this.serialDialog = true;
|
this.serialDialog = true;
|
||||||
},
|
},
|
||||||
async addPartAssembly() {
|
async addPartAssembly() {
|
||||||
|
|||||||
Reference in New Issue
Block a user