This commit is contained in:
2021-01-16 17:13:13 +00:00
parent c8578479ef
commit b75f4a2e3b
2 changed files with 14 additions and 15 deletions

View File

@@ -237,6 +237,12 @@ export default {
params: { recordid: tid.id } params: { recordid: tid.id }
}); });
break; break;
case ayatype.Part:
vm.$router.push({
name: "inv-part",
params: { recordid: tid.id }
});
break;
case ayatype.PartAssembly: case ayatype.PartAssembly:
vm.$router.push({ vm.$router.push({
name: "part-assembly-edit", name: "part-assembly-edit",

View File

@@ -116,8 +116,6 @@
></v-checkbox> ></v-checkbox>
</v-col> </v-col>
<v-col <v-col
v-if="form().showMe(this, 'PartManufacturerID')" v-if="form().showMe(this, 'PartManufacturerID')"
cols="12" cols="12"
@@ -133,34 +131,29 @@
:label="$ay.t('PartManufacturerID')" :label="$ay.t('PartManufacturerID')"
ref="manufacturerId" ref="manufacturerId"
data-cy="manufacturerId" data-cy="manufacturerId"
:error-messages=" :error-messages="form().serverErrors(this, 'manufacturerId')"
form().serverErrors(this, 'manufacturerId')
"
@input="fieldValueChanged('manufacturerId')" @input="fieldValueChanged('manufacturerId')"
></gz-pick-list> ></gz-pick-list>
</v-col> </v-col>
<v-col <v-col
v-if="form().showMe(this, 'PartAlternativeWholesalerNumber')" v-if="form().showMe(this, 'PartManufacturerNumber')"
cols="12" cols="12"
sm="6" sm="6"
lg="4" lg="4"
xl="3" xl="3"
> >
<v-text-field <v-text-field
v-model="obj.alternativeWholeSalerNumber" v-model="obj.manufacturerNumber"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('PartAlternativeWholesalerNumber')" :label="$ay.t('PartManufacturerNumber')"
ref="alternativeWholeSalerNumber" ref="manufacturerNumber"
data-cy="alternativeWholeSalerNumber" data-cy="manufacturerNumber"
:error-messages=" :error-messages="form().serverErrors(this, 'manufacturerNumber')"
form().serverErrors(this, 'alternativeWholeSalerNumber') @input="fieldValueChanged('manufacturerNumber')"
"
@input="fieldValueChanged('alternativeWholeSalerNumber')"
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col <v-col
v-if="form().showMe(this, 'PartWholesalerID')" v-if="form().showMe(this, 'PartWholesalerID')"
cols="12" cols="12"