|
@@ -135,8 +135,11 @@ export default {
|
|
|
maxRatio: item.maxRatio - item.alreadyDistributedRatio * 100
|
|
|
}
|
|
|
this.formQuery.items = [{ ...defaultItem }]
|
|
|
- this.$refs.form.clearValidate()
|
|
|
+
|
|
|
this.$refs.dialog.open()
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.form.clearValidate()
|
|
|
+ })
|
|
|
this.getEmployeeItems()
|
|
|
},
|
|
|
async getEmployeeItems () {
|