8144-devToTest_2448 #3216
|
@ -11,26 +11,26 @@
|
|||
<vn-card class="vn-pa-lg">
|
||||
<vn-vertical>
|
||||
<vn-textfield
|
||||
label="Code"
|
||||
label="Code"
|
||||
ng-model="$ctrl.itemType.code"
|
||||
rule
|
||||
vn-focus>
|
||||
</vn-textfield>
|
||||
<vn-textfield
|
||||
label="Name"
|
||||
label="Name"
|
||||
ng-model="$ctrl.itemType.name"
|
||||
rule>
|
||||
</vn-textfield>
|
||||
<vn-autocomplete
|
||||
label="Worker"
|
||||
label="Worker"
|
||||
ng-model="$ctrl.itemType.workerFk"
|
||||
url="Workers"
|
||||
show-field="firstName"
|
||||
url="Workers/search"
|
||||
show-field="nickname"
|
||||
value-field="id"
|
||||
rule>
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
label="Category"
|
||||
label="Category"
|
||||
ng-model="$ctrl.itemType.categoryFk"
|
||||
url="ItemCategories"
|
||||
show-field="name"
|
||||
|
@ -38,7 +38,7 @@
|
|||
rule>
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
label="Temperature"
|
||||
label="Temperature"
|
||||
ng-model="$ctrl.itemType.temperatureFk"
|
||||
url="Temperatures"
|
||||
show-field="name"
|
||||
|
@ -59,4 +59,4 @@
|
|||
ng-click="watcher.loadOriginalData()">
|
||||
</vn-button>
|
||||
</vn-button-bar>
|
||||
</form>
|
||||
</form>
|
||||
|
|
|
@ -12,26 +12,26 @@
|
|||
<vn-card class="vn-pa-lg">
|
||||
<vn-vertical>
|
||||
<vn-textfield
|
||||
label="Code"
|
||||
label="Code"
|
||||
ng-model="$ctrl.itemType.code"
|
||||
rule
|
||||
vn-focus>
|
||||
</vn-textfield>
|
||||
<vn-textfield
|
||||
label="Name"
|
||||
label="Name"
|
||||
ng-model="$ctrl.itemType.name"
|
||||
rule>
|
||||
</vn-textfield>
|
||||
<vn-autocomplete
|
||||
label="Worker"
|
||||
label="Worker"
|
||||
ng-model="$ctrl.itemType.workerFk"
|
||||
url="Workers"
|
||||
show-field="firstName"
|
||||
url="Workers/search"
|
||||
show-field="nickname"
|
||||
value-field="id"
|
||||
rule>
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
label="Category"
|
||||
label="Category"
|
||||
ng-model="$ctrl.itemType.categoryFk"
|
||||
url="ItemCategories"
|
||||
show-field="name"
|
||||
|
@ -39,7 +39,7 @@
|
|||
rule>
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
label="Temperature"
|
||||
label="Temperature"
|
||||
ng-model="$ctrl.itemType.temperatureFk"
|
||||
url="Temperatures"
|
||||
show-field="name"
|
||||
|
|
Loading…
Reference in New Issue