|
@@ -186,7 +186,7 @@ export default {
|
|
},
|
|
},
|
|
save () {
|
|
save () {
|
|
const { form: { validateFieldsAndScroll } } = this
|
|
const { form: { validateFieldsAndScroll } } = this
|
|
- // this.confirmLoading = true
|
|
|
|
|
|
+ this.confirmLoading = true
|
|
validateFieldsAndScroll((errors, values) => {
|
|
validateFieldsAndScroll((errors, values) => {
|
|
if (errors) {
|
|
if (errors) {
|
|
Object.values(errors).map(item => {
|
|
Object.values(errors).map(item => {
|
|
@@ -213,6 +213,7 @@ export default {
|
|
handleCancel (values) {
|
|
handleCancel (values) {
|
|
this.visible = false
|
|
this.visible = false
|
|
this.modal = {}
|
|
this.modal = {}
|
|
|
|
+ this.confirmLoading = false
|
|
this.sbInfoDTOS = []
|
|
this.sbInfoDTOS = []
|
|
this.form.resetFields()
|
|
this.form.resetFields()
|
|
this.$emit('ok', values)
|
|
this.$emit('ok', values)
|