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
<template>
<div class="eibs-tab">
<c-col :span="11">
<c-col :span="24" v-if="false">
<el-form-item label="汇款人名称" prop="orcnam">
<c-input
v-model="model.orcnam"
maxlength="16"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="pyenam">
<c-input
v-model="model.pyenam"
placeholder=""
@blur="pyenamEvent"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="清算费用锁定服务" prop="cptp.qsfysd">
<c-select
v-model="model.cptp.qsfysd"
style="width: 100%"
placeholder="请选择服务提供银行"
>
<el-option
v-for="item in codes.qsfysd"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.cptp.qsfysd === '1'">
<el-form-item label="服务提供银行">
<c-input
v-model="model.cptp.fwtgyh"
placeholder=""
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
watch:{
"model.cptp.qsfysd": function(){
if(this.model.cptp.qsfysd == ''){
this.model.cptp.fwtgyh == '';
}else{
this.model.cptp.fwtgyh = 'CHASUS33XXX';
console.log(this.model.cptp.fwtgyh)
}
}
},
methods: {
...Event,
pyenamEvent() {
this.executeRule("pyenam").then( res => {
})
}
},
created: function () {},
};
</script>
<style>
</style>