mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
otf: patch person and thirdparty from the store, emit parent method saveFormOnTheFly()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user