Ptyp.vue 18.7 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
3 4 5 6 7 8 9 10 11 12 13 14
    <!-- ================= 左 ================== -->
    <c-col :span="11">
      <c-col :span="24">
        <el-form-item label="Applicant's Bank Ref." prop="lidgrp.ini.pts.ref">
          <c-input
            v-model="model.lidgrp.ini.pts.ref"
            disabled
            maxlength="16"
            placeholder="请输入Applicant's Bank"
          ></c-input>
        </el-form-item>
      </c-col>
15

16 17 18 19 20 21
      <c-col :span="24">
        <el-form-item label="Extkey" prop="lidgrp.ini.pts.extkey">
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.ini.pts.extkey"
              maxlength="16"
wangren committed
22
              style="width: 100%"
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
              placeholder="请输入External Key of Address"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf('lidgrp.ini.pts.extkey')"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                disabled
                @click="onInipDet"
              >
                详情
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.ini.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onInipDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
        <el-form-item label="Address Block" prop="lidgrp.ini.pts.adrblk">
          <c-input
            type="textarea"
            v-model="model.lidgrp.ini.pts.adrblk"
            maxlength="35"
            :rows="4"
            show-word-limit
            disabled
            placeholder="请输入Address Block"
          ></c-input>
        </el-form-item>
      </c-col>
      <!--            
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
            <c-col :span="24">
                <el-form-item label="Chinese address" prop="lidgrp.ini.dbfadrblkcn">
                    <c-input type="textarea" v-model="model.lidgrp.ini.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
                </el-form-item>
            </c-col>
                                          
            <c-col :span="24">
                <el-form-item label="名称" prop="lidgrp.ini.namelc">
                    <c-input type="textarea" v-model="model.lidgrp.ini.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
                </el-form-item>
            </c-col>
                        
            <c-col :span="24">
                <el-form-item label="地址" prop="lidgrp.ini.adrelc">
                    <c-input type="textarea" v-model="model.lidgrp.ini.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
                </el-form-item>
            </c-col>
            -->

96 97 98 99 100 101 102 103 104 105
      <c-col :span="24">
        <el-form-item label="Reimbursement Bank Ref." prop="lidgrp.rmb.pts.ref">
          <c-input
            v-model="model.lidgrp.rmb.pts.ref"
            maxlength="16"
            placeholder="请输入Reimbursement Bank"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
106

107 108
      <c-col :span="24">
        <el-form-item label="Extkey" prop="lidgrp.rmb.pts.extkey">
wangren committed
109 110 111 112 113 114 115
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.rmb.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
              disabled
            ></c-input>
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf('lidgrp.rmb.pts.extkey')"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                disabled
                @click="onRmbpDet"
              >
                详情
              </c-button>
            </template>
wangren committed
135
          </c-fullbox>
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 173 174 175 176 177 178
        </el-form-item>
      </c-col>

      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.rmb.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onRmbpDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
        <el-form-item label="Name of Party" prop="lidgrp.rmb.pts.nam">
          <c-input
            v-model="model.lidgrp.rmb.pts.nam"
            maxlength="40"
            placeholder="请输入Name of Party"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          label="Requested Confirmation party Ref."
          prop="lidgrp.con.pts.ref"
        >
          <c-input
            v-model="model.lidgrp.con.pts.ref"
            maxlength="16"
            placeholder="请输入Requested Confirmation party"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Extkey" prop="lidgrp.con.pts.extkey">
wangren committed
179 180 181 182 183 184 185 186 187
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.con.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
              @keyup.enter.native="
                showGridPromptDialog('lidgrp.con.pts.extkey')
              "
            ></c-input>
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf('lidgrp.con.pts.extkey')"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click="onConpDet"
              >
                详情
              </c-button>
            </template>
wangren committed
206
          </c-fullbox>
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
        </el-form-item>
      </c-col>

      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.con.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onConpDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
        <el-form-item label="Address Block" prop="lidgrp.con.pts.adrblk">
          <c-input
            type="textarea"
            v-model="model.lidgrp.con.pts.adrblk"
wangren committed
229
            maxlength="150"
230 231 232 233 234 235 236
            :rows="4"
            show-word-limit
            placeholder="请输入Address Block"
          ></c-input>
        </el-form-item>
      </c-col>
      <!--            
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254
            <c-col :span="24">
                <el-form-item label="Chinese address" prop="lidgrp.con.dbfadrblkcn">
                    <c-input type="textarea" v-model="model.lidgrp.con.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
                </el-form-item>
            </c-col>
                                    
            <c-col :span="24">
                <el-form-item label="名称" prop="lidgrp.con.namelc">
                    <c-input type="textarea" v-model="model.lidgrp.con.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
                </el-form-item>
            </c-col>
                        
            <c-col :span="24">
                <el-form-item label="地址" prop="lidgrp.con.adrelc">
                    <c-input type="textarea" v-model="model.lidgrp.con.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
                </el-form-item>
            </c-col>
            -->
255
    </c-col>
wangren committed
256
    <!-- ================右  ==================== -->
257 258 259 260 261 262 263 264 265 266
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="2nd Advising Bank Ref." prop="lidgrp.a2b.pts.ref">
          <c-input
            v-model="model.lidgrp.a2b.pts.ref"
            maxlength="16"
            placeholder="请输入2nd Advising Bank"
          ></c-input>
        </el-form-item>
      </c-col>
267

268 269
      <c-col :span="24">
        <el-form-item label="Extkey" prop="lidgrp.a2b.pts.extkey">
wangren committed
270 271 272 273 274 275 276 277 278 279
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.a2b.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
              @keyup.enter.native="
                showGridPromptDialog('lidgrp.a2b.pts.extkey')
              "
            ></c-input>
            <template slot="footer">
280 281 282 283
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
wangren committed
284 285
                @click="onSeainf('lidgrp.a2b.pts.extkey')"
              >
286 287 288 289 290 291 292 293 294 295 296
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click="onA2bpDet"
              >
                详情
              </c-button>
            </template>
wangren committed
297
          </c-fullbox>
298 299
        </el-form-item>
      </c-col>
300

301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.a2b.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onA2bpDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
        <el-form-item label="Address Block" prop="lidgrp.a2b.pts.adrblk">
          <c-input
            type="textarea"
            v-model="model.lidgrp.a2b.pts.adrblk"
wangren committed
320
            maxlength="135"
321 322 323 324 325 326 327
            :rows="4"
            show-word-limit
            placeholder="请输入Address Block"
          ></c-input>
        </el-form-item>
      </c-col>
      <!--                  
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
            <c-col :span="24">
                <el-form-item label="Chinese address" prop="lidgrp.a2b.dbfadrblkcn">
                    <c-input type="textarea" v-model="model.lidgrp.a2b.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
                </el-form-item>
            </c-col>
                              
            <c-col :span="24">
                <el-form-item label="名称" prop="lidgrp.a2b.namelc">
                    <c-input type="textarea" v-model="model.lidgrp.a2b.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
                </el-form-item>
            </c-col>
                              
            <c-col :span="24">
                <el-form-item label="地址" prop="lidgrp.a2b.adrelc">
                    <c-input type="textarea" v-model="model.lidgrp.a2b.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
                </el-form-item>
            </c-col>
            -->

347 348 349 350 351 352 353 354 355 356 357 358
      <c-col :span="24">
        <el-form-item
          label="Available with Bank Ref."
          prop="lidgrp.avb.pts.ref"
        >
          <c-input
            v-model="model.lidgrp.avb.pts.ref"
            maxlength="16"
            placeholder="请输入Reference for Address Optional"
          ></c-input>
        </el-form-item>
      </c-col>
359

360 361
      <c-col :span="24">
        <el-form-item label="Extkey" prop="lidgrp.avb.pts.extkey">
wangren committed
362 363 364 365 366
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.avb.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
wangren committed
367
              @keyup.enter.native="showGridPromptDialog('lidgrp.avb.pts.extkey')"
wangren committed
368
            ></c-input>
369 370 371 372 373
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
wangren committed
374 375
                @click="onSeainf('lidgrp.avb.pts.extkey')"
              >
376 377 378 379 380 381 382 383 384 385 386
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click="onAvbpDet"
              >
                详情
              </c-button>
            </template>
wangren committed
387
          </c-fullbox>
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
        </el-form-item>
      </c-col>

      <!-- <c-col :span="8">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary;width:10%"
            @click="onSeainf('lidgrp.avb.pts.extkey')"
            >i</c-button
          >
          <c-button size="small" type="primary" @click="onAvbpDet">
            Details
          </c-button>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
        <el-form-item label="Address Block" prop="lidgrp.avb.pts.adrblk">
          <c-input
            type="textarea"
            v-model="model.lidgrp.avb.pts.adrblk"
wangren committed
410
            maxlength="135"
411
            :rows="4"
wangren committed
412
            disabled
413 414 415 416 417 418
            show-word-limit
            placeholder="请输入Address Block"
          ></c-input>
        </el-form-item>
      </c-col>
      <!--                  
419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436
            <c-col :span="24">
                <el-form-item label="Chinese address" prop="lidgrp.avb.dbfadrblkcn">
                    <c-input type="textarea" v-model="model.lidgrp.avb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
                </el-form-item>
            </c-col>
                              
            <c-col :span="24">
                <el-form-item label="名称" prop="lidgrp.avb.namelc">
                    <c-input type="textarea" v-model="model.lidgrp.avb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
                </el-form-item>
            </c-col>
                              
            <c-col :span="24">
                <el-form-item label="地址" prop="lidgrp.avb.adrelc">
                    <c-input type="textarea" v-model="model.lidgrp.avb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
                </el-form-item>
            </c-col>
            -->
437
    </c-col>
438

wangren committed
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453
    <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="操作" align="center">
            <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>
        <!-- <c-table
454 455
        :data="table1"
        >
456 457 458 459 460 461 462 463 464 465 466 467 468 469
            <c-table-column prop="ROL"
            label="Role"
            sortable
            >
            </c-table-column>
            <el-table-column prop="PTYEXTKEY"
            label="Party"
            sortable></el-table-column>
            <el-table-column prop="NAM"
            label="Name of Party"
            sortable></el-table-column>
            <el-table-column prop="REF"
            label="Reference for Address"
            sortable></el-table-column>
wangren committed
470 471
            <!-- <el-table-column prop="DET"
            label="Details"></el-table-column> 
472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
           <el-table-column label="" prop="det" width="80px" fixed="right">
                    <template slot-scope="scope" slot="header">
                        <el-button
                            circle
                            style="padding:4px"
                            class="el-icon-plus"
                            size="mini"
                            @click="addRow(scope)"
                        >
                        </el-button>
                        <el-button
                            style="padding:4px"
                            circle
                            class="el-icon-minus"
                            size="mini"
                            @click="removeRow(scope)"
                        >
                        </el-button>
                    </template>
                    <template slot-scope="scoped">
                        <el-button
                            style="margin-left:0"
                            size="small"
                            type="primary"
                            @click="detail1(scoped.$index, scoped.row)"
                            >详情</el-button
                        >
                    </template>
                </el-table-column>
wangren committed
501 502
        </c-table> -->
      </el-form-item>
503
    </c-col>
504

505
    <!--                 
506 507 508
	<c-col :span="12">
	    <span  v-text="model.litp.avblab"   data-path=".litp.avblab" > </span>
	</c-col>-->
509
  </div>
510 511
</template>
<script>
512
import Api from "~/service/Api";
wangren committed
513
import commonProcess from "~/mixin/commonProcess";
514 515
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litopn/Event";
516 517

export default {
518 519 520 521
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
522
    return {
wangren committed
523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549
      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: "litp.ptsaddp.ptsaddg",
      },
550
    };
551
  },
wangren committed
552 553 554 555 556
  methods: {
    ...Event,
    handleEdit() {
      console.log("1111测试");
    },
557

wangren committed
558 559
    addRow() {},
    removeRow() {},
560 561 562
  },
  created: function () {},
};
563
</script>
564
<style></style>