<template>
  <a-form v-bind="formLayout" :form="form">
    <a-form-item label="ID">
      <a-input
        v-decorator="[
          'third_party_id',
          {
            initialValue: modalData.third_party_id,
          }
        ]" />
    </a-form-item>
    <a-form-item label="Secret">
      <a-input
        v-decorator="[
          'third_party_secret',
          {
            initialValue: modalData.third_party_secret,
          }
        ]" />
    </a-form-item>
  </a-form>
</template>
<script>
import mix from './mixins'
import common from '../mixins/common'
export default {
  mixins: [mix, common],
  computed: {
    successMessage() {
      return '操作成功'
    }
  },
  methods: {
    async submit(values) {
      let res = await this.request_api.finance_recharge_method.third_party({
				uuid: this.modalData.uuid,
				version: this.modalData.version,
				...values
			})
      return res
    }
  }
}
</script>
