Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
李俊赕
self-support
Commits
9fed9f4e
Commit
9fed9f4e
authored
Sep 16, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve: 【前后台】流水号限制长度8位数字,输入框提示:请填写交易流水号后8位数字
parent
2ce6d11d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
XhInput.vue
src/components/createCom/XhInput.vue
+1
-1
stringMixin.js
src/components/createCom/stringMixin.js
+4
-0
No files found.
src/components/createCom/XhInput.vue
View file @
9fed9f4e
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
:cursor-spacing=
"10"
:cursor-spacing=
"10"
:disabled=
"isDisabled"
:disabled=
"isDisabled"
hold-keyboard
hold-keyboard
@
blur=
"showTip=
dataValue.length
<
maxlength
&&
isESerialNum
"
@
blur=
"showTip=
isESerialNum && dataValue.length
<
maxlength
"
/>
/>
<view
class=
"content"
v-if=
"slotContent"
>
<view
class=
"content"
v-if=
"slotContent"
>
<text
class=
"txt"
>
{{
slotContent
}}
</text>
<text
class=
"txt"
>
{{
slotContent
}}
</text>
...
...
src/components/createCom/stringMixin.js
View file @
9fed9f4e
...
@@ -41,6 +41,10 @@ export default {
...
@@ -41,6 +41,10 @@ export default {
this
.
dataValue
=
val
this
.
dataValue
=
val
})
})
}
}
// 交易流水号到8位就取消提示
if
(
this
.
isESerialNum
&&
val
.
length
>=
this
.
maxlength
)
{
this
.
showTip
=
false
}
const
data
=
{
const
data
=
{
groupIndex
:
this
.
groupIndex
,
// 左侧菜单下标
groupIndex
:
this
.
groupIndex
,
// 左侧菜单下标
itemIndex
:
this
.
itemIndex
,
//右侧某一项下标
itemIndex
:
this
.
itemIndex
,
//右侧某一项下标
...
...
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