Det910.vue 8.52 KB
<template>
  <div class="eibs-tab">
    <!-- =============左边============== -->
    <c-col :span="11">
      <c-col :span="24">
        <c-fullbox>
          <el-form-item label="汇款行(52a)" prop="cpdgrp.rmt.pts.extkey">
            <c-input
              v-model="model.cpdgrp.rmt.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
              @keyup.enter.native="showGridPromptDialog('attp.atd.sbkact')"
            ></c-input>
          </el-form-item>
          <template slot="footer">
            <c-button
              style="margin: 0 10px 0 10px; padding: 0 12px"
              size="small"
              type="primary"
              icon="el-icon-search"
            >
            </c-button>

            <c-button
              style="margin: 0 0"
              size="small"
              type="primary"
              @click="onSndpDet"
              disabled
            >
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Address Block" prop="cpdgrp.rmt.pts.adrblk">
          <c-input
            type="textarea"
            v-model="model.cpdgrp.rmt.pts.adrblk"
            maxlength="35"
            show-word-limit
            placeholder="请输入Address Block"
            rows="4"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-fullbox>
          <el-form-item label="中间行(56a)" prop="cpdgrp.med.pts.extkey">
            <c-input
              v-model="model.cpdgrp.med.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
              @keyup.enter.native="showGridPromptDialog('attp.atd.sbkact')"
            ></c-input>
          </el-form-item>
          <template slot="footer">
            <c-button
              style="margin: 0 10px 0 10px; padding: 0 12px"
              size="small"
              type="primary"
              icon="el-icon-search"
            >
            </c-button>

            <c-button
              style="margin: 0 0"
              size="small"
              type="primary"
              @click="onSndpDet"
              disabled
            >
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Address Block" prop="cpdgrp.med.pts.adrblk">
          <c-input
            type="textarea"
            v-model="model.cpdgrp.med.pts.adrblk"
            maxlength="35"
            show-word-limit
            placeholder="请输入Address Block"
            rows="4"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- ==============右边==================== -->
    <c-col :span="11" :offset="1">
        <el-form-item label="附言" prop="cpdgrp.blk.contag72">
            <c-input type="textarea" v-model="model.cpdgrp.blk.contag72"></c-input>
        </el-form-item>
    </c-col>
    <!-- ====================原码==================== -->
    <!-- SG000482 : 汇款行(52A)
        SG000485 : 附言         
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="cptp.rmtp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.cptp.rmtp.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="Content of TAG 72" prop="cpdgrp.blk.contag72">
            <c-input type="textarea" v-model="model.cpdgrp.blk.contag72" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Content of TAG 72'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="External Key of Address" prop="cpdgrp.rmt.pts.extkey">
            <c-input  v-model="model.cpdgrp.rmt.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="cptp.rmtp.ptsget.sdamod.seainf">
            <c-input  v-model="model.cptp.rmtp.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="onRmtpDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="名称" prop="cpdgrp.rmt.namelc">
            <c-input type="textarea" v-model="model.cpdgrp.rmt.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="cpdgrp.rmt.pts.adrblk">
            <c-input type="textarea" v-model="model.cpdgrp.rmt.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="cpdgrp.rmt.dbfadrblkcn">
            <c-input type="textarea" v-model="model.cpdgrp.rmt.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="cpdgrp.rmt.adrelc">
            <c-input type="textarea" v-model="model.cpdgrp.rmt.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
        </c-form-item>
        </c-col>
                 SG000483 : 中间行(56A)
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="cptp.medp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.cptp.medp.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="cpdgrp.med.pts.extkey">
            <c-input  v-model="model.cpdgrp.med.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="cptp.medp.ptsget.sdamod.seainf">
            <c-input  v-model="model.cptp.medp.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="onMedpDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="名称" prop="cpdgrp.med.namelc">
            <c-input type="textarea" v-model="model.cpdgrp.med.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="cpdgrp.med.pts.adrblk">
            <c-input type="textarea" v-model="model.cpdgrp.med.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="cpdgrp.med.dbfadrblkcn">
            <c-input type="textarea" v-model="model.cpdgrp.med.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="cpdgrp.med.adrelc">
            <c-input type="textarea" v-model="model.cpdgrp.med.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
        </c-form-item>
        </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptrep/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>