This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
:error-messages="this.$gzv.ServerErrors(this,'count')"
|
||||
required
|
||||
@change="Change('count')"
|
||||
type="number"
|
||||
></v-text-field>
|
||||
</v-flex>
|
||||
|
||||
@@ -63,6 +64,7 @@
|
||||
:rules="[this.$gzv.Decimal(this,'dollarAmount'),this.$gzv.Required(this,'dollarAmount')]"
|
||||
:error-messages="this.$gzv.ServerErrors(this,'dollarAmount')"
|
||||
@change="Change('dollarAmount')"
|
||||
type="number"
|
||||
></v-text-field>
|
||||
</v-flex>
|
||||
|
||||
@@ -105,19 +107,20 @@
|
||||
:error-messages="this.$gzv.ServerErrors(this,'roles')"
|
||||
required
|
||||
@change="Change('roles')"
|
||||
type="number"
|
||||
></v-text-field>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
|
||||
<v-layout align-center justify-space-around row wrap mt-5>
|
||||
<v-flex xs1>
|
||||
<v-btn>test 1</v-btn>
|
||||
<v-layout align-left justify-center row wrap mt-5>
|
||||
<v-flex xs6 sm4>
|
||||
<v-btn small @click="remove">{{ this.$gzlocale.get("Delete")}}</v-btn>
|
||||
</v-flex>
|
||||
<v-flex xs1>
|
||||
<v-btn>test2</v-btn>
|
||||
<v-flex xs6 sm4>
|
||||
<v-btn small>DUPLICATE?</v-btn>
|
||||
</v-flex>
|
||||
<v-flex xs1>
|
||||
<v-btn @click="submit">save</v-btn>
|
||||
<v-flex xs6 sm4>
|
||||
<v-btn small @click="submit">{{ this.$gzlocale.get("Save")}}</v-btn>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-form>
|
||||
@@ -232,6 +235,11 @@ export default {
|
||||
that.$gzHandleFormError(error, that);
|
||||
});
|
||||
}
|
||||
}, //end of submit()
|
||||
remove() {
|
||||
//check rights
|
||||
//do the delete
|
||||
alert("STUB: DELETE");
|
||||
} //end of submit()
|
||||
}
|
||||
};
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
v-model="input.username"
|
||||
prepend-icon="fa-user"
|
||||
label="User"
|
||||
autofocus
|
||||
required
|
||||
clearable
|
||||
autocomplete="off"
|
||||
|
||||
Reference in New Issue
Block a user