mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 12:01:57 +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:
parent
b733878474
commit
3d62e27a6a
@ -86,10 +86,10 @@ export default {
|
||||
return 50
|
||||
},
|
||||
isVisibleDialog() {
|
||||
return this.$store.state.process.isVisibleDialog
|
||||
return this.$store.state['process/index'].isVisibleDialog
|
||||
},
|
||||
modalMetadata() {
|
||||
return this.$store.state.process.metadata
|
||||
return this.$store.state['process/index'].metadata
|
||||
},
|
||||
windowRecordSelected() {
|
||||
return this.$store.state.window.recordSelected
|
||||
|
@ -160,3 +160,9 @@ export default {
|
||||
background: #F5F7FA;
|
||||
}
|
||||
</style>
|
||||
<style lang="scss">
|
||||
.tui-editor .te-preview-style-vertical .te-md-splitter {
|
||||
display: table;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
@ -420,7 +420,12 @@ export default {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.el-textarea {
|
||||
position: relative;
|
||||
display: contents;
|
||||
width: 100%;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
/* Global Styles */
|
||||
.el-textarea__inner:not(.in-table) {
|
||||
min-height: 36px !important;
|
||||
|
@ -18,7 +18,10 @@ import {
|
||||
} from '@/utils/ADempiere/valueUtils.js'
|
||||
import { convertArrayKeyValueToObject } from '@/utils/ADempiere/valueFormat.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 { TABLE, TABLE_DIRECT } from '@/utils/ADempiere/references'
|
||||
import language from '@/lang'
|
||||
@ -129,7 +132,7 @@ const actions = {
|
||||
let valueLink
|
||||
// get context value if link column exists and does not exist in row
|
||||
if (!isEmptyValue(linkColumnName)) {
|
||||
valueLink = rootGetters.getContext({
|
||||
valueLink = getPreference({
|
||||
parentUuid,
|
||||
containerUuid,
|
||||
columnName: linkColumnName
|
||||
@ -220,7 +223,7 @@ const actions = {
|
||||
}
|
||||
if (linkColumnName === columnName) {
|
||||
// get context value if link column exists and does not exist in row
|
||||
const nameParent = rootGetters.getContext({
|
||||
const nameParent = getPreference({
|
||||
parentUuid,
|
||||
containerUuid,
|
||||
columnName: 'Name'
|
||||
|
Loading…
x
Reference in New Issue
Block a user