This commit is contained in:
2021-07-02 19:05:21 +00:00
parent eb3a969070
commit 120e549073

View File

@@ -547,16 +547,19 @@ export default {
if (!window.$gz.util.stringIsNullOrEmpty(serials)) { if (!window.$gz.util.stringIsNullOrEmpty(serials)) {
serials = serials.trim(); serials = serials.trim();
serials += ","; serials += ", ";
} else { } else {
serials = ""; serials = "";
} }
serials += this.selectedSerials.join(","); serials += this.selectedSerials.join(", ");
this.value.items[this.activeWoItemIndex].parts[ this.value.items[this.activeWoItemIndex].parts[
this.activeItemIndex this.activeItemIndex
].serials = serials; ].serials = serials;
this.serialDialog = false;
this.availableSerials.splice(0);
this.selectedSerials.splice(0);
}, },
async addPartAssembly() { async addPartAssembly() {
let res = await window.$gz.api.get( let res = await window.$gz.api.get(