Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
rbc-demo
Commits
ee49da15
Commit
ee49da15
authored
Mar 15, 2022
by
qiaoyanqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误提示
parent
537ebe08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
errorMessageUtil.js
...ms-plugin-billexpand/src/actions/util/errorMessageUtil.js
+2
-2
index.vue
...ms-plugin-billexpand/src/control/baseDataSelect/index.vue
+8
-8
No files found.
develop/@gms/gms-plugin-billexpand/src/actions/util/errorMessageUtil.js
View file @
ee49da15
...
...
@@ -71,7 +71,7 @@ export default {
break
;
}
}
return
errorPreMessage
===
""
?
this
.
commonMessage
:
errorPreMessage
+
this
.
saveAction
.
getErrorBaseDataName
(
a
);
return
errorPreMessage
===
""
?
(
a
?
a
:
this
.
commonMessage
)
:
errorPreMessage
+
this
.
saveAction
.
getErrorBaseDataName
(
a
);
},
getCommonMessage
(){
return
this
.
commonMessage
;
...
...
@@ -100,7 +100,7 @@ export default {
break
}
}
return
errorPreMessage
===
""
?
this
.
commonMessage
:
errorPreMessage
return
errorPreMessage
===
""
?
(
a
?
a
:
this
.
commonMessage
)
:
errorPreMessage
}
}
}
develop/@gms/gms-plugin-billexpand/src/control/baseDataSelect/index.vue
View file @
ee49da15
<
template
>
<div
class=
"rbc-basedata"
>
<el-popover
ref=
"popover"
popper-class=
"rbc-basedata-popover"
trigger=
"manual"
v-model=
"dataListShow"
:visible-arrow=
"false"
:width=
"searchPopperMinWidth"
>
<div
class=
"select-box"
slot=
"reference"
>
<Input
ref=
"searchInput"
v-model=
"selectValue"
:disabled=
"disabled"
:readonly=
"readonly || multiple"
:class=
"
{'multiple-input': multiple
&&
!readonly}" placeholder="" @on-change="handleChange" @on-focus="handleFocus" @on-blur="handleBlur" @keydown.down.native="handleSelectNext" @keydown.up.native="handleSelectPrev" @keydown.enter.native="handleSelected">
<Icon
type=
"ios-close-circle"
:class=
"
{'clear-icon': true, 'hidden-icon': disabled || readonly || !selectValue }" slot="suffix" @click="clearList" />
<Icon
type=
"ios-more"
class=
"more-select"
slot=
"suffix"
@
click=
"handleInputSelect"
/>
</Input>
</div>
<el-popover
ref=
"popover"
popper-class=
"rbc-basedata-popover"
placement=
"top"
trigger=
"manual"
v-model=
"dataListShow"
:visible-arrow=
"false"
:width=
"searchPopperMinWidth"
>
<ul
ref=
"searchList"
class=
"acct-search-list"
:class=
"
{'is-focus': hasFocus}" @mouseleave="onResultList = false" @mouseenter="onResultList = true">
<li
:class=
"['acct-search-item',selectIndex === index ? 'selected' : '',
{active: activeName == item.name}]" v-for="(item,index) in baseDataList" :key="item.code" :value="item.code" @click="handleMainSearchSelectClick(item)">
<span
class=
"acct-search-label"
>
{{
item
.
code
+
' '
+
item
.
name
}}
</span>
...
...
@@ -15,6 +9,12 @@
<span
class=
"list-empty"
>
无匹配数据
</span>
</li>
</ul>
<div
class=
"select-box"
slot=
"reference"
>
<Input
ref=
"searchInput"
v-model=
"selectValue"
:disabled=
"disabled"
:readonly=
"readonly || multiple"
:class=
"
{'multiple-input': multiple
&&
!readonly}" placeholder="" @on-change="handleChange" @on-focus="handleFocus" @on-blur="handleBlur" @keydown.down.native="handleSelectNext" @keydown.up.native="handleSelectPrev" @keydown.enter.native="handleSelected">
<Icon
type=
"ios-close-circle"
:class=
"
{'clear-icon': true, 'hidden-icon': disabled || readonly || !selectValue }" slot="suffix" @click="clearList" />
<Icon
type=
"ios-more"
class=
"more-select"
slot=
"suffix"
@
click=
"handleInputSelect"
/>
</Input>
</div>
</el-popover>
<!-- 弹框 -->
<EditModal
v-if=
"showModal"
v-model=
"showModal"
:title=
"title"
:selection=
"selection"
:table-name=
"tableName"
:multiple=
"multiple"
:tableKey=
"tableKey"
:treeKey=
"treeKey"
:tableColumns=
"tableColumns"
:searchPlaceholder=
"searchPlaceholder"
:authType=
"authType"
:versionDate=
"versionDate"
:modalWidth=
"modalWidth"
:isLeaf=
"isLeaf"
:hideSelected=
"hideSelected"
:structtype=
"structtype"
:groupTableName=
"groupTableName"
:treeTableName=
"treeTableName"
:filterFormular=
"filterFormular"
:filterFormularSP=
"filterFormularSP"
:billdefineName=
"billdefineName"
:billId=
"billId"
:bill=
"bill"
:isFilter=
"isFilter"
:rowIndex=
"rowIndex"
@
on-ok=
"onSelectOk"
/>
...
...
@@ -420,7 +420,7 @@ export default {
}
.acct-search-list
{
position
:
static
;
position
:
relative
;
z-index
:
999
;
margin
:
0
;
padding
:
18px
12px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment