Mt754p.vue 10.8 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
3 4 5 6 7 8 9 10 11 12 13 14 15
    <!-- ====================================  左边(和brtudp交易的页面一样) 是此交易Mt750p页面内容加Reimbursing Bank================================= -->
    <c-col :span="11">
      <!--加此交易的Mt750p页面的 单据金额 -->
      <!--Document Amount 单据金额 -->
      <c-col :span="12">
        <el-form-item label="Document Amount" prop="bedgrp.cbs.max.cur">
          <c-select
            v-model="model.bedgrp.cbs.max.cur"
            maxlength="3"
            placeholder="请输入单据金额"
            :code="codes.curtxt1"
            disabled
          ></c-select>
16
        </el-form-item>
17 18 19 20 21 22 23 24
      </c-col>
      <c-col :span="12">
        <el-form-item label="" label-width="10px" prop="bedgrp.cbs.max.amt">
          <c-input
            v-model="model.bedgrp.cbs.max.amt"
            placeholder="请输入单据金额"
            class="m-input-currency"
          ></c-input>
25
        </el-form-item>
26 27 28 29 30 31 32 33 34 35 36 37 38 39
      </c-col>

      <!-- 加此交易的Mt750p页面的Drawn.Add.Amount -->
      <!-- 附加金额 -->
      <c-col :span="12">
        <el-form-item label="Drawn Add.Amount" prop="bedgrp.cbs.opn2.cur">
          <c-select
            v-model="model.bedgrp.cbs.opn2.cur"
            style="width: 100%"
            placeholder="请选择附加金额"
            disabled
            :code="codes.curtxt1"
          >
          </c-select>
40
        </el-form-item>
41 42 43 44 45 46 47 48 49 50
      </c-col>
      <!-- 附加金额 -->
      <c-col :span="12">
        <el-form-item label="" label-width="10px" prop="bedgrp.cbs.max2.amt">
          <c-input
            v-model="model.bedgrp.cbs.max2.amt"
            placeholder="请输入附加金额"
            class="m-input-currency"
            disabled
          ></c-input>
51
        </el-form-item>
52 53 54 55 56 57 58 59 60 61 62 63
      </c-col>

      <c-col :span="24">
        <el-form-item label="Charges Deducted" prop="bedgrp.blk.chaded">
          <c-input
            type="textarea"
            v-model="model.bedgrp.blk.chaded"
            maxlength="210"
            show-word-limit
            placeholder="请输入Charges Deducted"
            :rows="4"
          ></c-input>
64
        </el-form-item>
65 66 67 68 69 70 71 72 73 74 75 76
      </c-col>

      <c-col :span="24">
        <el-form-item label="Charges Added" prop="bedgrp.blk.chaadd">
          <c-input
            type="textarea"
            v-model="model.bedgrp.blk.chaadd"
            maxlength="210"
            show-word-limit
            :rows="4"
            placeholder="请输入Charges Added"
          ></c-input>
77
        </el-form-item>
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
      </c-col>

      <!--加此交易的Mt750p页面的 Total Amount Claimed -->
      <!-- Total Amount Claimed -->
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="Total Amount Claimed" prop="bedgrp.rec.totcur">
            <c-select
              v-model="model.bedgrp.rec.totcur"
              maxlength="3"
              placeholder="请输入Total Amount Claimed"
              :code="codes.curtxt1"
              disabled
            ></c-select>
          </el-form-item>
93
        </c-col>
94 95 96 97 98 99 100 101
        <!-- Total Amount to be Paid -->
        <c-col :span="12">
          <el-form-item label="" label-width="10px" prop="bedgrp.rec.totamt">
            <c-input
              v-model="model.bedgrp.rec.totamt"
              placeholder="请输入Total Amount to be Paid"
            ></c-input>
          </el-form-item>
102
        </c-col>
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 273 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
      </c-col>

      <!-- 偿付银行Reimbursement Bank -->
      <c-col :span="24">
        <c-ptap1
          :model="model"
          :argadr="{
            title: 'Reimbursement Bank',
            grp: 'bedgrp',
            rol: 'rmb',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onRmbpDet"
        >
        </c-ptap1>
      </c-col>

      <!-- 加Mt750p页面的Amount with Bank -->
      <!-- Account with Bank -->
      <c-col :span="24">
        <c-ptap1
          :model="model"
          :argadr="{
            title: 'Account with Bank',
            grp: 'bedgrp',
            rol: 'acb',
          }"
          @onSeainf="onSeainf"
          @onAplpDet="onAcbpDet"
        >
        </c-ptap1>
      </c-col>

      <!-- 加date to paied -->
    <c-col :span="24">
      <el-form-item label="Date to be Paid" prop="bedgrp.rec.totdat">
        <c-date-picker
          type="date"
          v-model="model.bedgrp.rec.totdat"
          style="width: 100%"
          placeholder="请选择Date to be Paid"
          value-format="yyyy-MM-dd"
        ></c-date-picker>
      </el-form-item>
    </c-col>
    </c-col>

    <!-- ====================================  右边 ================================= -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
      <el-form-item
        label="Narrative (TAG 77A of MT754)"
        prop="bedgrp.blk.nartxt77a"
      >
        <c-input
          type="textarea"
          v-model="model.bedgrp.blk.nartxt77a"
          maxlength="700"
          show-word-limit
          :rows="16"
          placeholder="请输入Narrative TAG 77A of Incoming MT754"
        ></c-input>
      </el-form-item>
    </c-col>

      <c-col :span="24">
        <c-ptap1
          :model="model"
          :argadr="{
            title: 'Beneficiary`s Bank',
            grp: 'ledgrp',
            rol: 'beb',
          }"
          :isAdrblk="false"
          @onSeainf="onSeainf"
          @onAplpDet="onBebpDet"
        >
        </c-ptap1>
      </c-col>
    
    </c-col>
    <!-- <c-col :span="12">
      <el-form-item
        label="Drag  Drop Sender"
        prop="betp.rmbp.ptsget.sdamod.dadsnd"
      >
        <c-input
          v-model="model.betp.rmbp.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="External Key of Address"
        prop="bedgrp.rmb.pts.extkey"
      >
        <c-input
          v-model="model.bedgrp.rmb.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="" prop="betp.rmbp.ptsget.sdamod.seainf">
        <c-input
          v-model="model.betp.rmbp.ptsget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onRmbpDet">
        Details
      </c-button>
    </c-col>

    <c-col :span="12">
      <el-form-item label="名称" prop="bedgrp.rmb.namelc">
        <c-input
          type="textarea"
          v-model="model.bedgrp.rmb.namelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Address Block" prop="bedgrp.rmb.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.bedgrp.rmb.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="bedgrp.rmb.dbfadrblkcn">
        <c-input
          type="textarea"
          v-model="model.bedgrp.rmb.dbfadrblkcn"
          maxlength="35"
          show-word-limit
          placeholder="请输入Chinese address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="地址" prop="bedgrp.rmb.adrelc">
        <c-input
          type="textarea"
          v-model="model.bedgrp.rmb.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="Drag  Drop Sender"
        prop="betp.bebp.ptsget.sdamod.dadsnd"
      >
        <c-input
          v-model="model.betp.bebp.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="External Key of Address"
        prop="ledgrp.beb.pts.extkey"
      >
        <c-input
          v-model="model.ledgrp.beb.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="" prop="betp.bebp.ptsget.sdamod.seainf">
        <c-input
          v-model="model.betp.bebp.ptsget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onBebpDet">
        Details
      </c-button>
    </c-col>

    <c-col :span="12">
      <el-form-item label="名称" prop="ledgrp.beb.namelc">
        <c-input
          type="textarea"
          v-model="model.ledgrp.beb.namelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Address Block" prop="ledgrp.beb.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.ledgrp.beb.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="ledgrp.beb.dbfadrblkcn">
        <c-input
          type="textarea"
          v-model="model.ledgrp.beb.dbfadrblkcn"
          maxlength="35"
          show-word-limit
          placeholder="请输入Chinese address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="地址" prop="ledgrp.beb.adrelc">
        <c-input
          type="textarea"
          v-model="model.ledgrp.beb.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Date to be Paid" prop="bedgrp.rec.totdat">
        <c-date-picker
          type="date"
          v-model="model.bedgrp.rec.totdat"
          style="width: 100%"
          placeholder="请选择Date to be Paid"
        ></c-date-picker>
      </el-form-item>
    </c-col> -->
370 371 372
  </div>
</template>
<script>
373 374 375 376 377
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letdav/Event'
import Ptap1 from "~/views/Public/Ptap1";
378 379

export default {
380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395
  components: {
    "c-ptap1": Ptap1,
    // "c-ptap": Ptap,
    // "c-ptsmsg": Ptsmsg,
  },
  inject: ['root'],
  props: ['model', 'codes'],
  mixins: [commonProcess],
  data() {
    return {}
  },
  methods: {
    ...Event,
    onSeainf(){}, 
  },
  created: function () {},
396 397
}
</script>
398
<style></style>