Ptyp.vue 10.8 KB
Newer Older
1
<template>
潘际乾 committed
2
  <div class="eibs">
3
    <!-- ================= 左 ================== -->
Wuyuqiu committed
4
    <c-col :span="12" style="padding-right: 20px;">
5
      <c-col :span="24">
6
        <el-form-item label="申请人开户行参考号" prop="lidgrp.ini.pts.ref">
7 8 9 10
          <c-input
            v-model="model.lidgrp.ini.pts.ref"
            disabled
            maxlength="16"
wangna committed
11
            placeholder="请输入申请人开户行参考号"
12 13 14
          ></c-input>
        </el-form-item>
      </c-col>
15

16
      <c-col :span="24">
17
        <el-form-item label="地址编码" prop="lidgrp.ini.pts.extkey">
18 19 20 21
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.ini.pts.extkey"
              maxlength="16"
wangren committed
22
              style="width: 100%"
23
              placeholder="请输入地址编码"
24 25 26 27 28 29 30 31
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf('lidgrp.ini.pts.extkey')"
32
                icon="el-icon-search"
33
              >
Wuyuqiu committed
34
                
35 36 37 38 39
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
40
                icon="el-icon-info"
41 42
                @click="onInipDet"
              >
43
                
44 45 46 47 48 49 50
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
51
        <el-form-item label="名称地址" prop="lidgrp.ini.pts.adrblk">
52 53 54 55 56 57 58
          <c-input
            type="textarea"
            v-model="model.lidgrp.ini.pts.adrblk"
            maxlength="35"
            :rows="4"
            show-word-limit
            disabled
59
            placeholder="请输入名称地址"
60 61 62
          ></c-input>
        </el-form-item>
      </c-col>
wangna committed
63
    
64
      <c-col :span="24">
65
        <el-form-item label="偿付行参考号" prop="lidgrp.rmb.pts.ref">
66 67 68
          <c-input
            v-model="model.lidgrp.rmb.pts.ref"
            maxlength="16"
wangna committed
69
            placeholder="请输入偿付行参考号"
70
            :disabled="model.lidgrp.rec.rmbflg = ''"
71 72 73
          ></c-input>
        </el-form-item>
      </c-col>
74

75
      <c-col :span="24">
76
        <el-form-item label="地址编码" prop="lidgrp.rmb.pts.extkey">
wangren committed
77 78 79 80
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.rmb.pts.extkey"
              maxlength="16"
81
              placeholder="请输入地址编码"
82
              :disabled="model.lidgrp.rec.rmbflg = ''"
wangren committed
83
            ></c-input>
84 85 86 87 88 89
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf('lidgrp.rmb.pts.extkey')"
90
                icon="el-icon-search"
91
              >
Wuyuqiu committed
92
                
93 94 95 96 97
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
98
                icon="el-icon-info"
99 100 101 102
                @click="onRmbpDet"
              >
              </c-button>
            </template>
wangren committed
103
          </c-fullbox>
104 105 106 107
        </el-form-item>
      </c-col>

      <c-col :span="24">
108
        <el-form-item label="名称地址" prop="lidgrp.rmb.pts.nam">
109 110 111
          <c-input
            v-model="model.lidgrp.rmb.pts.nam"
            maxlength="40"
112
            placeholder="请输入名称地址"
113 114 115 116 117 118 119
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
120
          label="保兑行参考号"
121 122 123 124 125
          prop="lidgrp.con.pts.ref"
        >
          <c-input
            v-model="model.lidgrp.con.pts.ref"
            maxlength="16"
wangna committed
126
            placeholder="请输入保兑行参考号"
127 128 129 130 131
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
132
        <el-form-item label="地址编码" prop="lidgrp.con.pts.extkey">
wangren committed
133 134 135 136
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.con.pts.extkey"
              maxlength="16"
137
              placeholder="请输入地址编码"
wangren committed
138 139 140 141
              @keyup.enter.native="
                showGridPromptDialog('lidgrp.con.pts.extkey')
              "
            ></c-input>
142 143 144 145 146 147
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf('lidgrp.con.pts.extkey')"
148
                icon="el-icon-search"
149
              >
Wuyuqiu committed
150
                
151 152 153 154 155 156
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click="onConpDet"
157
                icon="el-icon-info"
158
              >
159
                
160 161
              </c-button>
            </template>
wangren committed
162
          </c-fullbox>
163 164 165 166
        </el-form-item>
      </c-col>

      <c-col :span="24">
167
        <el-form-item label="名称地址" prop="lidgrp.con.pts.adrblk">
168
          <c-input
huangxin committed
169
          :disabled="model.lidgrp.con.pts.extkey!=''"
170 171
            type="textarea"
            v-model="model.lidgrp.con.pts.adrblk"
wangren committed
172
            maxlength="150"
173 174
            :rows="4"
            show-word-limit
175
            placeholder="请输入地址编码"
176 177 178 179
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
wangna committed
180

wangren committed
181
    <!-- ================右  ==================== -->
Wuyuqiu committed
182
    <c-col :span="12" style="padding-left: 20px;">
183
      <c-col :span="24">
184
        <el-form-item label="第二通知行参考号" prop="lidgrp.a2b.pts.ref">
185 186 187
          <c-input
            v-model="model.lidgrp.a2b.pts.ref"
            maxlength="16"
wangna committed
188
            placeholder="请输入第二通知行参考号"
189 190 191
          ></c-input>
        </el-form-item>
      </c-col>
192

193
      <c-col :span="24">
194
        <el-form-item label="地址编码" prop="lidgrp.a2b.pts.extkey">
wangren committed
195 196 197 198
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.a2b.pts.extkey"
              maxlength="16"
199
              placeholder="请输入地址编码"
wangren committed
200 201 202 203 204
              @keyup.enter.native="
                showGridPromptDialog('lidgrp.a2b.pts.extkey')
              "
            ></c-input>
            <template slot="footer">
205 206 207 208
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
wangren committed
209
                @click="onSeainf('lidgrp.a2b.pts.extkey')"
210
                icon="el-icon-search"
wangren committed
211
              >
Wuyuqiu committed
212
                
213 214 215 216 217 218
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click="onA2bpDet"
219
                icon="el-icon-info"
220
              >
221
                
222 223
              </c-button>
            </template>
wangren committed
224
          </c-fullbox>
225 226
        </el-form-item>
      </c-col>
227

228
      <c-col :span="24">
229
        <el-form-item label="名称地址" prop="lidgrp.a2b.pts.adrblk">
230
          <c-input
huangxin committed
231
          :disabled="model.lidgrp.a2b.pts.extkey!=''"
232 233
            type="textarea"
            v-model="model.lidgrp.a2b.pts.adrblk"
wangren committed
234
            maxlength="135"
235 236
            :rows="4"
            show-word-limit
237
            placeholder="请输入名称地址"
238 239 240
          ></c-input>
        </el-form-item>
      </c-col>
241

242 243
      <c-col :span="24">
        <el-form-item
244
          label="授权兑付行参考号"
245 246 247 248 249
          prop="lidgrp.avb.pts.ref"
        >
          <c-input
            v-model="model.lidgrp.avb.pts.ref"
            maxlength="16"
wangna committed
250
            placeholder="请输入授权兑付行参考号"
251 252 253
          ></c-input>
        </el-form-item>
      </c-col>
254

255
      <c-col :span="24">
256
        <el-form-item label="地址编码" prop="lidgrp.avb.pts.extkey">
wangren committed
257 258 259 260
          <c-fullbox>
            <c-input
              v-model="model.lidgrp.avb.pts.extkey"
              maxlength="16"
261
              placeholder="请输入地址编码"
wangren committed
262
              @keyup.enter.native="showGridPromptDialog('lidgrp.avb.pts.extkey')"
263

wangren committed
264
            ></c-input>
265 266 267 268 269
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
wangren committed
270
                @click="onSeainf('lidgrp.avb.pts.extkey')"
271
                icon="el-icon-search"
wangren committed
272
              >
Wuyuqiu committed
273
                
274 275 276 277 278 279
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click="onAvbpDet"
280
                icon="el-icon-info"
281 282 283
              >
              </c-button>
            </template>
wangren committed
284
          </c-fullbox>
285 286 287 288
        </el-form-item>
      </c-col>

      <c-col :span="24">
289
        <el-form-item label="名称地址" prop="lidgrp.avb.pts.adrblk">
290 291 292
          <c-input
            type="textarea"
            v-model="model.lidgrp.avb.pts.adrblk"
wangren committed
293
            maxlength="135"
294
            :rows="4"
wangren committed
295
            disabled
296
            show-word-limit
297
            placeholder="请输入名称地址"
298 299 300 301
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
302

wangren committed
303
    <c-col :span="24">
304
      <el-form-item label="附加当事人" >
305 306 307 308 309 310 311 312 313 314 315 316 317
              <c-edit-table :model="model" v-bind="ptsaddg">
            <el-table-column label="操作" align="center">
              <template slot-scope="scope">
                <el-button
                  size="mini"
                  @click="handleEdit(scope.$index, scope.row)"
                  type="primary"
                  icon="el-icon-info"
                  ></el-button
                >
              </template>
            </el-table-column>
          </c-edit-table>
wangren committed
318
      </el-form-item>
319 320
    </c-col>
    <!--                 
321 322 323
	<c-col :span="12">
	    <span  v-text="model.litp.avblab"   data-path=".litp.avblab" > </span>
	</c-col>-->
324
  </div>
325 326
</template>
<script>
327
import Api from "~/service/Api";
wangren committed
328
import commonProcess from "~/mixin/commonProcess";
329 330
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litopn/Event";
331 332

export default {
333 334 335 336
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
337
    return {
wangren committed
338 339 340
      ptsaddg: {
        columns: [
          {
341
            title: "角色",
wangren committed
342 343 344 345 346
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
347
            title: "当事人",
wangren committed
348 349 350 351 352
            width: "180px",
            dataIndex: "ptyextkey",
            show: "input",
          },
          {
353
            title: "名称",
wangren committed
354 355 356 357
            width: "250px",
            dataIndex: "nam",
          },
          {
358
            title: "参考号",
wangren committed
359 360 361 362 363 364
            width: "250px",
            dataIndex: "ref",
          },
        ],
        urls: "litp.ptsaddp.ptsaddg",
      },
365
    };
366
  },
wangren committed
367 368 369 370 371
  methods: {
    ...Event,
    handleEdit() {
      console.log("1111测试");
    },
372

wangren committed
373 374
    addRow() {},
    removeRow() {},
375 376 377
  },
  created: function () {},
};
378
</script>
379
<style></style>