Canp.vue 4.77 KB
Newer Older
taojinrui committed
1 2 3 4 5
<template>
  <div class="eibs-tab">
    <!-- =================左边============== -->
    <c-col :span="11">
      <c-col :span="24">
nanrui committed
6
        <el-form-item label="汇款编号" prop="cpdgrp.rec.ownref">
taojinrui committed
7
          <c-fullbox>
taojinrui committed
8
            <c-input v-model="model.cpdgrp.rec.ownref" disabled></c-input>
taojinrui committed
9
            <template slot="footer">
10
              <c-button type="primary"><span style="font-family: '宋体'; font-weight: bold">i</span></c-button>
taojinrui committed
11 12 13 14 15 16 17
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="13">
18
          <el-form-item label="付款额" prop="cpdgrp.cbs.nom1.cur">
taojinrui committed
19
            <c-input v-model="model.cpdgrp.cbs.nom1.cur" disabled></c-input>
taojinrui committed
20 21 22 23
          </el-form-item>
        </c-col>

        <c-col :span="11">
24 25 26
          <el-form-item style="text-align: left" label-width="5px" prop="cpdgrp.cbs.nom1.amt">
            <c-input-currency v-model="model.cpdgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
              placeholder="请输入汇款金额" disabled></c-input-currency>
27
            <!-- @keyup.enter.native="
taojinrui committed
28 29 30 31
                defaultFunction(
                  'cpdgrp.cbs.nom1.amt',
                  model.cpdgrp.cbs.nom1.amt
                )
32
              " -->
taojinrui committed
33 34 35 36 37 38
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="13">
39
          <el-form-item label="收款额" prop="cpdgrp.cbs.max.cur">
taojinrui committed
40
            <c-input v-model="model.cpdgrp.cbs.max.cur" disabled></c-input>
taojinrui committed
41 42 43 44
          </el-form-item>
        </c-col>

        <c-col :span="11">
45 46 47
          <el-form-item style="text-align: left" label-width="5px" prop="cpdgrp.cbs.max.amt">
            <c-input-currency v-model="model.cpdgrp.cbs.max.amt" style="text-align: left; width: 100%"
              placeholder="请输入汇款金额" disabled @keyup.enter.native="
taojinrui committed
48 49 50 51
                defaultFunction(
                  'cpdgrp.cbs.nom1.amt',
                  model.cpdgrp.cbs.nom1.amt
                )
52
              "></c-input-currency>
taojinrui committed
53 54 55 56
          </el-form-item>
        </c-col>
      </c-col>

57 58 59 60
      <c-col :span="24">
        <el-form-item label="有效期" prop="cpdgrp.rec.valdat">
          <c-date-picker type="date" v-model="model.cpdgrp.rec.valdat" style="width: 100%" disabled></c-date-picker>
        </el-form-item>
taojinrui committed
61 62
      </c-col>

63 64 65 66 67 68 69 70
      <c-col :span="24">
        <el-form-item label="支付类型" prop="cpdgrp.rec.paytyp">
          <c-select v-model="model.cpdgrp.rec.paytyp" style="width:100%" disabled>
            <el-option v-for="item in paytyp" :key="item.value" :value="item.value" :label="item.label"></el-option>
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
taojinrui committed
71
    <!-- =================右边====================== -->
72 73 74 75 76 77
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="简略信息" prop="cpdgrp.rec.nam">
          <c-input v-model="model.cpdgrp.rec.nam" disabled></c-input>
        </el-form-item>
      </c-col>
taojinrui committed
78

79 80 81 82 83
      <c-col :span="24">
        <el-form-item label="Ordering Customer" prop="cpdgrp.orc.pts.nam">
          <c-input type="textarea" v-model="model.cpdgrp.orc.pts.nam" disabled></c-input>
        </el-form-item>
      </c-col>
taojinrui committed
84

85 86 87 88 89
      <c-col :span="24">
        <el-form-item label="汇款行" prop="cpdgrp.ori.pts.nam">
          <c-input type="textarea" v-model="model.cpdgrp.ori.pts.nam" disabled></c-input>
        </el-form-item>
      </c-col>
taojinrui committed
90

91 92 93 94 95
      <c-col :span="24">
        <el-form-item label="支付行" prop="cpdgrp.pyb.pts.pts">
          <c-input type="textarea" v-model="model.cpdgrp.pyb.pts.pts" disabled></c-input>
        </el-form-item>
      </c-col>
taojinrui committed
96

97 98 99 100 101
      <c-col :span="24">
        <el-form-item label="收款人" prop="cpdgrp.pye.pts.nam">
          <c-input type="textarea" v-model="model.cpdgrp.pye.pts.nam" disabled></c-input>
        </el-form-item>
      </c-col>
taojinrui committed
102 103 104
    </c-col>

    <c-col :span="24">
105 106 107
      <c-col :span="11">
        <el-form-item label="叙述内容" prop="strinf">
          <c-input type="textarea" v-model="model.strinf" rows="4"></c-input>
taojinrui committed
108
        </el-form-item>
109 110 111 112 113
      </c-col>
      <c-col :span="6" :offset="1">
        <c-checkbox v-model="model.sndsmg">发送消息</c-checkbox>
      </c-col>
    </c-col>
taojinrui committed
114 115 116 117 118 119 120 121 122 123 124 125 126
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptcan/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
127
    return {
128 129 130 131
      paytyp: [
        { label: "Incoming Payment", value: "I" },
        { label: "Outgoing Payment", value: "O" },
        { label: "Transit Payment", value: "T" },
132 133
      ]
    };
taojinrui committed
134 135
  },
  methods: { ...Event },
136
  created: function () { },
taojinrui committed
137 138 139
};
</script>
<style>
140

taojinrui committed
141
</style>