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

75 Commits

Author SHA1 Message Date
Edwin Betancourt
0800511177
feat: Remove context (#508)
* Change definition for v-model of fields using reactive store

* change custom validateValue to custom and overwrite parsedValue.

* Delete unused parameters.

* Add queue for persistence

* fix: Create entity.

* Add return value as array for persistence

* Add multiple commit for panel

* remove commnets

* Change context session to preference.

* fix: Load window.

* Add support to seekrecord for panel

* Set default value to isActive columnName.

* set default values.

* Separate template mobile and panel desktop with mixin.

* set values into panel with first load of records.

* fix lookups value and display value.

* change `DisplayColumn_${columnName}` to `displayColumnName` property.

* fix create entity with default values.

* Set default values and fix browser search.

* fix context values from SmartBrowser.

* fix: Associated process.

* set context values to process associated.

* fix set values.

* fix style field components.

* fix send values to server.

Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-06-12 12:07:24 -04:00
Yamel Senih
c03a3278da
Add support to default date format from language definition (#494)
* Add support to default date format from language definition

* Add optional format for format field
2020-05-12 03:11:02 -04:00
Edwin Betancourt
3559c61e89
feat: Add handle focus to field. (#491)
* feat: Add handle focus to field.

* set example into test view and fix set focus with mounted hook.

* change named attributes.

* change attributes name to handleRequestFocus and handleContentSelection.
2020-05-08 17:01:06 -04:00
Edwin Betancourt
6f7b567195
feat: Add field locator warehouse (#490)
* Add locator wharehouse (#7)

* proposal for location component

* change props

* remove children if is empty

* redefine call data

Co-authored-by: leonel1524 <matosleonel0@gmail.com>

* feat: Add Locator Warehouse Field.

* remove unused code.

Co-authored-by: leonel1524 <matosleonel0@gmail.com>
2020-05-08 16:56:57 -04:00
Yamel Senih
50bac60614
Add support to ActionKeyPerformance event for implement enter event (#488) 2020-05-06 12:59:06 -04:00
Edwin Betancourt
e14171f335
fix: Not set value without fieldList. (#484) 2020-05-06 11:08:51 -04:00
Edwin Betancourt
098de4d8f3
feat: Add autofocus and showControl attributes. (#478) 2020-05-01 18:00:05 -04:00
Yamel Senih
49e82232f9
Add support to conditional for event handler (#474) 2020-04-30 00:44:03 -04:00
Yamel Senih
86fd3a432a
Bugfix/dynamic import (#473)
* first test es-lint babel.

* Update all dependencies and fix import dynamic import.

* Add support to docstatus

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
2020-04-29 23:39:57 -04:00
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
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
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
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
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
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
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
9dbf57a877
fix: Values in fields lookup (#407) 2020-03-16 19:08:25 -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
Edwin Betancourt
f0f0c81f03
fix: #398 Wrong distribution of field size. (#399) 2020-03-11 21:40:05 -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
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
da08c71f01
Add the workflow phases sequence (#346)
* indicate new row

* add focus in field text

* add workflow line

* delete console.log

* width the step

* confi the width

* add width fixed

* add scroll

* minimal  change

* add the vue-resize library to control panel behavior

* change version

* add List Status Document

* process the document status from the workflow line

* change name file

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
2020-02-27 19:28:21 -04:00
Edwin Betancourt
5bed6a5f45
fix: #370 Lookup with NaN values in advanced query. (#371) 2020-02-27 15:54:43 -04:00
Leonel Matos
de202000e3
Bugfix lookups labels (#369)
* Update version for gRPC data client

* bugfix display label in lookups components

Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-02-26 18:38:53 -04:00
elsiosanchez
d2fc0c5713
Support mobile (#359) 2020-02-25 18:22:12 -04:00
Edwin Betancourt
8f9c7f390d
fix: Display logic field when set empty value in parent field. (#357) 2020-02-25 09:18:35 -04:00
Edwin Betancourt
02c634e56d
fix: Fields that are not displayed by default and have a default value. (#345) 2020-02-25 08:49:20 -04:00
Edwin Betancourt
6ce282c65d
fix: Not resend request when hidden document status. (#339)
* fix: Not resend request when hidden document status.

* Validate store data to get documents actions.
2020-02-22 23:46:17 -04:00
elsiosanchez
4c507aa82a
indicate new row (#338)
* indicate new row

* add focus in field text

* minimal changes.

* delete unused method.

* scrollTop to new record table children

* minimal changes

* change color of new cell

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
2020-02-22 23:25:37 -04:00
Edwin Betancourt
c13741c5c7
fix: Not search records with NULL or NOT NULL operators. (#337) 2020-02-16 00:08:55 -04:00
elsiosanchez
1a3d50424f
correcting container info chats errors (#322)
* add document action

* order processing structure

* add document action

* order processing structure

* correcting errors when Process Order

* correcting initial load error

* update document action before processing

* refres action document

* add Markdown of chat

* Solve all chat problems

* Duplicate Record Error

* Library of MArkDown

Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-02-13 18:21:03 -04:00
Leonel Matos
2d9b33398e
bugfix multiple call for lookup item (#324) 2020-02-11 18:14:25 -04:00
EdwinBetanc0urt
7f74235073
Refactor code, remove unused methods and optimized application. (#318)
* Refactor code, remove unused methods and optimized application.

* Delete redundant action's, and some deprecated.

* Optimize delete record container to panels in window.

* fix delete tag view when change roles.
2020-02-10 21:13:19 -04:00
EdwinBetanc0urt
29ced53bcb
fix: Multiple requests block the browser. (#313) 2020-02-05 19:16:40 -04:00
EdwinBetanc0urt
cdaf4832cb
fix: Text Long not only change value to old value. (#303) 2020-02-05 19:10:12 -04:00
EdwinBetanc0urt
4de4076230
fix: The fields of type Yes-No and Number, take the fields as empty . (#299)
* fix: The fields of type Si-No and Number, take the fields as empty .

* fix: Values preference.
2020-02-04 00:49:33 -04:00
EdwinBetanc0urt
7870fdbfab
feat: Add operators comparison to advanced search. (#287)
* feat: Add operators comparison to advanced search.

* Set is null and not null operator.

* Add multiple values to IN and NOT IN operators.

* Add component render to set values to IN and NOT IN operators.

* Add IN and NOT IN operators in date component.

* Fix attribute comparison (isAdvancedQuery).
2020-01-31 12:53:04 -04:00
EdwinBetanc0urt
5beca7630a
fix: Zoom window in context info field. (#286) 2020-01-29 19:53:58 -04:00
EdwinBetanc0urt
5a38ada770
fix: Undefined method. (#285) 2020-01-29 17:30:53 -04:00
EdwinBetanc0urt
5e20b31640
ref: Separate context info field in component. (#281) 2020-01-29 16:11:42 -04:00