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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<template>
<div class="eibs-tab">
<c-row :gutter="80">
<c-col :span="12">
<c-row>
<el-form-item label="申报号码" prop="recgrp.vrf.rptno">
<c-input disabled placeholder="请输入编号" v-model="model.recgrp.vrf.rptno"
></c-input>
</el-form-item>
</c-row>
<c-row>
<el-form-item label="操作类型" prop="recgrp.vrf.actiontype">
<c-select dbCode="action" disabled
placeholder="请选择操作类型" v-model="model.recgrp.vrf.actiontype"
></c-select>
</el-form-item>
</c-row>
</c-col>
<c-col :span="12">
<el-form-item label="删除原因" prop="recgrp.vrf.actiondesc">
<c-input :rows="3" disabled placeholder="请输入删除原因" show-word-limit
type="textarea" v-model="model.recgrp.vrf.actiondesc"
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row :gutter="80">
<c-col :span="12">
<el-form-item label="交易编码" prop="recgrp.vrf.txcode">
<c-select
:filter-method="searchBopCod1"
disabled
placeholder="请输入交易编码2"
style="width: 100%"
v-model="model.recgrp.vrf.txcode"
>
<el-option
:key="item.cod"
:label="item.cod+'-'+item.txt"
:value="item.cod"
v-for="item in options1"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="外汇局批件号/备案表号/业务编号" prop="recgrp.vrf.regno">
<c-input disabled placeholder="请输入外汇局批件号/备案表号/业务编号" v-model="model.recgrp.vrf.regno"
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row :gutter="80">
<c-col :span="12">
<el-form-item label="填报人" prop="recgrp.vrf.crtuser">
<c-input disabled maxlength="20" placeholder="请输入填报人" v-model="model.recgrp.vrf.crtuser"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="填报人电话" prop="recgrp.vrf.inptelc">
<c-input disabled maxlength="20" placeholder="请输入填报人电话" v-model="model.recgrp.vrf.inptelc"
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row :gutter="80">
<c-col :span="12">
<el-form-item label="结汇用途" prop="recgrp.vrf.usetype">
<c-select
:code="codes.usetype"
disabled
placeholder="请选择结汇用途"
v-model="model.recgrp.vrf.usetype">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申报日期" prop="recgrp.vrf.rptdate">
<c-date-picker disabled placeholder="请选择申报日期" style="width:100%"
type="date" v-model="model.recgrp.vrf.rptdate"
></c-date-picker>
</el-form-item>
</c-col>
</c-row>
<c-row :gutter="80">
<c-col :span="12">
<el-form-item label="结汇详细用途" prop="recgrp.vrf.usedetail">
<c-input disabled maxlength="100" placeholder="请输入结汇详细用途" show-word-limit
type="textarea" v-model="model.recgrp.vrf.usedetail"
></c-input>
</el-form-item>
</c-col>
</c-row>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [event],
data() {
return {
options1: [],
bopcodList: []
}
},
mounted() {
this.getBopcodItems()
},
methods: {
searchBopCod1(query) {
if (query !== "") {
this.options1 = this.bopcodList.filter((item) => item.cod.startsWith(query));
} else {
this.options1 = this.bopcodList;
}
}
},
created: function () {
}
}
</script>
<style>
</style>