<template>

  <div>
    <el-form :model="inputQuery" label-width="120px">

      <div style="width: 100%;margin: 0 auto;">
        <el-row style="margin-bottom: 15px">
          <el-col span="5">
            <span class="spanTitle">单据设置</span>
          </el-col>
        </el-row>
      </div>
      <el-divider direction="horizontal"></el-divider>
      <div style="width: 100%;margin: 0 auto">
        <el-row>
          <el-col span="5">
            <span class="spanHeader">参数</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <span class="spanHeader">设置</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="spanHeader">参数设置说明</span>
          </el-col>
        </el-row>
        <el-divider direction="horizontal"></el-divider>
      </div>

      <el-row>
        <el-col span="5">
          <span class="sptext">启用单据类型</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.enable" style="width: 65%" placeholder="状态" clearable>
            <el-option label="启用" :value="true"></el-option>
            <el-option label="不启用" :value="false"></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">是否启用此单据类型</span>
        </el-col>
      </el-row>
      <el-divider direction="horizontal"></el-divider>

      <el-row>
        <el-col span="5">
          <span class="sptext">允许手动输入客户信息</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.genUnit" :disabled="inputQuery.corpType != 1" style="width: 65%"
                     placeholder="是否允许" clearable>
            <el-option label="允许" :value="true"></el-option>
            <el-option label="不允许" :value="false"></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">允许客户在做单时手动输入客户信息</span>
        </el-col>
      </el-row>
      <el-divider direction="horizontal"></el-divider>

      <el-row>
        <el-col span="5">
          <span class="sptext">允许科室多次使用出库</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.useDyCount" :disabled="inputQuery.corpType != 1" style="width: 65%"
                     placeholder="是否启用" clearable>
            <el-option label="允许" :value="true"></el-option>
            <el-option label="不允许" :value="false"></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">允许产品多次使用使用出库</span>
        </el-col>
      </el-row>
      <el-divider direction="horizontal"></el-divider>

      <!--      <el-row>-->
      <!--        <el-col span="5">-->
      <!--          <span class="sptext">手持终端提交单据至自助平台</span>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="5">-->
      <!--          <el-select v-model="inputQuery.outToSpms" style="width: 65%" placeholder="是否启用" clearable>-->
      <!--            <el-option label="启用" :value="true"></el-option>-->
      <!--            <el-option label="不启用" :value="false"></el-option>-->
      <!--          </el-select>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="13">-->
      <!--          <span class="sptext">手持终端提交单据至自助平台</span>-->
      <!--        </el-col>-->
      <!--      </el-row>-->
      <!--      <el-divider direction="horizontal"></el-divider>-->

      <!--      <el-row>-->
      <!--        <el-col span="5">-->
      <!--          <span class="sptext">允许验收自助平台单据</span>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="5">-->
      <!--          <el-select v-model="inputQuery.entrutSpms" style="width: 65%" placeholder="是否允许" clearable>-->
      <!--            <el-option label="允许" :value="true"></el-option>-->
      <!--            <el-option label="不允许" :value="false"></el-option>-->
      <!--          </el-select>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="13">-->
      <!--          <span class="sptext">允许验收自助平台单据</span>-->
      <!--        </el-col>-->
      <!--      </el-row>-->
      <!--      <el-divider direction="horizontal"></el-divider>-->

      <!--      <el-row>-->
      <!--        <el-col span="5">-->
      <!--          <span class="sptext">寄售类型单据</span>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="5">-->
      <!--          <el-select v-model="inputQuery.advanceType" style="width: 65%" placeholder="是否启用" clearable>-->
      <!--            <el-option label="启用" :value="true"></el-option>-->
      <!--            <el-option label="不启用" :value="false"></el-option>-->
      <!--          </el-select>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="13">-->
      <!--          <span class="sptext">设置此单据是否为寄售单据类型</span>-->
      <!--        </el-col>-->
      <!--      </el-row>-->
      <!--      <el-divider direction="horizontal"></el-divider>-->

      <!--      <el-row>-->
      <!--        <el-col span="5">-->
      <!--          <span class="sptext">预验收</span>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="5">-->
      <!--          <el-select v-model="inputQuery.preIn" style="width: 65%" :disabled="inputQuery.corpType!='2'" placeholder="是否启用" clearable>-->
      <!--            <el-option label="启用" :value="true"></el-option>-->
      <!--            <el-option label="不启用" :value="false"></el-option>-->
      <!--          </el-select>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="13">-->
      <!--          <span class="sptext">设置此单据类型为预验收单据类型</span>-->
      <!--        </el-col>-->
      <!--      </el-row>-->
      <!--      <el-divider direction="horizontal"></el-divider>-->

      <!--      <el-row>-->
      <!--        <el-col span="5">-->
      <!--          <span class="sptext">允许供应商使用</span>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="5">-->
      <!--          <el-select v-model="inputQuery.spUse" style="width: 65%" placeholder="是否允许" clearable>-->
      <!--            <el-option label="允许" :value="true"></el-option>-->
      <!--            <el-option label="不允许" :value="false"></el-option>-->
      <!--          </el-select>-->
      <!--        </el-col>-->
      <!--        <el-divider direction="vertical"></el-divider>-->
      <!--        <el-col span="13">-->
      <!--          <span class="sptext">是否允许供应商使用此单据类型</span>-->
      <!--        </el-col>-->
      <!--      </el-row>-->
      <!--      <el-divider></el-divider>-->

      <el-row>
        <el-col span="5">
          <span class="sptext">预验收是否带回</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.preInBack" :disabled="inputQuery.actionType != 2" style="width: 65%"
                     placeholder="是否带回" clearable>
            <el-option label="是" :value="true"></el-option>
            <el-option label="否" :value="false"></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">预验收是否带回</span>
        </el-col>
      </el-row>
      <el-divider direction="horizontal"></el-divider>

      <div style="width: 100%;margin: 0 auto;margin-top: 20px">
        <el-row style="margin-bottom: 15px">
          <el-col span="5">
            <span class="spanTitle">单据默认选项</span>
          </el-col>
        </el-row>
      </div>
      <el-divider direction="horizontal"></el-divider>


      <div style="width: 100%;margin: 0 auto">
        <el-row>
          <el-col span="5">
            <span class="spanHeader">参数</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <span class="spanHeader">设置</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="spanHeader">参数设置说明</span>
          </el-col>
        </el-row>
        <el-divider direction="horizontal"></el-divider>
      </div>
      <el-row>
        <el-col span="5">
          <span class="sptext">出库时必须校验预验收库存</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.scanPreIn" style="width: 65%" :disabled="inputQuery.corpType!='1'"
                     placeholder="是否启用" clearable>
            <el-option label="启用" :value="true"></el-option>
            <el-option label="不启用" :value="false"></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">出库时必须校验预验收库存</span>
        </el-col>
      </el-row>
      <el-divider></el-divider>

      <el-row>
        <el-col span="5">
          <span class="sptext">允许单据库存0库存出库</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.vailInv" style="width: 65%" :disabled="inputQuery.mainAction!='WareHouseOut'"
                     placeholder="是否启用" clearable>
            <el-option label="启用" :value="true"></el-option>
            <el-option label="不启用" :value="false"></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">允许单据库存0库存出库</span>
        </el-col>
      </el-row>
      <el-divider></el-divider>

      <el-row>
        <el-col span="5">
          <span class="sptext">采集UDI码时进行三期校验</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.codeFillCheck" style="width: 65%" placeholder="是否启用" clearable>
            <el-option label="启用" :value="true"></el-option>
            <el-option label="不启用" :value="false"></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">采集UDI码时进行三期校验</span>
        </el-col>
      </el-row>
      <el-divider></el-divider>

      <el-row>
        <el-col span="5">
          <span class="sptext">校验产品是否可配送</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.vailDispatch" style="width: 65%" placeholder="是否启用" clearable>
            <el-option label="启用" :value="true"></el-option>
            <el-option label="不启用" :value="false"></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">校验产品是否可配送</span>
        </el-col>
      </el-row>
      <el-divider></el-divider>

      <el-row>
        <el-col span="5">
          <span class="sptext">校验是否集采产品</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.vailGroupBuy" style="width: 65%" placeholder="是否启用" clearable>
            <el-option label="无需校验" :value=0></el-option>
            <el-option label="只采集集采产品" :value=1></el-option>
            <el-option label="只采集非集采产品" :value=2></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">校验是否集采产品</span>
        </el-col>
      </el-row>
      <el-divider></el-divider>
      <el-row>
        <el-col span="5">
          <span class="sptext">预验收是否带回</span>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="5">
          <el-select v-model="inputQuery.inPreInBack" style="width: 65%;margin-top: 4px" placeholder="是否带回">
            <el-option label="带回" :value=1></el-option>
            <el-option label="不带回" :value=2></el-option>
          </el-select>
        </el-col>
        <el-divider direction="vertical"></el-divider>
        <el-col span="13">
          <span class="sptext">预验收是否带回</span>
        </el-col>
      </el-row>
      <el-divider></el-divider>
      <div>


        <div style="width: 100%;margin: 0 auto;margin-top: 20px">
          <el-row style="margin-bottom: 15px">
            <el-col span="18">
              <el-checkbox v-model="inputQuery.checkEnable">
                <span class="spanTitle">单据是否必须手动校验业务单，请指定单据的来源类型(校验业务单)</span>
              </el-checkbox>
            </el-col>
          </el-row>
        </div>

        <el-divider direction="horizontal"></el-divider>
        <div style="width: 100%;margin: 0 auto">
          <el-row>
            <el-col span="5">
              <span class="spanHeader">参数</span>
            </el-col>
            <el-divider direction="vertical"></el-divider>
            <el-col span="5">
              <span class="spanHeader">设置</span>
            </el-col>
            <el-divider direction="vertical"></el-divider>
            <el-col span="13">
              <span class="spanHeader">参数设置说明</span>
            </el-col>
          </el-row>
          <el-divider direction="horizontal"></el-divider>
        </div>
        <!--      <el-row>-->
        <!--        <el-col span="5">-->
        <!--          <span class="sptext">需要手动校验业务单的单据来源类型</span>-->
        <!--        </el-col>-->
        <!--        <el-divider direction="vertical"></el-divider>-->
        <!--        <el-col span="5">-->
        <!--          <el-select v-model="inputQuery.checkEnable" style="width: 65%" placeholder="是否启用" clearable>-->
        <!--            <el-option label="启用" :value="true"></el-option>-->
        <!--            <el-option label="不启用" :value="false"></el-option>-->
        <!--          </el-select>-->
        <!--        </el-col>-->
        <!--        <el-divider direction="vertical"></el-divider>-->
        <!--        <el-col span="13">-->
        <!--          <span class="sptext">需要手动校验业务单的单据来源类型</span>-->
        <!--        </el-col>-->
        <!--      </el-row>-->
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">web端新增单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.checkWebNew" style="width: 65%" :disabled="!inputQuery.checkEnable"
                       placeholder="是否启用" clearable>
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">web端新增单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">手持终端未校验单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.checkPdaUn" style="width: 65%" :disabled="!inputQuery.checkEnable"
                       placeholder="是否启用" clearable>
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">手持终端未校验单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">手持终端已校验单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.checkPdaEd" style="width: 65%" :disabled="!inputQuery.checkEnable"
                       placeholder="是否启用" clearable>
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">手持终端已校验单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">是否校验UDIMS平台单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.checkUdims" style="width: 65%" :disabled="!inputQuery.checkEnable"
                       placeholder="是否启用" clearable>
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">是否校验UDIMS平台单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">UDI扫码通</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.checkPc" style="width: 65%" :disabled="!inputQuery.checkEnable"
                       placeholder="是否启用" clearable>
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">UDI扫码通</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">自助平台同步</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.checkSp" style="width: 65%" :disabled="!inputQuery.checkEnable"
                       placeholder="是否启用" clearable>
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">自助平台同步</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>
        <el-row>
          <el-col span="5">
            <span class="sptext">缺量补单</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.checkChange" style="width: 65%" :disabled="!inputQuery.checkEnable"
                       placeholder="是否启用" clearable>
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">缺量补单</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">平衡补单</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.checkBalance" :disabled="!inputQuery.checkEnable" style="width: 65%"
                       placeholder="是否启用" clearable>
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">平衡补单</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>
        <el-row>
          <el-col span="5">
            <span class="sptext">手动补单</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.checkCopy" style="width: 65%" :disabled="!inputQuery.checkEnable"
                       placeholder="是否启用" clearable>
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">手动补单</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>
      </div>
      <div>


        <div style="width: 100%;margin: 0 auto;margin-top: 20px">
          <el-row style="margin-bottom: 15px">
            <el-col span="18">
              <el-checkbox v-model="inputQuery.thrCheckEnable">
                <span class="spanTitle">单据是否必须手动确认出入库(送/收货)，请指定单据的来源类型(一次审核)</span>
              </el-checkbox>
            </el-col>
          </el-row>
        </div>
        <el-divider direction="horizontal"></el-divider>
        <div style="width: 100%;margin: 0 auto">
          <el-row>
            <el-col span="5">
              <span class="spanHeader">参数</span>
            </el-col>
            <el-divider direction="vertical"></el-divider>
            <el-col span="5">
              <span class="spanHeader">设置</span>
            </el-col>
            <el-divider direction="vertical"></el-divider>
            <el-col span="13">
              <span class="spanHeader">参数设置说明</span>
            </el-col>
          </el-row>
          <el-divider direction="horizontal"></el-divider>
        </div>
        <el-row>
          <el-col span="5">
            <span class="sptext">web端新增单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.thrCheckWebNew" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.thrCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">web端新增单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">手持终端未校验单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.thrCheckPdaUn" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.thrCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">手持终端未校验单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">手持终端已校验单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.thrCheckPdaEd" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.thrCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">手持终端已校验单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">校验产品是否可配送</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.thrCheckUdims" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.thrCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">是否校验UDIMS平台单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">UDI扫码通</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.thrCheckPc" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.thrCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">UDI扫码通</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">校验产品是否可配送</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.thrCheckSp" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.thrCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">校验产品是否可配送</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">缺量补单</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.thrCheckChange" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.thrCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">缺量补单</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">平衡补单</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.thrCheckBalance" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.thrCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">平衡补单</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">手动补单</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.thrCheckCopy" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.thrCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">手动补单</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>
      </div>
      <div>


        <div style="width: 100%;margin: 0 auto;margin-top: 20px">
          <el-row style="margin-bottom: 15px">
            <el-col span="18">
              <el-checkbox v-model="inputQuery.secCheckEnable">
                <span class="spanTitle">单据是否必须手动审核，请指定单据的来源类型(二次审核)</span>
              </el-checkbox>
            </el-col>
          </el-row>
        </div>

        <el-divider direction="horizontal"></el-divider>
        <div style="width: 100%;margin: 0 auto">
          <el-row>
            <el-col span="5">
              <span class="spanHeader">参数</span>
            </el-col>
            <el-divider direction="vertical"></el-divider>
            <el-col span="5">
              <span class="spanHeader">设置</span>
            </el-col>
            <el-divider direction="vertical"></el-divider>
            <el-col span="13">
              <span class="spanHeader">参数设置说明</span>
            </el-col>
          </el-row>
          <el-divider direction="horizontal"></el-divider>
        </div>

        <!--      <el-row>-->
        <!--        <el-col span="5">-->
        <!--          <span class="sptext">必须手工审核的单据来源类型</span>-->
        <!--        </el-col>-->
        <!--        <el-divider direction="vertical"></el-divider>-->
        <!--        <el-col span="5">-->
        <!--          <el-select v-model="inputQuery.secCheckEnable" style="width: 65%" placeholder="是否启用" clearable>-->
        <!--            <el-option label="启用" :value="true"></el-option>-->
        <!--            <el-option label="不启用" :value="false"></el-option>-->
        <!--          </el-select>-->
        <!--        </el-col>-->
        <!--        <el-divider direction="vertical"></el-divider>-->
        <!--        <el-col span="13">-->
        <!--          <span class="sptext">必须手工审核的单据来源类型</span>-->
        <!--        </el-col>-->
        <!--      </el-row>-->
        <!--      <el-divider></el-divider>-->

        <el-row>
          <el-col span="5">
            <span class="sptext">web端新增单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.secCheckWebNew" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.secCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">web端新增单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">手持终端未校验单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.secCheckPdaUn" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.secCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">手持终端未校验单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">手持终端已校验单据</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.secCheckPdaEd" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.secCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">手持终端已校验单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">校验产品是否可配送</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.secCheckUdims" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.secCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">是否校验UDIMS平台单据</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">UDI扫码通</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.secCheckPc" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.secCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">UDI扫码通</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">校验产品是否可配送</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.secCheckSp" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.secCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">校验产品是否可配送</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">缺量补单</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.secCheckChange" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.secCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">缺量补单</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">平衡补单</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.secCheckBalance" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.secCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">平衡补单</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col span="5">
            <span class="sptext">手动补单</span>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="5">
            <el-select v-model="inputQuery.secCheckCopy" style="width: 65%" placeholder="是否启用" clearable
                       :disabled="!inputQuery.secCheckEnable">
              <el-option label="启用" :value="true"></el-option>
              <el-option label="不启用" :value="false"></el-option>
            </el-select>
          </el-col>
          <el-divider direction="vertical"></el-divider>
          <el-col span="13">
            <span class="sptext">手动补单</span>
          </el-col>
        </el-row>
        <el-divider></el-divider>
      </div>

    </el-form>
  </div>

</template>

<script>
export default {
  name: "busTypeAdvancedSettings",
  props: {
    inputQuery: {
      type: Object,
      required: true
    }
  },

  data() {
    return {}
  }

}
</script>

<style scoped>

.check-box-group {
  margin-left: 25px;
  margin-bottom: 12px;
}

.el-divider {
  margin: 6px 0px 8px 0px;
  background: 0 0;
  border-top: 1px solid #E6EBF5;
}

.spanTitle {
  font-size: 15px;
  font-weight: bold;
  color: #000000
}

.spanHeader {
  font-size: 14px;
  font-weight: bold;
  color: #3d3b3b
}


.sptext {
  font-size: 13px;
  font-weight: normal;
}

</style>
