This commit is contained in:
@@ -60,9 +60,8 @@ todo: v8 migrate additions
|
||||
..........................................................................................................
|
||||
* 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?
|
||||
number is always present, name optional?
|
||||
PO item not showing taxaviz and taxbviz
|
||||
@@ -957,6 +956,9 @@ build 105
|
||||
memo read now flags correctly
|
||||
taxcode form has default of .05 in taxa, change to zero
|
||||
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
|
||||
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
|
||||
//
|
||||
handleFormError(err, vm) {
|
||||
if (window.$gz.dev) {
|
||||
console.trace(err);
|
||||
}
|
||||
//called inside forms when things go unexpectedly wrong
|
||||
dealWithError(decodeError(err, vm), vm);
|
||||
},
|
||||
|
||||
@@ -105,6 +105,7 @@ export default {
|
||||
window.$gz.eventBus.$emit("menu-disable-item", FORM_KEY + ":save");
|
||||
vm.formState.loading = false;
|
||||
} catch (err) {
|
||||
// console.trace(err);
|
||||
vm.formState.ready = true;
|
||||
window.$gz.errorHandler.handleFormError(err, vm);
|
||||
}
|
||||
@@ -437,6 +438,7 @@ function initWorkingView(vm) {
|
||||
//de-lodash
|
||||
//let fld = window.$gz. _.find(vm.fieldDefinitions, ["fieldKey", lvItem.fld]);
|
||||
let fld = vm.fieldDefinitions.find(z => z.fieldKey == columns[i]);
|
||||
|
||||
let o = {
|
||||
key: fld.fieldKey,
|
||||
title: vm.$ay.t(fld.tKey),
|
||||
|
||||
@@ -6,20 +6,32 @@
|
||||
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
|
||||
<v-form ref="form">
|
||||
<v-row>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-text-field
|
||||
v-model="obj.serial"
|
||||
:readonly="formState.readOnly || !canEditSerial"
|
||||
:label="$ay.t('PurchaseOrderPONumber')"
|
||||
ref="serial"
|
||||
data-cy="serial"
|
||||
:rules="[
|
||||
form().integerValid(this, 'serial'),
|
||||
form().required(this, 'serial')
|
||||
]"
|
||||
:error-messages="form().serverErrors(this, 'serial')"
|
||||
@input="fieldValueChanged('serial')"
|
||||
></v-text-field>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3" v-if="obj.serial != 0">
|
||||
<template v-if="canEditSerial">
|
||||
<v-text-field
|
||||
v-model="obj.serial"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('PurchaseOrderPONumber')"
|
||||
ref="serial"
|
||||
data-cy="serial"
|
||||
:rules="[
|
||||
form().integerValid(this, 'serial'),
|
||||
form().required(this, 'serial')
|
||||
]"
|
||||
:error-messages="form().serverErrors(this, 'serial')"
|
||||
@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 cols="12" sm="6" lg="4" xl="3">
|
||||
<gz-pick-list
|
||||
|
||||
Reference in New Issue
Block a user