This commit is contained in:
2021-07-01 22:28:23 +00:00
parent 0e5c3101fb
commit fcc70c0c9e

View File

@@ -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() {