2020-12-13 13:57:42 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
|
|
|
data="$ctrl.creditClassification"
|
|
|
|
form="form"
|
|
|
|
save="patch">
|
|
|
|
</vn-watcher>
|
2019-11-10 10:08:44 +00:00
|
|
|
<form name="form" ng-submit="$ctrl.onSubmit()" class="vn-w-md">
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-card class="vn-pa-lg">
|
2018-03-14 10:36:57 +00:00
|
|
|
<vn-horizontal>
|
2019-10-08 21:57:02 +00:00
|
|
|
<vn-input-number
|
|
|
|
vn-one
|
|
|
|
min="0"
|
2018-03-28 13:07:48 +00:00
|
|
|
label="Credit"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="$ctrl.creditClassification.credit"
|
2019-10-11 15:38:04 +00:00
|
|
|
rule
|
2018-03-28 13:07:48 +00:00
|
|
|
vn-focus>
|
2019-03-26 06:29:45 +00:00
|
|
|
</vn-input-number>
|
2019-10-08 21:57:02 +00:00
|
|
|
<vn-input-number
|
|
|
|
vn-one
|
|
|
|
min="0"
|
|
|
|
step="1"
|
2018-03-28 13:07:48 +00:00
|
|
|
label="Grade"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="$ctrl.creditClassification.grade"
|
2019-10-11 15:38:04 +00:00
|
|
|
rule>
|
2019-03-26 06:29:45 +00:00
|
|
|
</vn-input-number>
|
2018-03-14 10:36:57 +00:00
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="Since"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="$ctrl.creditClassification.started">
|
2018-03-14 10:36:57 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
2020-12-13 13:57:42 +00:00
|
|
|
<vn-submit
|
|
|
|
ng-if="watcher.dataChanged()"
|
|
|
|
label="Save">
|
|
|
|
</vn-submit>
|
|
|
|
<vn-button
|
|
|
|
ui-sref="client.card.creditInsurance.index"
|
|
|
|
label="Cancel">
|
|
|
|
</vn-button>
|
2018-03-14 10:36:57 +00:00
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|