otf: patch person and thirdparty from the store, emit parent method saveFormOnTheFly()

This commit is contained in:
2021-09-29 17:35:37 +02:00
parent 9420c34f58
commit 008a10dab8
7 changed files with 103 additions and 47 deletions

View File

@@ -55,7 +55,7 @@
<script>
import ThirdPartyRenderBox from '../Entity/ThirdPartyRenderBox.vue';
import AddAddress from 'ChillMainAssets/vuejs/Address/components/AddAddress';
import { getThirdparty, patchThirdparty } from '../../_api/OnTheFly';
import { getThirdparty } from '../../_api/OnTheFly';
export default {
name: "OnTheFlyThirdParty",
@@ -98,13 +98,6 @@ export default {
resolve();
}));
},
patchData() {
patchThirdparty(this.thirdparty).then(thirdparty => new Promise((resolve, reject) => {
this.thirdparty = thirdparty;
console.log('patch thirdparty', thirdparty);
resolve();
}))
},
submitAddress(payload) {
console.log('submitAddress', payload);
}