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
<template>
<div class="eibs">
<c-col :span="24">
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<!--Discrepancies modified, 不符点修改-->
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.bedgrp.blk.docdisflg" class="checkbox-left" true-label="X" false-label="">Discrepancies modified</c-checkbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- Internal Discrepancies 内部不符点-->
<c-col :span="24">
<c-ptap-commons :cols="65" :rows="20" :minRows="5" :maxRows="20" :model="model"
@handleChange="changeIntdis"
:extCodes="['bedgrp','blk']"
lastModel="intdis"
title="Internal Discrepancies">
</c-ptap-commons>
</c-col>
<!-- Discrepancies 不符点-->
<c-col :span="24">
<c-ptap-commons :cols="50" :rows="70" :minRows="5" :maxRows="70" :model="model"
:disabled-button="model.bedgrp.blk.docdisflg!='X'"
@handleChange="changeDocdis"
:extCodes="['bedgrp','blk']"
lastModel="docdis"
title="Discrepancies">
</c-ptap-commons>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<!--Reasons for Rejection, 拒绝理由 -->
<c-col :span="24">
<c-ptap-commons :cols="35" :rows="5" :minRows="5" :maxRows="5" :model="model"
:extCodes="['bedgrp','blk']"
@handleChange="changeDocins"
lastModel="docins"
title="Reasons for Rejection">
</c-ptap-commons>
</c-col>
<!--Disposal of Documents, 单据处理说明 -->
<c-col :span="24">
<c-ptap-commons :cols="35" :rows="3" :minRows="3" :maxRows="3" :model="model"
:disabled-button="disdocDisable"
:extCodes="['bedgrp','blk']"
lastModel="disdoc"
title="Disposal of Documents">
</c-ptap-commons>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
import commonDepend from "~/mixin/commonDepend";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event,commonDepend],
data() {
return {
}
},
computed: {
disdocDisable(){
if(this.model.advrefflg!=''){
return false;
}else{
if(this.model.isIncMessageLoaded && this.model.bedgrp.blk.disdoc!=''){
return false;
}else{
return true;
}
}
},
},
methods:{
changeIntdis(){
this.customAddModify(this.model.bedgrp.blk,"intdis");
},
changeDocdis(){
this.customAddModify(this.model.bedgrp.blk,"docdis");
},
changeDocins(){
this.customAddModify(this.model.bedgrp.blk,"docins");
},
},
created: function () { },
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>