Setp.vue 13.7 KB
Newer Older
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
<template>
    <div class="eibs-tab">

        <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="botp.recget.sdamod.dadsnd">
            <c-input  v-model="model.botp.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col> -->
        <c-col :span="24">
            <c-col :span="11">
                <el-form-item label="Reference" prop="bodgrp.rec.ownref">
                    <c-fullbox>
                        <c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"
                            style="width: 100%" disabled></c-input>
                        <template slot="footer">
                            <c-button style="margin-left:8px; padding: 0 12px" size="small" type="primary" @click="">
                                <span style="font-family: '宋体'; font-weight: bold">i</span>
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>
            <c-col :span="11" :offset="1">
                <el-form-item label="Name" prop="bodgrp.rec.nam" style="width: 100%">
                    <c-input v-model="model.bodgrp.rec.nam" maxlength="40" style="width: 100%" placeholder="请输入Name"
                        disabled></c-input>
                </el-form-item>
            </c-col>
        </c-col>

        <!-- <c-col :span="12">
            <el-form-item label="" prop="botp.recget.sdamod.seainf">
                <c-input v-model="model.botp.recget.sdamod.seainf" placeholder="请输入"></c-input>
            </el-form-item>
        </c-col> -->

nanrui committed
37 38
        <c-col :span="24">
            <c-col :span="11">
39
                <c-col :span="12">
nanrui committed
40 41 42 43 44 45
                    <el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
                        <c-input v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"
                            disabled>
                        </c-input>
                    </el-form-item>
                </c-col>
46
                <c-col :span="12">
nanrui committed
47 48 49 50 51 52 53 54 55 56 57
                    <el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
                        <c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
                    </el-form-item>
                </c-col>
            </c-col>
            <c-col :span="11" :offset="1">
                <el-form-item label="Drawer Ref." prop="bodgrp.drr.pts.ref">
                    <c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer" disabled>
                    </c-input>
                </el-form-item>
            </c-col>
58 59
        </c-col>

nanrui committed
60 61
        <c-col :span="24">
            <c-col :span="11">
62
                <c-col :span="12">
nanrui committed
63 64 65 66 67 68
                    <el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
                        <c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
                            placeholder="请选择Warehouse/Insurance" disabled>
                        </c-input>
                    </el-form-item>
                </c-col>
69
                <c-col :span="12">
nanrui committed
70 71 72 73 74 75 76 77 78 79 80 81 82
                    <el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt">
                        <c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
                            disabled></c-input>
                    </el-form-item>
                </c-col>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-col :span="24">
                    <el-form-item label="" prop="bodgrp.drr.pts.nam">
                        <c-input v-model="model.bodgrp.drr.pts.nam" placeholder="bodgrp.drr.pts.nam" disabled></c-input>
                    </el-form-item>
                </c-col>
            </c-col>
83 84 85
        </c-col>


nanrui committed
86 87 88 89 90 91 92 93
        <c-col :span="24">
            <c-col :span="11">
                <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
                    <c-input v-model="model.bodgrp.rec.doctypcod" style="width:100%"
                        placeholder="请选择Collection Condition" disabled>
                    </c-input>
                </el-form-item>
            </c-col>
94

nanrui committed
95 96 97 98 99 100
            <c-col :span="11" :offset="1">
                <el-form-item label="Collecting Bank Ref." prop="bodgrp.col.pts.ref">
                    <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank"
                        disabled></c-input>
                </el-form-item>
            </c-col>
101 102
        </c-col>

nanrui committed
103 104 105 106 107 108 109 110 111 112 113 114 115
        <c-col :span="24">
            <c-col :span="11">
                <c-col :span="24">
                    <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
                        <c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"
                            disabled>
                        </c-input>
                    </el-form-item>
                </c-col>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-col :span="24">
                    <el-form-item label="" prop="bodgrp.col.pts.nam">
116 117
                        <c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam"
                            disabled>
nanrui committed
118 119 120 121
                        </c-input>
                    </el-form-item>
                </c-col>
            </c-col>
122 123
        </c-col>

nanrui committed
124 125
        <c-col :span="24">
            <c-col :span="11">
126 127 128 129 130 131 132 133
                <c-col :span="12">
                    <el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat">
                        <c-input v-model="model.bodgrp.rec.matdat" placeholder="" disabled>
                        </c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="9">
                    <el-form-item label="" prop="bodgrp.rec.matpercnt">
nanrui committed
134 135 136 137
                        <c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" disabled>
                        </c-input>
                    </el-form-item>
                </c-col>
138 139
                <c-col :span="2" :offset="1">
                    <span>Days</span>
nanrui committed
140 141
                </c-col>
                <c-col :span="24">
142
                    <el-form-item label="" prop="bodgrp.rec.matperbeg">
nanrui committed
143 144 145 146 147
                        <c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
                            placeholder="请选择Start of Maturity Period MATBEG" disabled>
                        </c-input>
                    </el-form-item>
                </c-col>
148 149 150
                <!-- <c-col :span="5">
                    <span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
                </c-col> -->
nanrui committed
151
            </c-col>
152

nanrui committed
153
            <c-col :span="11" :offset="1">
154 155 156 157 158 159
                <c-col :span="24">
                    <el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
                        <c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" disabled>
                        </c-input>
                    </el-form-item>
                </c-col>
nanrui committed
160 161
                <c-col :span="24">
                    <el-form-item label="" prop="bodgrp.dre.pts.nam">
162 163
                        <c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam"
                            disabled>
nanrui committed
164 165 166 167
                        </c-input>
                    </el-form-item>
                </c-col>
            </c-col>
168 169
        </c-col>

nanrui committed
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
        <c-col :span="24">
            <c-col :span="11">
                <c-col :span="12">
                    <el-form-item label="Order Date" prop="bodgrp.rec.rcvdat">
                        <c-date-picker type="date" v-model="model.bodgrp.rec.rcvdat" style="width:100%"
                            placeholder="请选择Order Date" disabled></c-date-picker>
                    </el-form-item>
                </c-col>
                <c-col :span="12">
                    <el-form-item label="Presentation Date" prop="bodgrp.rec.predat">
                        <c-date-picker type="date" v-model="model.bodgrp.rec.predat" style="width:100%"
                            placeholder="请选择Presentation Date" disabled></c-date-picker>
                    </el-form-item>
                </c-col>
            </c-col>
185
        </c-col>
186
        <c-col :span="24" style="margin-top:15px;border-top:2px solid #ddd;padding-top:15px">
nanrui committed
187 188 189
            <c-col :span="11">
                <c-col :span="12">
                    <el-form-item label="Amount Accepted" prop="setmod.doccur">
190 191
                        <c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency"
                            disabled>
nanrui committed
192 193 194 195 196 197 198 199 200
                        </c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="11" :offset="1">
                    <el-form-item label-width="0" prop="setmod.docamt">
                        <c-input v-model="model.setmod.docamt" placeholder="请输入document amount" disabled></c-input>
                    </el-form-item>
                </c-col>
            </c-col>
201
        </c-col>
nanrui committed
202 203 204 205 206 207 208
        <!-- <c-col :span="12">
            <span v-text="model.botp.matp.mattxtlab" data-path=".botp.matp.mattxtlab"> </span>
        </c-col> -->
        <!-- <c-col :span="12">
            <el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
                <c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%"
                    placeholder="请选择Maturity Date"></c-date-picker>
209
            </el-form-item>
nanrui committed
210 211
        </c-col> -->
        <!-- <c-col :span="12">
212 213 214 215
            <el-form-item label="currency discount paid back" prop="bptbck.dscbckcur">
                <c-input v-model="model.bptbck.dscbckcur" maxlength="3" placeholder="请输入currency discount paid back">
                </c-input>
            </el-form-item>
nanrui committed
216
        </c-col> -->
217 218 219 220 221 222 223 224 225 226 227 228
        <c-col :span="24">
            <c-col :span="11">
                <c-edit-table :model="model" v-bind="docgrd">
                </c-edit-table>
            </c-col>
        </c-col>
        <c-col :span="24">
            <c-col :span="11">
                <c-istream-table ref="table" :list="model.liaall.tenstm.rows || []" :columns="stmData.columns"
                    :showSelection="true" v-on:multipleSelect="multipleSelect">
                </c-istream-table>
            </c-col>
229 230
        </c-col>
        <!-- <c-col :span="24">
231 232
            <div class="e-table-wrapper">
                <el-table :data="model.bptbck.bptbckg" style="width: 100%">
233
                    <el-table-column prop="ownref" label="owner" sortable width="100">
234
                    </el-table-column>
235
                    <el-table-column prop="opncur" label="opncur" sortable width="100">
236
                    </el-table-column>
237
                    <el-table-column prop="opnamt" label="opnamt" sortable width="100">
238
                    </el-table-column>
239
                    <el-table-column prop="bckamt" label="bckamt" sortable width="100">
240
                    </el-table-column>
241
                    <el-table-column prop="butcal" label="butcal" sortable width="100">
242
                    </el-table-column>
243 244
                </el-table> -->
        <!-- <el-pagination
245 246 247
                 layout="prev, pager, next"
                 :total="pager.bptbck_bptbckg.total">
              </el-pagination> -->
248 249
        <!-- </div>
        </c-col> -->
250

nanrui committed
251
        <!-- <c-col :span="12">
252 253 254
            <el-form-item label="Tenor Stream" prop="liaall.tenstm">
                <c-input v-model="model.liaall.tenstm" placeholder="请输入Tenor Stream"></c-input>
            </el-form-item>
nanrui committed
255
        </c-col> -->
256 257 258 259 260 261 262 263 264 265 266 267 268 269
    </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botacc/Event"

export default {
    inject: ['root'],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
        return {
270 271 272 273 274 275 276 277 278 279 280
            stmData: {
                columns: [
                    '1 1 "Type" 80',
                    '2 2 "Dbt" 80',
                    '3 3 "Cdt" 80',
                    '4 4 "Cur" 80',
                    '5 5 "Amt" 113 2 8 1 4',
                    // '6 6 "Mat.Dat." 80 4 7 1',
                    { index: 6, position: 6, width: 113, render: (item, scope) => { return scope.row[item.prop] === 'null' ? '' : scope.row[item.prop] }, label: 'Mat.Dat.' },
                ],
            },
281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
            docgrd: {
                columns: [{
                    title: "Reference",
                    width: "80px",
                    dataIndex: "ownref",
                    show: "input",
                },
                {
                    title: "Cur",
                    width: "80px",
                    dataIndex: "opncur",
                    show: "input",
                },
                {
                    title: "Open Amount",
                    width: "80px",
                    dataIndex: "opnamt",
                    show: "input",
                },
                {
                    title: "Amount Paid",
                    width: "320px",
                    dataIndex: "bckamt",
                    show: "input",
                },
                ],
                urls: "bptbck.bptbckg.docgrd",
            },
309 310
        }
    },
311 312 313 314 315 316
    methods: {
        ...Event,
        multipleSelect(){
            console.log(111);
        }
    },
317
    created: function () {
318
        console.log(this.model.liaall.tenstm);
319 320 321 322 323
    }
}
</script>
<style>
</style>