<template>
  <div class="eibs-tab">
    <!-- <c-list-search
      @form-reset="errpHandleReset"
      @form-search="errpHandleSearch"
    >
      <template v-slot="searchSlot"> -->
      <el-form
        class="m-table-search-form"
        ref="paramsForm"
        :inline="true"
        label-position="right"
        label-width="110px"
        size="small"
      >
      
      <el-row>
        <c-col :span="23" style="margin-left: 9px;">
        <c-col :span="8">
          <el-form-item label="申报编号" prop="errsel.rptno"  style="width: 100%">
            <c-input
              v-model="model.errsel.rptno"
              maxlength="22"
              placeholder="请输入申报编号"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="8">
              <el-form-item label="起止日期" style="width: 100%">
                <c-col :span="11">
                  <c-date-picker
                    type="date"
                    v-model="model.bopquep.frmdat"
                    value-format="yyyy-MM-dd"
                    style="width: 100%"
                    placeholder="请选择From"
                  ></c-date-picker>
                </c-col>
                <c-col :span="2" style="text-align: center">
                  <label style="display: inline-block; width: 100%">-</label>
                </c-col>
                <c-col :span="11">
                  <c-date-picker
                    type="date"
                    v-model="model.bopquep.tildat"
                    value-format="yyyy-MM-dd"
                    style="width: 100%"
                    placeholder="请选择Until"
                  ></c-date-picker>
                </c-col>
              </el-form-item>
            </c-col>

        <c-col :span="8">
          <el-form-item label="业务所属行" prop="bopquep.ownextkey"  style="width: 100%">
            <c-select
              v-model="model.bopquep.ownextkey"
              style="width: 100%"
              placeholder="请选择业务所属行"
            >
            </c-select>
          </el-form-item>
        </c-col>
            </c-col>
        <c-col :span="23" style="margin-left: 9px;text-align: right;height:36.8px">
          <el-button size="small" @click="errpHandleReset">重置</el-button>
          <el-button
            type="primary"
            icon="el-icon-search"
            size="small"
            @click="errpHandleSearch"
            >查询</el-button
          >
        </c-col>
      </el-row>
      </el-form>
      <!-- </template>
    </c-list-search> -->
    <c-col :span="23" style="margin-left: 9px;">
      <div style="border-bottom: 10px solid rgb(232, 232, 232)">
      </div>
    </c-col>

    <el-row>
      <c-col :span="23" style="margin-left: 9px;">
        <c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
          <el-table-column fixed="right" prop="op" label="操作" width="120px">
            <template slot="header">
                <c-col :span="11" style="text-align:left"><span>操作</span></c-col>
                <!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
              </template>
            <template slot-scope="scope">
              <a href="javascript:void(0)" @click="continueEdit(scope.row)"
                >correct</a
              >
            </template>
          </el-table-column>
        </c-istream-table>
      </c-col>
    </el-row>
    <!--                                         
       <c-col :span="12">
        <el-form-item label="申报编号" prop="errsel.rptno">
            <c-input  v-model="model.errsel.rptno" maxlength="22"  placeholder="请输入申报编号"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Initial Code" prop="bopquep.ownextkey">
            <c-select v-model="model.bopquep.ownextkey" style="width:100%" placeholder="请选择Initial Code">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="From" prop="bopquep.frmdat">
            <c-date-picker type="date"  v-model="model.bopquep.frmdat" style="width:100%"  placeholder="请选择From"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Until" prop="bopquep.tildat">
            <c-date-picker type="date"  v-model="model.bopquep.tildat" style="width:100%"  placeholder="请选择Until"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onErrselSerbut">
            Search
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Select Error Message" prop="errsel.msgstm">
            <c-input  v-model="model.errsel.msgstm"  placeholder="请输入Select Error Message"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onErrselCorbut">
            Correct
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onExi">
            Exit
        </c-button>
       </c-col>
       -->
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bopsel/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
     return {
      stmData: {
        columns: [
          '4 1 "申报编号" 0 ',
          '5 2 "反馈日期" 0',
          '7 3 "业务编号" 0',
          '20 4 "错误信息" 0',
          '21 5 "接口" 0',
        ],
        data: [],
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>
