1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-13 23:20:12 +08:00

568 Commits

Author SHA1 Message Date
Yamel Senih
efe5f49e9e
Add functionality for event handler from any field, it define the follow global events: (#472)
- Action Performed: used for all **change** event
- Focus Gained: used for focus gained on field
- Focus Lost: used for focus lost on field
- Key Pressed: like to keydown
- Key Released: like keyup

For field events:
- notifyActionPerformed: when a value is changed
- notifyKeyPressed: when a key is press
- notifyKeyReleased: when a key is released
- notifyFocusGained: when a focus is gained in component
- notifyFocusLost: when a focus is lost from component
For Actions:
- notifyRunAction: used when a action is applied
Getters:
- getFieldEventList: get field event list from container UUID
- getActionEventList: get action event list from container UUID
2020-04-29 16:44:05 -04:00
Edwin Betancourt
6e9c48ad51
feat: Change size component implementation (#464)
* feat: Change size component implementation

* fix operators list.

* set size values in references.

* fix: Operator's comparison list.

* Set id with constants references.
2020-04-29 10:32:15 -04:00
Yamel Senih
840692cfb1
Just rename some functions for a definition more clean (#469) 2020-04-28 20:26:28 -04:00
Yamel Senih
1c133bc87c
Feature/#source code improve reorder implementation (#466)
* Improve source code and define structure for api
Note that currently does not exist a way for spared api and search from 
backend or push, this pull request want reorder use of api by 
functionality or tool:
- All inside ADempiere folder is dedicated for adempiere functionality
- ADempiere/dashboard: use this path for add your api resource for all 
related with dashboard, note that already exist a file named 
dashboard.js with standard dashboard for ADempiere, if you want to add a 
new dashboard just create a new file <dashboard name>.js for gest info 
from backend
- ADempiere/form: used for all form, for now exist the first 
implementation named price-checking.js that matched with 
components/ADempiere/form/PriceChecking, if you want to add a new form 
just add a new file here
- ADempiere/browser.js: browser is a native functionality for Smart 
Browser tool, just add here all functions related for browser
- ADempiere/private-access.js: just handle private access, will be used 
for add role table access and record access (nice to have)
- ADempiere/process.js: related with all action for process and get 
information from server like getProcessLog and others
- ADempiere/report.js: get info like getReportOutput from parameters 
used for window report and change print formats
- ADempiere/rule.js: for now is used for dispatch callouts from server 
but will be implemented for run rules directly for client on languages 
like javascript, kotlin and groovy
- ADempiere/system-core.js: just get generic functions like 
getWarehouseList and organization, also can be used for get langages and 
other infor from server
- ADempiere/values.js: get info like lookup list, default values and 
other values like systen configurator
- ADempiere/window.js: all functions related to window like record log, 
workflow log and other infor that can be used for container
- ADempiere/persistence.js: handle standard CRUD for all entities and 
implement functions like getTranslation from entity

* Improve source code and define structure for api
Note that currently does not exist a way for spared api and search from 
backend or push, this pull request want reorder use of api by 
functionality or tool:
- All inside ADempiere folder is dedicated for adempiere functionality
- ADempiere/dashboard: use this path for add your api resource for all 
related with dashboard, note that already exist a file named 
dashboard.js with standard dashboard for ADempiere, if you want to add a 
new dashboard just create a new file <dashboard name>.js for gest info 
from backend
- ADempiere/form: used for all form, for now exist the first 
implementation named price-checking.js that matched with 
components/ADempiere/form/PriceChecking, if you want to add a new form 
just add a new file here
- ADempiere/browser.js: browser is a native functionality for Smart 
Browser tool, just add here all functions related for browser
- ADempiere/private-access.js: just handle private access, will be used 
for add role table access and record access (nice to have)
- ADempiere/process.js: related with all action for process and get 
information from server like getProcessLog and others
- ADempiere/report.js: get info like getReportOutput from parameters 
used for window report and change print formats
- ADempiere/rule.js: for now is used for dispatch callouts from server 
but will be implemented for run rules directly for client on languages 
like javascript, kotlin and groovy
- ADempiere/system-core.js: just get generic functions like 
getWarehouseList and organization, also can be used for get langages and 
other infor from server
- ADempiere/values.js: get info like lookup list, default values and 
other values like systen configurator
- ADempiere/window.js: all functions related to window like record log, 
workflow log and other infor that can be used for container
- ADempiere/persistence.js: handle standard CRUD for all entities and 
implement functions like getTranslation from entity
2020-04-28 01:39:27 -04:00
elsiosanchez
4e397e5636
fix infinite loop error in log record (#462) 2020-04-24 18:07:58 -04:00
Yamel Senih
0529d20676
Rename form (#458) 2020-04-23 23:21:55 -04:00
Edwin Betancourt
0d7aa7c72f
fix: Mandatory fields empty. (#456) 2020-04-23 20:33:40 -04:00
Yamel Senih
9d59700aa5
Improves/reduce create form (#457)
* improves: Reduce and more easy create news Forms.

* fix: Overwrite template metadata component with metadata prop from mixin

* Add search from server for product price inquiry

* add isEvaluateValueChanges.

* Add support to latest version from POS client

* Add clean for all fields

* add style with prop cssClassName

* Add style for components

* fix subscribe mutation's and add set value and set values.

* Change error by info for form

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
2020-04-23 20:26:18 -04:00
Yamel Senih
b6450dc406
Add Dictionary fields from ADempiere (#454) 2020-04-20 01:12:42 -04:00
Edwin Betancourt
20a3bc3025
feat: Add load dynamic form with fileName. (#450)
* feat: Add load dynamic form with fileName.

* Load Form metadata from server.
2020-04-18 16:43:07 -04:00
Edwin Betancourt
7fd5c8f334
fix: Test View error when change value into field. (#446)
* fix: Test View error when change value into field.

* remove console.log

* add support to references fields for manual forms

* fix logic's Test View.

* change definition lookup factory.

* Some changes

* Add support to factory from ADempiere

Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-04-17 11:04:47 -04:00
elsiosanchez
dcc956d07c
validate actions in Smart Browser (#442) 2020-04-14 00:11:56 -04:00
elsiosanchez
79cc4d0cbb
Activate the calculator enter action using a native JavaScript method (#441) 2020-04-14 00:11:14 -04:00
Yamel Senih
7fcf5bb9a5
Feature/tets view (#445)
* feat: Add test view to components field.

* date component render.

* Change references.js location to util folder

* Add LookupFactory util loader to be improve:
- Number fields
- Table/Search/TableDir: Missing reference values
- All: field list is missing for it, maybe can be improve with 
IsCustomField attribute

* Change reference name

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
2020-04-14 00:09:17 -04:00
Yamel Senih
b5441183fb
Revert "Set value to filter lookups list (#343)" (#443)
This reverts commit 6258abb6e1518d7d2c79478a430a3dd66aae48c4.
2020-04-09 02:10:43 -04:00
Leonel Matos
6258abb6e1
Set value to filter lookups list (#343)
* Set value to filter lookups list

* change data client version

* bugfix display value without label

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-04-09 00:42:24 -04:00
Yamel Senih
8a792e1803
Fixed error with document action list component population (#439) 2020-04-07 17:48:24 -04:00
Yamel Senih
8d0fcc04f9
Fixed error with value for list (#438) 2020-04-07 16:53:36 -04:00
Edwin Betancourt
8385415ec0
fix #341 Send double values with 0 values in decimals (#342)
* fix convert float values to double values with grpc.

* Update package.json

* fix send double values with callout.

* Change Double value to Decimal value.

* fixed FIELDS_FLOATS to FIELDS_DECIMALS

* Change references by correct valuess Q

* Update version for data management

* Add support to latest version for data 2.1.6

Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-04-07 02:46:50 -04:00
Edwin Betancourt
78e2c19468
fix: Lookup with -1 as default value. (#435) 2020-04-06 13:12:55 -04:00
Edwin Betancourt
a617189dc7
fix: Without data refreshing on different child tab than the first. (#433) 2020-04-05 21:53:14 -04:00
Yamel Senih
981c96551b
Fixed error with parameter name for workflow process used for document action for documents (#431) 2020-04-02 23:25:53 -04:00
Yamel Senih
80f62e6fdd
Fixed error with call service for list document statuses when a record is new (#430) 2020-04-02 23:21:57 -04:00
Edwin Betancourt
c8146819e4
fix: Context menu relations in report view. (#427) 2020-04-02 19:53:16 -04:00
Edwin Betancourt
927de4aa33
improves: Optimize the times data is consulted in the vuex store (#426)
* improves: Optimize the times data is consulted in the vuex store

* Improves to get store tab.
2020-04-02 04:06:54 -04:00
elsiosanchez
ee9feded0c
error requests when advanced query (#424)
* current record request in the container info

* Delete unnecessary console
2020-04-02 04:03:06 -04:00
Leonel Matos
24a2a09762
fix #421 Display field type date in table (#422) 2020-03-27 17:39:15 -04:00
Leonel Matos
ee937abbe0
bugfix send values to server from calculator (#380)
* bugfix send values to server from calculator

* bugfix send values to field

* bug fix in allowed values

* support disabled to calculator

* change method of comparing regular expression

* bugfix calculate value from new record

* some bugfix

* bugfix values

* changes for values

Co-authored-by: elsiosanchez <elsiosanches@gmail.com>
Co-authored-by: erp <erp@erp.erp>
2020-03-27 16:37:29 -04:00
elsiosanchez
e6fd209d2b
reolve the activate focus primary field (#417) 2020-03-24 21:40:02 -04:00
Edwin Betancourt
8c9e2f0513
fix: Print formats unnecessary request. (#414) 2020-03-24 21:34:57 -04:00
Edwin Betancourt
1e837db9e0
fix: Run process notification without session (#413)
* fix: Show notification run process without session.

* close notification after response.
2020-03-24 21:32:22 -04:00
Edwin Betancourt
8258da6001
fix: Console error when login redirect to window. (#412)
* fix: Console error when login redirect.

* Update file.
2020-03-24 21:28:51 -04:00
Leonel Matos
83081b6d6d
bugfix load data in tab childs after save record (#409)
Co-authored-by: erp <erp@erp.erp>
2020-03-16 19:11:52 -04:00
Edwin Betancourt
9dbf57a877
fix: Values in fields lookup (#407) 2020-03-16 19:08:25 -04:00
elsiosanchez
b45740e3a3
indicate new record in parent table (#406) 2020-03-16 19:05:12 -04:00
Edwin Betancourt
20dfa472b1
fix: #401 Display logics show more fields than they need to be (#402)
* fix: #401 Display logic's showed fields.

* Update evaluator.js

* minor changes.
2020-03-16 16:19:50 -04:00
elsiosanchez
a51989f3ec
Select at 0 in the table (#403)
When the select is empty in the table it shows the value 0 you should place it white
2020-03-11 21:46:35 -04:00
Edwin Betancourt
f0f0c81f03
fix: #398 Wrong distribution of field size. (#399) 2020-03-11 21:40:05 -04:00
Edwin Betancourt
902832ee79
fix: The references associated with a record are not displayed. (#396) 2020-03-11 21:36:44 -04:00
Edwin Betancourt
206fedb198
fix: Default values that are @SQL= on the first load (#391) 2020-03-11 21:34:21 -04:00
Leonel Matos
a589941a30
fix set field definitions (#389) 2020-03-11 21:30:37 -04:00
elsiosanchez
acedbb88de
Show sequence options in the table menu (#388)
* Show sequence options in the table menu

* Open sequence modal
2020-03-11 21:28:20 -04:00
Edwin Betancourt
f57a3bd11e
fix: Unnecessary request in tab children. (#385) 2020-03-11 21:24:33 -04:00
elsiosanchez
fab480816b
unnecessary requests (#383)
* unnecessary requests

* validate isDocument

* validate when new registration
2020-03-11 21:23:05 -04:00
elsiosanchez
2c586f6a7e
Add default icon to run a Report or Process by default (#382) 2020-03-11 20:58:07 -04:00
elsiosanchez
d8f4b7e89c
identificate new record (#381)
* new record in table parent

* validate is new record
2020-03-11 20:56:21 -04:00
Edwin Betancourt
1f97c9f339
fix: Request document statuses only window is document (#377) 2020-02-29 17:37:35 -04:00
elsiosanchez
278fad1bfa
change tabs from the path (#376) 2020-02-29 17:36:50 -04:00
Leonel Matos
618a24d22f
Add calculator component to numeric references (#349)
* add calc component

* change display values to top

* Update version for gRPC data client

* redefine styles and enter key press event

* Revert "Merge branch 'develop' of https://github.com/erpcya/adempiere-vue into develop"

This reverts commit eaa9477d2b52e87962b7610fda7944fc944460a6.

* Revert "Merge branch 'develop' of https://github.com/erpcya/adempiere-vue into develop"

This reverts commit eaa9477d2b52e87962b7610fda7944fc944460a6.

* add mathematical operation directly from field

* add value to math operation in real time

* minor changes

* minor changes

* validate input values

* redefine logics

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-02-28 02:21:51 -04:00
elsiosanchez
48ca22482c
focus only on fields that are type text and number (#374) 2020-02-28 02:19:08 -04:00