1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 12:01:57 +08:00

Click incremented POS line quantities (#1050)

* Add functionality to the quantity increment and decrement button

* Validate minimum quantity

Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
Elsio Sanchez 2021-08-12 12:41:38 -04:00 committed by GitHub
parent 127f014b72
commit 5fa463d741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,6 @@
:class="cssClassStyle" :class="cssClassStyle"
autofocus autofocus
@change="preHandleChange" @change="preHandleChange"
@blur="customFocusLost"
@focus="focusGained" @focus="focusGained"
@keydown.native="keyPressed" @keydown.native="keyPressed"
@keyup.native="keyReleased" @keyup.native="keyReleased"

View File

@ -62,7 +62,7 @@
@command="changeDocumentType" @command="changeDocumentType"
> >
<span> <span>
<icon class="el-icon-document" /> <el-icon class="el-icon-document" />
<b style="cursor: pointer"> {{ currentDocumentType.name }} </b> <b style="cursor: pointer"> {{ currentDocumentType.name }} </b>
</span> </span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">

View File

@ -22,6 +22,7 @@ export default [
overwriteDefinition: { overwriteDefinition: {
size: 24, size: 24,
sequence: 8, sequence: 8,
valueMin: 0,
handleActionPerformed: true, handleActionPerformed: true,
handleContentSelection: true, handleContentSelection: true,
handleFocusGained: true, handleFocusGained: true,
@ -35,6 +36,7 @@ export default [
overwriteDefinition: { overwriteDefinition: {
size: 24, size: 24,
sequence: 9, sequence: 9,
valueMin: 0,
handleActionPerformed: true, handleActionPerformed: true,
handleContentSelection: true, handleContentSelection: true,
handleActionKeyPerformed: true handleActionKeyPerformed: true
@ -46,6 +48,7 @@ export default [
isFromDictionary: true, isFromDictionary: true,
overwriteDefinition: { overwriteDefinition: {
size: 24, size: 24,
valueMin: 0,
sequence: 10, sequence: 10,
handleActionPerformed: true, handleActionPerformed: true,
handleContentSelection: true, handleContentSelection: true,