Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
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
wangweidong
patzn-cloud-web-back-soil
Commits
ebfa965a
Commit
ebfa965a
authored
Jul 25, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了委托方下拉菜单
parent
307aa39e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
AutoCompletes.vue
components/base/AutoCompletes.vue
+12
-1
MeterQuoteRegisterEdit.vue
.../meter-business/quote-register/MeterQuoteRegisterEdit.vue
+5
-7
No files found.
components/base/AutoCompletes.vue
View file @
ebfa965a
...
...
@@ -22,6 +22,7 @@
size=
"small"
placement=
"bottom-start"
style=
"width:100%;"
class=
"dropdownBox"
>
<Input
v-model=
"dataValue"
...
...
@@ -31,6 +32,7 @@
@on-change="_query"
@on-blur="_inputBlur"
@on-focus="_inputFocus"
:maxlength="maxlength?maxlength:10000"
icon="ios-search"
style="width:100%"
/>
...
...
@@ -66,7 +68,8 @@ export default {
showError
:
null
,
blur
:
null
,
focus
:
null
,
handleObj
:
null
handleObj
:
null
,
maxlength
:
null
},
data
()
{
return
{
...
...
@@ -120,6 +123,7 @@ export default {
},
// 聚焦
_inputFocus
()
{
console
.
log
(
'下拉选项'
,
this
.
downData
,
this
.
showKey
)
// this.isFocus = true;
if
(
this
.
focus
!==
undefined
)
{
this
.
$emit
(
'on-result-change'
,
'focus'
,
''
,
this
.
dataHandObj
)
...
...
@@ -129,10 +133,17 @@ export default {
}
</
script
>
<
style
>
.ivu-modal-mask
{
z-index
:
1000
!important
;
}
.ivu-modal-wrap
{
z-index
:
1000
!important
;
}
.iview-input-error
.ivu-input
{
border
:
1px
solid
#eb6877
!important
;
}
.el-dropdown-menu__item
{
z-index
:
3000
!important
;
max-width
:
400px
!important
;
}
</
style
>
pages/meter-business/quote-register/MeterQuoteRegisterEdit.vue
View file @
ebfa965a
<
template
>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
width=
"1250"
>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
:zIndex =
-1
width=
"1250"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"90"
inline
>
...
...
@@ -700,15 +700,13 @@ export default {
},
_getList
:
async
function
()
{
const
result
=
await
meterEntrust
.
pageList
()
//
const list = []
const
list
=
[]
if
(
result
)
{
for
(
let
i
=
0
;
i
<
result
.
length
;
i
++
)
{
// list.push(result[i].cname)
this
.
customerData
.
push
(
result
[
i
].
cname
)
console
.
log
(
this
.
customerData
)
list
.
push
(
result
[
i
].
cname
)
}
//
console.log('委托单位名单', list)
//
this.customerData = list
console
.
log
(
'委托单位名单'
,
list
)
this
.
customerData
=
list
}
},
_getQueryList
:
async
function
(
data
)
{
...
...
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