@@ -36,9 +36,9 @@
button-size="22" />
</template>
</Field>
- <Field name="FreezeDays" :rules="formRules.FreezeDays" label="冻结天数">
+ <Field name="FreezeDays" label="冻结天数">
<template #input>
- <span>{{ formRules.FreezeDays }}</span>
+ <span>{{ formData.FreezeDays }}</span>
</CellGroup>
@@ -45,6 +45,7 @@ const onSubmit = () => {
onCancel(true)
}).catch((err) => {
ElMessage.error('确认失败:' + err)
+ onCancel(true)
})
}
</script>
@@ -25,7 +25,7 @@
<el-form-item prop="Qty" label="转让数量">
<el-input-number placeholder="请输入" v-model="formData.Qty" :precision="0" :min="0" :max="enableqty" />
</el-form-item>
- <el-form-item prop="FreezeDays" label="冻结天数">
+ <el-form-item label="冻结天数">
<span>{{ formData.FreezeDays }}</span>
<el-form-item label="可用数量">