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
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="外管局融资编号" prop="recgrp.rec.wgrref">
<c-input disabled v-model="model.recgrp.rec.wgrref" maxlength="22" placeholder="请输入外管局融资编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="融资申请金额" prop="recgrp.rec.cur">
<c-select disabled v-model="model.recgrp.rec.cur" style="width: 100%" placeholder="币种" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left; margin-left: 5px" label-width="0px" prop="recgrp.rec.amt">
<c-input-currency v-model="model.recgrp.rec.amt" :currency="model.recgrp.rec.cur" style="text-align: left; width: 100%" placeholder="请输入融资申请金额"></c-input-currency>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="经办机构号" prop="recgrp.rec.bchcod">
<c-input disabled v-model="model.recgrp.rec.bchcod" maxlength="8" placeholder="请输入经办机构号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="归属机构号" prop="recgrp.rec.ownbchcod">
<c-select v-model="model.recgrp.rec.ownbchcod" style="width:100%" placeholder="请选择归属机构号" filterable :isShowKeyAndLabel="true">
<el-option v-for="item in wrkbchlist" :key="item.branch" :label="item.bchname" :value="item.branch">
<span style="float: left">{{ item.branch }} - {{ item.bchname }}</span>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
wrkbchlist: []
};
},
methods: {
getWrkBchlist(branch) {
this.getBchcodlist({ branch: branch }).then(res => {
if (res.respCode == SUCCESS) {
const list = res.data;
this.wrkbchlist = list;
}
});
}
},
mounted() {
this.getWrkBchlist(this.model.recgrp.rec.bchcod);
}
};
</script>
<style>
</style>