Gitdetp.vue 5.65 KB
Newer Older
xionglin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
<template>
  <div class="eibs">
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
      <c-col :span="24">
        <el-form-item label="需求声明" prop="gcdgrp.rec.demstat">
          <c-select
            v-model="model.gcdgrp.rec.demstat"
            style="width: 100%"
            placeholder="请选择需求声明"
            :code="demstat"
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="需求声明文本 " prop="clmtxts20">
          <c-input
            type="textarea"
            v-model="model.clmtxts20"
            maxlength="65"
            rows="10"
            show-word-limit
            placeholder="请输入需求声明文本 "
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="附加金额附言" prop="gcdgrp.blk.addamtinf">
          <c-input
            type="textarea"
            v-model="model.gcdgrp.blk.addamtinf"
            maxlength="65"
            rows="10"
            show-word-limit
            placeholder="请输入附加金额附言"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
          <c-input
            type="textarea"
            v-model="model.gcdgrp.blk.presentdet"
            maxlength="35"
            rows="9"
            show-word-limit
            placeholder="请输入Present. Compl. Det."
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
        <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
      <c-col :span="24">
        <el-form-item label=" " label-width="150px" prop="extpay">
	            <c-checkbox class="checkbox-left" v-model="model.extpay"
                >延期或付款</c-checkbox>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="有效请求日期" prop="gcdgrp.rec.newexpdat" style="width: 100%">
          <c-date-picker
            type="date"
            v-model="model.gcdgrp.rec.newexpdat"
            style="width: 100%"
            placeholder="请选择日期"
            :disabled="!model.extpay"
            ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="中间行" prop="gcdgrp.int.pts.extkey">
          <c-fullbox>
            <c-input
              v-model="model.gcdgrp.int.pts.extkey"
              maxlength="16"
              placeholder="请输入"
              @keyup.enter.native="
                showGridPromptDialog(
                  'gcdgrp.int.pts.extkey'
                )
              "
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
                <i class="el-icon-info"></i>
              </c-button>
              <c-button size="small" type="primary" @click="onIntpDet">
                详情
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="" prop="gcdgrp.int.pts.nam">
          <c-input
            type="textarea"
            v-model="model.gcdgrp.int.pts.nam"
            rows="4"
            maxlength="100"
            show-word-limit
            placeholder="请输入"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="帐户行" prop="gcdgrp.awi.pts.extkey">
          <c-fullbox>
            <c-input
              v-model="model.gcdgrp.awi.pts.extkey"
              maxlength="16"
              placeholder="请输入"
              @keyup.enter.native="
                showGridPromptDialog('gcdgrp.awi.pts.extkey')
              "
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
                <i class="el-icon-info"></i>
              </c-button>
              <c-button size="small" type="primary" @click="onAwipDet">
                详情
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="" prop="gcdgrp.awi.pts.nam">
          <c-input
            type="textarea"
            v-model="model.gcdgrp.awi.pts.nam"
            rows="4"
            maxlength="100"
            show-word-limit
            placeholder="请输入"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
   
  </div>
</template>
<script>
import event from "../event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event],
  data() {
    return {
      demstat: [
        {
          label:
            "COMP	完整需求,没有其他单据伴随或跟踪此消息",
          value: "COMP",
        },
        {
          label:
            "INCP	不完整需求,支持单据单独提交",
          value: "INCP",
        },
      ],
    };
  },
  computed:{
    extpay: {
      get() {
        return this.model.extpay != "";
      },
      set(val) {
        this.model.extpay = val ? "X" : "";
      },
    },
  },
  computed: {
    flag() {
      return this.model.didgrp.apl.pts.extkey == "";
    },
  },
};
</script>
<style>
</style>