Ptyp.vue 18.1 KB
Newer Older
孟冬雪 committed
1
<template>
孟冬雪 committed
2 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 156 157 158 159 160 161 162 163 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 192 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 267 268 269 270 271 272
  <!-- <div class="eibs-tab"> -->
  <c-row>
    <!-- ====================左边======================= -->
    <c-col :span="11">
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '第二通知行',
            grp: 'ltdgrp',
            rol: 'a2t',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onA2tpDet"
        >
        </c-ptap>
      </c-col>
      <c-col :span="24">
        <el-form-item label="第二通知行名称" prop="ltdgrp.a2t.pts.nam">
          <c-input
            v-model="model.ltdgrp.a2t.pts.nam"
            maxlength="40"
            placeholder="请输入第二通知行名称"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '保兑行',
            grp: 'ltdgrp',
            rol: 'con',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onConpDet"
        >
        </c-ptap>
      </c-col>
      <c-col :span="24">
        <el-form-item label="保兑行名称" prop="ltdgrp.con.pts.nam">
          <c-input
            v-model="model.ltdgrp.con.pts.nam"
            maxlength="40"
            placeholder="请输入保兑行名称"
          ></c-input>
        </el-form-item>
      </c-col>
      <!-- <c-col :span="24">
        <el-form-item label="2nd Advising Bank" prop="ltdgrp.a2t.pts.ref">
            <c-input  v-model="model.ltdgrp.a2t.pts.ref" maxlength="16"  placeholder="请输入2nd Advising Bank"></c-input>
        </el-form-item>
       </c-col> -->
      <!-- <c-col :span="24">
        <el-form-item label="External Key of Address" prop="ltdgrp.a2t.pts.extkey">
            <c-input  v-model="model.ltdgrp.a2t.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item> -->
      <!-- <c-col :span="24">
        <el-form-item label="External Key of Address" prop="ltdgrp.a2t.pts.extkey">
            <c-input  
            v-model="model.ltdgrp.a2t.pts.extkey" 
            maxlength="16"  
            placeholder="请输入External Key of Address"
            ></c-input>
        </el-form-item>
     <c-col :span="18">
        <el-form-item label="External Key of Address" prop="ltdgrp.a2t.pts.extkey">
            <c-input  
            v-model="model.ltdgrp.con.pts.extkey" 
            maxlength="16"  
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('ltdgrp.a2t.pts.extkey')"
            ></c-input>
        </el-form-item>
       </c-col>
             <c-col :span="2">
                <el-form-item label="" label-width="5px">
                    <c-button
                        size="small"
                        type="primary"
                        icon="el-icon-search"
                        @click="onSeainf('ltdgrp.a2t.pts.extkey')"
                        ></c-button
                    >
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" label-width="5px">
                    <c-button size="small" type="primary" @click="onAplpDet">
                        Details
                    </c-button>
                </el-form-item>
            </c-col>
       </c-col>   -->
      <!-- <c-col :span="24">
        <el-form-item label="名称" prop="ltdgrp.a2t.namelc">
            <c-input type="textarea" v-model="model.ltdgrp.a2t.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>     
        <c-col :span="24">
        <el-form-item label="地址" prop="ltdgrp.a2t.adrelc">
            <c-input type="textarea" v-model="model.ltdgrp.a2t.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>    -->
      <!-- <c-col :span="24">
        <el-form-item label="Confirming Bank" prop="ltdgrp.con.pts.ref">
            <c-input  v-model="model.ltdgrp.con.pts.ref" maxlength="16"  placeholder="请输入Confirming Bank"></c-input>
        </el-form-item>
       </c-col>  
       <c-col :span="24">
        <el-form-item label="External Key of Address" prop="ltdgrp.con.pts.extkey">
            <c-input  
            v-model="model.ltdgrp.con.pts.extkey" 
            maxlength="16"  
            placeholder="请输入External Key of Address"
            ></c-input>
        </el-form-item>
     <c-col :span="18">
        <el-form-item label="External Key of Address" prop="ltdgrp.con.pts.extkey">
            <c-input  
            v-model="model.ltdgrp.con.pts.extkey" 
            maxlength="16"  
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('ltdgrp.con.pts.extkey')"
            ></c-input>
        </el-form-item>
       </c-col>
             <c-col :span="2">
                <el-form-item label="" label-width="5px">
                    <c-button
                        size="small"
                        type="primary"
                        icon="el-icon-search"
                        @click="onSeainf('ltdgrp.con.pts.extkey')"
                        ></c-button
                    >
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" label-width="5px">
                    <c-button size="small" type="primary" @click="onAplpDet">
                        Details
                    </c-button>
                </el-form-item>
            </c-col>
       </c-col>-->
      <!-- <c-col :span="24">
        <el-form-item label="External Key of Address" prop="ltdgrp.con.pts.extkey">
            <c-input  v-model="model.ltdgrp.con.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col> -->
      <!-- <c-col :span="24">
        <el-form-item label="名称" prop="ltdgrp.con.namelc">
            <c-input type="textarea" v-model="model.ltdgrp.con.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
       <c-col :span="24">
        <el-form-item label="地址" prop="ltdgrp.con.adrelc">
            <c-input type="textarea" v-model="model.ltdgrp.con.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
    </c-col>-->
    </c-col>
    <!-- ====================右边======================= -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '偿付行',
            grp: 'ltdgrp',
            rol: 'rmt',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onRmtpDet"
        >
        </c-ptap>
      </c-col>
      <c-col :span="24">
        <el-form-item label="偿付行名称" prop="ltdgrp.rmt.pts.nam">
          <c-input
            v-model="model.ltdgrp.rmt.pts.nam"
            maxlength="40"
            placeholder="偿付行名称"
          ></c-input>
        </el-form-item>
      </c-col>
      <!-- <c-col :span="24">
        <el-form-item label="Reimbursement Bank" prop="ltdgrp.rmt.pts.ref">
            <c-input  v-model="model.ltdgrp.rmt.pts.ref" maxlength="16"  placeholder="请输入Reimbursement Bank"></c-input>
        </el-form-item>
       </c-col>
       <c-col :span="24">
        <el-form-item label="External Key of Address" prop="ltdgrp.rmt.pts.extkey">
            <c-input  
            v-model="model.ltdgrp.rmt.pts.extkey" 
            maxlength="16"  
            placeholder="请输入External Key of Address"
            ></c-input>
        </el-form-item>
     <c-col :span="18">
        <el-form-item label="External Key of Address" prop="ltdgrp.rmt.pts.extkey">
            <c-input  
            v-model="model.ltdgrp.rmt.pts.extkey" 
            maxlength="16"  
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('ltdgrp.rmt.pts.extkey')"
            ></c-input>
        </el-form-item>
       </c-col>
             <c-col :span="2">
                <el-form-item label="" label-width="5px">
                    <c-button
                        size="small"
                        type="primary"
                        icon="el-icon-search"
                        @click="onSeainf('ltdgrp.rmt.pts.extkey')"
                        ></c-button
                    >
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" label-width="5px">
                    <c-button size="small" type="primary" @click="onAplpDet">
                        Details
                    </c-button>
                </el-form-item>
            </c-col>
       </c-col> -->
      <!-- <c-col :span="24">
        <el-form-item label="External Key of Address" prop="ltdgrp.rmt.pts.extkey">
            <c-input  v-model="model.ltdgrp.rmt.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>        -->
      <!-- <c-col :span="24">
        <el-form-item label="名称" prop="ltdgrp.rmt.namelc">
            <c-input type="textarea" v-model="model.ltdgrp.rmt.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col> 
        <c-col :span="24">
        <el-form-item label="地址" prop="ltdgrp.rmt.adrelc">
            <c-input type="textarea" v-model="model.ltdgrp.rmt.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col> -->
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: 'Available with Bank',
            grp: 'ltdgrp',
            rol: 'avt',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onAvtpDet"
        >
        </c-ptap>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Available with Bank" prop="ltdgrp.avt.pts.nam">
          <c-input
            v-model="model.ltdgrp.avt.pts.nam"
            maxlength="40"
            placeholder="Available with Bank"
          ></c-input>
        </el-form-item>
      </c-col>
      <!-- <c-col :span="24">
        <el-form-item label="Available with Bank" prop="ltdgrp.avt.pts.ref">
            <c-input  v-model="model.ltdgrp.avt.pts.ref" maxlength="16"  placeholder="请输入Available with Bank"></c-input>
        </el-form-item>
       </c-col>   
孟冬雪 committed
273
    <c-col :span="24">
孟冬雪 committed
274 275 276 277 278 279 280 281 282 283 284 285 286 287 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 321 322 323 324 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 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428
        <el-form-item label="External Key of Address" prop="ltdgrp.avt.pts.extkey">
            <c-input  
            v-model="model.ltdgrp.avt.pts.extkey" 
            maxlength="16"  
            placeholder="请输入External Key of Address"
            ></c-input>
        </el-form-item>
     <c-col :span="18">
        <el-form-item label="External Key of Address" prop="ltdgrp.avt.pts.extkey">
            <c-input  
            v-model="model.ltdgrp.avt.pts.extkey" 
            maxlength="16"  
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('ltdgrp.avt.pts.extkey')"
            ></c-input>
        </el-form-item>
       </c-col>
             <c-col :span="2">
                <el-form-item label="" label-width="5px">
                    <c-button
                        size="small"
                        type="primary"
                        icon="el-icon-search"
                        @click="onSeainf('ltdgrp.avt.pts.extkey')"
                        ></c-button
                    >
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" label-width="5px">
                    <c-button size="small" type="primary" @click="onAplpDet">
                        Details
                    </c-button>
                </el-form-item>
            </c-col>
       </c-col> -->
      <!-- <c-col :span="24">
        <el-form-item label="External Key of Address" prop="ltdgrp.avt.pts.extkey">
            <c-input  v-model="model.ltdgrp.avt.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>        -->
      <!-- <c-col :span="24">
        <el-form-item label="名称" prop="ltdgrp.avt.namelc">
            <c-input type="textarea" v-model="model.ltdgrp.avt.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col> 
        <c-col :span="24">
        <el-form-item label="地址" prop="ltdgrp.avt.adrelc">
            <c-input type="textarea" v-model="model.ltdgrp.avt.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>   
    </c-col>   -->
      <!-- <c-col :span="24">
        <c-button size="small" type="primary"  @click="onA2tpDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="24">
        <el-form-item label="" prop="lttp.rmtp.ptsget.sdamod.seainf">
            <c-input  v-model="model.lttp.rmtp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="24">
        <c-button size="small" type="primary"  @click="onRmtpDet">
            Details
        </c-button>
       </c-col>
       
       <c-col :span="24">
        <el-form-item label="Address Block" prop="ltdgrp.a2t.pts.adrblk">
            <c-input type="textarea" v-model="model.ltdgrp.a2t.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="24">
        <el-form-item label="Chinese address" prop="ltdgrp.a2t.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ltdgrp.a2t.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="24">
        <el-form-item label="Address Block" prop="ltdgrp.rmt.pts.adrblk">
            <c-input type="textarea" v-model="model.ltdgrp.rmt.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="24">
        <el-form-item label="Chinese address" prop="ltdgrp.rmt.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ltdgrp.rmt.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col> -->

      <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="lttp.a2tp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.lttp.a2tp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="lttp.rmtp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.lttp.rmtp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>         
       <c-col :span="12">
        <el-form-item label="" prop="lttp.a2tp.ptsget.sdamod.seainf">
            <c-input  v-model="model.lttp.a2tp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>     
     
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="lttp.conp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.lttp.conp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
      
       <c-col :span="12">
        <el-form-item label="" prop="lttp.conp.ptsget.sdamod.seainf">
            <c-input  v-model="model.lttp.conp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onConpDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="ltdgrp.con.pts.adrblk">
            <c-input type="textarea" v-model="model.ltdgrp.con.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="ltdgrp.con.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ltdgrp.con.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>-->
    </c-col>
    <c-edit-table :model="model" v-bind="ptsaddg">
      <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-row>
  <!-- </div> -->
孟冬雪 committed
429 430 431
</template>
<script>
import Api from "~/service/Api";
wangren committed
432
import commonProcess from "~/mixin/commonProcess";
孟冬雪 committed
433
import CodeTable from "~/config/CodeTable";
孟冬雪 committed
434 435
import Event from "~/model/Lttopn/Event";
import Ptap from "~/views/Public/Ptap";
孟冬雪 committed
436 437 438
export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
439
  mixins: [commonProcess],
孟冬雪 committed
440
  components: { "c-ptap": Ptap },
孟冬雪 committed
441
  data() {
孟冬雪 committed
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470
    return {
      ptsaddg: {
        columns: [
          {
            title: "角色",
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
            title: "机构实体",
            width: "180px",
            dataIndex: "ptyextkey",
            show: "input",
          },
          {
            title: "名称",
            width: "300px",
            dataIndex: "nam",
          },
          {
            title: "参考地址",
            width: "300px",
            dataIndex: "ref",
          },
        ],
        urls: "lttp.ptsaddp.ptsaddg",
      },
    };
孟冬雪 committed
471 472 473 474 475 476 477
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>