<template>
  <div class="eibs-tab">
    <c-amtpanl
      :model="model"
      :message="{
        title: '单据金额',
        cur: 'bddgrp.rec.totcur',
        amt: 'bddgrp.rec.totamt',
      }"
    ></c-amtpanl>

    <c-amtpanl
      :model="model"
      :message="{
        title: '附加金额',
        cur: 'bddgrp.cbs.opn2.cur',
        amt: 'bddgrp.cbs.max2.amt',
      }"
    ></c-amtpanl>

    <c-col :span="12">
      <el-form-item label="Charges Deducted" prop="bddgrp.blk.chaded">
        <c-input
          type="textarea"
          v-model="model.bddgrp.blk.chaded"
          maxlength="35"
          show-word-limit
          placeholder="请输入Charges Deducted"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Charges" prop="bddgrp.blk.chaadd">
        <c-input
          type="textarea"
          v-model="model.bddgrp.blk.chaadd"
          maxlength="35"
          show-word-limit
          placeholder="请输入Charges"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Total Amount Claimed" prop="bddgrp.rec.totcur">
        <c-input
          v-model="model.bddgrp.rec.totcur"
          maxlength="3"
          placeholder="请输入Total Amount Claimed"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Total Amount to be Paid" prop="bddgrp.rec.totamt">
        <c-input
          v-model="model.bddgrp.rec.totamt"
          placeholder="请输入Total Amount to be Paid"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="Drag  Drop Sender"
        prop="bdtp.acbp.ptsget.sdamod.dadsnd"
      >
        <c-input
          v-model="model.bdtp.acbp.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="External Key of Address"
        prop="bddgrp.acb.pts.extkey"
      >
        <c-input
          v-model="model.bddgrp.acb.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="" prop="bdtp.acbp.ptsget.sdamod.seainf">
        <c-input
          v-model="model.bdtp.acbp.ptsget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onAcbpDet">
        Details
      </c-button>
    </c-col>

    <c-col :span="12">
      <el-form-item label="名称" prop="bddgrp.acb.namelc">
        <c-input
          type="textarea"
          v-model="model.bddgrp.acb.namelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Address Block" prop="bddgrp.acb.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.bddgrp.acb.pts.adrblk"
          maxlength="35"
          show-word-limit
          placeholder="请输入Address Block"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Chinese address" prop="bddgrp.acb.dbfadrblkcn">
        <c-input
          type="textarea"
          v-model="model.bddgrp.acb.dbfadrblkcn"
          maxlength="35"
          show-word-limit
          placeholder="请输入Chinese address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="地址" prop="bddgrp.acb.adrelc">
        <c-input
          type="textarea"
          v-model="model.bddgrp.acb.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </el-form-item>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Bdtudp/Event";
import Amtpanl from "~/views/Public/Amtpanl";

export default {
  inject: ["root"],
  components: {
    "c-amtpanl": Amtpanl,
  },
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>
