This commit is contained in:
@@ -145,11 +145,7 @@
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
v-if="
|
||||
pvm.useInventory &&
|
||||
form().showMe(this, 'WorkOrderItemPartPartWarehouseID') &&
|
||||
!value.userIsRestrictedType
|
||||
"
|
||||
v-if="pvm.useInventory && !value.userIsRestrictedType"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
@@ -183,13 +179,7 @@
|
||||
@update:name="warehouseChange"
|
||||
></gz-pick-list>
|
||||
</v-col>
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'WorkOrderItemPartQuantity')"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<gz-decimal
|
||||
:ref="
|
||||
`Items[${activeWoItemIndex}].parts[${activeItemIndex}].quantity`
|
||||
@@ -580,11 +570,7 @@ export default {
|
||||
value: "partNameViz"
|
||||
});
|
||||
|
||||
if (
|
||||
this.pvm.useInventory &&
|
||||
this.form().showMe(this, "WorkOrderItemPartPartWarehouseID") &&
|
||||
!this.value.userIsRestrictedType
|
||||
) {
|
||||
if (this.pvm.useInventory && !this.value.userIsRestrictedType) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartPartWarehouseID"),
|
||||
align: "left",
|
||||
@@ -592,13 +578,12 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartQuantity")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartQuantity"),
|
||||
align: "right",
|
||||
value: "quantity"
|
||||
});
|
||||
}
|
||||
//always required
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartQuantity"),
|
||||
align: "right",
|
||||
value: "quantity"
|
||||
});
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartSuggestedQuantity")) {
|
||||
headers.push({
|
||||
|
||||
Reference in New Issue
Block a user