Detpc.vue 9.85 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
3
    <c-row>
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
      <c-col :span="24">
        <c-col :span="11">
          <c-col :span="24">
            <el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc">
              <c-input
                disabled
                v-model="model.gidgrp.rec.orcrefc"
                maxlength="35"
                placeholder="请输入Contract Reference"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Contract Date" prop="gidgrp.rec.orcdatc">
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.orcdatc"
                style="width: 100%"
                placeholder="请选择Date from Original Contract"
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdatc">
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.tenclsdatc"
                style="width: 100%"
                placeholder="请选择Closing Date"
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
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
            <c-col :span="20">
              <el-form-item
                v-if="model.gitp.covgodsrvcmodflg == ''"
                label="Object of Contract"
                prop="gidgrp.blk.covgodsrvc"
              >
                <c-input
                  disabled
                  rows="5"
                  type="textarea"
                  v-model="model.gidgrp.blk.covgodsrvc"
                  maxlength="3250"
                  show-word-limit
                  placeholder="请输入Object of Contract"
                ></c-input>
              </el-form-item>
              <el-form-item
                v-if="model.gitp.covgodsrvcmodflg == 'X'"
                label="Underly. Transact. Det."
                prop="gidgrp.blk.atxcovgodsrvc"
              >
                <c-input
                  rows="5"
                  type="textarea"
                  v-model="model.gidgrp.blk.atxcovgodsrvc"
                  maxlength="3250"
                  show-word-limit
                  placeholder="请输入Underly. Transact. Det."
                  @blur="atxcovgodsrvcBlur"
                ></c-input>
              </el-form-item>
            </c-col>
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
            <c-col :span="4">
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitp.covgodsrvcmodflg"
                style="margin: 0 0 0 10px"
                @change="modflgChange"
                >Modify Text</c-checkbox
              >
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitp.covgodc.chkast"
                style="margin: 0 0 0 10px"
                >Allow *</c-checkbox
              >
              <c-button
                disabled
                v-if="model.gitp.swiftflg == 'Y'"
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px"
                @click="onGitpButdifcovgodsrvc"
              >
                vs.&System
              </c-button>
              <c-button
                disabled
                v-if="model.gitp.swiftflg == 'Y'"
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px"
                @click="onGitpButdifhiscovgodsrvc"
              >
                vs.&History
              </c-button>
            </c-col>
          </c-col>
          <c-col :span="24">
            <el-form-item
              label="Original Perc./ Rate"
              prop="gidgrp.rec.orcratc"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.orcratc"
                placeholder="请输入Original Perc./ Rate"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
              <el-form-item label="Contract Amount " prop="gidgrp.rec.orccurc">
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.orccurc"
                  style="width: 100%"
                  placeholder="请选择Contract Amount "
                >
                  <el-option
                    v-for="item in codes.curtxt"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
137
            </c-col>
liyixun committed
138 139 140 141 142 143 144 145
            <c-col :span="12">
              <el-form-item label-width="5px" prop="gidgrp.rec.orcamtc">
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.orcamtc"
                  placeholder="请输入Contract Amount "
                ></c-input>
              </el-form-item>
146
            </c-col>
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
          </c-col>
          <c-col :span="24">
            <el-form-item
              label="Original Contract Place"
              prop="gidgrp.blk.orcplcc"
            >
              <c-input
                disabled
                type="textarea"
                v-model="model.gidgrp.blk.orcplcc"
                maxlength="140"
                show-word-limit
                placeholder="请输入Original Contract Place"
              ></c-input>
            </el-form-item>
          </c-col>
163
        </c-col>
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
        <c-col :span="11" :offset="1">
          <c-col :span="24">
            <el-form-item
              label="A/c for Adv. Paym. Guar."
              prop="gidgrp.rec.accc"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.accc"
                maxlength="35"
                placeholder="请输入A/c for Adv. Paym. Guar."
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc">
              <c-select
                v-model="model.gidgrp.rec.jurlawc"
                style="width: 100%"
                placeholder="请选择Governing Law"
              >
                <el-option
                  v-for="item in codes.ctytxt1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
192
              </c-select>
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 254 255 256 257 258 259 260 261 262 263 264 265 266
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="Governing Law " prop="gidgrp.rec.jurlawtxtc">
              <c-input
                disabled
                v-model="model.gidgrp.rec.jurlawtxtc"
                maxlength="65"
                placeholder="请输入Governing Law "
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              label="Place of Jurisdiction"
              prop="gidgrp.rec.jurplcc"
            >
              <c-input
                :disabled="model.gidgrp.rec.jurlawc == ''"
                v-model="model.gidgrp.rec.jurplcc"
                maxlength="35"
                placeholder="请输入Place of Jurisdiction"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Tender Reference" prop="gidgrp.rec.tenrefc">
              <c-input
                disabled
                v-model="model.gidgrp.rec.tenrefc"
                maxlength="35"
                placeholder="请输入Tender Reference"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Tender Date" prop="gidgrp.rec.tendatc">
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.tendatc"
                style="width: 100%"
                placeholder="请选择Tender Date"
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              label="Latest Transmiss. Date"
              prop="gidgrp.rec.trmdatc"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.trmdatc"
                style="width: 100%"
                placeholder="请选择Latest Transmiss. Date"
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Additional Info" prop="gidgrp.blk.addinfc">
              <c-input
                disabled
                type="textarea"
                v-model="model.gidgrp.blk.addinfc"
                maxlength="700"
                show-word-limit
                placeholder="请输入Additional Info"
              ></c-input>
            </el-form-item>
          </c-col>
267
        </c-col>
268 269
      </c-col>
    </c-row>
270 271 272
  </div>
</template>
<script>
273
import Api from "~/service/Api";
274
import commonProcess from "~/mixin/commonProcess";
275 276 277
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
278 279

export default {
280 281 282 283 284 285
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
liyixun committed
286
  methods: {
287 288 289 290 291 292
    ...Event,
    async atxcovgodsrvcBlur() {
      let rtnmsg = await this.executeRule("gidgrp.blk.atxcovgodsrvc");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
293 294
    },

295 296 297 298 299 300
    async modflgChange() {
      let rtnmsg = await this.executeRule("gitp.covgodsrvcmodflg");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },
liyixun committed
301
  },
302 303
  created: function () {},
};
304 305 306
</script>
<style>
</style>