| | |
| | | </span> |
| | | |
| | | <template slot="action" slot-scope="text, record" v-if="record.withStatus == 0"> |
| | | <a slot="action" href="javascript:;" @click="getEditorder(record.id)">审核</a> |
| | | <a slot="action" href="javascript:;" @click="getEditorder(record)">审核</a> |
| | | </template> |
| | | </a-table> |
| | | </a-card> |
| | |
| | | editOrderdialog: false, |
| | | editOrderDialogloading: false, |
| | | fields: ['withId', 'state'], |
| | | |
| | | withId:'', |
| | | agentqueryParam: { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | |
| | | }, |
| | | // 点击修改提现状态 |
| | | getEditorder(val) { |
| | | this.withId = val.id |
| | | this.editOrderdialog = true |
| | | this.fields.forEach((v) => this.editOrderform.getFieldDecorator(v)) |
| | | this.editOrderform.setFieldsValue(pick({ withId: val }, this.fields)) |
| | | this.editOrderform.setFieldsValue(pick({ withId: val.withAmt }, this.fields)) |
| | | }, |
| | | // 开始更改提现状态 |
| | | OkeditOrderdialog(e) { |
| | |
| | | if (!errors) { |
| | | this.editOrderDialogloading = true |
| | | values.state = e |
| | | values.withId = this.withId |
| | | withdrawupdateState(values) |
| | | .then((res) => { |
| | | if (res.status == 0) { |
| | | this.$message.success({ content: res.msg, duration: 2 }) |
| | | this.$message.success(res.msg) |
| | | form.resetFields() |
| | | this.getlist() |
| | | } else { |
| | | this.$message.error({ content: res.msg }) |
| | | this.$message.error(res.msg) |
| | | } |
| | | this.editOrderdialog = false |
| | | this.editOrderDialogloading = false |