1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-07 18:25:45 +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"
autofocus
@change="preHandleChange"
@blur="customFocusLost"
@focus="focusGained"
@keydown.native="keyPressed"
@keyup.native="keyReleased"

View File

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

View File

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