mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
minor fixes
This commit is contained in:
parent
8347ddd5be
commit
e4793e1a77
@ -237,7 +237,7 @@ export default {
|
|||||||
"comment": data.comment,
|
"comment": data.comment,
|
||||||
"telephone": data.phonenumber,
|
"telephone": data.phonenumber,
|
||||||
"email": data.email,
|
"email": data.email,
|
||||||
"address": null
|
"address": this.parent.address
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
type = this.$refs.castNew.radioType;
|
type = this.$refs.castNew.radioType;
|
||||||
|
@ -27,10 +27,10 @@
|
|||||||
v-bind:item="item">
|
v-bind:item="item">
|
||||||
</suggestion-user>
|
</suggestion-user>
|
||||||
|
|
||||||
<suggestion-household
|
<suggestion-household
|
||||||
v-if="item.result.type === 'household'"
|
v-if="item.result.type === 'household'"
|
||||||
v-bind:item="item">
|
v-bind:item="item">
|
||||||
</suggestion-household>
|
</suggestion-household>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -248,22 +248,14 @@ export default {
|
|||||||
submitAddress(payload) {
|
submitAddress(payload) {
|
||||||
console.log('submitAddress', payload);
|
console.log('submitAddress', payload);
|
||||||
if (typeof payload.addressId !== 'undefined') { // <--
|
if (typeof payload.addressId !== 'undefined') { // <--
|
||||||
<<<<<<< HEAD
|
|
||||||
this.context.edit = true;
|
this.context.edit = true;
|
||||||
this.context.addressId = payload.addressId; // bof! use legacy and not legacy in payload
|
this.context.addressId = payload.addressId; // bof! use legacy and not legacy in payload
|
||||||
this.thirdparty.address = payload.address; // <--
|
this.thirdparty.address = payload.address; // <--
|
||||||
console.log('switch address to edit mode', this.context);
|
console.log('switch address to edit mode', this.context);
|
||||||
}
|
}
|
||||||
=======
|
|
||||||
this.context.edit = true;
|
|
||||||
this.context.addressId = payload.addressId; // bof! use legacy and not legacy in payload
|
|
||||||
this.thirdparty.address = payload.address; // <--
|
|
||||||
console.log('switch address to edit mode', this.context);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
addQuery(query) {
|
addQuery(query) {
|
||||||
this.thirdparty.text = query;
|
this.thirdparty.text = query;
|
||||||
>>>>>>> issue422_and_others_on_AddPersons
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user