This commit is contained in:
@@ -493,7 +493,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
selectSerials() {
|
||||
async selectSerials() {
|
||||
/*
|
||||
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;
|
||||
},
|
||||
async addPartAssembly() {
|
||||
|
||||
Reference in New Issue
Block a user