Ovwpc.vue 8.76 KB
Newer Older
liyixun committed
1 2
<template>
  <div class="eibs-tab">
liyixun committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
    <c-row>
      <c-col :span="24">
        <c-col :span="12">
          <c-col :span="24">
            <el-form-item
              label="Requested Issue Date"
              prop="gidgrp.rec.opndatc"
            >
              <c-date-picker
                type="date"
                v-model="model.gidgrp.rec.opndatc"
                style="width: 100%"
                placeholder="请选择Requested Issue Date"
              ></c-date-picker>
            </el-form-item>
          </c-col>
liyixun committed
19

liyixun committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
          <c-col :span="24">
            <c-col :span="12">
              <el-form-item label="Guarantee Amount" prop="gidgrp.cbs.mac.cur">
                <c-select
                  disabled
                  v-model="model.gidgrp.cbs.mac.cur"
                  style="width: 100%"
                  placeholder="请选择Guarantee Amount"
                >
                  <el-option
                    v-for="item in codes.cur"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
liyixun committed
38
            </c-col>
liyixun committed
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
            <c-col :span="8">
              <c-input
                disabled
                v-model="model.gidgrp.cbs.mac.amt"
                style="margin: 0 0 0 10px; width: 80%"
                placeholder="请输入Guarantee Amount"
              ></c-input>
            </c-col>
            <c-col :span="4" class="centerLable">
              <c-checkbox disabled v-model="model.gitp.aacp.aacmod.addamtflg"
                >Add. Amount</c-checkbox
              >
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
              <el-form-item label="Undertaking Type " prop="gidgrp.rec.gartypc">
                <c-select
                  v-model="model.gidgrp.rec.gartypc"
                  style="width: 100%"
                  placeholder="请选择Undertaking Type "
                >
                  <el-option
                    v-for="item in codes.gartypc"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="8">
              <c-input
                disabled
                v-model="model.gidgrp.blk.gartyptxtc"
                style="margin: 0 0 0 10px; width: 80%"
                placeholder="请输入Undertaking Type "
              ></c-input>
            </c-col>
          </c-col>

          <c-col :span="24">
            <el-form-item label="Form of Undertaking" prop="gidgrp.rec.legfrmc">
              <c-select
                v-model="model.gidgrp.rec.legfrmc"
                style="width: 100%"
                placeholder="请选择Form of Undertaking"
              >
                <el-option
                  v-for="item in codes.legfrmc1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
liyixun committed
95
              </c-select>
liyixun committed
96 97 98 99 100 101 102 103 104 105
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Demand Indicator " prop="gidgrp.rec.demandc">
              <c-select
                :code="codes.demand"
                v-model="model.gidgrp.rec.demandc"
                style="width: 100%"
                placeholder="请选择Demand Indicator "
              >
liyixun committed
106
              </c-select>
liyixun committed
107 108 109 110 111 112 113 114 115 116 117 118 119
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              label="Requested Language"
              prop="gidgrp.rec.stdwrduilc"
            >
              <c-select
                :code="codes.uiltxt2"
                v-model="model.gidgrp.rec.stdwrduilc"
                style="width: 100%"
                placeholder="请选择Requested Language"
              >
liyixun committed
120
              </c-select>
liyixun committed
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="11" :offset="1">
          <c-col :span="24">
            <el-form-item label="Choice of Text" prop="gidgrp.rec.gtxinrc">
              <c-select
                disabled
                v-model="model.gidgrp.rec.gtxinrc"
                style="width: 100%"
                placeholder="请选择Choice of Text"
              >
                <el-option
                  v-for="item in codes.gtxinr"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
liyixun committed
140
              </c-select>
liyixun committed
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
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-col :span="12">
              <el-form-item label="Applicable Rules" prop="gidgrp.blk.apprulc">
                <c-select
                  v-model="model.gidgrp.blk.apprulc"
                  style="width: 100%"
                  placeholder="请选择Applicable Rules"
                >
                  <el-option
                    v-for="item in codes.apprulc1"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="8">
              <c-input
                :disabled="model.gidgrp.blk.apprulc != 'OTHR'"
                style="margin: 0 0 0 10px; width: 80%"
                v-model="model.gidgrp.blk.apprultxtc"
                maxlength="35"
                placeholder="请输入Applicable Rules"
              ></c-input>
            </c-col>
          </c-col>

          <c-col :span="24">
            <el-form-item label="Expiry Type" prop="gidgrp.rec.exptyp">
              <c-select
                disabled
                v-model="model.gidgrp.rec.exptyp"
                style="width: 100%"
                placeholder="请选择Expiry Type"
              >
                <el-option
                  v-for="item in codes.exptyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
liyixun committed
188
              </c-select>
liyixun committed
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Validity until" prop="gidgrp.rec.expdat">
              <c-date-picker
                :disabled="model.gidgrp.rec.exptyp == 'OPEN'"
                type="date"
                v-model="model.gidgrp.rec.expdat"
                style="width: 100%"
                placeholder="请选择Validity until"
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-col :span="20">
              <el-form-item
                label="Expiry Condition/ Evt."
                prop="gidgrp.blk.exptxt"
              >
                <c-input
                  type="textarea"
                  rows="4"
                  :disabled="model.gitp.exptxtmodflg == ''"
                  v-model="model.gidgrp.blk.exptxt"
                  maxlength="65"
                  show-word-limit
                  placeholder="请输入Expiry Condition/ Evt."
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="4">
              <c-checkbox
                v-model="model.gitp.exptxtmodflg"
                :disabled="
                  model.gidgrp.rec.exptyp == 'FIXD' ||
                  model.gidgrp.rec.exptyp == 'OPEN' ||
                  model.gidgrp.rec.exptyp == ''
                "
                style="margin: 0 0 0 10px"
                >Modify Text</c-checkbox
              >
              <c-button
                disabled
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px"
                @click="onGitpButdifexptxt"
              >
                vs. &System
              </c-button>
              <c-button
                disabled
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px"
                @click="onGitpButdifhisexptxt"
              >
                vs. &History
              </c-button>
            </c-col>
          </c-col>
        </c-col>
      </c-col>
    </c-row>
liyixun committed
254 255 256
  </div>
</template>
<script>
liyixun committed
257
import Api from "~/service/Api";
liyixun committed
258
import commonProcess from "~/mixin/commonProcess";
liyixun committed
259 260
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitame/Event";
liyixun committed
261 262

export default {
liyixun committed
263 264 265 266 267 268 269 270 271
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
liyixun committed
272 273 274
</script>
<style>
</style>