This commit is contained in:
2021-07-02 21:09:22 +00:00
parent 7198e94187
commit acb5964362
3 changed files with 58 additions and 72 deletions

View File

@@ -1200,7 +1200,7 @@ async function saveParts(vm, woItemIndex) {
//clone and skip viz and other fields
const o = window.$gz.util.deepCopySkip(
vm.obj.items[woItemIndex].parts[i],
["uid", "cost", "listPrice", "isDirty"]
["uid", "isDirty"]
);
const res = await window.$gz.api.upsert(`${API_BASE_URL}items/parts`, o);