case 4243
This commit is contained in:
@@ -153,10 +153,20 @@
|
|||||||
<!-- NEW ITEM DIALOG -->
|
<!-- NEW ITEM DIALOG -->
|
||||||
<template>
|
<template>
|
||||||
<v-row dense justify="center">
|
<v-row dense justify="center">
|
||||||
<v-dialog v-model="newItemDialog" max-width="360px" persistent>
|
<v-dialog v-model="newItemDialog" max-width="400px" persistent>
|
||||||
<v-card>
|
<v-card>
|
||||||
<v-card-title>{{ $ay.t("New") }}</v-card-title>
|
<v-card-title>{{ $ay.t("New") }}</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
|
<v-col cols="12">
|
||||||
|
<gz-pick-list
|
||||||
|
ref="customerId"
|
||||||
|
v-model="selectedCustomerId"
|
||||||
|
:aya-type="$ay.ayt().Customer"
|
||||||
|
:show-edit-icon="true"
|
||||||
|
:label="$ay.t('Customer')"
|
||||||
|
:can-clear="false"
|
||||||
|
></gz-pick-list>
|
||||||
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<v-btn
|
<v-btn
|
||||||
x-large
|
x-large
|
||||||
@@ -420,7 +430,8 @@ export default {
|
|||||||
lastMouseDownMS: null,
|
lastMouseDownMS: null,
|
||||||
tags: [],
|
tags: [],
|
||||||
lastStart: null,
|
lastStart: null,
|
||||||
lastEnd: null
|
lastEnd: null,
|
||||||
|
selectedCustomerId: null
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -495,6 +506,7 @@ export default {
|
|||||||
name: "workorder-edit",
|
name: "workorder-edit",
|
||||||
params: {
|
params: {
|
||||||
recordid: 0,
|
recordid: 0,
|
||||||
|
customerId: this.selectedCustomerId,
|
||||||
add: {
|
add: {
|
||||||
type: atype,
|
type: atype,
|
||||||
start: addStart,
|
start: addStart,
|
||||||
|
|||||||
Reference in New Issue
Block a user