Accp.vue 13.7 KB
Newer Older
1
<template>
2
  <div class="eibs">
Eivi committed
3
    <!-- left -->
4
    <c-col :span="12" style="padding-right: 20px;">
Eivi committed
5 6 7
      <c-col :span="24">
        <c-col :span="20">
          <el-form-item
8
            label="出口信用证编号"
Eivi committed
9 10 11 12 13 14
            prop="ledgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.ledgrp.rec.ownref"
              maxlength="16"
15
              placeholder="请输入出口信用证编号"
Eivi committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="1" style="text-align: right"> -->
        <c-col :span="1">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
            @click="onSeainf"
          >
nanrui committed
30
            <i class="el-icon-info" style="font-size:15px"></i>
Eivi committed
31 32 33 34 35 36 37 38 39
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <c-col :span="2" :offset="1" style="text-align: right">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
40
            :disabled="!this.flag && model.ledgrp.rec.ownref == ''? false:true"
Eivi committed
41 42
            @click="onDetpButgetref"
          >
43
            获取
Eivi committed
44 45 46 47
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <!-- </c-col> -->
48
      </c-col>
Eivi committed
49 50 51 52

      <c-col :span="24">
        <c-col :span="20">
          <el-form-item
53
            label="出口单据编号"
Eivi committed
54 55 56 57 58 59
            prop="bedgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.bedgrp.rec.ownref"
              maxlength="16"
60
              placeholder="请输入出口单据编号"
Eivi committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="1" style="text-align: right"> -->
        <c-col :span="1">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
            @click="onSeainf"
          >
nanrui committed
75
            <i class="el-icon-info" style="font-size:15px"></i>
Eivi committed
76 77 78 79 80 81 82 83 84
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <c-col :span="2" :offset="1" style="text-align: right">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
85
            :disabled="!this.flag && model.bedgrp.rec.ownref == ''? false:true"
Eivi committed
86 87
            @click="onDetpButgetref"
          >
88
            获取
Eivi committed
89 90 91 92
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <!-- </c-col> -->
93 94
      </c-col>

Eivi committed
95
      <c-col :span="24">
96
        <el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
97
          <c-fullbox>
Eivi committed
98 99 100
            <c-input
              v-model="model.bedgrp.cbs.max.cur"
              maxlength="3"
101
              style="width: 50%"
102
              placeholder="请输入单据金额"
Eivi committed
103 104
              disabled
            ></c-input>
105
            <c-input
Eivi committed
106
              v-model="model.bedgrp.cbs.max.amt"
107
              style="width: 50%"
108
              placeholder="请输入金额"
Eivi committed
109
              disabled
110
            ></c-input>
111 112 113 114 115
            <template slot="footer">
              <c-checkbox
                v-model="model.betp.adaflg"
                style="margin-left: 10px"
                disabled
116
                >附加金额</c-checkbox
117 118 119 120
              >
            </template>
          </c-fullbox>
        </el-form-item>
121
      </c-col>
Eivi committed
122 123
      <c-col :span="24">
        <c-col :span="12">
124
          <el-form-item label="单据余额" prop="bedgrp.cbs.opn1.cur">
Eivi committed
125 126 127
            <c-input
              v-model="model.bedgrp.cbs.opn1.cur"
              maxlength="3"
128
              placeholder="请输入金额"
Eivi committed
129 130 131 132 133 134 135 136
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="bedgrp.cbs.opn1.amt">
            <c-input
              v-model="model.bedgrp.cbs.opn1.amt"
137
              placeholder="请输入金额"
Eivi committed
138 139 140 141
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
142
      </c-col>
Eivi committed
143
      <c-col :span="24">
144
        <el-form-item label="单据类型" prop="bedgrp.rec.doctypcod">
Eivi committed
145 146 147
          <c-select
            v-model="model.bedgrp.rec.doctypcod"
            style="width: 100%"
148
            placeholder="请输入单据类型"
Eivi committed
149 150 151 152 153 154 155 156 157 158 159
            disabled
          >
            <el-option
              v-for="item in codes.doctypcod1"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
160
      </c-col>
Eivi committed
161
      <c-col :span="24">
162
        <el-form-item label="到期日" prop="bedgrp.rec.matdat">
Eivi committed
163 164 165 166
          <c-date-picker
            type="date"
            v-model="model.bedgrp.rec.matdat"
            style="width: 100%"
167
            placeholder="请选择到期日"
Eivi committed
168 169
            disabled
          ></c-date-picker>
170 171
        </el-form-item>
      </c-col>
Eivi committed
172 173
      <c-col :span="24">
        <c-col :span="12">
174
          <el-form-item label="收到日期" prop="bedgrp.rec.rcvdat">
175 176
            <c-date-picker
              type="date"
Eivi committed
177
              v-model="model.bedgrp.rec.rcvdat"
178
              style="width: 100%"
179
              placeholder="请选择收到日期"
Eivi committed
180
              disabled
181 182 183
            ></c-date-picker>
          </el-form-item>
        </c-col>
Eivi committed
184
        <c-col :span="12">
185
          <el-form-item label="交单日期" prop="bedgrp.rec.predat">
186 187
            <c-date-picker
              type="date"
Eivi committed
188
              v-model="model.bedgrp.rec.predat"
189
              style="width: 100%"
190
              placeholder="请选择日期"
Eivi committed
191
              disabled
192 193 194
            ></c-date-picker>
          </el-form-item>
        </c-col>
Eivi committed
195 196
      </c-col>
      <c-col :span="24">
197
        <el-form-item label="单据状态" prop="bedgrp.rec.docsta">
Eivi committed
198 199 200
          <c-select
            v-model="model.bedgrp.rec.docsta"
            style="width: 100%"
201
            placeholder="请选择单据状态"
Eivi committed
202
            disabled
203
            :code="codes.docsta"
Eivi committed
204 205 206 207 208
          >
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
209

Eivi committed
210
    <!-- right -->
211
    <c-col :span="12" style="padding-left: 20px;">
Eivi committed
212 213
      <c-col :span="24">
        <c-col :span="12">
214
          <el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
Eivi committed
215 216 217
            <c-input
              v-model="model.ledgrp.cbs.opn1.cur"
              maxlength="3"
218
              placeholder="请输入信用证余额"
Eivi committed
219 220 221 222 223 224 225 226
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
            <c-input
              v-model="model.ledgrp.cbs.opn1.amt"
227
              placeholder="请输入金额"
Eivi committed
228 229 230 231 232
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
233

Eivi committed
234
      <c-col :span="24">
235
        <el-form-item label="单据简略信息" prop="bedgrp.rec.nam">
Eivi committed
236 237 238
          <c-input
            v-model="model.bedgrp.rec.nam"
            maxlength="40"
239
            placeholder="请输入简略信息"
Eivi committed
240 241 242
            disabled
          ></c-input>
        </el-form-item>
243
      </c-col>
Eivi committed
244 245 246

      <c-col :span="24">
        <c-ptsmsg
247 248
          :model="model"
          :argadr="{
249
            title: '交单人',
250 251 252 253
            grp: 'bedgrp',
            rol: 'prb',
          }"
          :disabled="true"
254 255
          :enRef="false"
          :enNam="false"
Eivi committed
256
        ></c-ptsmsg>
257
      </c-col>
Eivi committed
258 259 260 261
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
262
            title: '开证行',
Eivi committed
263 264 265 266
            grp: 'bedgrp',
            rol: 'iss',
          }"
          :disabled="true"
267 268
          :enRef="false"
          :enNam="false"
Eivi committed
269
        ></c-ptsmsg>
270
      </c-col>
Eivi committed
271 272 273 274
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
275
            title: '申请人',
Eivi committed
276 277 278 279
            grp: 'bedgrp',
            rol: 'apl',
          }"
          :disabled="true"
280 281
          :enRef="false"
          :enNam="false"
Eivi committed
282 283 284 285 286 287 288 289
        ></c-ptsmsg>
      </c-col>
    </c-col>
    <c-col :span="24">
      <el-form-item style="margin-left: 0px">
        <el-divider />
      </el-form-item>
    </c-col>
290

Eivi committed
291 292
    <!-- next part -->
    <!-- left -->
293
    <c-col :span="12" style="padding-right: 20px;">
Eivi committed
294 295
      <c-col :span="24">
        <el-form-item
296
          label="到期日修订说明"
Eivi committed
297 298 299 300 301 302 303
          prop="trnmod.swiadd.strinf"
        >
          <c-input
            type="textarea"
            v-model="model.trnmod.swiadd.strinf"
            maxlength="35"
            show-word-limit
304
            placeholder="请输入说明"
Eivi committed
305
          ></c-input>
306 307 308 309
        </el-form-item>
      </c-col>

      <c-col :span="24">
Eivi committed
310
        <c-col :span="12">
311
          <el-form-item label="承兑金额" prop="setmod.doccur">
Eivi committed
312 313 314
            <c-input
              v-model="model.setmod.doccur"
              maxlength="3"
315
              placeholder="请输入承兑金额"
Eivi committed
316 317 318 319 320 321 322 323
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="setmod.docamt">
            <c-input
              v-model="model.setmod.docamt"
324
              placeholder="请输入金额"
Eivi committed
325 326
              disabled
            ></c-input>
327 328 329 330 331
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
Eivi committed
332
        <c-col :span="12">
333
          <el-form-item label="单据部分金额" prop="bedgrp.cbs.opn2.cur">
Eivi committed
334 335 336
            <c-input
              v-model="model.bedgrp.cbs.opn2.cur"
              maxlength="3"
337
              placeholder="请输入单据部分金额"
Eivi committed
338 339
              disabled
            ></c-input>
340 341
          </el-form-item>
        </c-col>
Eivi committed
342 343
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="aamset.utlamt">
344
            <c-input
Eivi committed
345
              v-model="model.aamset.utlamt"
346
              placeholder="请输入金额"
Eivi committed
347
              disabled
348 349 350 351 352
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

Eivi committed
353 354
      <c-col :span="24">
        <c-col :span="12">
355
          <el-form-item label="附加金额" prop="bedgrp.cbs.opn2.cur">
Eivi committed
356 357 358
            <c-input
              v-model="model.bedgrp.cbs.opn2.cur"
              maxlength="3"
359
              placeholder="请输入附加金额"
Eivi committed
360 361
              disabled
            ></c-input>
362 363
          </el-form-item>
        </c-col>
Eivi committed
364 365 366 367
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="aamset.utlamt2">
            <c-input
              v-model="model.aamset.utlamt2"
368
              placeholder="请输入金额"
Eivi committed
369 370
              disabled
            ></c-input>
371 372 373
          </el-form-item>
        </c-col>
      </c-col>
Eivi committed
374 375 376 377 378 379 380 381 382 383

      <c-col :span="24">
        <el-form-item label="发送索偿电日期" prop="snadat">
          <c-date-picker
            type="date"
            v-model="model.snadat"
            style="width: 100%"
            placeholder="请选择发送索偿电日期"
          ></c-date-picker>
        </el-form-item>
384 385
      </c-col>
    </c-col>
Eivi committed
386 387

    <!-- right -->
388
    <c-col :span="12" style="padding-left: 20px;">
Eivi committed
389

390 391
  
      <c-col :span="18">
392
        <el-form-item label="进一步识别" prop="betp.furide">
Eivi committed
393
          <c-select
394 395 396 397 398 399 400 401
              v-model="model.betp.furide"
              maxlength="10"
              style="width: 100%"
              placeholder="请选择进一步识别"
              :disabled="!cre752flg"
              :code="codes.furide"
            ></c-select>
           
Eivi committed
402 403 404
        </el-form-item>
      </c-col>

405 406 407 408 409 410 411 412
      <c-col :span="6">
        <c-checkbox
                v-model="cre752flg"
                style="margin-left: 10px"
                >MT 752</c-checkbox>
      </c-col>


Eivi committed
413
      <c-col :span="24">
414
        <el-form-item label="通知日期" prop="bedgrp.rec.disdat">
Eivi committed
415 416 417 418
          <c-date-picker
            type="date"
            v-model="model.bedgrp.rec.disdat"
            style="width: 100%"
419
            placeholder="请选择通知日期"
Eivi committed
420 421 422 423 424 425 426
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
427
          <el-form-item label="折扣金额" prop="setmod.doccur">
Eivi committed
428 429 430
            <c-input
              v-model="model.setmod.doccur"
              maxlength="3"
431
              placeholder="请输入折扣金额"
Eivi committed
432 433
              disabled
            ></c-input>
434 435
          </el-form-item>
        </c-col>
Eivi committed
436 437 438 439
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="setmod.redamt">
            <c-input
              v-model="model.setmod.redamt"
440
              placeholder="请输入金额"
Eivi committed
441
            ></c-input>
442 443 444
          </el-form-item>
        </c-col>
      </c-col>
Eivi committed
445

446
    </c-col>
Eivi committed
447

448
    
Eivi committed
449
  </div>
450 451
</template>
<script>
Eivi committed
452
import Api from "~/service/Api";
wangren committed
453
import commonProcess from "~/mixin/commonProcess";
454 455
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betacc/Event";
Eivi committed
456
import Ptsmsg from "~/views/Public/Ptsmsg";
457 458

export default {
Eivi committed
459 460 461 462 463 464 465 466 467 468 469 470 471 472
  components: { "c-ptsmsg": Ptsmsg },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  computed: {
    cre752flg: {
      get() {
        return this.model.betp.cre752flg != "";
      },
      set(val) {
        this.model.betp.cre752flg = val ? "X" : "";
473
        this.model.betp.furide = "";
Eivi committed
474
      },
475
    },
Eivi committed
476 477
    flag() {
      return this.model.mtabut.coninf.usr.extkey == "";
478
    },
Eivi committed
479 480 481 482
  },
  methods: { ...Event },
  created: function () {},
};
483 484 485
</script>
<style>
</style>