Commit 77df31f6 by wangzhihui

修复取消样式

1 parent cf957e42
......@@ -1441,6 +1441,7 @@ export default {
balance: ''
}
this.isCodeDisabled = false
this.payFormData[this.findFormAttrId('payFormData', 'admin')].optionList = []
clearInterval(this.timer)
this.timer = null
this.$refs.withdrawRef.clearMutiSelect()
......
......@@ -96,6 +96,7 @@ export default {
optionsName: 'adminList',
optionId: 'adminId',
optionLabel: 'adminName',
optionList: [],
changeAttr: val => {
this.payForm.phone = val
this.isCodeDisabled = false
......@@ -351,6 +352,8 @@ export default {
remark: ''
}
this.isCodeDisabled = false
this.baseData.adminList =[]
this.payFormData[this.findFormAttrId('payFormData', 'approverId')].optionList = []
clearInterval(this.timer)
this.timer = null
this.$emit('cancelPay')
......@@ -358,7 +361,9 @@ export default {
this.$refs.payFormRef.$refs.payChildRef.resetFields()
}
},
findFormAttrId(formData, name) {
return this[formData].findIndex(item => item.name == name) || 0
},
getCode() {
if (this.isCodeDisabled) return
if (!this.timer) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!