Ovwpc.vue 14.2 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 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
     <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>

                        <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>
                            </c-col>
                            <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>            
                                </c-select>
                            </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 ">
                                </c-select>
                            </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">
                                </c-select>
                            </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>  
                            </c-select>
                        </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>
                              </c-select>
                          </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
156
                             <!-- SF000750 : Requested Issue Date -->
liyixun committed
157
<!--                   
liyixun committed
158 159 160 161 162 163 164 165
       <c-col :span="12">
        <el-form-item :label="$t('gitp.SF000750')" prop="gidgrp.rec.opndatc">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.opndatc" style="width:100%"  :placeholder="$t('other.please_enter')+$t('gitp.SF000750')"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.autrnwflgc">{{$t('gitp.CF000898')}}</c-checkbox>
liyixun committed
166
       </c-col> -->
liyixun committed
167 168
                 <!-- SF000778 : Guarantee Amount -->
                  
liyixun committed
169
       <!-- <c-col :span="12">
liyixun committed
170 171 172 173 174 175 176 177 178 179
        <el-form-item :label="$t('gitp.SF000778')" prop="gidgrp.cbs.mac.cur">
            <c-select v-model="model.gidgrp.cbs.mac.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000778')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000778')" prop="gidgrp.cbs.mac.amt">
            <c-input  v-model="model.gidgrp.cbs.mac.amt"  :placeholder="$t('other.please_enter')+$t('gitp.SF000778')"></c-input>
        </c-form-item>
liyixun committed
180
       </c-col> -->
liyixun committed
181
                  
liyixun committed
182
       <!-- <c-col :span="12">
liyixun committed
183
	    <c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg">{{$t('gitp.CF000780')}}</c-checkbox>
liyixun committed
184
       </c-col> -->
liyixun committed
185 186
                 <!-- SF000754 : Undertaking Type  -->
                  
liyixun committed
187
       <!-- <c-col :span="12">
liyixun committed
188 189 190 191 192 193 194 195 196 197
        <el-form-item :label="$t('gitp.SF000754')" prop="gidgrp.rec.gartypc">
            <c-select v-model="model.gidgrp.rec.gartypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000754')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000754')" prop="gidgrp.blk.gartyptxtc">
            <c-input  v-model="model.gidgrp.blk.gartyptxtc" maxlength="35"  :placeholder="$t('other.please_enter')+$t('gitp.SF000754')"></c-input>
        </c-form-item>
liyixun committed
198
       </c-col> -->
liyixun committed
199 200
                 <!-- SF000751 : Form of Undertaking -->
                  
liyixun committed
201
       <!-- <c-col :span="12">
liyixun committed
202 203 204 205
        <el-form-item :label="$t('gitp.SF000751')" prop="gidgrp.rec.legfrmc">
            <c-select v-model="model.gidgrp.rec.legfrmc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000751')">
              </c-select>
        </el-form-item>
liyixun committed
206
       </c-col> -->
liyixun committed
207 208
                 <!-- SF000883 : Demand Indicator  -->
                  
liyixun committed
209
       <!-- <c-col :span="12">
liyixun committed
210 211 212 213 214 215 216 217
        <el-form-item :label="$t('gitp.SF000883')" prop="gidgrp.rec.demandc">
            <c-select v-model="model.gidgrp.rec.demandc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000883')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.stdwrdc">{{$t('gitp.CF000762')}}</c-checkbox>
liyixun committed
218
       </c-col> -->
liyixun committed
219 220
                 <!-- SF000884 : Requested Language -->
                  
liyixun committed
221
       <!-- <c-col :span="12">
liyixun committed
222 223 224 225
        <el-form-item :label="$t('gitp.SF000884')" prop="gidgrp.rec.stdwrduilc">
            <c-select v-model="model.gidgrp.rec.stdwrduilc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000884')">
              </c-select>
        </el-form-item>
liyixun committed
226
       </c-col> -->
liyixun committed
227 228
                 <!-- SF000852 : Choice of Text -->
                  
liyixun committed
229
       <!-- <c-col :span="12">
liyixun committed
230 231 232 233
        <el-form-item :label="$t('gitp.SF000852')" prop="gidgrp.rec.gtxinrc">
            <c-select v-model="model.gidgrp.rec.gtxinrc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000852')">
              </c-select>
        </el-form-item>
liyixun committed
234
       </c-col> -->
liyixun committed
235 236
                 <!-- SF000752 : Applicable Rules -->
                  
liyixun committed
237
       <!-- <c-col :span="12">
liyixun committed
238 239 240 241 242 243 244 245 246 247
        <el-form-item :label="$t('gitp.SF000752')" prop="gidgrp.blk.apprulc">
            <c-select v-model="model.gidgrp.blk.apprulc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000752')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000752')" prop="gidgrp.blk.apprultxtc">
            <c-input  v-model="model.gidgrp.blk.apprultxtc" maxlength="35"  :placeholder="$t('other.please_enter')+$t('gitp.SF000752')"></c-input>
        </c-form-item>
liyixun committed
248
       </c-col> -->
liyixun committed
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
                 <!-- SF001085 : Expiry Type -->
                 <!-- SF001086 : Expiry Date -->
                 <!-- SF001087 : Expiry Condition/ Evt. -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitame/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>