feat: star defaultAddressFk instead selected address
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
82976dd114
commit
7a2a5fd22d
|
@ -8,7 +8,6 @@ import VnRow from 'components/ui/VnRow.vue';
|
||||||
import VnSelect from 'src/components/common/VnSelect.vue';
|
import VnSelect from 'src/components/common/VnSelect.vue';
|
||||||
import VnInput from 'src/components/common/VnInput.vue';
|
import VnInput from 'src/components/common/VnInput.vue';
|
||||||
import VnInputDate from 'src/components/common/VnInputDate.vue';
|
import VnInputDate from 'src/components/common/VnInputDate.vue';
|
||||||
import VnInputTime from 'components/common/VnInputTime.vue';
|
|
||||||
|
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import useNotify from 'src/composables/useNotify.js';
|
import useNotify from 'src/composables/useNotify.js';
|
||||||
|
@ -277,8 +276,6 @@ async function getZone(options) {
|
||||||
<VnSelect
|
<VnSelect
|
||||||
:label="t('ticketList.client')"
|
:label="t('ticketList.client')"
|
||||||
v-model="clientId"
|
v-model="clientId"
|
||||||
option-value="id"
|
|
||||||
option-label="name"
|
|
||||||
url="Clients"
|
url="Clients"
|
||||||
:fields="['id', 'name']"
|
:fields="['id', 'name']"
|
||||||
sort-by="id"
|
sort-by="id"
|
||||||
|
@ -328,7 +325,10 @@ async function getZone(options) {
|
||||||
>
|
>
|
||||||
<QItemSection style="min-width: min-content" avatar>
|
<QItemSection style="min-width: min-content" avatar>
|
||||||
<QIcon
|
<QIcon
|
||||||
v-if="scope.opt.isActive && addressId === scope.opt.id"
|
v-if="
|
||||||
|
scope.opt.isActive &&
|
||||||
|
formData.client.defaultAddressFk === scope.opt.id
|
||||||
|
"
|
||||||
size="sm"
|
size="sm"
|
||||||
color="grey"
|
color="grey"
|
||||||
name="star"
|
name="star"
|
||||||
|
|
|
@ -20,6 +20,7 @@ export default {
|
||||||
'isFreezed',
|
'isFreezed',
|
||||||
'isTaxDataChecked',
|
'isTaxDataChecked',
|
||||||
'hasElectronicInvoice',
|
'hasElectronicInvoice',
|
||||||
|
'defaultAddressFk',
|
||||||
'credit',
|
'credit',
|
||||||
],
|
],
|
||||||
include: [
|
include: [
|
||||||
|
|
Loading…
Reference in New Issue