<template>
  <div class="eibs-tab">
    <c-row>
      <c-col :span="24">
        <!-- ====================左边======================= -->
        <c-col :span="11">
            <c-ptap
              :model="model"
              :argadr="{
                title: '偿付银行',
                grp: 'ltdgrp',
                rol: 'rmt',
              }"
              @onSeainf="onSeainf"
              @onAplpDet="onRmtpDet"
            >
            </c-ptap>
        </c-col>
        <c-col :span="24">
          <c-col :span="11">
            <el-form-item
              label="帐户标识"
              prop="ltdgrp.rmt.pts.dftact"
            >
              <c-select
                v-model="model.ltdgrp.rmt.pts.dftact"
                style="width: 100%"
                placeholder="请选择帐户标识"
                
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11" :offset="1">
            <el-form-item
              label="偿付银行帐户标识"
              label-width="280px"
              prop="ltdgrp.rec.rmbact"
            >
              <c-input
                v-model="model.ltdgrp.rec.rmbact"
                maxlength="35"
                placeholder="请输入偿付银行帐户标识"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
     
        <c-col :span="11">
          <c-col :span="24">
            <el-form-item label="费用定义" prop="ltdgrp.rec.rmbcha">
              <c-select
                v-model="model.ltdgrp.rec.rmbcha"
                style="width: 100%"
                placeholder="请选择费用定义"
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="其他费用" prop="ltdgrp.blk.rmbcha">
              <c-input
                type="textarea"
                v-model="model.ltdgrp.blk.rmbcha"
                maxlength="35"
                show-word-limit
                placeholder="请输入其他费用"
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="MT747:77A:" prop="lttp.rmbnar">
              <c-input
                type="textarea"
                v-model="model.lttp.rmbnar"
                maxlength="35"
                show-word-limit
                placeholder="请输入"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <c-col :span="11">
            <el-form-item
              label="适用规则 RMB"
              prop="ltdgrp.rec.apprulrmb"
            >
              <c-select
                v-model="model.ltdgrp.rec.apprulrmb"
                style="width: 100%"
                placeholder="请选择适用规则 RMB"
                :code="codes.apprulrmb"
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="11" :offset="1">
            <el-form-item
              label="授权偿付日期"
              label-width="250px"
              prop="ltdgrp.rec.autdat"
            >
              <c-date-picker
                type="date"
                v-model="model.ltdgrp.rec.autdat"
                style="width: 100%"
                placeholder="请选择授权偿付日期"
              ></c-date-picker>
            </el-form-item>
          </c-col>
        </c-col>
      </c-col>
    </c-row>
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttopn/Event";
import Ptap from "~/views/Public/Ptap";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  components: { "c-ptap": Ptap },
  data() {
    return {
      ptsaddg: {
        columns: [
          {
            title: "角色",
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
            title: "机构实体",
            width: "180px",
            dataIndex: "ptyextkey",
            show: "input",
          },
          {
            title: "名称",
            width: "300px",
            dataIndex: "nam",
          },
          {
            title: "参考地址",
            width: "300px",
            dataIndex: "ref",
          },
        ],
        urls: "lttp.ptsaddp.ptsaddg",
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>