| | |
| | | default: |
| | | break |
| | | } |
| | | } |
| | | }, |
| | | }, |
| | | props: { |
| | | getinit: { |
| | | type: Function, |
| | | default: function () {} |
| | | default: function () {}, |
| | | }, |
| | | activeArr: { |
| | | type: Array, |
| | | default: [] |
| | | } |
| | | default: [], |
| | | }, |
| | | }, |
| | | data () { |
| | | return { |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 7 } |
| | | sm: { span: 7 }, |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 13 } |
| | | sm: { span: 13 }, |
| | | }, |
| | | editUserform: this.$form.createForm(this), |
| | | editUserdialog: false, |
| | | editUserDialogloading: false, |
| | | fields: ['amt', 'direction', 'userId'], |
| | | currentDetails: {} |
| | | currentDetails: {}, |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | updateMoney({ id: arr[0].id, amt: amt }).then((res) => { |
| | | if (res.status == 0) { |
| | | this.editUserdialog = false |
| | | this.$message.success({ content: res.msg, duration: 2 }) |
| | | this.$message.success(res.msg) |
| | | form.resetFields() |
| | | this.getinit() |
| | | } else { |
| | |
| | | console.log(3333) |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | }, |
| | | } |
| | | </script> |