Rog.vue 15 KB
Newer Older
liuxin committed
1
<template>
liuxin committed
2 3 4 5 6 7
    <div class="eibs-tab">
        <c-col :span="24">
            <!-- ---------------Left--------------- -->
            <c-col :span="12">
                <c-col :span="24">
                    <el-form-item
8
                        label="Reference"
liuxin committed
9 10 11 12 13 14
                        prop="lidgrp.rec.ownref"
                    >
                        <c-fullbox>
                            <c-input
                                v-model="model.lidgrp.rec.ownref"
                                maxlength="16"
15
                                placeholder=""
liuxin committed
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
                                disabled
                            ></c-input>
                            <template slot="footer">
                                <c-button
                                    style="
                                        margin: 0 10px 0 10px;
                                        padding: 0 12px;
                                    "
                                    size="small"
                                    type="primary"
                                >
                                    <span
                                        style="
                                            font-family: '宋体';
                                            font-weight: bold;
                                        "
                                        >i</span
                                    >
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
            </c-col>
            <!-- ---------------Right--------------- -->
            <c-col :span="12">
                <c-col :span="24">
                    <c-form-item
44
                        label="Name"
liuxin committed
45 46 47 48 49
                        prop="lidgrp.rec.nam"
                    >
                        <c-input
                            v-model="model.lidgrp.rec.nam"
                            maxlength="40"
50
                            placeholder=""
liuxin committed
51 52 53 54 55 56 57 58 59 60 61
                            disabled
                        ></c-input>
                    </c-form-item>
                </c-col>
            </c-col>
        </c-col>

        <c-col :span="24">
            <!-- ---------------Left--------------- -->
            <c-col :span="12">
                <c-col :span="24">
62
                    <c-col :span="9">
liuxin committed
63
                        <el-form-item
64
                            label="L/C Amount"
liuxin committed
65 66 67 68 69
                            prop="lidgrp.cbs.nom1.cur"
                        >
                            <c-select
                                v-model="model.lidgrp.cbs.nom1.cur"
                                style="width: 100%"
70
                                placeholder=""
liuxin committed
71 72 73 74 75 76 77
                                :code="codes.cur"
                                disabled
                            >
                            </c-select>
                        </el-form-item>
                    </c-col>

78
                    <c-col :span="10">
liuxin committed
79 80 81 82 83 84 85
                        <c-form-item
                            label=""
                            label-width="5px"
                            prop="lidgrp.cbs.nom1.amt"
                        >
                            <c-input
                                v-model="model.lidgrp.cbs.nom1.amt"
86
                                placeholder=""
liuxin committed
87 88 89 90
                                disabled
                            ></c-input>
                        </c-form-item>
                    </c-col>
91 92 93 94 95 96 97 98 99

                    <c-col :span="5" >
                        <c-form-item
                            label=""
                            label-width="20px"
                            >
                            <c-checkbox disabled v-model="model.brtp.aammod.addamtflg">Add.Amount</c-checkbox>
                        </c-form-item>
                    </c-col>
liuxin committed
100 101
                </c-col>
                <c-col :span="24">
102
                    <c-col :span="9">
liuxin committed
103
                        <el-form-item
104
                            label="Open Amount"
liuxin committed
105 106 107 108 109
                            prop="lidgrp.cbs.opn1.cur"
                        >
                            <c-select
                                v-model="model.lidgrp.cbs.opn1.cur"
                                style="width: 100%"
110
                                placeholder=""
liuxin committed
111 112 113 114 115 116 117
                                :code="codes.cur"
                                disabled
                            >
                            </c-select>
                        </el-form-item>
                    </c-col>

118
                    <c-col :span="10">
liuxin committed
119 120 121 122 123 124 125
                        <c-form-item
                            label=""
                            label-width="5px"
                            prop="lidgrp.cbs.opn1.amt"
                        >
                            <c-input
                                v-model="model.lidgrp.cbs.opn1.amt"
126
                                placeholder=""
liuxin committed
127 128 129 130
                                disabled
                            ></c-input>
                        </c-form-item>
                    </c-col>
131 132 133 134 135 136 137 138 139

                    <c-col :span="5">
                        <c-form-item
                            label=""
                            label-width="20px"
                            >
                            <c-checkbox disabled v-model="model.lidgrp.rec.revflg">Revolving L/C</c-checkbox>
                            </c-form-item>
                        </c-col>
liuxin committed
140 141 142
                </c-col>
                <c-col :span="24">
                    <c-form-item
143
                        label="Available With"
liuxin committed
144 145 146 147 148
                        prop="lidgrp.avbnam"
                    >
                        <c-input
                            v-model="model.lidgrp.avbnam"
                            maxlength="40"
149
                            placeholder=""
liuxin committed
150 151 152 153
                            disabled
                        ></c-input>
                    </c-form-item>
                </c-col>
154 155
                <c-col :span="19">
                    <el-form-item label="by" prop="lidgrp.rec.avbby">
liuxin committed
156 157 158
                        <c-select
                            v-model="model.lidgrp.rec.avbby"
                            style="width: 100%"
159
                            placeholder=""
liuxin committed
160 161 162 163 164 165
                            disabled
                            :code="codes.avbby"
                        >
                        </c-select>
                    </el-form-item>
                </c-col>
166 167 168 169 170 171

                <c-col :span="5">
                    <c-form-item
                            label=""
                            label-width="20px"
                            >
jianglong committed
172
                            <c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">红/绿条款</c-checkbox>
173 174 175 176
                            </c-form-item>
                    </c-col>

                <c-col :span="12">
liuxin committed
177
                    <el-form-item
178
                        label="Date Issued"
liuxin committed
179 180 181 182 183 184
                        prop="lidgrp.rec.opndat"
                    >
                        <c-date-picker
                            type="date"
                            v-model="model.lidgrp.rec.opndat"
                            style="width: 100%"
185
                            placeholder=""
liuxin committed
186 187 188 189
                            disabled
                        ></c-date-picker>
                    </el-form-item>
                </c-col>
190
                <c-col :span="12">
liuxin committed
191
                    <el-form-item
192
                        label="Shipment Date"
liuxin committed
193 194 195 196 197 198
                        prop="lidgrp.rec.shpdat"
                    >
                        <c-date-picker
                            type="date"
                            v-model="model.lidgrp.rec.shpdat"
                            style="width: 100%"
199
                            placeholder=""
liuxin committed
200 201 202 203
                            disabled
                        ></c-date-picker>
                    </el-form-item>
                </c-col>
204
                <c-col :span="12">
liuxin committed
205
                    <el-form-item
206
                        label="Date/Place of Expiry"
liuxin committed
207 208 209 210 211 212
                        prop="lidgrp.rec.expdat"
                    >
                        <c-date-picker
                            type="date"
                            v-model="model.lidgrp.rec.expdat"
                            style="width: 100%"
213
                            placeholder=""
liuxin committed
214 215 216 217 218
                            disabled
                        ></c-date-picker>
                    </el-form-item>
                </c-col>

219
                <c-col :span="12">
liuxin committed
220
                    <c-form-item
221
                        label=""
liuxin committed
222
                        prop="lidgrp.rec.expplc"
223
                        label-width="5px"
liuxin committed
224 225 226 227
                    >
                        <c-input
                            v-model="model.lidgrp.rec.expplc"
                            maxlength="29"
228
                            placeholder=""
liuxin committed
229 230 231 232
                            disabled
                        ></c-input>
                    </c-form-item>
                </c-col>
233

liuxin committed
234 235
                <c-col :span="24">
                    <el-form-item
236
                        label="Form of L/C"
liuxin committed
237 238 239 240 241
                        prop="lidgrp.rec.lcrtyp"
                    >
                        <c-select
                            v-model="model.lidgrp.rec.lcrtyp"
                            style="width: 100%"
242 243
                            placeholder=""
                            :code="codes.lcrtyp1"
liuxin committed
244 245 246 247 248
                            disabled
                        >
                        </c-select>
                    </el-form-item>
                </c-col>
249 250 251 252 253 254
            </c-col>

            <!-- ---------------Right--------------- -->
            <c-col :span="12">
                
                
liuxin committed
255 256 257 258 259 260 261 262 263
                <c-col :span="24">
                    <c-appBenPre
                        :model="model"
                        :argadr="{
                            title: 'Opening Amount',
                            trans: 'brdgrp',
                        }"
                        :rol="[
                            {
264
                                title: 'Applicant',
liuxin committed
265 266 267
                                trans: 'apl',
                            },
                            {
268
                                title: 'Beneficiary',
liuxin committed
269 270 271
                                trans: 'ben',
                            },
                            {
272
                                title: 'Presented by',
liuxin committed
273 274 275 276 277 278 279 280 281 282 283 284 285 286
                                trans: 'prb',
                            },
                        ]"
                    >
                    </c-appBenPre>
                </c-col>
            </c-col>
        </c-col>

        <c-col :span="24">
            <!-- ---------------Left--------------- -->
            <c-col :span="12">
                <c-col :span="24">
                    <el-form-item
287
                        label="Document Set Ref."
liuxin committed
288 289 290 291
                        prop="brdgrp.rec.ownref"
                    >
                        <c-fullbox>
                            <c-input
292
                                v-model="model.brdgrp.rec.ownref"
liuxin committed
293
                                maxlength="16"
294
                                placeholder=""
liuxin committed
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
                                disabled
                            ></c-input>
                            <template slot="footer">
                                <c-button
                                    style="
                                        margin: 0 10px 0 10px;
                                        padding: 0 12px;
                                    "
                                    size="small"
                                    type="primary"
                                >
                                    <span
                                        style="
                                            font-family: '宋体';
                                            font-weight: bold;
                                        "
                                        >i</span
                                    >
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <c-form-item
320
                        label="SG Reference"
liuxin committed
321 322 323 324 325
                        prop="brdgrp.rec.shgref"
                    >
                        <c-input
                            v-model="model.brdgrp.rec.shgref"
                            maxlength="16"
326
                            placeholder=""
liuxin committed
327 328 329 330 331
                            disabled
                        ></c-input>
                    </c-form-item>
                </c-col>

332
                  <c-col :span="24">
liuxin committed
333 334
                    <c-col :span="13">
                        <c-form-item
335
                            label="Amount of Shipment"
liuxin committed
336 337
                            prop="brdgrp.cbs.max.cur"
                        >
338
                            <c-select
liuxin committed
339
                                v-model="model.brdgrp.cbs.max.cur"
340 341 342
                                style="width: 100%"
                                placeholder=""
                                :code="codes.cur"
liuxin committed
343
                                disabled
344
                            ></c-select>
liuxin committed
345 346 347 348 349 350 351 352 353 354
                        </c-form-item>
                    </c-col>
                    <c-col :span="11">
                        <c-form-item
                            label=""
                            label-width="5px"
                            prop="brdgrp.cbs.max.amt"
                        >
                            <c-input
                                v-model="model.brdgrp.cbs.max.amt"
355
                                placeholder=""
liuxin committed
356 357 358 359 360
                            ></c-input>
                        </c-form-item>
                    </c-col>
                </c-col>
            </c-col>
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377

            <!-- ---------------Right--------------- -->
            <c-col :span="12">
                <c-col :span="24">
                    <c-form-item
                        label="Name"
                        prop="brdgrp.rec.nam"
                    >
                        <c-input
                            v-model="model.brdgrp.rec.nam"
                            maxlength="40"
                            placeholder=""
                            disabled
                        ></c-input>
                    </c-form-item>
                </c-col>
            </c-col>
liuxin committed
378 379
        </c-col>
    </div>
liuxin committed
380 381
</template>
<script>
liuxin committed
382
import Api from "~/service/Api";
liuxin committed
383
import commonProcess from "~/mixin/commonProcess";
liuxin committed
384 385 386 387 388 389
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtame/Event";

import CurAmt from "~/views/Public/CurAmt";
import AppBenPre from "~/views/Public/AppBenPre";
import Ptap1 from "~/views/Public/Ptap1";
liuxin committed
390 391

export default {
liuxin committed
392 393
    inject: ["root"],
    props: ["model", "codes"],
liuxin committed
394
    mixins: [commonProcess],
liuxin committed
395 396 397 398 399 400
    components: {
        "c-curAmt": CurAmt,
        "c-appBenPre": AppBenPre,
        "c-ptap1": Ptap1,
    },
    data() {
liuxin committed
401
        return {
liuxin committed
402 403
            flag: true,
        };
liuxin committed
404
    },
liuxin committed
405 406 407
    methods: { ...Event },
    created: function () {},
};
liuxin committed
408 409 410
</script>
<style>
</style>