This commit is contained in:
@@ -60,9 +60,8 @@ todo: v8 migrate additions
|
|||||||
..........................................................................................................
|
..........................................................................................................
|
||||||
* todo JC misc list:
|
* todo JC misc list:
|
||||||
|
|
||||||
PartInventory data table errors out when click on column selector (see if others have same issue once figure out what the issue is)
|
|
||||||
PO form Hide serial field until an ID is set (i.e. don't show 0)
|
|
||||||
PO FOrm serial field read only unless superuser??
|
|
||||||
PO item to show part Name field as well but be hideable in customize form?
|
PO item to show part Name field as well but be hideable in customize form?
|
||||||
number is always present, name optional?
|
number is always present, name optional?
|
||||||
PO item not showing taxaviz and taxbviz
|
PO item not showing taxaviz and taxbviz
|
||||||
@@ -957,6 +956,9 @@ build 105
|
|||||||
memo read now flags correctly
|
memo read now flags correctly
|
||||||
taxcode form has default of .05 in taxa, change to zero
|
taxcode form has default of .05 in taxa, change to zero
|
||||||
Default warehouse try to enter a tag bombs with error
|
Default warehouse try to enter a tag bombs with error
|
||||||
|
PartInventory data table errors out when click on column selector
|
||||||
|
PO form Hide serial field until an ID is set (i.e. don't show 0)
|
||||||
|
PO FOrm serial field read only unless superuser
|
||||||
|
|
||||||
- not changed
|
- not changed
|
||||||
Tag extension should have tag picker instead of empty field in cases where you are picking from existing tags
|
Tag extension should have tag picker instead of empty field in cases where you are picking from existing tags
|
||||||
|
|||||||
@@ -180,6 +180,9 @@ export default {
|
|||||||
// translate, log and return error
|
// translate, log and return error
|
||||||
//
|
//
|
||||||
handleFormError(err, vm) {
|
handleFormError(err, vm) {
|
||||||
|
if (window.$gz.dev) {
|
||||||
|
console.trace(err);
|
||||||
|
}
|
||||||
//called inside forms when things go unexpectedly wrong
|
//called inside forms when things go unexpectedly wrong
|
||||||
dealWithError(decodeError(err, vm), vm);
|
dealWithError(decodeError(err, vm), vm);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ export default {
|
|||||||
window.$gz.eventBus.$emit("menu-disable-item", FORM_KEY + ":save");
|
window.$gz.eventBus.$emit("menu-disable-item", FORM_KEY + ":save");
|
||||||
vm.formState.loading = false;
|
vm.formState.loading = false;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
// console.trace(err);
|
||||||
vm.formState.ready = true;
|
vm.formState.ready = true;
|
||||||
window.$gz.errorHandler.handleFormError(err, vm);
|
window.$gz.errorHandler.handleFormError(err, vm);
|
||||||
}
|
}
|
||||||
@@ -437,6 +438,7 @@ function initWorkingView(vm) {
|
|||||||
//de-lodash
|
//de-lodash
|
||||||
//let fld = window.$gz. _.find(vm.fieldDefinitions, ["fieldKey", lvItem.fld]);
|
//let fld = window.$gz. _.find(vm.fieldDefinitions, ["fieldKey", lvItem.fld]);
|
||||||
let fld = vm.fieldDefinitions.find(z => z.fieldKey == columns[i]);
|
let fld = vm.fieldDefinitions.find(z => z.fieldKey == columns[i]);
|
||||||
|
|
||||||
let o = {
|
let o = {
|
||||||
key: fld.fieldKey,
|
key: fld.fieldKey,
|
||||||
title: vm.$ay.t(fld.tKey),
|
title: vm.$ay.t(fld.tKey),
|
||||||
|
|||||||
@@ -6,20 +6,32 @@
|
|||||||
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
|
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
|
||||||
<v-form ref="form">
|
<v-form ref="form">
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3" v-if="obj.serial != 0">
|
||||||
<v-text-field
|
<template v-if="canEditSerial">
|
||||||
v-model="obj.serial"
|
<v-text-field
|
||||||
:readonly="formState.readOnly || !canEditSerial"
|
v-model="obj.serial"
|
||||||
:label="$ay.t('PurchaseOrderPONumber')"
|
:readonly="formState.readOnly"
|
||||||
ref="serial"
|
:label="$ay.t('PurchaseOrderPONumber')"
|
||||||
data-cy="serial"
|
ref="serial"
|
||||||
:rules="[
|
data-cy="serial"
|
||||||
form().integerValid(this, 'serial'),
|
:rules="[
|
||||||
form().required(this, 'serial')
|
form().integerValid(this, 'serial'),
|
||||||
]"
|
form().required(this, 'serial')
|
||||||
:error-messages="form().serverErrors(this, 'serial')"
|
]"
|
||||||
@input="fieldValueChanged('serial')"
|
:error-messages="form().serverErrors(this, 'serial')"
|
||||||
></v-text-field>
|
@input="fieldValueChanged('serial')"
|
||||||
|
></v-text-field>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<div>
|
||||||
|
<span class="text-caption">
|
||||||
|
{{ $ay.t("PurchaseOrderPONumber") }}</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<span class="text-h5">{{ obj.serial }}</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<gz-pick-list
|
<gz-pick-list
|
||||||
|
|||||||
Reference in New Issue
Block a user