Gidtxtpc.vue 6.09 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
    <c-row>
      <c-col :span="24">
        <c-col :span="16">
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.gidtxtmodflgc == ''"
              label="Guarantee Text with Variables"
              prop="gidgrp.blk.gtxgidtxt"
            >
              <i-stream-input
                :disabled="model.gitp.gidtxtmodflgc == ''"
                type="textarea"
                rows="15"
                :model="model.gidgrp.blk.gtxgidtxtc"
liyixun committed
17
                maxlength="32500"
liyixun committed
18 19 20 21 22 23 24 25 26 27 28 29 30
                show-word-limit
                placeholder="请输入Guarantee Text with Variables"
              ></i-stream-input>
            </el-form-item>
            <el-form-item
              v-if="model.gitp.gidtxtmodflgc == 'X'"
              label="Guarantee Text with Variables - Counter Undertaking"
              prop="gidgrp.blk.gtxgidtxtc"
            >
              <i-stream-input
                type="textarea"
                :modle="model.gidgrp.blk.gtxgidtxtc"
                rows="15"
liyixun committed
31
                maxlength="32500"
liyixun committed
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
                show-word-limit
                placeholder="请输入Guarantee Text with Variables - Counter Undertaking"
              ></i-stream-input>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="6">
          <c-col :span="24">
            <c-input
              style="margin: 5px 0 0 10px; width: 50%"
              v-model="model.gidgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Reference"
            ></c-input>
          </c-col>
          <c-col :span="24">
            <c-button
              style="margin: 5px 0 0 10px"
              size="small"
              type="primary"
              @click="onGitpButgetref"
            >
              获取
            </c-button>
          </c-col>
          <c-col :span="24">
            <c-checkbox
              v-model="model.gitp.gidtxtmodflgc"
              style="margin: 0 0 0 10px"
              >Modify Guarantee Text</c-checkbox
            >
          </c-col>
          <c-col :span="24">
            <c-checkbox
              v-model="model.gitp.chkgidtxtc"
              style="margin: 0 0 0 10px"
              >Allow *</c-checkbox
            >
          </c-col>
liyixun committed
71

liyixun committed
72 73 74 75 76 77 78 79 80 81 82
          <c-col :span="24">
            <c-button
              disabled
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px; width: 50%"
              @click="onGitpButdifc"
            >
              vs. &System
            </c-button>
          </c-col>
liyixun committed
83

liyixun committed
84 85 86 87 88 89 90 91 92 93 94
          <c-col :span="24">
            <c-button
              disabled
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px; width: 50%"
              @click="onGitpButdifhisc"
            >
              vs. &History
            </c-button>
          </c-col>
liyixun committed
95

liyixun committed
96 97 98 99 100 101 102 103 104 105
          <template v-if="model.gitp.gidtxtmodflgc == 'X'">
            <c-col :span="24">
              <c-button
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px; width: 50%"
                @click="onGitpShwgidtxtc"
              >
                Show&Text
              </c-button>
liyixun committed
106
            </c-col>
liyixun committed
107 108 109 110 111 112 113 114 115 116 117 118 119
          </template>

          <c-col :span="24">
            <c-button
              disabled
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px; width: 50%"
              @click="onGitpGidtxtmodc"
            >
              修改中文保函文本
            </c-button>
          </c-col>
liyixun committed
120
        </c-col>
liyixun committed
121 122 123 124 125
      </c-col>
    </c-row>
    <!-- SF000792 : Undertaking Text -->

    <!-- <c-col :span="12">
liyixun committed
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
        <c-form-item label="Guarantee Text  local undertaking" prop="gidgrp.blk.gidtxtc">
            <c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text  local undertaking'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc">
            <c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="1" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text with Variables - Counter Undertaking'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButgetrefc">
             {{$t('gitp.CF000787')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.gidtxtmodflgc">{{$t('gitp.CF000786')}}</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.chkgidtxtc">{{$t('gitp.CF001176')}}</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifc">
             {{$t('gitp.CF000788')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifhisc">
             {{$t('gitp.CF000789')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpShwgidtxtc">
             {{$t('gitp.CF000852')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpGidtxtmodc">
             {{$t('gitp.CG001303')}}
        </c-button>
liyixun committed
173
       </c-col> -->
liyixun committed
174 175 176
  </div>
</template>
<script>
liyixun committed
177
import Api from "~/service/Api";
liyixun committed
178
import commonProcess from "~/mixin/commonProcess";
liyixun committed
179 180 181
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getopn/Event";
import IStreamInput from "~/components/IStreamInput";
liyixun committed
182 183

export default {
liyixun committed
184 185 186 187 188 189 190 191 192 193
  components: { IStreamInput },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
liyixun committed
194 195 196
</script>
<style>
</style>