|
@@ -60,6 +60,7 @@
|
|
:step="1"
|
|
:step="1"
|
|
step-strictly
|
|
step-strictly
|
|
:controls="false"
|
|
:controls="false"
|
|
|
|
+ disabled
|
|
>
|
|
>
|
|
</el-input-number>
|
|
</el-input-number>
|
|
<span style="margin-left: 5px">%</span>
|
|
<span style="margin-left: 5px">%</span>
|
|
@@ -132,7 +133,7 @@ export default {
|
|
visibleChange() {
|
|
visibleChange() {
|
|
this.modalForm = this.$objAssign(initModalForm, this.instance);
|
|
this.modalForm = this.$objAssign(initModalForm, this.instance);
|
|
this.modalForm.doubleEnable = this.modalForm.doubleRate > 0;
|
|
this.modalForm.doubleEnable = this.modalForm.doubleRate > 0;
|
|
- this.modalForm.doubleRate = this.modalForm.doubleRate || undefined;
|
|
|
|
|
|
+ this.modalForm.doubleRate = this.modalForm.doubleRate || 100;
|
|
this.modalForm.arbitrateThreshold =
|
|
this.modalForm.arbitrateThreshold =
|
|
this.modalForm.arbitrateThreshold || undefined;
|
|
this.modalForm.arbitrateThreshold || undefined;
|
|
},
|
|
},
|
|
@@ -144,7 +145,7 @@ export default {
|
|
},
|
|
},
|
|
doubleEnableChange() {
|
|
doubleEnableChange() {
|
|
this.modalForm.arbitrateThreshold = undefined;
|
|
this.modalForm.arbitrateThreshold = undefined;
|
|
- this.modalForm.doubleRate = 0;
|
|
|
|
|
|
+ this.modalForm.doubleRate = 100;
|
|
},
|
|
},
|
|
// confirm
|
|
// confirm
|
|
async confirm() {
|
|
async confirm() {
|