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
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="MT799 (79) 受益人英文名称" prop="ditp.bennam">
<c-input v-model="model.ditp.bennam" maxlength="100" placeholder="请输入MT799 (79) 受益人英文名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="MT799(79)申请人英文名称" prop="ditp.aplname">
<c-input v-model="model.ditp.aplname" maxlength="100" placeholder="请输入MT799(79)申请人英文名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="MT799 (79) 签名" prop="ditp.signam">
<c-input v-model="model.ditp.signam" maxlength="50" placeholder="请输入MT799 (79) 签名"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="MT799(79) 备注" prop="ditp.remark">
<!-- <c-mul-row-input :cols="65" :rows="12" :autosize="{ minRows: 15, maxRows: 15}" placeholder="请输入MT799(79) 备注" v-model="model.ditp.remark">
</c-mul-row-input> -->
<c-input type="textarea" :rows="15" v-model="model.ditp.remark" maxlength="780" show-word-limit ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="MT799(79) 备注" v-show="false">
<!-- <c-mul-row-input :cols="65" :rows="12" :autosize="{ minRows: 15, maxRows: 15}" placeholder="请输入MT799(79) 备注" v-model="ditpremark">
</c-mul-row-input> -->
<c-input type="textarea" :rows="15" v-model="ditpremark" maxlength="780" show-word-limit ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event";
import moment from 'moment';
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
created() {},
computed: {
ditpremark: {
get() {
if(this.isInDisplay){
return this.model.ditp.remark;
}
let txt01 = "Acknowledgement for amendment of LC";
let txt02 = "We hereby confirm that we have amended LC";
let txt03 = "issued on" + " " + moment(this.model.didgrp.rec.opndat).format("DD/MM/YYYY");
let txt030 = "by letter in the following details:";
let txt04 = this.model.didgrp.rec.ownref;
let txt05 = "1\\ date of amendment:";
let txt050 = moment(this.model.swiadd.amedat).format("DD/MM/YYYY");
let txt06 = "2\\ number of amendment:";
let txt060 = this.model.ditamep.amenbr;
let txt07 = "3\\ name of authorized signatory: ";
let txt070 = this.model.ditp.signam;
let txts= txt01 + "\n" + txt02 + " " + txt04 + " " + "\n" + txt03 + " " + txt030 + "\n" + txt05 + txt050 + "\n" + txt06 + txt060 + "\n" + txt07 + txt070
this.model.ditp.remark = txts;
return txts;
},
set(newVal) {
return newVal;
}
}
}
};
</script>
<style>
</style>