<template>
  <div class="eibs-tab">
    <c-col :span="21">
      <el-form-item label="Type of Items">
        <c-col :span="3">
          <c-checkbox v-model="model.chkinc">Incoming</c-checkbox>
        </c-col>
        <c-col :span="3">
          <c-checkbox v-model="model.chkrim" disabled>Registered</c-checkbox>
        </c-col>
        <c-col :span="3">
          <c-checkbox v-model="model.chkpen">Break&Cor</c-checkbox>
        </c-col>
        <c-col :span="3">
          <c-checkbox v-model="model.chkcmt">境内外币</c-checkbox>
        </c-col>
        <c-col :span="3">
          <c-checkbox v-model="model.chkcore">Core</c-checkbox>
        </c-col>
        <c-col :span="3">
          <c-checkbox v-model="model.chkclr">Manual clear</c-checkbox>
        </c-col>
        <c-col :span="1">
          <c-checkbox v-model="model.chktco">Net</c-checkbox>
        </c-col>
        <c-col :span="3">
          <el-form-item label="NRA">
            <c-checkbox v-model="model.chknra"></c-checkbox>
          </el-form-item>
        </c-col>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <c-col :span="17">
        <el-form-item label="Reference" prop="selobj">
          <c-input
            v-model="model.selobj"
            maxlength="32"
            placeholder="请输入Reference"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="6" :offset="1">
        <c-button type="primary" disabled>短信发送详情</c-button>
      </c-col>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Name" prop="seltxt">
        <c-input
          v-model="model.seltxt"
          maxlength="32"
          placeholder="请输入Name"
        ></c-input>
      </el-form-item>
    </c-col>

    <!-- <c-col :span="12">
      <el-form-item label="List of SPT records" prop="sptstm">
        <c-input
          v-model="model.sptstm"
          placeholder="请输入List of SPT records"
        ></c-input>
      </el-form-item>
    </c-col>
  -->
    <c-col :span="24">
      <c-col :span="3">
        <el-form-item label=""><c-checkbox v-model="model.chksms">隐藏短信和申报</c-checkbox></el-form-item>
        
      </c-col>
    </c-col>

    <c-col :span="24">
      <c-col :span="8">
        <el-form-item label="Select Branch">
          <c-select
            v-model="model.selusb"
            placeholder="请选择"
            style="width: 70%"
          >
            <el-option
              v-for="item in codes.selusb"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            ></el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="5">
        <el-form-item label="User ID">
          <c-select v-model="model.usrcon" placeholder="请选择">
            <el-option
              v-for="item in codes.usrcon"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            ></el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="5">
        <el-form-item label="Between">
          <c-date-picker
            type="date"
            v-model="model.inidatfro"
            style="width: 100%"
            placeholder="请选择"
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="5">
        <el-form-item label="and" label-width="70px">
          <c-date-picker
            type="date"
            v-model="model.inidattil"
            style="width: 100%"
            placeholder="请选择"
          ></c-date-picker>
        </el-form-item>
      </c-col>
    </c-col>
    <c-col :span="24">
        <c-col :span="8">
        <el-form-item label="打印机">
          <c-select
            v-model="model.prt"
            placeholder="请选择"
            style="width: 90%"
          >
            <el-option
              v-for="item in codes.prt"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            ></el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="4">
        <el-form-item label="打印份数" prop="prtnum">
          <c-input
            v-model="model.prtnum"
            placeholder="请输入打印份数"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="3" style="margin-left:160px">
        <c-button type="primary">预览汇款信息</c-button>
      </c-col>
      <c-col :span="3">
        <c-button type="primary" disabled>打印汇款信息</c-button>
      </c-col>
      <c-col :span="3">
        <c-button type="primary" disabled>黑名单审核</c-button>
      </c-col>
    </c-col>
    <c-col :span="22" :offset="1">
          <c-table
            :border="true"
            :list="data"
            style="width:80%,text-align:center"
          >
            <el-table-column label="BlackList" width="auto"></el-table-column>
            <el-table-column label="Add Msg" width="auto"></el-table-column>
            <el-table-column label="TRN" width="auto"></el-table-column>
            <el-table-column label="Reference" width="auto"></el-table-column>
            <el-table-column label="Name" width="auto"></el-table-column>
            <el-table-column label="Creation" width="auto"></el-table-column>
            <el-table-column label="Cur" width="auto"></el-table-column>
          </c-table>
        </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptsel/Event";

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