<template>
  <div class="eibs-tab">
    <!-- <c-col :span="24">
	    <c-checkbox v-model="model.srvtci.exeflg">TradeConnect</c-checkbox>
       </c-col> -->
    <c-col :span="24" style="margin-top: 10px">
      <!-- 左 -->
      <c-col :span="12">
        <el-form-item label="">
        <c-col :span="24">
          <c-checkbox v-model="model.srvtci.etydirflg"
            >Separate Directory per Entity</c-checkbox
          >
        </c-col>

        <c-col :span="12">
          <c-checkbox v-model="model.srvtci.parprtflg"
            >Partial Print</c-checkbox
          >
        </c-col>

        <c-col :span="12">
          <c-checkbox v-model="model.srvtci.errprtflg">Error Print</c-checkbox>
        </c-col>
          </el-form-item>
        <c-col :span="24">
          <el-form-item label="Text for Header" prop="srvtci.parheatxt">
            <c-input
              v-model="model.srvtci.parheatxt"
              maxlength="40"
              placeholder="请输入Text for Header"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
            label="Default Printer from:"
            prop="srvtci.srvprtm.prt.getprt"
          >
            <c-select
              v-model="model.srvtci.srvprtm.prt.getprt"
              style="width: 100%"
              placeholder="请选择Default Printer from:"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="Paperbin" prop="srvtci.srvprtm.prt.bin">
            <c-select
              v-model="model.srvtci.srvprtm.prt.bin"
              style="width: 100%"
              placeholder="请选择Paperbin"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="# of Copies" prop="srvtci.srvprtm.prt.cpycnt">
            <c-input
              v-model="model.srvtci.srvprtm.prt.cpycnt"
              placeholder="请输入# of Copies"
            ></c-input>
          </el-form-item>
        </c-col>

        <!-- <c-col :span="24">
          <span v-text="model.srvtci.fildirlab" data-path=".srvtci.fildirlab">
          </span>
        </c-col>

        <c-col :span="24">
          <span v-text="model.srvtci.filextlab" data-path=".srvtci.filextlab">
          </span>
        </c-col> -->

        <c-col :span="24">
          <el-form-item label="File Extension" prop="srvtci.filext">
            <c-input
              v-model="model.srvtci.filext"
              maxlength="3"
              placeholder="请输入File Extension"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

      <!-- 右 -->
      <c-col :span="12">
        <c-col :span="24">
          <el-form-item label="Type of Print" prop="srvtci.swtprttyp">
            <c-select
              v-model="model.srvtci.swtprttyp"
              style="width: 100%"
              placeholder="请选择Type of Print"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Text for Header" prop="srvtci.errheatxt">
            <c-input
              v-model="model.srvtci.errheatxt"
              maxlength="40"
              placeholder="请输入Text for Header"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
            label="Text for Header"
            prop="srvtci.srvprtm.prt.heatxt"
          >
            <c-input
              v-model="model.srvtci.srvprtm.prt.heatxt"
              maxlength="40"
              placeholder="请输入Text for Header"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="Technical Form" prop="srvtci.srvprtm.prt.tef">
            <c-select
              v-model="model.srvtci.srvprtm.prt.tef"
              style="width: 100%"
              placeholder="请选择Technical Form"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="Printer" prop="srvtci.srvprtm.prt.prt">
            <c-select
              v-model="model.srvtci.srvprtm.prt.prt"
              style="width: 100%"
              placeholder="请选择Printer"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Bin for 2nd Page" prop="srvtci.srvprtm.prt.bin2">
            <c-select
              v-model="model.srvtci.srvprtm.prt.bin2"
              style="width: 100%"
              placeholder="请选择Bin for 2nd Page"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="Directory for Files" prop="srvtci.fildir">
            <c-input
              v-model="model.srvtci.fildir"
              maxlength="40"
              placeholder="请输入Directory for Files"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <span v-text="model.srvtci.filexttxt" data-path=".srvtci.filexttxt">
          </span>
        </c-col>
      </c-col>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Switsk/Event";

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