mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 12:01:57 +08:00
How to create and delete preference in desktop and mobile version (#815)
This commit is contained in:
parent
4b2e5469b2
commit
51a412499f
@ -6,6 +6,7 @@ Permite establecer el valor de un registro de manera predeterminada, el mismo se
|
|||||||
- **Check Organización**: Establece el valor para todas las organizaciones
|
- **Check Organización**: Establece el valor para todas las organizaciones
|
||||||
- **Check Usuario**: Establece el valor para todos los usuarios
|
- **Check Usuario**: Establece el valor para todos los usuarios
|
||||||
- **Check Ventana**: Establece el valor para todas las ventanas
|
- **Check Ventana**: Establece el valor para todas las ventanas
|
||||||
|
|
||||||
## Versión ADempiere-ZK
|
## Versión ADempiere-ZK
|
||||||
|
|
||||||
<img :src="$withBase('/images/components/preference/zk-desktop-version-preference.png')" alt="Preferencia en Versión de Escritorio ZK" width="800px">
|
<img :src="$withBase('/images/components/preference/zk-desktop-version-preference.png')" alt="Preferencia en Versión de Escritorio ZK" width="800px">
|
||||||
@ -30,18 +31,36 @@ Sirve para establecer valores de manera predeterminada en base a la compañía,
|
|||||||
|
|
||||||
## Funciones u Observaciones
|
## Funciones u Observaciones
|
||||||
|
|
||||||
|
::: tip
|
||||||
Por defecto, el campo contiene de la configuración de preferencia
|
Por defecto, el campo contiene de la configuración de preferencia
|
||||||
|
|
||||||
- **Para todas las Organizaciones de esta Compañía, este Usuario y esta Ventana**
|
- **Para todas las Organizaciones de esta Compañía, este Usuario y esta Ventana**
|
||||||
|
:::
|
||||||
|
|
||||||
## ¿Cómo se utiliza en la versión de Escritorio?
|
## ¿Cómo se utiliza en la versión de Escritorio?
|
||||||
|
|
||||||
En la versión de escritorio se hace clic sobre el campo para visualizar el menú desplegado por el mismo, luego se selecciona la opción "**Preferencia**", para establecer el valor de preferencia requerido.
|
En la versión de escritorio se hace clic sobre el campo para visualizar el menú desplegado por el mismo, luego se selecciona la opción "**Preferencia**", para establecer el valor de preferencia requerido.
|
||||||
|
|
||||||
|
### Crear Preferencia
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Borrar Preferencia
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## ¿Cómo se utiliza en la versión móvil?
|
## ¿Cómo se utiliza en la versión móvil?
|
||||||
|
|
||||||
En la versión móvil se hace clic sobre el campo para visualizar el menú desplegado por el mismo, luego se selecciona la opción "**Preferencia**", para establecer el valor de preferencia requerido.
|
En la versión móvil se hace clic sobre el campo para visualizar el menú desplegado por el mismo, luego se selecciona la opción "**Preferencia**", para establecer el valor de preferencia requerido.
|
||||||
|
|
||||||
|
### Crear Preferencia
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Borrar Preferencia
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Opciones para el Desarrollador
|
## Opciones para el Desarrollador
|
||||||
|
|
||||||
El diálogo de **Preferencia** se encuentra en la siguiente ruta:
|
El diálogo de **Preferencia** se encuentra en la siguiente ruta:
|
||||||
@ -57,3 +76,9 @@ El diálogo de **Preferencia** se encuentra en la siguiente ruta:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Aquí puede ver un [Demo](https://demo-ui.erpya.com/#/7aa4242a-93c0-42d8-92be-8250002d3e3c/d97027fd-4cd5-445e-8fd8-ef5d3f7959b4/window/53418?tabParent=0&action=fa50908e-40f1-11e9-91a1-0242ac140002)
|
Aquí puede ver un [Demo](https://demo-ui.erpya.com/#/7aa4242a-93c0-42d8-92be-8250002d3e3c/d97027fd-4cd5-445e-8fd8-ef5d3f7959b4/window/53418?tabParent=0&action=fa50908e-40f1-11e9-91a1-0242ac140002)
|
||||||
|
|
||||||
|
### Por hacer
|
||||||
|
|
||||||
|
En la versión ADempiere-UI, las preferencias de campo no están configuradas. Por tanto, se requiere que se corrija el problema para que se puedan establecer estas preferencias.
|
||||||
|
|
||||||
|
Este problema se informó en los problemas: https://github.com/adempiere/adempiere-vue/issues/814
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
# Preference
|
# Preference
|
||||||
|
|
||||||
Allows set a default value for a record, the value can be set for the follows entities:
|
Allows set a default value for a record, the value can be set for the follows entities:
|
||||||
@ -31,18 +32,36 @@ Just set the default value for a field on a client, window, organization or wind
|
|||||||
|
|
||||||
## Functions and comments
|
## Functions and comments
|
||||||
|
|
||||||
|
::: tip
|
||||||
The default value for all entities checks is the follow:
|
The default value for all entities checks is the follow:
|
||||||
|
|
||||||
- **For all organizations of this Client, this User and this Window**
|
- **For all organizations of this Client, this User and this Window**
|
||||||
|
:::
|
||||||
|
|
||||||
## How work in desktop version?
|
## How work in desktop version?
|
||||||
|
|
||||||
In desktop version just make click over a field and select the option "**Preference**", the preference dialog will be showed at center.
|
In desktop version just make click over a field and select the option "**Preference**", the preference dialog will be showed at center.
|
||||||
|
|
||||||
|
### Create Preference
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Delete Preference
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## How work in mobile version?
|
## How work in mobile version?
|
||||||
|
|
||||||
In mobile version just make click over a field and select the option "**Preference**", the preference dialog will be opened at right as a drawer.
|
In mobile version just make click over a field and select the option "**Preference**", the preference dialog will be opened at right as a drawer.
|
||||||
|
|
||||||
|
### Create Preference
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Delete Preference
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Develop Options
|
## Develop Options
|
||||||
|
|
||||||
The **Preference** dialog was written on the follow path:
|
The **Preference** dialog was written on the follow path:
|
||||||
@ -57,3 +76,9 @@ The **Preference** dialog was written on the follow path:
|
|||||||
|
|
||||||
```
|
```
|
||||||
A [demo](https://demo-ui.erpya.com/#/7aa4242a-93c0-42d8-92be-8250002d3e3c/d97027fd-4cd5-445e-8fd8-ef5d3f7959b4/window/53418?tabParent=0&action=fa50908e-40f1-11e9-91a1-0242ac140002) is here
|
A [demo](https://demo-ui.erpya.com/#/7aa4242a-93c0-42d8-92be-8250002d3e3c/d97027fd-4cd5-445e-8fd8-ef5d3f7959b4/window/53418?tabParent=0&action=fa50908e-40f1-11e9-91a1-0242ac140002) is here
|
||||||
|
|
||||||
|
### To do
|
||||||
|
|
||||||
|
In the ADempiere-UI version, field preferences are not set. Therefore, it is required that the problem be corrected so that these preferences can be established.
|
||||||
|
|
||||||
|
This problem was reported in the issues: https://github.com/adempiere/adempiere-vue/issues/814
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
<img :src="$withBase('/images/components/preference/preference-desktop-mobile.png')" alt="Preferencia en Versión Móvil y de Escritorio" width="800px">
|
<img :src="$withBase('/images/components/preference/preference-desktop-mobile.png')" alt="Preferencia en Versión Móvil y de Escritorio" width="800px">
|
||||||
|
|
||||||
|
|
||||||
通過取消選中上面指示的任何檢查,組件的行為在於在創建新記錄時設置所述值。例子:
|
通過取消選中上面指示的任何檢查,組件的行為在於在創建新記錄時設置所述值。例子:
|
||||||
|
|
||||||
當您取消選中“窗口”檢查並保存更改時,該字段的值將設置為包含該字段的所有窗口的默認值。在該窗口或任何ADempiere窗口中創建新記錄時,都可以查看該行為,默認情況下,該新記錄是使用先前加載的字段中的信息創建的,該字段在其中執行了“歧視性”組件的更改。
|
當您取消選中“窗口”檢查並保存更改時,該字段的值將設置為包含該字段的所有窗口的默認值。在該窗口或任何ADempiere窗口中創建新記錄時,都可以查看該行為,默認情況下,該新記錄是使用先前加載的字段中的信息創建的,該字段在其中執行了“歧視性”組件的更改。
|
||||||
@ -32,18 +31,36 @@
|
|||||||
|
|
||||||
## 功能或觀察
|
## 功能或觀察
|
||||||
|
|
||||||
|
::: tip
|
||||||
默認情況下,該字段包含首選項設置
|
默認情況下,該字段包含首選項設置
|
||||||
|
|
||||||
-**對於本公司的所有組織,此用戶和此窗口**
|
-**對於本公司的所有組織,此用戶和此窗口**
|
||||||
|
:::
|
||||||
|
|
||||||
## 在桌面版中如何使用?
|
## 在桌面版中如何使用?
|
||||||
|
|
||||||
在桌面版本中,單擊該字段以查看其顯示的菜單,然後選擇選項“ **潛在性**”以設置所需的首選項值。
|
在桌面版本中,單擊該字段以查看其顯示的菜單,然後選擇選項“ **潛在性**”以設置所需的首選項值。
|
||||||
|
|
||||||
|
### 創建首選項
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 刪除首選項
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## 在移動版本中如何使用?
|
## 在移動版本中如何使用?
|
||||||
|
|
||||||
在移動版本中,單擊該字段以查看其顯示的菜單,然後選擇選項“ **潛在性**”以設置所需的首選項值。
|
在移動版本中,單擊該字段以查看其顯示的菜單,然後選擇選項“ **潛在性**”以設置所需的首選項值。
|
||||||
|
|
||||||
|
### 創建首選項
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 刪除首選項
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## 技術數據
|
## 技術數據
|
||||||
|
|
||||||
|
|
||||||
@ -59,3 +76,9 @@
|
|||||||
|
|
||||||
```
|
```
|
||||||
[演示](https://demo-ui.erpya.com/#/7aa4242a-93c0-42d8-92be-8250002d3e3c/d97027fd-4cd5-445e-8fd8-ef5d3f7959b4/window/53418?tabParent=0&action=fa50908e-40f1- 11e9-91a1-0242ac140002) 在這裡
|
[演示](https://demo-ui.erpya.com/#/7aa4242a-93c0-42d8-92be-8250002d3e3c/d97027fd-4cd5-445e-8fd8-ef5d3f7959b4/window/53418?tabParent=0&action=fa50908e-40f1- 11e9-91a1-0242ac140002) 在這裡
|
||||||
|
|
||||||
|
### 去做
|
||||||
|
|
||||||
|
在ADempiere-UI版本中,未設置字段首選項。因此,要求糾正問題,以便可以建立這些首選項。
|
||||||
|
|
||||||
|
在問題中報告了此問題:https://github.com/adempiere/adempiere-vue/issues/814
|
Loading…
x
Reference in New Issue
Block a user