<template>
  <div class="eibs-tab">
    <!-- <c-col :span="12">
	    <c-checkbox v-model="model.srvswi.exeflg">Incoming Swift</c-checkbox>
       </c-col> -->
    <!-- 先用一个span 24页面铺开 -->
    <c-col :span="24" style="margin-top: 10px">
      <!-- 左加右加：offset=23 -->
      <c-col :span="12">
        <el-form-item label="">
          <c-col :span="24">
            <c-checkbox v-model="model.srvswi.etydirflg"
              >Separate Directory per Entity </c-checkbox
            >
          </c-col>

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

          <c-col :span="12">
            <c-checkbox v-model="model.srvswi.errprtflg"
              >Error Print</c-checkbox
            >
          </c-col>
        </el-form-item>
        
        <c-col :span="24">
          <el-form-item label="Text for Header" prop="srvswi.parheatxt">
            <c-input
              v-model="model.srvswi.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="srvswi.srvprtm.prt.getprt"
          >
            <c-select
              v-model="model.srvswi.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="srvswi.srvprtm.prt.bin">
            <c-select
              v-model="model.srvswi.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="srvswi.srvprtm.prt.cpycnt">
            <c-input
              v-model="model.srvswi.srvprtm.prt.cpycnt"
              placeholder="请输入# of Copies"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="File Extension" prop="srvswi.filext">
            <c-input
              v-model="model.srvswi.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="srvswi.swtprttyp">
            <c-select
              v-model="model.srvswi.swtprttyp"
              style="width: 100%"
              placeholder="请选择Type of Print"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Printer" prop="srvswi.srvprtm.prt.prt">
            <c-select
              v-model="model.srvswi.srvprtm.prt.prt"
              style="width: 100%"
              placeholder="请选择Printer"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="Text for Header" prop="srvswi.errheatxt">
            <c-input
              v-model="model.srvswi.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="srvswi.srvprtm.prt.heatxt"
          >
            <c-input
              v-model="model.srvswi.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="srvswi.srvprtm.prt.tef">
            <c-select
              v-model="model.srvswi.srvprtm.prt.tef"
              style="width: 100%"
              placeholder="请选择Technical Form"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Bin for 2nd Page" prop="srvswi.srvprtm.prt.bin2">
            <c-select
              v-model="model.srvswi.srvprtm.prt.bin2"
              style="width: 100%"
              placeholder="请选择Bin for 2nd Page"
            >
            </c-select>
          </el-form-item>
        </c-col>

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

        <c-col :span="24">
          <el-form-item label="Directory for Files" prop="srvswi.fildir">
            <c-input
              v-model="model.srvswi.fildir"
              maxlength="40"
              placeholder="请输入Directory for Files"
            ></c-input>
          </el-form-item>
        </c-col>

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

        <c-col :span="24">
          <span v-text="model.srvswi.filexttxt" data-path=".srvswi.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>
