This commit is contained in:
2021-07-27 18:43:32 +00:00
parent b1d8648add
commit f7208e8d05
2 changed files with 7 additions and 2 deletions

View File

@@ -647,7 +647,10 @@ export default {
generateWorkOrder() {
let cp = JSON.parse(JSON.stringify(this.obj));
if (this.genCopyAttachments) {
cp.genCopyAttachments = true; //flag for later on success as need a object created to attach to
cp.genCopyAttachmentsFrom = {
AType: window.$gz.type.Quote,
ObjectId: this.obj.id
};
}
if (!this.genCopyWiki) {
cp.wiki = null; //already copied, need to remove it instead