Add components to path (#806)
@ -49,10 +49,6 @@ module.exports = {
|
||||
text: 'Donate',
|
||||
link: '/donate/'
|
||||
},
|
||||
{
|
||||
text: 'Components',
|
||||
link: '/components/'
|
||||
},
|
||||
{
|
||||
text: '中文站点(gitee)',
|
||||
link: 'https://adempiere-vue.gitee.io/adempiere-vue/zh/'
|
||||
@ -70,6 +66,11 @@ module.exports = {
|
||||
collapsable: false,
|
||||
children: genAdvancedSidebar()
|
||||
},
|
||||
{
|
||||
title: 'Components',
|
||||
collapsable: false,
|
||||
children: genComponentSidebar()
|
||||
},
|
||||
{
|
||||
title: 'Other',
|
||||
collapsable: false,
|
||||
@ -109,10 +110,6 @@ module.exports = {
|
||||
{
|
||||
text: 'Donar',
|
||||
link: '/es/donate/'
|
||||
},
|
||||
{
|
||||
text: 'Componentes',
|
||||
link: '/es/components/'
|
||||
}
|
||||
],
|
||||
sidebar: {
|
||||
@ -127,6 +124,11 @@ module.exports = {
|
||||
collapsable: false,
|
||||
children: genAdvancedSidebar('/es')
|
||||
},
|
||||
{
|
||||
title: 'Componentes',
|
||||
collapsable: false,
|
||||
children: genComponentSidebar()
|
||||
},
|
||||
{
|
||||
title: 'Otro',
|
||||
collapsable: false,
|
||||
@ -167,10 +169,6 @@ module.exports = {
|
||||
text: '捐赠',
|
||||
link: '/zh/donate/'
|
||||
},
|
||||
{
|
||||
text: '組件',
|
||||
link: '/zh/components/'
|
||||
},
|
||||
{
|
||||
text: '中文站点(gitee)',
|
||||
link: 'https://adempiere-vue.gitee.io/adempiere-vue/zh/'
|
||||
@ -183,7 +181,7 @@ module.exports = {
|
||||
sidebar: {
|
||||
'/zh/guide/': [
|
||||
{
|
||||
title: '基础',
|
||||
title: '組件',
|
||||
collapsable: false,
|
||||
children: genEssentialsSidebar('/zh')
|
||||
},
|
||||
@ -192,6 +190,11 @@ module.exports = {
|
||||
collapsable: false,
|
||||
children: genAdvancedSidebar('/zh')
|
||||
},
|
||||
{
|
||||
title: '成分',
|
||||
collapsable: false,
|
||||
children: genComponentSidebar()
|
||||
},
|
||||
{
|
||||
title: '其它',
|
||||
collapsable: false,
|
||||
@ -278,3 +281,12 @@ function genAdvancedSidebar(type = '') {
|
||||
return type + i
|
||||
})
|
||||
}
|
||||
|
||||
function genComponentSidebar(type = '') {
|
||||
const mapArr = [
|
||||
'/guide/components/preference.md'
|
||||
]
|
||||
return mapArr.map(i => {
|
||||
return type + i
|
||||
})
|
||||
}
|
||||
|
@ -1,6 +1,11 @@
|
||||
# Nombre del Componente
|
||||
# Preferencia
|
||||
|
||||
Preferencia
|
||||
Permite establecer el valor de un registro de manera predeterminada, el mismo se puede realizar a partir de lo siguiente:
|
||||
|
||||
- **Check Compañía**: Establece el valor para todas las compañías
|
||||
- **Check Organización**: Establece el valor para todas las organizaciones
|
||||
- **Check Usuario**: Establece el valor para todos los usuarios
|
||||
- **Check Ventana**: Establece el valor para todas las ventanas
|
||||
|
||||
## Versión ADempiere-ZK
|
||||
|
||||
@ -10,15 +15,6 @@ Preferencia
|
||||
|
||||

|
||||
|
||||
## Descripción de lo que hace
|
||||
|
||||
Permite establecer el valor de un registro de manera predeterminada, el mismo se puede realizar a partir de lo siguiente:
|
||||
|
||||
- **Check Compañía**: Establece el valor para todas las compañías
|
||||
- **Check Organización**: Establece el valor para todas las organizaciones
|
||||
- **Check Usuario**: Establece el valor para todos los usuarios
|
||||
- **Check Ventana**: Establece el valor para todas las ventanas
|
||||
|
||||
Al destildar alguno de los check indicados anteriormente, el comportamiento del componente consta en establecer dicho valor cuando se crea un registro nuevo. Ejemplo:
|
||||
|
||||
Al destildar el check **Ventana** y guardar el cambio se establece el valor del campo como predeterminado para todas las ventanas que contengan dicho campo. El comportamiento se puede visualizar al crear un registro nuevo en esa o cualquier ventana de ADempiere, por defecto se crea el registro nuevo con la información del campo previamente cargada, donde fue ejecutado el cambio del componente "**Preferencia**".
|
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
@ -1,16 +1,4 @@
|
||||
# Nombre del Componente
|
||||
|
||||
Preferencia
|
||||
|
||||
## Versión ADempiere-ZK
|
||||
|
||||

|
||||
|
||||
## Versión ADempiere-Vue
|
||||
|
||||

|
||||
|
||||
## Descripción de lo que hace
|
||||
# Preferencia
|
||||
|
||||
Permite establecer el valor de un registro de manera predeterminada, el mismo se puede realizar a partir de lo siguiente:
|
||||
|
||||
@ -18,6 +6,13 @@ Permite establecer el valor de un registro de manera predeterminada, el mismo se
|
||||
- **Check Organización**: Establece el valor para todas las organizaciones
|
||||
- **Check Usuario**: Establece el valor para todos los usuarios
|
||||
- **Check Ventana**: Establece el valor para todas las ventanas
|
||||
## Versión ADempiere-ZK
|
||||
|
||||

|
||||
|
||||
## Versión ADempiere-Vue
|
||||
|
||||

|
||||
|
||||
Al destildar alguno de los check indicados anteriormente, el comportamiento del componente consta en establecer dicho valor cuando se crea un registro nuevo. Ejemplo:
|
||||
|
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
@ -1,16 +1,4 @@
|
||||
# 組件名稱
|
||||
|
||||
偏愛
|
||||
|
||||
## ADempiere-ZK版本
|
||||
|
||||

|
||||
|
||||
## ADempiere-Vue版本
|
||||
|
||||

|
||||
|
||||
## 功能說明
|
||||
# 偏愛
|
||||
|
||||
允許您默認設置寄存器的值,可以通過以下操作完成:
|
||||
|
||||
@ -19,6 +7,14 @@
|
||||
-**檢查用戶**:設置所有用戶的值
|
||||
-**檢查窗口**:設置所有窗口的值
|
||||
|
||||
## ADempiere-ZK版本
|
||||
|
||||

|
||||
|
||||
## ADempiere-Vue版本
|
||||
|
||||

|
||||
|
||||
通過取消選中上面指示的任何檢查,組件的行為在於在創建新記錄時設置所述值。例子:
|
||||
|
||||
當您取消選中“窗口”檢查並保存更改時,該字段的值將設置為包含該字段的所有窗口的默認值。在該窗口或任何ADempiere窗口中創建新記錄時,都可以查看該行為,默認情況下,該新記錄是使用先前加載的字段中的信息創建的,該字段在其中執行了“歧視性”組件的更改。
|
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |