Orcpye.vue 3.09 KB
Newer Older
fukai committed
1 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
<template>
  <div class="eibs-tab">
    <c-col :span="24">
      <!-- ======================= 左边 ========================= -->
      <c-col :span="12" style="padding-right: 20px">
        <c-col :span="24">
          <el-card class="box-card">
            <c-ptap13 :model="model" :payuil="model.cptp.payuil" :isMyClient="true" :requiredExtkey="false"
              :argadr="{title: '汇款人', grp:'cpdgrp', rol:'orc'}" :isShowCard="false" ptytyp="C"
              @handleChange="orcCipsChange()"></c-ptap13>
          </el-card>
        </c-col>
        <!-- <c-col :span="24">
          <el-form-item label="汇款人常驻国家/地区代码" prop="cptp.draweecountcode">
            <c-select v-model="model.cptp.draweecountcode" isShowKeyAndLabel style="width: 100%"
              placeholder="请选择收款人常驻国家/地区代码" @change="payeecountcodeSwftChange()">
              <el-option v-for="item in model.bopCtyList" :key="item.cod" :value="item.cod"
                :label="`${item.numcod} - ${item.cod} - ${item.txt}`">
              </el-option>
            </c-select>
          </el-form-item>
        </c-col> -->
        <c-col :span="24">
          <el-form-item label="汇款人组织机构代码" prop="fkrzhj">
            <c-input v-model="model.fkrzhj" maxlength="35" placeholder="请输入汇款人组织机构代码"></c-input>
          </el-form-item>
        </c-col>
      </c-col>
      <!-- ======================= 右边 ========================= -->
      <c-col :span="12" style="padding-left: 20px">
        <c-col :span="24">
          <el-card class="box-card">
            <c-ptap13 :model="model" :payuil="model.cptp.payuil" :requiredExtkey="true"
              :argadr="{title: '收款人', grp:'cpdgrp', rol:'pye'}" :isShowCard="false" ptytyp="F"
              @handleChange="pyeCipsChange()"></c-ptap13>
          </el-card>
        </c-col>
        <c-col :span="24">
          <el-form-item label="收款人常驻国家/地区代码" prop="cptp.payeecountcode">
            <c-select v-model="model.cptp.payeecountcode" isShowKeyAndLabel style="width: 100%"
              placeholder="请选择收款人常驻国家/地区代码" @change="payeecountcodeSwftChange()">
              <el-option v-for="item in model.bopCtyList" :key="item.cod" :value="item.cod"
                :label="`${item.numcod} - ${item.cod} - ${item.txt}`">
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>
  </div>
</template>
<script>
  import event from "../../event";
  import Default from "../../model/default.js";

  export default {
    inject: ["root"],
    props: ["model", "codes"],
    mixins: [event, Default],
    data() {
      return {};
    },
    methods: {},
    created() {},
    computed: {}
  };
</script>
<style scoped lang="less">
  .box-card {
    margin-bottom: 10px;

    /deep/ .el-form-item--mini.el-form-item,
    .el-form-item--small.el-form-item {
      margin-bottom: 10px;
    }

    /deep/ .el-card__body {
      padding: 10px 10px 10px 0px;
    }
  }

  .el-textarea .el-textarea__inner {
    height: 100px;
  }
</style>