2018-05-31 09:52:39 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
|
|
|
form="form">
|
|
|
|
</vn-watcher>
|
2018-04-04 17:59:03 +00:00
|
|
|
<form name="form" ng-submit="$ctrl.submit()">
|
|
|
|
<vn-card pad-large>
|
|
|
|
<vn-title>Item barcode</vn-title>
|
|
|
|
<vn-horizontal ng-repeat="barcode in $ctrl.barcodes track by $index">
|
|
|
|
<vn-textfield
|
|
|
|
vn-three
|
|
|
|
label="Code"
|
|
|
|
model="barcode.code"
|
2018-04-19 12:46:06 +00:00
|
|
|
vn-acl="buyer, replenisher"
|
|
|
|
vn-focus>
|
2018-04-04 17:59:03 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-icon
|
2018-04-05 07:06:35 +00:00
|
|
|
pad-medium-top
|
|
|
|
vn-acl="buyer,replenisher"
|
|
|
|
pointer
|
2018-04-04 17:59:03 +00:00
|
|
|
medium-grey
|
2018-04-19 12:46:06 +00:00
|
|
|
vn-tooltip="Remove barcode"
|
2018-04-04 17:59:03 +00:00
|
|
|
icon="remove_circle_outline"
|
|
|
|
ng-click="$ctrl.removeBarcode($index)">
|
|
|
|
</vn-icon>
|
|
|
|
</vn-horizontal>
|
2018-04-05 07:06:35 +00:00
|
|
|
<vn-one>
|
2018-04-19 12:46:06 +00:00
|
|
|
<vn-icon-button
|
2018-04-05 07:06:35 +00:00
|
|
|
vn-acl="buyer, replenisher"
|
2018-04-19 12:46:06 +00:00
|
|
|
vn-tooltip="Add barcode"
|
2018-04-23 09:17:30 +00:00
|
|
|
vn-bind="+"
|
2018-05-22 09:44:24 +00:00
|
|
|
icon="add_circle"
|
2018-04-05 07:06:35 +00:00
|
|
|
ng-click="$ctrl.addBarcode()">
|
2018-04-19 12:46:06 +00:00
|
|
|
</vn-icon-button>
|
2018-04-05 07:06:35 +00:00
|
|
|
</vn-one>
|
2018-04-04 17:59:03 +00:00
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
|
|
|
<vn-submit label="Save"></vn-submit>
|
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|