Litdckp.vue 19.1 KB
Newer Older
1
<template>
Wuyuqiu committed
2
  <div class="eibs">
3
    <!-- ==================================左 =============================================-->
Wuyuqiu committed
4 5
    <el-col :span="12" style="padding-right: 20px">
      <c-col :span="24">
jianglong committed
6
        <el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
Wuyuqiu committed
7 8 9 10 11
          <c-fullbox>
            <c-input
              disabled
              v-model="model.lidgrp.rec.ownref"
              maxlength="16"
wangna committed
12
              placeholder="请输入信用证编号"
Wuyuqiu committed
13
            ></c-input>
14
            <template slot="footer">
Wuyuqiu committed
15 16 17 18 19 20
              <c-button
                size="small"
                style="margin-left: 10px; padding: 0 10px"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
21
                <i class="el-icon-info"></i>
Wuyuqiu committed
22
              </c-button>
23
            </template>
Wuyuqiu committed
24
          </c-fullbox>
25
        </el-form-item>
Wuyuqiu committed
26
      </c-col>
Wuyuqiu committed
27
      <c-col :span="9">
jianglong committed
28
        <el-form-item label="信用证名义金额" prop="lidgrp.cbs.nom1.cur">
Wuyuqiu committed
29
          <c-input
30
            disabled
Wuyuqiu committed
31 32 33 34 35
            v-model="model.lidgrp.cbs.nom1.cur"
            style="width: 100%"
            placeholder="请选择信用证金额"
          >
          </c-input>
36
        </el-form-item>
Wuyuqiu committed
37 38 39 40 41
      </c-col>

      <c-col :span="10">
        <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
          <c-input
42
            disabled
Wuyuqiu committed
43 44 45 46 47
            v-model="model.lidgrp.cbs.nom1.amt"
            placeholder="请输入信用证金额"
          ></c-input>
        </el-form-item>
      </c-col>
Wuyuqiu committed
48
      <c-col :span="5">
Wuyuqiu committed
49 50 51 52
        <c-checkbox disabled v-model="model.brtp.aammod.addamtflg"
          >附加金额</c-checkbox
        >
      </c-col>
53

Wuyuqiu committed
54
      <c-col :span="9">
jianglong committed
55
        <el-form-item label="信用证开立金额" prop="lidgrp.cbs.opn1.cur">
Wuyuqiu committed
56
          <c-input
57
            disabled
Wuyuqiu committed
58 59 60 61
            v-model="model.lidgrp.cbs.opn1.cur"
            maxlength="3"
            placeholder="请输入信用证余额"
          ></c-input>
62
        </el-form-item>
Wuyuqiu committed
63 64 65 66 67
      </c-col>

      <c-col :span="10">
        <el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
          <c-input
68
            disabled
Wuyuqiu committed
69 70 71
            v-model="model.lidgrp.cbs.opn1.amt"
            placeholder="请输入金额"
          ></c-input>
72
        </el-form-item>
Wuyuqiu committed
73 74
      </c-col>

Wuyuqiu committed
75
      <c-col :span="5">
Wuyuqiu committed
76 77 78 79 80
        <c-checkbox disabled v-model="model.lidgrp.rec.revflg"
          >循环信用证</c-checkbox
        >
      </c-col>
      <c-col :span="24">
jianglong committed
81
        <el-form-item label="可用银行" prop="lidgrp.avbnam">
Wuyuqiu committed
82
          <c-input
83
            disabled
Wuyuqiu committed
84 85
            v-model="model.lidgrp.avbnam"
            maxlength="40"
wangna committed
86
            placeholder="请输入可用银行"
Wuyuqiu committed
87
          ></c-input>
88
        </el-form-item>
Wuyuqiu committed
89
      </c-col>
Wuyuqiu committed
90
      <c-col :span="19">
jianglong committed
91
        <el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
Wuyuqiu committed
92
          <c-select
93
            disabled
94
            :code="codes.avbby"
Wuyuqiu committed
95 96
            v-model="model.lidgrp.rec.avbby"
            style="width: 100%"
wangna committed
97
            placeholder="请选择兑付方式"
Wuyuqiu committed
98 99 100 101
          >
          </c-select>
        </el-form-item>
      </c-col>
Wuyuqiu committed
102
      <c-col :span="5">
Wuyuqiu committed
103 104 105 106 107 108
        <c-checkbox disabled v-model="model.lidgrp.rec.redclsflg"
          >红/绿条款</c-checkbox
        >
      </c-col>

      <c-col :span="12">
jianglong committed
109
        <el-form-item label="开证日期" prop="lidgrp.rec.opndat">
Wuyuqiu committed
110
          <c-date-picker
111
            disabled
Wuyuqiu committed
112 113 114 115 116
            type="date"
            v-model="model.lidgrp.rec.opndat"
            style="width: 100%"
            placeholder="请选择开证日期"
          ></c-date-picker>
117
        </el-form-item>
Wuyuqiu committed
118 119 120
      </c-col>

      <c-col :span="12">
jianglong committed
121
        <el-form-item label="最迟装船日期" prop="lidgrp.rec.shpdat">
Wuyuqiu committed
122
          <c-date-picker
123
            disabled
Wuyuqiu committed
124 125 126
            type="date"
            v-model="model.lidgrp.rec.shpdat"
            style="width: 100%"
wangna committed
127
            placeholder="请选择最迟装船日期"
Wuyuqiu committed
128 129 130 131
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
jianglong committed
132
        <el-form-item label="有效日期" prop="lidgrp.rec.expdat">
Wuyuqiu committed
133
          <c-date-picker
134
            disabled
Wuyuqiu committed
135 136 137
            type="date"
            v-model="model.lidgrp.rec.expdat"
            style="width: 100%"
wangna committed
138
            placeholder="请选择有效日期"
Wuyuqiu committed
139
          ></c-date-picker>
140
        </el-form-item>
Wuyuqiu committed
141 142 143 144 145
      </c-col>

      <c-col :span="12">
        <el-form-item label="到期地址" prop="lidgrp.rec.expplc">
          <c-input
146
            disabled
Wuyuqiu committed
147 148
            v-model="model.lidgrp.rec.expplc"
            maxlength="29"
wangna committed
149
            placeholder="请输入到期地址"
Wuyuqiu committed
150
          ></c-input>
151
        </el-form-item>
Wuyuqiu committed
152 153
      </c-col>
      <c-col :span="24">
jianglong committed
154
        <el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
Wuyuqiu committed
155
          <c-select
156
            disabled
157
            :code="codes.lcrtyp"
Wuyuqiu committed
158 159 160 161 162 163 164 165
            v-model="model.lidgrp.rec.lcrtyp"
            style="width: 100%"
            placeholder="请选择信用证类型"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
jianglong committed
166
        <el-form-item label="单据编号" prop="brdgrp.rec.ownref">
Wuyuqiu committed
167 168 169 170 171 172 173 174
          <c-fullbox>
            <c-input
              disabled
              v-model="model.brdgrp.rec.ownref"
              maxlength="16"
              placeholder="请获取单据编号"
            ></c-input>
            <template slot="footer">
175 176 177 178
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
lianyang committed
179
                @click="onSeainf"
jianglong committed
180
                icon="el-icon-search"
181 182 183 184 185 186
              >
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
187
                @click="onBrtmodButgetref"
188
                :disabled="model.brdgrp.rec.ownref !== ''"
189
              >
190
                获取
191 192
              </c-button>
            </template>
Wuyuqiu committed
193
          </c-fullbox>
194
        </el-form-item>
Wuyuqiu committed
195 196
      </c-col>
      <c-col :span="24">
jianglong committed
197
        <el-form-item label="单据类型" prop="brdgrp.rec.docflg">
Wuyuqiu committed
198
          <c-select
199
            :code="codes.docflg"
Wuyuqiu committed
200 201 202 203 204
            v-model="model.brdgrp.rec.docflg"
            style="width: 100%"
            disabled
          >
          </c-select>
205
        </el-form-item>
Wuyuqiu committed
206 207
      </c-col>
      <c-col :span="12">
208
        <el-form-item label="发票类型" prop="invtyp">
Wuyuqiu committed
209 210 211
          <c-select
            v-model="model.invtyp"
            style="width: 100%"
huangxin committed
212
            :code="codes.invtyp2"
Wuyuqiu committed
213 214 215 216 217
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="12">
218
        <el-form-item label="申报类型" prop="outlen.szflg">
Wuyuqiu committed
219 220 221 222 223 224 225 226 227
          <c-select
            v-model="model.outlen.szflg"
            style="width: 100%"
            :code="codes.szflg"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="12">
jianglong committed
228
        <el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
Wuyuqiu committed
229
          <c-input
230
            disabled
Wuyuqiu committed
231 232 233 234 235
            v-model="model.brdgrp.cbs.max.cur"
            style="width: 100%"
            placeholder="请选择金额"
          >
          </c-input>
236
        </el-form-item>
Wuyuqiu committed
237 238 239 240 241 242 243 244 245 246 247
      </c-col>

      <c-col :span="12">
        <el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
          <c-input
            v-model="model.brdgrp.cbs.max.amt"
            placeholder="请输入金额"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
jianglong committed
248
        <el-form-item label="附加金额" prop="brdgrp.cbs.opn2.cur">
Wuyuqiu committed
249
          <c-input
250
            disabled
Wuyuqiu committed
251 252 253 254 255
            v-model="model.brdgrp.cbs.opn2.cur"
            style="width: 100%"
            placeholder=""
          >
          </c-input>
256
        </el-form-item>
Wuyuqiu committed
257 258 259 260 261 262 263 264 265 266 267
      </c-col>

      <c-col :span="12">
        <el-form-item label="" label-width="10px" prop="brdgrp.cbs.max2.amt">
          <c-input
            v-model="model.brdgrp.cbs.max2.amt"
            placeholder="请输入金额"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
jianglong committed
268
        <el-form-item label="收单日期" prop="brdgrp.rec.rcvdat">
Wuyuqiu committed
269 270 271 272
          <c-date-picker
            type="date"
            v-model="model.brdgrp.rec.rcvdat"
            style="width: 100%"
wangna committed
273
            placeholder="请选择收单日期"
Wuyuqiu committed
274 275 276 277 278
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
jianglong committed
279
        <el-form-item label="寄单日期" prop="brdgrp.rec.predat">
Wuyuqiu committed
280 281 282 283
          <c-date-picker
            type="date"
            v-model="model.brdgrp.rec.predat"
            style="width: 100%"
wangna committed
284
            placeholder="请选择寄单日期"
Wuyuqiu committed
285 286 287 288 289
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
jianglong committed
290
        <el-form-item label="订购日期" prop="brdgrp.rec.orddat">
Wuyuqiu committed
291 292 293 294
          <c-date-picker
            type="date"
            v-model="model.brdgrp.rec.orddat"
            style="width: 100%"
wangna committed
295
            placeholder="请选择订购日期"
Wuyuqiu committed
296 297 298 299 300
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
jianglong committed
301
        <el-form-item label="装船日期" prop="brdgrp.rec.shpdat">
Wuyuqiu committed
302 303 304 305
          <c-date-picker
            type="date"
            v-model="model.brdgrp.rec.shpdat"
            style="width: 100%"
wangna committed
306
            placeholder="请选择装船日期"
Wuyuqiu committed
307 308 309 310
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
jianglong committed
311
        <el-form-item label="付款期限" prop="brdgrp.rec.matdat">
Wuyuqiu committed
312 313 314 315 316
          <c-date-picker
            :disabled="this.flag3"
            type="date"
            v-model="model.brdgrp.rec.matdat"
            style="width: 100%"
wangna committed
317
            placeholder="请选择付款期限"
Wuyuqiu committed
318 319 320 321
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
jianglong committed
322
        <el-form-item label="开始日期" prop="brdgrp.rec.stadat">
Wuyuqiu committed
323
          <c-input v-model="model.brdgrp.rec.stadat" disabled></c-input>
324
        </el-form-item>
Wuyuqiu committed
325 326
      </c-col>
      <c-col :span="12">
327
        <el-form-item label="款项去向" prop="outlen.acttyp">
Wuyuqiu committed
328
          <c-select
329
            :disabled="this.flag1"
Wuyuqiu committed
330
            v-model="model.outlen.acttyp"
331
            :code="codes.acttyp"
Wuyuqiu committed
332 333 334 335 336 337 338 339 340 341 342 343
          ></c-select>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item
          label="远期汇票最大期限(天)"
          prop="brdgrp.rec.tenmaxday"
        >
          <c-input v-model="model.brdgrp.rec.tenmaxday" disabled></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
jianglong committed
344
        <el-form-item label="到期期限" prop="brdgrp.blk.matper">
Wuyuqiu committed
345 346 347 348 349 350
          <c-input
            :disabled="this.flag2"
            type="textarea"
            v-model="model.brdgrp.blk.matper"
            maxlength="65"
            show-word-limit
wangna committed
351
            placeholder="请输入到期期限"
Wuyuqiu committed
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="合同编号" prop="brdgrp.rec.rptref">
          <c-fullbox>
            <c-input
              v-model="model.brdgrp.rec.rptref"
              maxlength="3"
              style="width: 100%"
              placeholder="请输入合同编号"
            ></c-input>
            <template slot="footer">
              <c-checkbox
                :disabled="this.model.brdgrp.blk.docdisflg == 'X'"
                v-model="model.brdgrp.rec.dscinsflg"
                @change="dscinsflgChange"
                style="margin-left: 10px"
                >记录单据和不符点</c-checkbox
              >
            </template>
          </c-fullbox>
375
        </el-form-item>
Wuyuqiu committed
376
      </c-col>
wangna committed
377

Wuyuqiu committed
378 379 380 381 382 383 384 385 386 387
      <c-col :span="24">
        <el-form-item label="最迟送达日期" prop="zcsdrq">
          <c-date-picker
            type="date"
            v-model="model.zcsdrq"
            style="width: 100%"
          ></c-date-picker>
        </el-form-item>
      </c-col>
    </el-col>
388

Wuyuqiu committed
389 390 391
    <!-- ==================================右 =============================================-->
    <el-col :span="12" style="padding-left: 20px">
      <c-col :span="24">
jianglong committed
392
        <el-form-item label="简略信息" prop="lidgrp.rec.nam">
Wuyuqiu committed
393
          <c-input
394
            disabled
Wuyuqiu committed
395 396 397 398 399 400 401 402 403 404 405 406
            v-model="model.lidgrp.rec.nam"
            maxlength="40"
            placeholder="请输入简略信息"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
          <c-input
            disabled
            v-model="model.brdgrp.apl.pts.ref"
            maxlength="16"
wangna committed
407
            placeholder="请输入申请人参考号"
Wuyuqiu committed
408 409 410 411 412 413 414 415 416
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
          <c-input
            disabled
            v-model="model.brdgrp.apl.pts.nam"
            maxlength="40"
wangna committed
417
            placeholder="请输入申请人名称"
Wuyuqiu committed
418
          ></c-input>
419
        </el-form-item>
Wuyuqiu committed
420 421
      </c-col>
      <c-col :span="24">
jianglong committed
422
        <el-form-item label="受益人参考号" prop="brdgrp.ben.pts.ref">
Wuyuqiu committed
423 424 425 426
          <c-input
            disabled
            v-model="model.brdgrp.ben.pts.ref"
            maxlength="16"
wangna committed
427
            placeholder="请输入受益人参考号"
Wuyuqiu committed
428
          ></c-input>
429
        </el-form-item>
Wuyuqiu committed
430 431
      </c-col>
      <c-col :span="24">
jianglong committed
432
        <el-form-item label="受益人名称" prop="brdgrp.ben.pts.nam">
Wuyuqiu committed
433 434 435 436
          <c-input
            disabled
            v-model="model.brdgrp.ben.pts.nam"
            maxlength="40"
wangna committed
437
            placeholder="请输入受益人名称"
Wuyuqiu committed
438
          ></c-input>
439
        </el-form-item>
Wuyuqiu committed
440 441
      </c-col>
      <c-col :span="24">
jianglong committed
442
        <el-form-item label="寄单行参考号" prop="brdgrp.prb.pts.ref">
Wuyuqiu committed
443 444 445 446
          <c-input
            disabled
            v-model="model.brdgrp.prb.pts.ref"
            maxlength="16"
wangna committed
447
            placeholder="请输入寄单行参考号"
Wuyuqiu committed
448
          ></c-input>
449
        </el-form-item>
Wuyuqiu committed
450 451
      </c-col>
      <c-col :span="24">
jianglong committed
452
        <el-form-item label="寄单行名称" prop="brdgrp.prb.pts.nam">
Wuyuqiu committed
453 454 455 456
          <c-input
            disabled
            v-model="model.brdgrp.prb.pts.nam"
            maxlength="40"
wangna committed
457
            placeholder="请输入寄单行名称"
Wuyuqiu committed
458
          ></c-input>
459
        </el-form-item>
Wuyuqiu committed
460 461
      </c-col>
      <c-col :span="24">
jianglong committed
462
        <el-form-item label="简略信息" prop="brdgrp.rec.nam">
Wuyuqiu committed
463 464 465 466
          <c-input
            disabled
            v-model="model.brdgrp.rec.nam"
            maxlength="40"
wangna committed
467
            placeholder="请输入简略信息"
Wuyuqiu committed
468
          ></c-input>
469
        </el-form-item>
Wuyuqiu committed
470 471
      </c-col>
      <c-col :span="24">
jianglong committed
472
        <el-form-item label="寄单行" prop="brdgrp.rec.docprbrol">
Wuyuqiu committed
473
          <c-select
474
            :code="codes.docprbrol"
Wuyuqiu committed
475 476
            v-model="model.brdgrp.rec.docprbrol"
            style="width: 100%"
wangna committed
477
            placeholder="请选择"
Wuyuqiu committed
478 479 480 481 482 483
            @change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
jianglong committed
484
        <el-form-item label="寄单行参考号" prop="brdgrp.prb.pts.ref">
Wuyuqiu committed
485 486 487
          <c-input
            v-model="model.brdgrp.prb.pts.ref"
            maxlength="16"
wangna committed
488
            placeholder="请输入寄单行参考号"
Wuyuqiu committed
489 490 491 492
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
jianglong committed
493
        <el-form-item label="寄单行地址编码" prop="brdgrp.prb.pts.extkey">
Wuyuqiu committed
494 495 496 497 498 499 500 501 502
          <c-fullbox>
            <c-input
              v-model="model.brdgrp.prb.pts.extkey"
              maxlength="16"
              placeholder="请输入地址编码"
              @keyup.enter.native="
                showGridPromptDialog('brdgrp.prb.pts.extkey')
              "
              :disabled="model.brdgrp.rec.docprbrol != 'PRB'"
503 504 505 506 507 508 509
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="model.brtp.prbp.ptsget.sdamod.seainf"
jianglong committed
510
                icon="el-icon-search"
511 512 513 514 515 516
              >
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
jianglong committed
517
                icon="el-icon-info"
518 519
                @click="onPrbpDet"
              >
Wuyuqiu committed
520
              </c-button>
521
            </template>
Wuyuqiu committed
522
          </c-fullbox>
523
        </el-form-item>
Wuyuqiu committed
524
      </c-col>
525

Wuyuqiu committed
526
      <c-col :span="24">
jianglong committed
527
        <el-form-item label="名称地址" prop="brdgrp.prb.pts.adrblk">
Wuyuqiu committed
528
          <c-input
529
            :rows="4"
Wuyuqiu committed
530 531 532 533 534 535 536 537 538
            type="textarea"
            v-model="model.brdgrp.prb.pts.adrblk"
            maxlength="300"
            show-word-limit
            placeholder="请输入名称地址"
            :disabled="model.brdgrp.rec.docprbrol != 'PRB'"
          ></c-input>
        </el-form-item>
      </c-col>
539

Wuyuqiu committed
540
      <c-col :span="24">
jianglong committed
541
        <el-form-item label="单据状态" prop="brdgrp.rec.docsta">
Wuyuqiu committed
542
          <c-select
543
            disabled
544
            :code="codes.docsta1"
Wuyuqiu committed
545 546 547 548
            v-model="model.brdgrp.rec.docsta"
            style="width: 100%"
            placeholder="请输入单据状态"
          ></c-select>
549
        </el-form-item>
Wuyuqiu committed
550 551
      </c-col>
      <c-col :span="12">
jianglong committed
552
        <el-form-item label="本证前手单据" prop="lidgrp.rec.utlnbr">
Wuyuqiu committed
553 554 555 556 557
          <c-input
            disabled
            v-model="model.lidgrp.rec.utlnbr"
            placeholder="请输入单据份数"
          ></c-input>
558
        </el-form-item>
Wuyuqiu committed
559 560
      </c-col>
      <c-col :span="12">
jianglong committed
561
        <el-form-item label="发票编号" prop="brdgrp.rec.invref">
Wuyuqiu committed
562
          <c-input v-model="model.brdgrp.rec.invref"></c-input>
563
        </el-form-item>
Wuyuqiu committed
564 565
      </c-col>
    </el-col>
566 567 568
  </div>
</template>
<script>
Wuyuqiu committed
569
import Api from "~/service/Api";
570
import commonProcess from "~/mixin/commonProcess";
Wuyuqiu committed
571 572
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litdck/Event";
573 574

export default {
Wuyuqiu committed
575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      flag1: true,
      flag2: false,
      flag3: false,
    };
  },
  watch: {
    "model.outlen.szflg": {
      immediate: true,
      handler(val, oldval) {
        if (this.model.outlen.szflg == "1") {
          this.flag1 = false;
        } else {
          this.flag1 = true;
593
        }
Wuyuqiu committed
594
      },
595
    },
Wuyuqiu committed
596 597 598 599 600 601 602
    "model.brdgrp.rec.matdat": {
      immediate: true,
      handler(val, oldval) {
        if (this.model.brdgrp.rec.matdat != "") {
          this.flag2 = true;
        } else {
          this.flag2 = false;
huangxin committed
603
        }
Wuyuqiu committed
604
      },
huangxin committed
605
    },
zhouqian committed
606 607 608 609 610 611 612 613 614 615 616 617
    "model.brdgrp.rec.docflg": {
      immediate: true,
      handler(val, oldval) {
        if (this.model.brdgrp.rec.docflg == "P") {
          this.flag3 = true;
          this.flag2 = true;
        } else {
          this.flag3 = false;
          this.flag2 = false;
        }
      },
    },
Wuyuqiu committed
618 619 620 621 622 623 624
    "model.brdgrp.blk.matper": {
      immediate: true,
      handler(val, oldval) {
        if (this.model.brdgrp.blk.matper != "") {
          this.flag3 = true;
        } else {
          this.flag3 = false;
huangxin committed
625
        }
Wuyuqiu committed
626
      },
627
    },
Wuyuqiu committed
628 629 630 631 632 633 634 635
  },
  methods: { ...Event },
  created: function () {},
  dscinsflgChang() {
    if (this.model.brdgrp.rec.dscinsflg === "X") {
      this.model.brdgrp.rec.docsta = "H";
    } else {
      this.model.brdgrp.rec.docsta = "G";
636
    }
Wuyuqiu committed
637 638
  },
};
639 640 641
</script>
<style>
</style>