Ptyp.vue 20.6 KB
Newer Older
liyixun committed
1 2
<template>
  <div class="eibs-tab">
liyixun committed
3 4 5 6 7
            <c-row>
        <c-col :span="24">
            <c-col :span="11">
                     <c-col :span="24">
                            <el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref">
liyixun committed
8
                                <c-input  v-model="model.gidgrp.apl.pts.ref" maxlength="16"  placeholder="请输入Applicant Ref."></c-input>
liyixun committed
9 10 11 12 13
                            </el-form-item>
                     </c-col>
                     <c-col :span="24">
                        <el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey">
                            <c-fullbox>
liyixun committed
14
                                <c-input   v-model="model.gidgrp.apl.pts.extkey" 
liyixun committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28
                                         maxlength="16"  
                                         placeholder="请输入External Key of Address"
                                         @keyup.enter.native="
                                        showGridPromptDialog(`gidgrp.apl.pts.extkey`)
                                        "></c-input>
                            <template slot="footer">
                                <c-button
                                style="margin:0 10px 0 10px;padding: 0 12px;"
                                size="small"
                                type="primary"
                                
                                >
                                <span style="font-family:'宋体';font-weight:bold">i</span>
                                </c-button>
liyixun committed
29
                                <c-button  size="small" type="primary"  @click="onAplpDet">
liyixun committed
30 31 32 33 34 35 36 37
                                    Details
                                </c-button>
                            </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item  label="地址名称" prop="gidgrp.apl.pts.adrblk">
liyixun committed
38
                            <c-input  type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
liyixun committed
39 40
                        </el-form-item>
                    </c-col>
liyixun committed
41
                <!-- <c-col :span="24">
liyixun committed
42 43 44 45 46 47 48 49 50 51
                        <c-ptap v-if="model.gitp.swiftflg=='Y'"
                        :model="model"
                        :argadr="{
                        title: 'Accountee/ObI.',
                        grp: 'gidgrp',
                        rol: 'ctr',
                        }"
                        @onAplpDet="onConpDet"
                    >
                    </c-ptap>    
liyixun committed
52
                </c-col> -->
liyixun committed
53 54

                <c-col :span="24">
liyixun committed
55
                        <c-ptap
liyixun committed
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
                        :model="model"
                        :argadr="{
                        title: '保兑行',
                        grp: 'gidgrp',
                        rol: 'con',
                        }"
                        :disabled="true"
                        :disabledRef="true"
                        :disabledExtkey="true"
                        @onAplpDet="onConpDet"
                    >
                    </c-ptap>    
                </c-col>
            </c-col>

            <c-col :span="11" :offset="1">
                <c-col :span="24">
                    <c-ptap :model="model" :argadr="{
                    title: '受益人',
                    grp: 'gidgrp',
                    rol: 'ben',
                    }" 
                    @onAplpDet="onBenpDet">
                    </c-ptap>
                </c-col>


                <c-col :span="24">
liyixun committed
84
                            <el-form-item  label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref">
liyixun committed
85 86 87 88
                                <c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16"  placeholder="请输入Issuing Bnak's Ref."></c-input>
                            </el-form-item>
                     </c-col>
                     <c-col :span="24">
liyixun committed
89
                        <el-form-item  label="Issuing Bank" prop="gidgrp.iss.pts.extkey">
liyixun committed
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
                            <c-fullbox>
                                <c-input v-model="model.gidgrp.iss.pts.extkey" 
                                         maxlength="16"  
                                         placeholder="请输入External Key of Address"
                                         @keyup.enter.native="
                                        showGridPromptDialog(`gidgrp.iss.pts.extkey`)
                                        "></c-input>
                            <template slot="footer">
                                <c-button
                                style="margin:0 10px 0 10px;padding: 0 12px;"
                                size="small"
                                type="primary"
                                
                                >
                                <span style="font-family:'宋体';font-weight:bold">i</span>
                                </c-button>
                                <c-button size="small" type="primary"  @click="onIsspDet">
                                    Details
                                </c-button>
                            </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
liyixun committed
114
                        <el-form-item  label="地址名称" prop="gidgrp.iss.pts.adrblk">
liyixun committed
115 116 117 118
                            <c-input disabled type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
                        </el-form-item>
                    </c-col>

liyixun committed
119
                 <!-- <c-col :span="24">
liyixun committed
120 121 122 123 124 125 126 127 128 129
                        <c-ptap v-if="model.gitp.swiftflg=='Y'"
                        :model="model"
                        :argadr="{
                        title: 'Advising Bank',
                        grp: 'gidgrp',
                        rol: 'atb',
                        }"
                        @onAplpDet="onConpDet"
                    >
                    </c-ptap>    
liyixun committed
130
                </c-col> -->
liyixun committed
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
            </c-col>
        </c-col>
    </c-row>

    <c-col :span="24">
      <el-form-item label="Additional Parties" >
        <c-edit-table :model="model" v-bind="ptsaddg" style="margin-left:-120px">
          <el-table-column label="操作" >
            <template slot-scope="scope">
              <el-button
                size="mini"
                @click="handleEdit(scope.$index, scope.row)"
                type="primary"
                >详情</el-button
              >
            </template>
          </el-table-column>
        </c-edit-table>
    </el-form-item>
</c-col>                      
<!-- <c-col :span="12">
liyixun committed
152
    <span  v-text="model.gitp.labapl"   data-path=".gitp.labapl" > </span>
liyixun committed
153
</c-col> -->
liyixun committed
154 155 156
                 <!-- SF001049 : Applicant's Ref. -->
                 <!-- S0001297 : Applicant's Ref. -->
                  
liyixun committed
157
<!-- <c-col :span="12">
liyixun committed
158
    <span  v-text="model.gitp.labaplref"   data-path=".gitp.labaplref" > </span>
liyixun committed
159
</c-col> -->
liyixun committed
160 161 162 163 164 165 166 167 168
                 <!-- SF001050 : Beneficiary's Ref. -->
                 <!-- SF001066 : Beneficiary's Ref. -->
                 <!-- S0001298 : Beneficiary's Ref. -->
                 <!-- SF001048 : Applicant -->
                 <!-- S0001296 : Applicant -->
                 <!-- SF001051 : Beneficiary -->
                 <!-- SF000686 : Beneficiary -->
                 <!-- S0001299 : Beneficiary -->
                  
liyixun committed
169
       <!-- <c-col :span="12">
liyixun committed
170
	    <c-checkbox v-model="model.gitp.aplsupflg">{{$t('gitp.CF001200')}}</c-checkbox>
liyixun committed
171
       </c-col> -->
liyixun committed
172 173
                 <!-- S0001300 : Confirming Bank's Ref.    -->
                  
liyixun committed
174
       <!-- <c-col :span="12">
liyixun committed
175 176 177
        <c-form-item :label="$t('gitp.SF001078')" prop="gidgrp.con.pts.ref">
            <c-input  v-model="model.gidgrp.con.pts.ref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('gitp.SF001078')"></c-input>
        </c-form-item>
liyixun committed
178
       </c-col> -->
liyixun committed
179 180
                 <!-- SF001055 : Accountee's Ref. -->
                  
liyixun committed
181
       <!-- <c-col :span="12">
liyixun committed
182 183 184
        <c-form-item label="Reference for Address Optional" prop="gidgrp.ctr.pts.ref">
            <c-input  v-model="model.gidgrp.ctr.pts.ref" maxlength="16"  :placeholder="$t('other.please_enter')+'Reference for Address Optional'"></c-input>
        </c-form-item>
liyixun committed
185
       </c-col> -->
liyixun committed
186 187
                 <!-- SF001052 : Issuing Bank's Ref. -->
                  
liyixun committed
188
<!-- <c-col :span="12">
liyixun committed
189 190 191 192 193 194 195 196 197
    <span  v-text="model.gitp.labissref"   data-path=".gitp.labissref" > </span>
</c-col>
                  
<c-col :span="12">
    <span  v-text="model.gitp.labctr"   data-path=".gitp.labctr" > </span>
</c-col>
                  
<c-col :span="12">
    <span  v-text="model.gitp.labctrref"   data-path=".gitp.labctrref" > </span>
liyixun committed
198
</c-col> -->
liyixun committed
199 200
                 <!-- SF001068 : Advising Bank Ref. -->
                  
liyixun committed
201
       <!-- <c-col :span="12">
liyixun committed
202 203 204
        <c-form-item :label="$t('gitp.SF001068')" prop="gidgrp.atb.pts.ref">
            <c-input  v-model="model.gidgrp.atb.pts.ref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('gitp.SF001068')"></c-input>
        </c-form-item>
liyixun committed
205
       </c-col> -->
liyixun committed
206 207
                 <!-- S0001301 : Confirming Bank -->
                  
liyixun committed
208
       <!-- <c-col :span="12">
liyixun committed
209 210 211 212 213 214 215 216 217
        <c-form-item label="Drag  Drop Sender" prop="gitp.conp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.conp.ptsget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="gitp.bdbp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.bdbp.ptsget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
liyixun committed
218
       </c-col> -->
liyixun committed
219 220
                 <!-- SF001054 : Accountee -->
                  
liyixun committed
221
       <!-- <c-col :span="12">
liyixun committed
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
        <c-form-item label="External Key of Address" prop="gidgrp.con.pts.extkey">
            <c-input  v-model="model.gidgrp.con.pts.extkey" maxlength="16"  :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="" prop="gitp.conp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.conp.ptsget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onConpDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="gitp.ctrp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.ctrp.ptsget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
liyixun committed
243
       </c-col> -->
liyixun committed
244 245
                 <!-- SF001053 : Issuing Bank -->
                  
liyixun committed
246
<!-- <c-col :span="12">
liyixun committed
247 248 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 278 279 280 281 282 283
    <span  v-text="model.gitp.labissbak"   data-path=".gitp.labissbak" > </span>
</c-col>
                  
       <c-col :span="12">
        <c-form-item label="External Key of Address" prop="gidgrp.bdb.pts.extkey">
            <c-input  v-model="model.gidgrp.bdb.pts.extkey" maxlength="16"  :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="" prop="gitp.bdbp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.bdbp.ptsget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onBdbpDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="External Key of Address" prop="gidgrp.ctr.pts.extkey">
            <c-input  v-model="model.gidgrp.ctr.pts.extkey" maxlength="16"  :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="" prop="gitp.ctrp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.ctrp.ptsget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onCtrpDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
liyixun committed
284
       </c-col> -->
liyixun committed
285 286
                 <!-- SF000827 : Advising Bank -->
                  
liyixun committed
287
       <!-- <c-col :span="12">
liyixun committed
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
        <c-form-item label="Drag  Drop Sender" prop="gitp.atbp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.atbp.ptsget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="External Key of Address" prop="gidgrp.atb.pts.extkey">
            <c-input  v-model="model.gidgrp.atb.pts.extkey" maxlength="16"  :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="" prop="gitp.atbp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.atbp.ptsget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAtbpDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="名称" prop="gidgrp.con.namelc">
            <c-input type="textarea" v-model="model.gidgrp.con.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="名称" prop="gidgrp.bdb.namelc">
            <c-input type="textarea" v-model="model.gidgrp.bdb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
        </c-form-item>
liyixun committed
321
        </c-col> -->
liyixun committed
322 323
                 <!-- SF000912 : (Tag 56a) -->
                  
liyixun committed
324
       <!-- <c-col :span="12">
liyixun committed
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405
        <c-form-item label="名称" prop="gidgrp.ctr.namelc">
            <c-input type="textarea" v-model="model.gidgrp.ctr.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Address Block" prop="gidgrp.con.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.con.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Chinese address" prop="gidgrp.con.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.con.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Address Block" prop="gidgrp.bdb.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.bdb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Chinese address" prop="gidgrp.bdb.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.bdb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Address Block" prop="gidgrp.ctr.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.ctr.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Chinese address" prop="gidgrp.ctr.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.ctr.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="名称" prop="gidgrp.atb.namelc">
            <c-input type="textarea" v-model="model.gidgrp.atb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Address Block" prop="gidgrp.atb.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.atb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Chinese address" prop="gidgrp.atb.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.atb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="地址" prop="gidgrp.con.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.con.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="地址" prop="gidgrp.bdb.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.bdb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="地址" prop="gidgrp.ctr.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.ctr.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="地址" prop="gidgrp.atb.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.atb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
        </c-form-item>
liyixun committed
406
        </c-col> -->
liyixun committed
407 408 409 410
                 <!-- SF000046 : Additional Parties -->
                 <!-- SF000046 : Additional Parties -->
                 <!-- SF000818 : Risk Country  -->
                  
liyixun committed
411
       <!-- <c-col :span="12">
liyixun committed
412 413 414 415
        <el-form-item :label="$t('gitp.SF000818')" prop="gidgrp.rec.stacty">
            <c-select v-model="model.gidgrp.rec.stacty" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000818')">
              </c-select>
        </el-form-item>
liyixun committed
416
       </c-col> -->
liyixun committed
417 418 419 420 421 422 423 424
                 <!-- SF000046 : Additional Parties -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event"
liyixun committed
425
import Ptap from "~/views/Public/Ptap";
liyixun committed
426 427

export default {
liyixun committed
428
    components: { "c-ptap": Ptap },
liyixun committed
429 430 431 432 433
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {
liyixun committed
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460
             ptsaddg: {
            columns: [
                {
                    title: "Role",
                    width: "120px",
                    dataIndex: "rol",
                    show: "select",
                },
                {
                    title: "Party",
                    width: "180px",
                    dataIndex: "ptyextkey",
                    show: "input",
                },
                {
                    title: "Name of Party",
                    width: "250px",
                    dataIndex: "nam",
                },
                {
                    title: "Reference for Address",
                    width: "250px",
                    dataIndex: "ref",
                },
            ],
            urls: "gitp.ptsaddp.ptsaddg",
      },
liyixun committed
461 462 463 464 465 466 467 468 469 470 471
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>