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
ad2422ed
Commit
ad2422ed
authored
Mar 04, 2022
by
salitedfish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bug修复
parent
2c038b86
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
IssuePass.vue
src/components/newProductList/IssuePass.vue
+3
-3
TransferPass.vue
src/components/newProductList/TransferPass.vue
+1
-1
PassMaker.vue
src/views/pass/PassMaker.vue
+2
-2
No files found.
src/components/newProductList/IssuePass.vue
View file @
ad2422ed
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"通证数量"
prop=
"amount"
>
<el-form-item
label=
"通证数量"
prop=
"amount"
>
<el-input
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"请输入通证数量"
></el-input>
<el-input
onkeyup=
"value=value.replace(/[^\d]/g,0)"
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"请输入通证数量"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"源文件上链"
prop=
"fileUpload"
>
<el-form-item
label=
"源文件上链"
prop=
"fileUpload"
>
<el-button
type=
"primary"
@
click=
"goUpload"
v-if=
"!file.name"
>
点击上传
</el-button>
<el-button
type=
"primary"
@
click=
"goUpload"
v-if=
"!file.name"
>
点击上传
</el-button>
...
@@ -131,13 +131,13 @@ export default {
...
@@ -131,13 +131,13 @@ export default {
this
.
amountDisable
=
false
;
this
.
amountDisable
=
false
;
}
}
}
}
}
}
,
},
},
computed
:
{
computed
:
{
disabled
()
{
disabled
()
{
return
this
.
formData
.
name
===
''
||
return
this
.
formData
.
name
===
''
||
this
.
formData
.
type
===
''
||
this
.
formData
.
type
===
''
||
Number
(
this
.
formData
.
amount
)
<=
0
||
Number
(
this
.
formData
.
amount
)
<=
0
||
isNaN
(
Number
(
this
.
formData
.
amount
))
||
this
.
formData
.
amount
===
''
this
.
formData
.
amount
===
''
},
},
uploadDisabled
(){
uploadDisabled
(){
...
...
src/components/newProductList/TransferPass.vue
View file @
ad2422ed
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</el-form-item>
</el-form-item>
<el-form-item
class=
"amount-item"
label=
"转账数量"
prop=
"amount"
v-if=
"content.type === 0"
>
<el-form-item
class=
"amount-item"
label=
"转账数量"
prop=
"amount"
v-if=
"content.type === 0"
>
<div
class=
"amount-item"
>
<div
class=
"amount-item"
>
<el-input
type=
"number
"
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"填写转账数量"
></el-input>
<el-input
onkeyup=
"value=value.replace(/[^\d]/g,0)
"
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"填写转账数量"
></el-input>
<span
class=
"balance"
>
可转
{{
content
.
balance
}}
FT
</span>
<span
class=
"balance"
>
可转
{{
content
.
balance
}}
FT
</span>
<el-button
class=
"all-btn"
type=
"text"
@
click=
"allIn"
>
全部
</el-button>
<el-button
class=
"all-btn"
type=
"text"
@
click=
"allIn"
>
全部
</el-button>
</div>
</div>
...
...
src/views/pass/PassMaker.vue
View file @
ad2422ed
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"通证数量"
prop=
"amount"
>
<el-form-item
label=
"通证数量"
prop=
"amount"
>
<el-input
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"请输入通证数量"
></el-input>
<el-input
onkeyup=
"value=value.replace(/[^\d]/g,0)"
:disabled=
"amountDisable"
v-model
.
number=
"formData.amount"
placeholder=
"请输入通证数量"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"category_add"
>
<div
class=
"category_add"
>
...
@@ -195,7 +195,7 @@ export default Vue.extend({
...
@@ -195,7 +195,7 @@ export default Vue.extend({
disabled
():
boolean
{
disabled
():
boolean
{
return
this
.
formData
.
name
===
''
||
return
this
.
formData
.
name
===
''
||
this
.
formData
.
type
===
''
||
this
.
formData
.
type
===
''
||
Number
(
this
.
formData
.
amount
)
<=
0
||
Number
(
this
.
formData
.
amount
)
<=
0
||
isNaN
(
Number
(
this
.
formData
.
amount
))
||
this
.
formData
.
amount
===
''
this
.
formData
.
amount
===
''
// || !this.relationProof.id
// || !this.relationProof.id
},
},
...
...
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