1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-14 07:41:57 +08:00

86 Commits

Author SHA1 Message Date
Elsio Sanchez
09c9bea77d
corrections of errors in post services (#859)
Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
2021-05-20 10:22:48 -04:00
Elsio Sanchez
4766b1164a
Fix Price Checking (#854)
* Fix Price Checking

* Update request.js

* valide search value

* minimal changes

Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@outlook.com>
2021-05-18 17:16:52 -04:00
Elsio Sanchez
c3678bd5e1
fix service Create Order Line (#848)
Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
2021-05-13 16:22:17 -04:00
Yamel Senih
2e93a67e8a
Fixed error with POS services (#846) 2021-05-13 12:18:20 -04:00
Yamel Senih
ff4c1349e8
Separate Services (#843)
* Separate Services
- Dictionary: dictionary
- Common request: common
- ADempiere Generic API:common/api
- Dashboard Content: dashboard
- Dashboard favorites: dashboard/addons/user
- Dashboard Pending Documents: dashboard/addons/tasks
- User Management: user
- User enrollment: user/enrollment
- User Log: user/log
- Workflow metadata: workflow
- User Interface Common logic: user-interface/common
- User Interface Window tools: user-interface/window
- User Interface Smart Browser tools: user-interface/smart-browser
- User Interface Process tools: user-interface/process
- User Interface Attachment Management: user-interface/component/attachment
- User Interface Components Preference: user-interface/component/preference
- User Interface Components Private Access: user-interface/component/private-access
- User Interface Components Record Access: user-interface/component/record-access
- User Interface Components Notes: user-interface/component/notes
- User Interface Components Translation: user-interface/component/translation
- User Interface Forms / POS: form/addons/point-of-sales

* Minor change

* Remove persistence

* Untrack files

* Remove persistence

* resolve conflicts

* Update files
2021-05-12 18:46:49 -04:00
Elsio Sanchez
53ca1209c7
Add Translation Services Documentation (#841)
Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
2021-05-12 18:30:17 -04:00
Yamel Senih
925cf6d679
Feature/#sc add record access api (#794)
* Add API for get Record Access based on server

* support setRecordAcces

* Add mixin for view, this allows reuse code based on unique definition

* support record access

* Support Record Access in Mode Mobile

* minimal changes

Co-authored-by: elsiosanchez <elsiosanche@gmail.com>
2021-04-28 19:08:27 -04:00
Yamel Senih
82d10454eb
Add License to files inside project (#757)
* Add License to files inside project
This is recommended by GNU/gpl v3 according with it: https://www.gnu.org/licenses/gpl-3.0.html
```
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.

If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.

You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <https://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <https://www.gnu.org/licenses/why-not-lgpl.html>.
```

* Remove space
2021-04-17 16:19:45 -04:00
Yamel Senih
2b1d8f73ff
Improve request util (#712)
* Improve request util
- Improve request util based on basic and generic request
- Add ADempiere request layer (use it as template for others)
- Add Release information from github
- Chamge ADempiere request API fos a custom request

* Add release version

* Add rt-3.2 version

* Minmor change

* Add default action for release

* Add echo

* just a test

* Test release

* Add Release no version for test

* Add test for publish

* Add release no from tag
2021-04-04 16:38:38 -04:00
Yamel Senih
6f128a07d7
Remove unnecessary request utility (#706)
- Use default request utility from legacy source code
- Improve calling structure
- Implement posibility of create endpoint for request
- Allows define a generic calling for backend service
- Remove unnecessary functions
2021-04-01 03:23:11 -04:00
Yamel Senih
97830cdb47
Feature: Add preference service (#696)
* Add support to service of Save Preference from component

* remove unnecessary values

* Add service for delete preference

* add service delete preference

* Add translation for preference message

Co-authored-by: elsiosanchez <elsiosanches@gmail.com>
2021-03-26 17:28:12 -04:00
Elsio Sanchez
ca2f9bed3c
Support Private Access (#671)
* #667 Support Private Access

* fix bottons

* change lang

* rename service

* rename service
2021-03-23 12:16:20 -04:00
Yamel Senih
99525aa05a
Rename functions for location components (#683) 2021-03-22 16:38:05 -04:00
Yamel Senih
9393379516
Feature/#pos rename functions (#682)
* Rename functions for POS managemen

* Rename functions for image on key layout
2021-03-22 11:49:16 -04:00
Elsio Sanchez
4401c1d77d
Support Binary (#670)
* add services binary

* search for server image and use image service to view it

* add request Resource

* fix error and rename service

* rename service

Co-authored-by: Elsio Sanchez <elsiosanche@gmail.com>
2021-03-21 19:19:07 -04:00
Elsio Sanchez
7617bdbdf1
Support to Field Preference (#662)
* add field preference

* minimal changes

* remove input

* fix error

* raname service

* add information

* rename descrition the preference

Co-authored-by: Elsio Sanchez <elsiosanche@gmail.com>
2021-03-19 22:05:36 -04:00
Yamel Senih
44077e45f8
Improve display for locator component (#678) 2021-03-17 22:21:38 -04:00
Elsio Sanchez
42261cfdca
Bugfix/fix last name service create business partner (#651)
* change parameter

* tabindex the field

* bringing value from the context

Co-authored-by: Elsio Sanchez <elsiosanche@gmail.com>
2021-03-09 15:35:28 -04:00
Elsio Sanchez
eb4b746a9a
Bugfix/fix point router on initial load (#630)
* add complete order from collection

* call the edit line fields only when they are displayed

* unnecessary calling of customer fields

* minimal changes

* Add point id to the route on initial load

Co-authored-by: Elsio Sanchez <elsiosanche@gmail.com>
2021-03-05 12:08:57 -04:00
Elsio Sanchez
c0b3c2f5c3
support process order (#609)
Co-authored-by: Elsio Sanchez <elsiosanche@gmail.com>
2021-02-28 14:51:28 -04:00
Elsio Sanchez
737d85b0ba
Point of Sale Processes (#583)
* Cancel sale transaction

* minimal change

* Copy Order

* Copy Line the Order

* add Traslation
2021-02-11 11:55:45 -04:00
Elsio Sanchez
60223ecc14
support for payment methods (#578) 2021-02-03 00:35:27 -04:00
Elsio Sanchez
d63ef5aeb6
Correct order search error (#561)
* Correct order search error
solve product list and order popover error

* add the option to cancel the order

* minimal change

* change leng
2020-12-10 19:01:49 -04:00
Edwin Betancourt
0e22b1d714
fix: Lookup item direct query columnName not exist (#558)
Co-authored-by: EdwinBetanc0urt <EdwinBetanco0urt@outlook.com>
2020-12-04 08:59:31 -04:00
Yamel Senih
6338ac2a01 Resolve problem with undefined calling for values 2020-12-02 18:46:58 -04:00
Edwin Betancourt
273b10141f
feat: Change api config from function to constant. (#544)
Co-authored-by: EdwinBetanc0urt <EdwinBetanco0urt@outlook.com>
2020-11-23 22:14:40 -04:00
Elsio Sanchez
486afc8aa7
* correcting price query errors with the barcode (#546)
* add show or hide header
* add show or hide menu
2020-11-23 22:13:43 -04:00
Elsio Sanchez
b5ffa87141
add document status bar (#539)
* add document status bar

* remove console

Co-authored-by: elsiosanchez <elsiosanches@gmial.com>
2020-11-11 17:49:05 -04:00
Yamel Senih
26596bb7e3 Add support to config based on json values 2020-11-05 00:07:32 -04:00
Elsio Sanchez
9c90f63b3e
moving config.json to config folder (#536)
* moving config.json to config folder

* delete config

Co-authored-by: elsiosanchez <elsiosanches@gmial.com>
2020-11-04 17:42:23 -04:00
Elsio Sanchez
6d55b7cb52
Change environment variables (#534)
* Change environment variables

* change baseUrl

Co-authored-by: elsiosanchez <elsiosanches@gmial.com>
2020-11-04 16:15:17 -04:00
Edwin Betancourt
078b9256c7
Update constants.js (#531)
Change of the environment variables (`VUE_APP_API_REST_ADDRESS`) values.


https://github.com/adempiere/adempiere-vue-docker/pull/4
2020-10-30 12:24:12 -04:00
Edwin Betancourt
a54eb50793
fix: Delete order line and edit quantity. (#530)
Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@oulook.com>
2020-10-28 18:35:43 -04:00
Yamel Senih
6e54d93b9b
Add API REST support based on proxy-adempiere-api and backend implementation (#529) 2020-10-28 17:19:53 -04:00
Yamel Senih
40cc40a9ab
REfactory from Panjian changes, update gRPC library and components (#526) 2020-08-08 16:41:20 -04:00
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
Edwin Betancourt
a8b4b5b630
feat: Add support to package gRPC-Dictionary-Client v1.4.3. (#516) 2020-06-05 11:42:20 -04:00
Edwin Betancourt
9496d0937d
feat: Add grpc core client 1.0.7 (#502)
* feat: Add grpc-Core-Client v1.0.7.

* fix: isEmptyValue not defined

* change isEmptyValue.
2020-05-21 12:31:53 -04:00
Yamel Senih
303baee821
Fixed error with instance for dictionary based on new implementation of gRPC access (#500) 2020-05-20 13:48:26 -04:00
Edwin Betancourt
8727beefdc
feat: Add grpc core client support. (#495)
* feat: Add grpc core client support.

* export instances and catching error.
2020-05-15 10:57:53 -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
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
8d4f2a361f
Fixed error with document action request for documents (#481) 2020-05-04 22:34:01 -04:00
elsiosanchez
10bb3f19ea
add get country to system core (#476) 2020-04-30 15:46:56 -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
Yamel Senih
a52d2ee0de
Add support to set warehouse and organization for current role (#455) 2020-04-22 03:08:09 -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
9646f69708
feat: Add support to grpc-dictionary-client v1.3.8 (#449) 2020-04-17 10:11:20 -04:00
Edwin Betancourt
b97877674d
feat: Add implementation grpc-Dictionary-Client v1.3.7 (#448) 2020-04-16 15:06:48 -04:00