This commit is contained in:
@@ -188,11 +188,6 @@ todo: how to add locale keys in future after release without erasing all data?
|
|||||||
CURRENTLY DOING: PurchaseOrder - restock required
|
CURRENTLY DOING: PurchaseOrder - restock required
|
||||||
|
|
||||||
|
|
||||||
todo: if poitem has woitempartrequest (is a part request)
|
|
||||||
quantity can not be any different than the requested amount, that entire line item must be dedicated to the part request which makes
|
|
||||||
restock reports etc much easier to handle
|
|
||||||
can code this now even though the wo is not there yet as potiem already has that field, in fact I think it's done already but double check
|
|
||||||
|
|
||||||
todo: can edit po number but if I set an existing po number 4 to 23 for example and the last autogenerated is 22 it will happily make another 23 so there are now two
|
todo: can edit po number but if I set an existing po number 4 to 23 for example and the last autogenerated is 22 it will happily make another 23 so there are now two
|
||||||
what I want to happen is it skips existing numbers
|
what I want to happen is it skips existing numbers
|
||||||
Research this method and how I can work with it and give it a good think because it maybe a dangerous thing to expose or just fuckery
|
Research this method and how I can work with it and give it a good think because it maybe a dangerous thing to expose or just fuckery
|
||||||
|
|||||||
@@ -9,9 +9,7 @@
|
|||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model="obj.serial"
|
v-model="obj.serial"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly || !canEditSerial"
|
||||||
:clearable="!formState.readOnly"
|
|
||||||
@click:clear="fieldValueChanged('serial')"
|
|
||||||
:label="$ay.t('PurchaseOrderPONumber')"
|
:label="$ay.t('PurchaseOrderPONumber')"
|
||||||
ref="serial"
|
ref="serial"
|
||||||
data-cy="serial"
|
data-cy="serial"
|
||||||
@@ -21,7 +19,6 @@
|
|||||||
]"
|
]"
|
||||||
:error-messages="form().serverErrors(this, 'serial')"
|
:error-messages="form().serverErrors(this, 'serial')"
|
||||||
@input="fieldValueChanged('serial')"
|
@input="fieldValueChanged('serial')"
|
||||||
type="number"
|
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
@@ -932,6 +929,9 @@ export default {
|
|||||||
serverError: {}
|
serverError: {}
|
||||||
},
|
},
|
||||||
rights: window.$gz.role.defaultRightsObject(),
|
rights: window.$gz.role.defaultRightsObject(),
|
||||||
|
canEditSerial: window.$gz.role.hasRole([
|
||||||
|
window.$gz.role.AUTHORIZATION_ROLES.BizAdminFull
|
||||||
|
]),
|
||||||
ayaType: window.$gz.type.PurchaseOrder,
|
ayaType: window.$gz.type.PurchaseOrder,
|
||||||
currencyName: window.$gz.locale.getCurrencyName(),
|
currencyName: window.$gz.locale.getCurrencyName(),
|
||||||
timeZoneName: window.$gz.locale.getResolvedTimeZoneName(),
|
timeZoneName: window.$gz.locale.getResolvedTimeZoneName(),
|
||||||
|
|||||||
Reference in New Issue
Block a user