<template>
  <div class="eibs-tab">
    <c-col :span="11">
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="Object" prop="">
            <c-input v-model="model.wfmmod.wfs.objtyp"></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="12">
          <el-form-item label-width="0">
            <c-input v-model="model.wfmmod.wfs.objinr"></c-input>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Object Name">
        <c-input v-model="model.wfmmod.wfs.objnam"></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="24">
      <c-istream-table :list="stmData.data" :columns="stmData.columns">
      </c-istream-table>
    </c-col>
    <!-- =========================原码=============================== -->
    <!-- S0000016 : Object         
       <c-col :span="12">
        <el-form-item label="Table Used to Store Associated Object" prop="wfmmod.wfs.objtyp">
            <c-select v-model="model.wfmmod.wfs.objtyp" style="width:100%" :placeholder="$t('other.please_enter')+'Table Used to Store Associated Object'">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('trnp.S0000016')" prop="wfmmod.wfs.objinr">
            <c-input  v-model="model.wfmmod.wfs.objinr" maxlength="8"  :placeholder="$t('other.please_enter')+$t('trnp.S0000016')"></c-input>
        </c-form-item>
       </c-col>
                S0000015 : Object Name 
                  
       <c-col :span="12">
        <c-form-item label="External Readable Object Identification" prop="wfmmod.wfs.objnam">
            <c-input  v-model="model.wfmmod.wfs.objnam" maxlength="40"  :placeholder="$t('other.please_enter')+'External Readable Object Identification'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="WFEs for transaction for display" prop="recpan.wfestm">
            <c-input  v-model="model.recpan.wfestm"  :placeholder="$t('other.please_enter')+'WFEs for transaction for display'"></c-input>
        </c-form-item>
       </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptrel/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      stmData: {
        columns: [
          '1 1  "ID" 150',
          '2 2 "Service" 225 1 0:0 1 SRVTXT',
          '3 3 "Status" 155 1 0:0 1 WFE:STA',
          '4 4  "Last Update" 202',
          '5 5 "Retries" 160 1 0:1',
          '6 6 "Text" 800',
          '7 7  "Contrary Text" 800',
          '8 8  "Target Time" 186',
        ],
        data: [],
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>