Acpp.vue 11.1 KB
Newer Older
liuxin committed
1
<template>
jianglong committed
2
    <div class="eibs">
liuxin committed
3 4 5 6
        <c-col :span="24">
            <!-- ---------------Left--------------- -->
            <c-col :span="12">
                <c-col :span="24">
7
                    <el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
liuxin committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
                        <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"
                                >
nanrui committed
24
                                    <i class="el-icon-info" style="font-size:15px"></i>
liuxin committed
25 26 27 28 29
                                </c-button>
                                <c-button
                                    style="margin: 0 0"
                                    size="small"
                                    type="primary"
30
                                    :disabled="!this.flag && model.lidgrp.rec.ownref == ''? false:true"
liuxin committed
31 32 33 34 35 36 37 38 39
                                >
                                    获取
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
40
                    <el-form-item label="单据编号" prop="brdgrp.rec.ownref">
liuxin committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
                        <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"
                                >
nanrui committed
57
                                    <i class="el-icon-info" style="font-size:15px"></i>
liuxin committed
58 59 60 61 62
                                </c-button>
                                <c-button
                                    style="margin: 0 0"
                                    size="small"
                                    type="primary"
63
                                    :disabled="!this.flag && model.brdgrp.rec.ownref == ''? false:true"
liuxin committed
64 65 66 67 68 69 70 71 72
                                >
                                    获取
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
73
                    <el-form-item label="生效日期" prop="lidgrp.rec.expdat">
liuxin committed
74 75 76 77
                        <c-date-picker
                            type="date"
                            v-model="model.lidgrp.rec.expdat"
                            style="width: 100%"
78
                            placeholder="请选择日期"
liuxin committed
79 80 81 82 83 84 85 86
                            disabled
                        ></c-date-picker>
                    </el-form-item>
                </c-col>
            </c-col>

            <!-- ---------------Right--------------- -->
            <c-col :span="12">
87
            <c-col :span="12">
88
            <el-form-item label="开证金额" prop="lidgrp.cbs.opn1.cur">
89 90 91 92
                <c-select
                    disabled
                    v-model="model.lidgrp.cbs.opn1.cur"
                    style="width: 100%"
93
                    placeholder="请选择币种"
94 95
                    >
                    <el-option
96 97 98 99 100
                      v-for="item in codes.curtxt1"
                      :key="item.value"
                      :label="item.label"
                      :value="item.value"
                     >
101 102 103 104 105 106 107 108 109 110
                    </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"
111
                
112 113 114 115 116
            >
                <c-input
                    disabled
                    v-model="model.lidgrp.cbs.opn1.amt"
                    style="text-align: left; width: 100%"
117
                    placeholder=""
118 119 120
                ></c-input>
            </el-form-item>
        </c-col>
121
               
liuxin committed
122 123 124

                <c-col :span="24">
                    <el-form-item
125
                        label="单据简略信息"
126
                        prop="brdgrp.rec.nam"
liuxin committed
127 128
                    >
                        <c-input
129 130
                            v-model="model.brdgrp.rec.nam"
                            placeholder=""
liuxin committed
131 132 133 134 135
                            disabled
                        ></c-input>
                    </el-form-item>
                </c-col>

136
              
liuxin committed
137
            </c-col>
liuxin committed
138
        </c-col>
liuxin committed
139 140 141 142 143

        <c-col :span="24">
            <c-litTemp
                :model="model"
                :argadr="{
144
                    title: '',
liuxin committed
145
                    trans: 'brdgrp',
huangxin committed
146
                    trans1:'brtp',
liuxin committed
147 148 149
                }"
                :rol="[
                    {
150
                        title: '申请人',
151
                        trans: 'apl',
liuxin committed
152 153
                    },
                    {
154
                        title: '受益人',
liuxin committed
155 156 157
                        trans: 'ben',
                    },
                    {
158
                        title: '寄单行',
159
                        trans: 'prb',
liuxin committed
160 161 162 163 164 165 166
                    },
                ]"
                :isAdvdat="true"
                :isMattxtlab="true"
                :isTenmaxday="true"
            >
            </c-litTemp>
liuxin committed
167
        </c-col>
liuxin committed
168 169 170 171 172 173

        <c-col :span="24">
            <!-- ---------------Left--------------- -->
            <c-col :span="12">
                <c-col :span="24">
                    <el-form-item
174
                        label="进一步确认"
liuxin committed
175 176 177 178 179
                        prop="brtp.furide"
                    >
                        <c-select
                            v-model="model.brtp.furide"
                            style="width: 100%"
180
                            placeholder="请选择内容"
liuxin committed
181 182
                        >
                            <el-option
183
                                v-for="item in furide"
liuxin committed
184 185 186 187 188 189 190 191 192 193 194
                                :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
195
                        label="不符点通知日期"
liuxin committed
196 197 198 199 200 201
                        prop="brdgrp.rec.disdat"
                    >
                        <c-date-picker
                            type="date"
                            v-model="model.brdgrp.rec.disdat"
                            style="width: 100%"
202
                            placeholder="请选择不符点通知日期"
liuxin committed
203 204 205 206 207 208 209
                        ></c-date-picker>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
                    <c-col :span="13">
                        <el-form-item
210
                            label="通知金额总和"
liuxin committed
211 212 213 214 215
                            prop="brdgrp.rec.totcur"
                        >
                            <c-input
                                v-model="model.brdgrp.rec.totcur"
                                maxlength="3"
216
                                placeholder="请选择币种"
liuxin committed
217 218 219 220 221 222 223 224 225 226 227 228
                                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"
229
                                placeholder="请输入金额"
liuxin committed
230 231 232 233 234 235 236 237 238 239
                            ></c-input>
                        </el-form-item>
                    </c-col>
                </c-col>
            </c-col>

            <!-- ---------------Right--------------- -->
            <c-col :span="12">
                <c-col :span="24">
                    <el-form-item
240
                        label="交单行角色"
liuxin committed
241 242 243
                        prop="brdgrp.rec.docprbrol"
                    >
                        <c-select
244
                            disabled
liuxin committed
245 246
                            v-model="model.brdgrp.rec.docprbrol"
                            style="width: 100%"
247
                            placeholder="请选择"
liuxin committed
248
                        >
249 250 251 252 253 254 255
                        <el-option
                                v-for="item in codes.docprbrol"
                                :key="item.value"
                                :label="item.label"
                                :value="item.value"
                            >
                            </el-option>
liuxin committed
256 257 258 259 260 261 262
                        </c-select>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <c-ptap1
                        :model="model"
                        :argadr="{
263
                            title: '',
liuxin committed
264 265 266 267 268 269 270 271 272
                            grp: 'brdgrp',
                            rol: 'prb',
                        }"
                        :disabled="true"
                        :isAdrblk="false"
                    >
                    </c-ptap1>
                </c-col>
            </c-col>
liuxin committed
273
        </c-col>
liuxin committed
274
    </div>
liuxin committed
275 276
</template>
<script>
liuxin committed
277
import Api from "~/service/Api";
liuxin committed
278
import commonProcess from "~/mixin/commonProcess";
liuxin committed
279 280 281 282 283 284
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
285 286

export default {
liuxin committed
287 288
    inject: ["root"],
    props: ["model", "codes"],
liuxin committed
289
    mixins: [commonProcess],
liuxin committed
290 291 292 293 294 295
    components: {
        "c-curAmt": CurAmt,
        "c-litTemp": LitTemp,
        "c-ptap1": Ptap1,
    },
    data() {
liuxin committed
296
        return {
297
            furide: [
298 299 300
        { label: "议付", value: "NEG" },
        { label: "偿付", value: "REI" },
        { label: "见72域", value: "SEE" },
301
    ],
liuxin committed
302 303
            flag: true,
        };
liuxin committed
304
    },
liuxin committed
305 306 307
    methods: { ...Event },
    created: function () {},
};
liuxin committed
308 309 310
</script>
<style>
</style>