Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
bf335eb3
Commit
bf335eb3
authored
Feb 22, 2022
by
wcmoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:
SYCZ-829
限制数量输入框输入非数字内容
parent
296cfc9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
IssuePass.vue
src/components/newProductList/IssuePass.vue
+2
-2
TransferPass.vue
src/components/newProductList/TransferPass.vue
+1
-1
No files found.
src/components/newProductList/IssuePass.vue
View file @
bf335eb3
...
...
@@ -17,7 +17,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"通证数量"
prop=
"amount"
>
<el-input
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"请输入通证数量"
></el-input>
<el-input
type=
"number"
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"请输入通证数量"
></el-input>
</el-form-item>
</el-form>
<el-button
@
click=
"submit"
type=
"primary"
:disabled=
"disabled"
>
确定
</el-button>
...
...
@@ -47,7 +47,7 @@ export default {
{
required
:
true
,
message
:
'请选择通证类型'
,
trigger
:
'blur'
}
],
amount
:
[
{
required
:
true
,
message
:
'请输入通证数量'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'请输入通证数量'
,
trigger
:
'blur'
}
,
],
},
amountDisable
:
false
...
...
src/components/newProductList/TransferPass.vue
View file @
bf335eb3
...
...
@@ -13,7 +13,7 @@
</el-form-item>
<el-form-item
class=
"amount-item"
label=
"转账数量"
prop=
"amount"
v-if=
"content.type === 0"
>
<div
class=
"amount-item"
>
<el-input
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"填写转账数量"
></el-input>
<el-input
type=
"number"
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"填写转账数量"
></el-input>
<span
class=
"balance"
>
可转
{{
content
.
balance
}}
FT
</span>
<el-button
class=
"all-btn"
type=
"text"
@
click=
"allIn"
>
全部
</el-button>
</div>
...
...
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