1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-12 22:29:59 +08:00

Errors in fields and when creating lines (#575)

* errores del campo y al crear lineas

* Errors in fields and when creating lines

* minimal change
This commit is contained in:
Elsio Sanchez 2021-01-28 16:34:48 -04:00 committed by GitHub
parent b733878474
commit 3d62e27a6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 6 deletions

View File

@ -86,10 +86,10 @@ export default {
return 50 return 50
}, },
isVisibleDialog() { isVisibleDialog() {
return this.$store.state.process.isVisibleDialog return this.$store.state['process/index'].isVisibleDialog
}, },
modalMetadata() { modalMetadata() {
return this.$store.state.process.metadata return this.$store.state['process/index'].metadata
}, },
windowRecordSelected() { windowRecordSelected() {
return this.$store.state.window.recordSelected return this.$store.state.window.recordSelected

View File

@ -160,3 +160,9 @@ export default {
background: #F5F7FA; background: #F5F7FA;
} }
</style> </style>
<style lang="scss">
.tui-editor .te-preview-style-vertical .te-md-splitter {
display: table;
width: 100%;
}
</style>

View File

@ -420,7 +420,12 @@ export default {
margin-left: 0px; margin-left: 0px;
margin-right: 0px; margin-right: 0px;
} }
.el-textarea {
position: relative;
display: contents;
width: 100%;
vertical-align: bottom;
}
/* Global Styles */ /* Global Styles */
.el-textarea__inner:not(.in-table) { .el-textarea__inner:not(.in-table) {
min-height: 36px !important; min-height: 36px !important;

View File

@ -18,7 +18,10 @@ import {
} from '@/utils/ADempiere/valueUtils.js' } from '@/utils/ADempiere/valueUtils.js'
import { convertArrayKeyValueToObject } from '@/utils/ADempiere/valueFormat.js' import { convertArrayKeyValueToObject } from '@/utils/ADempiere/valueFormat.js'
import { typeValue } from '@/utils/ADempiere/valueUtils.js' import { typeValue } from '@/utils/ADempiere/valueUtils.js'
import { parseContext } from '@/utils/ADempiere/contextUtils' import {
parseContext,
getPreference
} from '@/utils/ADempiere/contextUtils'
import { showMessage } from '@/utils/ADempiere/notification' import { showMessage } from '@/utils/ADempiere/notification'
import { TABLE, TABLE_DIRECT } from '@/utils/ADempiere/references' import { TABLE, TABLE_DIRECT } from '@/utils/ADempiere/references'
import language from '@/lang' import language from '@/lang'
@ -129,7 +132,7 @@ const actions = {
let valueLink let valueLink
// get context value if link column exists and does not exist in row // get context value if link column exists and does not exist in row
if (!isEmptyValue(linkColumnName)) { if (!isEmptyValue(linkColumnName)) {
valueLink = rootGetters.getContext({ valueLink = getPreference({
parentUuid, parentUuid,
containerUuid, containerUuid,
columnName: linkColumnName columnName: linkColumnName
@ -220,7 +223,7 @@ const actions = {
} }
if (linkColumnName === columnName) { if (linkColumnName === columnName) {
// get context value if link column exists and does not exist in row // get context value if link column exists and does not exist in row
const nameParent = rootGetters.getContext({ const nameParent = getPreference({
parentUuid, parentUuid,
containerUuid, containerUuid,
columnName: 'Name' columnName: 'Name'