Gitdetp.vue 4.96 KB
Newer Older
panziyi committed
1 2
<template>
  <div class="eibs-tab">
wangna committed
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
    <c-col :span="11">
      <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"
            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"
            rows="10"
            show-word-limit
            placeholder="请输入附加金额附言"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <c-col :span="12" :offset="1">
      <c-col :span="24">
panziyi committed
42
        <el-form-item label="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
wangna committed
43 44 45 46 47 48 49 50 51 52
          <c-input
            type="textarea"
            v-model="model.gcdgrp.blk.presentdet"
            rows="9"
            show-word-limit
            placeholder="请输入Present. Compl. Det."
            :disabled="model.gcdgrp.rec.demstat != 'INCP'"
          ></c-input>
        </el-form-item>
      </c-col>
panziyi committed
53

wangna committed
54 55
      <c-col :span="24">
        <el-form-item label="中间行" prop="gcdgrp.int.pts.extkey">
panziyi committed
56
          <c-fullbox>
wangna committed
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
            <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"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button size="small" type="primary" @click="onIntpDet">
                详情
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
panziyi committed
81

wangna committed
82
      <c-col :span="24">
panziyi committed
83
        <el-form-item label="" prop="gcdgrp.int.pts.nam">
wangna committed
84 85 86 87 88 89 90 91 92 93 94
          <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>
panziyi committed
95

wangna committed
96 97
      <c-col :span="24">
        <el-form-item label="帐户行" prop="gcdgrp.awi.pts.extkey">
panziyi committed
98
          <c-fullbox>
wangna committed
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
            <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"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button size="small" type="primary" @click="onAwipDet">
                详情
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
panziyi committed
123

wangna committed
124
      <c-col :span="24">
panziyi committed
125
        <el-form-item label="" prop="gcdgrp.awi.pts.nam">
wangna committed
126 127 128 129 130 131 132 133 134 135 136 137
          <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>
panziyi committed
138 139 140
  </div>
</template>
<script>
wangna committed
141
import Api from "~/service/Api";
panziyi committed
142
import commonProcess from "~/mixin/commonProcess";
wangna committed
143 144
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitcrq/Event";
panziyi committed
145
import Utils from "~/utils";
panziyi committed
146 147

export default {
wangna committed
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      demstat: [
        {
          label:
            "COMP	Complete demand, no other doc to accompany or follow this msg",
          value: "COMP",
        },
        {
          label:
            "INCP	Incomplete demand, supporting doc. to be presented separately",
          value: "INCP",
        },
      ],
    };
  },
  methods: { ...Event },
  created: function () {},
  computed: {
panziyi committed
170 171 172 173
    flag() {
      return this.model.didgrp.apl.pts.extkey == "";
    },
  },
wangna committed
174
};
panziyi committed
175 176 177
</script>
<style>
</style>