Pardet.vue 7.04 KB
Newer Older
1
<template>
LiRui committed
2
  <div class="eibs">
3
    <!-- ===============左边================ -->
LiRui committed
4
    <c-col :span="12" style="padding-right: 20px;">
5 6
      <c-col :span="24">
        <el-form-item label="汇款人开户行" prop="cpdgrp.ori.pts.ref">
7
          <c-input v-model="model.cpdgrp.ori.pts.ref" maxlength="16" placeholder="请输入汇款人开户行" :disabled="flag"></c-input>
8 9
        </el-form-item>
      </c-col>
10

11 12
      <c-col :span="24">
        <el-form-item label="账号" prop="attp.atd.sbkact">
wangna committed
13
          <c-input v-model="model.attp.atd.sbkact" maxlength="35" placeholder="请输入帐号" :disabled="flag"></c-input>
14 15
        </el-form-item>
      </c-col>
16

17 18
      <c-col :span="24">
        <c-fullbox>
19
          <el-form-item label="" prop="cpdgrp.ori.pts.extkey">
wangna committed
20
            <c-input v-model="model.cpdgrp.ori.pts.extkey" maxlength="16" placeholder="请输入"
21 22 23
              :disabled="flag" @keyup.enter.native="
               showGridPromptDialog('cpdgrp.ori.pts.extkey')
              "></c-input>
24 25
          </el-form-item>
          <template slot="footer">
nanrui committed
26 27
            <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
              <i class="el-icon-info"></i>
28
            </c-button>
29

30
            <c-button style="margin: 0 0" size="small" type="primary" :disabled="flag">
31 32 33 34 35
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
36

37
      <c-col :span="24">
38 39
        <el-form-item label="" prop="cpdgrp.ori.pts.adrblk">
          <c-input type="textarea" v-model="model.cpdgrp.ori.pts.adrblk" maxlength="35" show-word-limit
wangna committed
40
            placeholder="请输入" rows="4" :disabled="flag"></c-input>
41 42
        </el-form-item>
      </c-col>
43

44 45
      <c-col :span="24">
        <c-fullbox>
46 47
          <el-form-item label="中间行" prop="cpdgrp.med.pts.extkey">
            <!-- :disabled="flag1" -->
LiRui committed
48
            <c-input v-model="model.cpdgrp.med.pts.extkey" maxlength="16" placeholder="请输入中间行名称" disabled
49 50
              @keyup.enter.native="
                showGridPromptDialog('cpdgrp.med.pts.extkey')
51
              "></c-input>
52 53
          </el-form-item>
          <template slot="footer">
nanrui committed
54 55
            <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
              <i class="el-icon-info"></i>
56
            </c-button>
57

58
            <c-button style="margin: 0 0" size="small" type="primary" :disabled="flag1">
59 60 61 62 63
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
64

65
      <c-col :span="24">
66
        <el-form-item label="" prop="cpdgrp.med.pts.adrblk">
67
          <c-input type="textarea" v-model="model.cpdgrp.med.pts.adrblk" maxlength="35" show-word-limit
wangna committed
68
            placeholder="请输入" rows="4" :disabled="flag1"></c-input>
69 70
        </el-form-item>
      </c-col>
71

72 73
      <c-col :span="24">
        <c-fullbox>
74
          <el-form-item label="账号" prop="cpdgrp.rmt.pts.extkey">
wangna committed
75
            <c-input v-model="model.cpdgrp.rmt.pts.extkey" maxlength="16" placeholder="请输入"
76
              :disabled="flag1" @keyup.enter.native="
77
                showGridPromptDialog('cpdgrp.rmt.pts.extkey')
78
              "></c-input>
79 80
          </el-form-item>
          <template slot="footer">
nanrui committed
81 82
            <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
              <i class="el-icon-info"></i>
83
            </c-button>
84
            <c-button style="margin: 0 0" size="small" type="primary" :disabled="flag1">
85 86 87 88 89
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
90

91
      <c-col :span="24">
92
        <el-form-item label="" prop="cpdgrp.rmt.pts.adrblk">
93
          <c-input type="textarea" v-model="model.cpdgrp.rmt.pts.adrblk" maxlength="35" show-word-limit
wangna committed
94
            placeholder="请输入" rows="4" :disabled="flag1"></c-input>
95 96 97 98
        </el-form-item>
      </c-col>
    </c-col>
    <!-- =================右边=============== -->
LiRui committed
99
    <c-col :span="12" style="padding-left: 20px;">
100 101
      <c-col :span="24">
        <el-form-item label="收款人开户行" prop="cpdgrp.pyb.pts.ref">
102
          <c-input v-model="model.cpdgrp.pyb.pts.ref" maxlength="16" placeholder="请输入收款人开户行" :disabled="flag"></c-input>
103 104
        </el-form-item>
      </c-col>
105

106 107
      <c-col :span="24">
        <el-form-item label="帐号" prop="attp.atd.rbkact">
wangna committed
108
          <c-input v-model="model.attp.atd.rbkact" maxlength="35" :disabled="flag" placeholder="请输入帐号"></c-input>
109 110
        </el-form-item>
      </c-col>
111

112 113
      <c-col :span="24">
        <c-fullbox>
114
          <el-form-item label="" prop="cpdgrp.pyb.pts.extkey">
wangna committed
115
            <c-input v-model="model.cpdgrp.pyb.pts.extkey" maxlength="16" placeholder="请输入"
116
              :disabled="flag" @keyup.enter.native="
taojinrui committed
117
                showGridPromptDialog('cpdgrp.pyb.pts.extkey')
118
              "></c-input>
119 120
          </el-form-item>
          <template slot="footer">
nanrui committed
121 122
            <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
              <i class="el-icon-info"></i>
123
            </c-button>
124 125

            <c-button style="margin: 0 0" size="small" type="primary" :disabled="flag">
126 127 128 129 130
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
131

132
      <c-col :span="24">
133
        <el-form-item label="" prop="cpdgrp.pyb.pts.adrblk">
134
          <c-input type="textarea" v-model="model.cpdgrp.pyb.pts.adrblk" maxlength="35" show-word-limit
wangna committed
135
            placeholder="请输入" rows="4" :disabled="flag"></c-input>
136 137
        </el-form-item>
      </c-col>
138

139
      <c-col :span="24">
nanrui committed
140 141
        <el-form-item label="附言" prop="attp.commet">
          <c-input type="textarea" v-model="model.attp.commet" maxlength="35" show-word-limit placeholder="请输入附言"
142
            rows="4"></c-input>
143 144
        </el-form-item>
      </c-col>
145

146
      <c-col :span="24">
nanrui committed
147
        <el-form-item label="附言72(102)" prop="attp.com102">
148
          <c-input type="textarea" v-model="model.attp.com102" maxlength="35" show-word-limit
nanrui committed
149
            placeholder="请输入附言72(102)" rows="4" disabled></c-input>
150 151
        </el-form-item>
      </c-col>
152 153

      <c-col :span="24">
154
        <el-form-item label="受益行" prop="attp.shouyh">
155 156
          <c-input type="textarea" v-model="model.attp.shouyh" maxlength="30" show-word-limit placeholder="请输入受益行"
            rows="4" disabled></c-input>
157
        </el-form-item>
158 159
      </c-col>
    </c-col>
160 161 162 163 164 165 166 167 168
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptati/Event"

export default {
169 170 171 172 173
  inject: ['root'],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
174

175 176 177 178
    }
  },
  methods: { ...Event },
  created: function () {
179

180 181
  },
  computed: {
taojinrui committed
182 183 184 185
    flag() {
      return this.model.attp.swftyp == "200";
    },
    flag1() {
186
      return this.model.attp.swftyp == "100" || this.model.attp.swftyp == "102" || this.model.attp.swftyp == "103" || this.model.attp.swftyp == '';
taojinrui committed
187 188
    },
  },
189 190 191 192 193
}
</script>
<style>

</style>