Acpp.vue 12.4 KB
Newer Older
liuxin committed
1
<template>
liuxin committed
2 3 4 5 6
    <div class="eibs-tab">
        <c-col :span="24">
            <!-- ---------------Left--------------- -->
            <c-col :span="12">
                <c-col :span="24">
7
                    <el-form-item label="Import L/C Ref." prop="lidgrp.rec.ownref">
liuxin committed
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
                        <c-fullbox>
                            <c-input
                                v-model="model.lidgrp.rec.ownref"
                                maxlength="16"
                                placeholder="请输入信用证编号"
                                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>
                                <c-button
                                    style="margin: 0 0"
                                    size="small"
                                    type="primary"
                                    :disabled="this.flag"
                                >
                                    获取
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
46
                    <el-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref">
liuxin committed
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
                        <c-fullbox>
                            <c-input
                                v-model="model.brdgrp.rec.ownref"
                                maxlength="16"
                                placeholder="请输入单据参考号"
                                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>
                                <c-button
                                    style="margin: 0 0"
                                    size="small"
                                    type="primary"
                                    :disabled="this.flag"
                                >
                                    获取
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
                    <el-form-item label="Expiry" prop="lidgrp.rec.expdat">
                        <c-date-picker
                            type="date"
                            v-model="model.lidgrp.rec.expdat"
                            style="width: 100%"
                            placeholder="请选择Date of Expiry"
                            disabled
                        ></c-date-picker>
                    </el-form-item>
                </c-col>
            </c-col>

            <!-- ---------------Right--------------- -->
            <c-col :span="12">
99 100 101 102 103 104 105 106 107
            <c-col :span="12">
            <el-form-item label="Open Amt.L/C" prop="lidgrp.cbs.opn1.cur">
                <c-select
                    disabled
                    v-model="model.lidgrp.cbs.opn1.cur"
                    style="width: 100%"
                    placeholder="请选择Currency"
                    >
                    <el-option
108 109 110 111 112
                      v-for="item in codes.curtxt1"
                      :key="item.value"
                      :label="item.label"
                      :value="item.value"
                     >
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
                    </el-option>
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item
                style="text-align: left"
                label-width="5px"
                prop="lidgrp.cbs.opn1.amt"
            >
                <c-input
                    disabled
                    v-model="model.lidgrp.cbs.opn1.amt"
                    style="text-align: left; width: 100%"
                    placeholder="Document Amount"
                ></c-input>
            </el-form-item>
        </c-col>
                <!-- <c-col :span="24">
liuxin committed
133 134 135
                    <c-curAmt
                        :model="model"
                        :argadr="{
136
                            title: 'Open Amt.L/C',
liuxin committed
137 138
                            trans: 'lidgrp',
                        }"
139
                        disabled
liuxin committed
140 141
                    >
                    </c-curAmt>
142
                </c-col> -->
liuxin committed
143 144 145

                <c-col :span="24">
                    <el-form-item
146 147
                        label=""
                        prop="brdgrp.rec.nam"
liuxin committed
148 149
                    >
                        <c-input
150 151
                            v-model="model.brdgrp.rec.nam"
                            placeholder=""
liuxin committed
152 153 154 155 156
                            disabled
                        ></c-input>
                    </el-form-item>
                </c-col>

157
                <!-- <c-col :span="24">
liuxin committed
158 159 160 161 162 163 164 165 166
                    <el-form-item label="Order Date" prop="brdgrp.rec.orddat">
                        <c-date-picker
                            type="date"
                            v-model="model.brdgrp.rec.orddat"
                            style="width: 100%"
                            placeholder="请选择Order Date"
                            disabled
                        ></c-date-picker>
                    </el-form-item>
167
                </c-col> -->
liuxin committed
168
            </c-col>
liuxin committed
169
        </c-col>
liuxin committed
170 171 172 173 174

        <c-col :span="24">
            <c-litTemp
                :model="model"
                :argadr="{
175
                    title: '',
liuxin committed
176
                    trans: 'brdgrp',
huangxin committed
177
                    trans1:'brtp',
liuxin committed
178 179 180
                }"
                :rol="[
                    {
181 182
                        title: 'Applicant',
                        trans: 'apl',
liuxin committed
183 184
                    },
                    {
185
                        title: 'Beneficiary',
liuxin committed
186 187 188
                        trans: 'ben',
                    },
                    {
189 190
                        title: 'Presenting Bank',
                        trans: 'prb',
liuxin committed
191 192 193 194 195 196 197
                    },
                ]"
                :isAdvdat="true"
                :isMattxtlab="true"
                :isTenmaxday="true"
            >
            </c-litTemp>
liuxin committed
198
        </c-col>
liuxin committed
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213

        <c-col :span="24">
            <!-- ---------------Left--------------- -->
            <c-col :span="12">
                <c-col :span="24">
                    <el-form-item
                        label="Further Identification"
                        prop="brtp.furide"
                    >
                        <c-select
                            v-model="model.brtp.furide"
                            style="width: 100%"
                            placeholder="请选择Further Identification"
                        >
                            <el-option
214
                                v-for="item in furide"
liuxin committed
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
                                :key="item.value"
                                :label="item.label"
                                :value="item.value"
                            >
                            </el-option>
                        </c-select>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
                    <el-form-item
                        label="Discrep. advised on"
                        prop="brdgrp.rec.disdat"
                    >
                        <c-date-picker
                            type="date"
                            v-model="model.brdgrp.rec.disdat"
                            style="width: 100%"
                            placeholder="请选择Discrep. advised on"
                        ></c-date-picker>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
                    <c-col :span="13">
                        <el-form-item
241
                            label="Total Amount Advised"
liuxin committed
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274
                            prop="brdgrp.rec.totcur"
                        >
                            <c-input
                                v-model="model.brdgrp.rec.totcur"
                                maxlength="3"
                                placeholder="请输入Amount to be Paid"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="11">
                        <el-form-item
                            label=""
                            prop="brdgrp.rec.totamt"
                            label-width="5px"
                        >
                            <c-input
                                v-model="model.brdgrp.rec.totamt"
                                placeholder="请输入Total Amount to be Paid"
                            ></c-input>
                        </el-form-item>
                    </c-col>
                </c-col>
            </c-col>

            <!-- ---------------Right--------------- -->
            <c-col :span="12">
                <c-col :span="24">
                    <el-form-item
                        label="Presented by"
                        prop="brdgrp.rec.docprbrol"
                    >
                        <c-select
275
                            disabled
liuxin committed
276 277 278 279
                            v-model="model.brdgrp.rec.docprbrol"
                            style="width: 100%"
                            placeholder="请选择Presented by"
                        >
280 281 282 283 284 285 286
                        <el-option
                                v-for="item in codes.docprbrol"
                                :key="item.value"
                                :label="item.label"
                                :value="item.value"
                            >
                            </el-option>
liuxin committed
287 288 289 290 291 292 293
                        </c-select>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <c-ptap1
                        :model="model"
                        :argadr="{
294
                            title: '',
liuxin committed
295 296 297 298 299 300 301 302 303
                            grp: 'brdgrp',
                            rol: 'prb',
                        }"
                        :disabled="true"
                        :isAdrblk="false"
                    >
                    </c-ptap1>
                </c-col>
            </c-col>
liuxin committed
304
        </c-col>
liuxin committed
305
    </div>
liuxin committed
306 307
</template>
<script>
liuxin committed
308
import Api from "~/service/Api";
liuxin committed
309
import commonProcess from "~/mixin/commonProcess";
liuxin committed
310 311 312 313 314 315
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtacp/Event";

import CurAmt from "~/views/Public/CurAmt";
import LitTemp from "~/views/Public/LitTemp";
import Ptap1 from "~/views/Public/Ptap1";
liuxin committed
316 317

export default {
liuxin committed
318 319
    inject: ["root"],
    props: ["model", "codes"],
liuxin committed
320
    mixins: [commonProcess],
liuxin committed
321 322 323 324 325 326
    components: {
        "c-curAmt": CurAmt,
        "c-litTemp": LitTemp,
        "c-ptap1": Ptap1,
    },
    data() {
liuxin committed
327
        return {
328 329 330 331 332
            furide: [
        { label: "Negotiate", value: "NEG" },
        { label: "Reimburse", value: "REI" },
        { label: "See72", value: "SEE" },
    ],
liuxin committed
333 334
            flag: true,
        };
liuxin committed
335
    },
liuxin committed
336 337 338
    methods: { ...Event },
    created: function () {},
};
liuxin committed
339 340 341
</script>
<style>
</style>