<template>
  <div class="eibs-tab">
    <el-col :span="11">
      <c-col :span="24">
        <el-form-item label="Collection Number" prop="bcdgrp.rec.ownref">
          <c-fullbox>
            <c-input
            disabled
              v-model="model.bcdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Collection Number"
            ></c-input>
            <template slot="footer">
              <c-button
                size="small"
                style="margin-left: 10px; padding: 0 10px"
                type="primary"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
      <c-col :span="14">
        <el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
          <c-select
          disabled
            v-model="model.bcdgrp.cbs.max.cur"
            style="width: 100%"
            placeholder="请选择Document Amount"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="10">
        <el-form-item label="" label-width="10px" prop="bcdgrp.cbs.max.amt">
          <c-input
          disabled
            v-model="model.bcdgrp.cbs.max.amt"
            placeholder="请输入Document Amount"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="14">
        <el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
          <c-select
          disabled
            v-model="model.bcdgrp.cbs.opn1.cur"
            style="width: 100%"
            placeholder="请选择Open Amount"
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="10">
        <el-form-item label="" label-width="10px" prop="bcdgrp.cbs.opn1.amt">
          <c-input
          disabled
            v-model="model.bcdgrp.cbs.opn1.amt"
            placeholder="请输入Open Amount"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
          <c-date-picker
          disabled
            type="date"
            v-model="model.bcdgrp.rec.rcvdat"
            style="width: 100%"
            placeholder="请选择Docs Received on"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
          <c-date-picker
          disabled
            type="date"
            v-model="model.bcdgrp.rec.advdat"
            style="width: 100%"
            placeholder="请选择Date of Advice of Documents Received"
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
          <c-date-picker
          disabled
            type="date"
            v-model="model.bcdgrp.rec.matdat"
            style="width: 100%"
            placeholder="请选择Maturity Date"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Remitted on" prop="bcdgrp.rec.predat">
          <c-date-picker
          disabled
            type="date"
            v-model="model.bcdgrp.rec.predat"
            style="width: 100%"
            placeholder="请选择Maturity Date"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
          <c-select
          disabled
          :code="codes.doctypcod"
            v-model="model.bcdgrp.rec.doctypcod"
            style="width: 100%"
            placeholder="请选择Payment Condition"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Document Status" prop="bcdgrp.rec.docsta">
          <c-select
          disabled
          :code="codes.docsta"
            v-model="model.bcdgrp.rec.docsta"
            style="width:100%"
            placeholder="请输入Document Status"
          ></c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Narrative" prop="strinf">
          <c-fullbox>
            <c-input
            disabled
              :rows="6"
              type="textarea"
              v-model="model.strinf"
              maxlength="50"
              show-word-limit
              placeholder="请输入Narrative"
            ></c-input>
            <template slot="footer">
              <c-button 
              disabled
              size="small" type="primary" icon="el-icon-search">
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
    </el-col>

    <el-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="Name" prop="bcdgrp.rec.nam">
          <c-input
          disabled
            v-model="model.bcdgrp.rec.nam"
            maxlength="40"
            placeholder="请输入Name"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Drawee Ref." prop="bcdgrp.dre.pts.ref">
          <c-input
          disabled
            v-model="model.bcdgrp.dre.pts.ref"
            maxlength="16"
            placeholder="请输入Drawee"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Name of Party" prop="bcdgrp.dre.pts.nam">
          <c-input
          disabled
            v-model="model.bcdgrp.dre.pts.nam"
            maxlength="40"
            placeholder="请输入Name of Party"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Remitting Bank" prop="bcdgrp.rmi.pts.ref">
          <c-input
          disabled
            v-model="model.bcdgrp.rmi.pts.ref"
            maxlength="16"
            placeholder="请输入Remitting Bank"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Name of Party" prop="bcdgrp.rmi.pts.nam">
          <c-input
          disabled
            v-model="model.bcdgrp.rmi.pts.nam"
            maxlength="40"
            placeholder="请输入Name of Party"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Drawer Ref." prop="bcdgrp.drr.pts.ref">
          <c-input
          disabled
            v-model="model.bcdgrp.drr.pts.ref"
            maxlength="16"
            placeholder="请输入Drawer"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Name of Party" prop="bcdgrp.drr.pts.nam">
          <c-input
          disabled
            v-model="model.bcdgrp.drr.pts.nam"
            maxlength="40"
            placeholder="请输入Name of Party"
          ></c-input>
        </el-form-item>
      </c-col>
    </el-col>

    <!--                                    
	<c-col :span="12">
	    <span  v-text="model.bctp0.matp.mattxtlab"   data-path=".bctp0.matp.mattxtlab" > </span>
	</c-col> -->

    <!-- <c-col :span="12">
	    <c-checkbox v-model="model.sndmsg">Send message</c-checkbox>
       </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctcan/Event";

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