Limitbody.vue 22.2 KB
Newer Older
liuxin committed
1
<template>
Wuyuqiu committed
2
  <div class="eibs-tab">
3
    <!--
潘际乾 committed
4
            <c-col :span="12">
liuxin committed
5 6 7
         <el-form-item label="ECIFNO">
             <c-input  v-model="model.liaall.limmod.ecifno" maxlength="22"  placeholder="请输入ECIFNO"></c-input>
         </el-form-item>
潘际乾 committed
8
        </c-col>
liuxin committed
9

潘际乾 committed
10
     <c-col :span="12">
liuxin committed
11
         <span  v-text="model.liaall.limmod.limpts.wrklab"   data-path=".liaall.limmod.limpts.wrklab" > </span>
潘际乾 committed
12
     </c-col>
liuxin committed
13

潘际乾 committed
14
     <c-col :span="12">
liuxin committed
15
         <span  v-text="model.liaall.limmod.limpts.othlab"   data-path=".liaall.limmod.limpts.othlab" > </span>
潘际乾 committed
16
     </c-col>
liuxin committed
17

潘际乾 committed
18
     <c-col :span="12">
liuxin committed
19
         <span  v-text="model.liaall.limmod.limpts.othlabss"   data-path=".liaall.limmod.limpts.othlabss" > </span>
潘际乾 committed
20
     </c-col>
liuxin committed
21

潘际乾 committed
22
        <c-col :span="12">
liuxin committed
23 24 25
         <el-form-item label="Drag  Drop Sender">
             <c-input  v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
         </el-form-item>
潘际乾 committed
26
        </c-col>
liuxin committed
27

潘际乾 committed
28
        <c-col :span="12">
liuxin committed
29 30 31
         <el-form-item label="Drag  Drop Sender">
             <c-input  v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
         </el-form-item>
潘际乾 committed
32
        </c-col>
liuxin committed
33 34
        -->

35
    <!-- 左边-->
36 37
    <c-col :span="8">
      <!-- line2 -->
Wuyuqiu committed
38
      <c-row>
39 40 41 42 43 44 45 46 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
        <c-col :span="24">
          <el-form-item
            label="额度主体"
            prop="liaall.limmod.limpts.wrk.pts.extkey"
            style="width: 100%"
          >
            <c-fullbox>
              <c-input
                v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
                maxlength="16"
                placeholder="请输入External Key of Address"
                style="width: 100%"
              ></c-input>
              <template slot="footer">
                <c-button
                  style="margin: 0 5px 0 10px; padding: 0 12px"
                  size="small"
                  type="primary"
                  icon="el-icon-search"
                  @click="onSeainf"
                />
                <c-button
                  style="margin: 0 0"
                  size="small"
                  type="primary"
                  @click="onWrkpDet"
                >
                  详情
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
      </c-row>

      <!-- line3 -->
      <c-row>
        <c-col :span="24">
          <el-form-item
            label="主体名称"
            prop="liaall.limmod.limpts.wrk.pts.nam"
          >
Wuyuqiu committed
81
            <c-input
82
              v-model="model.liaall.limmod.limpts.wrk.pts.nam"
Wuyuqiu committed
83
              maxlength="16"
84
              placeholder=""
Wuyuqiu committed
85 86 87 88 89
              :disabled="true"
              style="width: 100%"
            ></c-input>
          </el-form-item>
        </c-col>
90
      </c-row>
liuxin committed
91

92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
      <!-- line4 -->
      <c-row>
        <c-col :span="24" style="text-align: right">
          <el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
            <c-fullbox>
              <c-select
                v-model="model.liaall.limmod.limpts.nonrevflg1"
                style="width: 100%"
                placeholder="请选择Flag to Mark Non-revolving Limits"
                @change="nonrevflg1Change"
              >
                <el-option
                  v-for="item in codes.nonrevflg1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
              <template slot="footer">
                <c-button
                  style="padding: 0 12px"
                  size="small"
                  type="primary"
                  icon="el-icon-search"
                  @click="onLimptsGet1"
                >
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
      </c-row>

      <!-- line5 -->
      <c-row>
        <c-col :span="24">
          <el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
Wuyuqiu committed
130
            <c-input
131 132 133 134
              v-model="model.liaall.limmod.limpts.pfcod1"
              maxlength="14"
              placeholder="请输入合同流水号"
              :disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
Wuyuqiu committed
135 136 137 138 139
              style="width: 100%"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-row>
140
    </c-col>
1377875331@qq.com committed
141

142 143 144
    <!-- 中间 -->
    <!-- 随event方法改变 -->
    <c-col :span="8" v-show="same" @change="show">
Wuyuqiu committed
145 146 147 148
      <!-- line2 -->
      <c-row>
        <c-col :span="24">
          <el-form-item
149 150
            label="对公账户"
            prop="liaall.limmod.limpts.oth.pts.extkey"
Wuyuqiu committed
151 152 153 154
            style="width: 100%"
          >
            <c-fullbox>
              <c-input
155
                v-model="model.liaall.limmod.limpts.oth.pts.extkey"
Wuyuqiu committed
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
                maxlength="16"
                placeholder="请输入External Key of Address"
                style="width: 100%"
              ></c-input>
              <template slot="footer">
                <c-button
                  style="margin: 0 5px 0 10px; padding: 0 12px"
                  size="small"
                  type="primary"
                  icon="el-icon-search"
                  @click="onSeainf"
                />
                <c-button
                  style="margin: 0 0"
                  size="small"
                  type="primary"
172
                  @click="onOthpDet"
Wuyuqiu committed
173 174 175 176 177 178 179 180
                >
                  详情
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
      </c-row>
181

Wuyuqiu committed
182 183 184 185 186
      <!-- line3 -->
      <c-row>
        <c-col :span="24">
          <el-form-item
            label="主体名称"
187
            prop="liaall.limmod.limpts.oth.pts.nam"
Wuyuqiu committed
188 189
          >
            <c-input
190
              v-model="model.liaall.limmod.limpts.oth.pts.nam"
Wuyuqiu committed
191 192 193 194 195 196 197 198 199 200 201 202
              maxlength="16"
              placeholder=""
              :disabled="true"
              style="width: 100%"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-row>

      <!-- line4 -->
      <c-row>
        <c-col :span="24" style="text-align: right">
203
          <el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg2">
Wuyuqiu committed
204 205
            <c-fullbox>
              <c-select
206
                v-model="model.liaall.limmod.limpts.nonrevflg2"
Wuyuqiu committed
207 208
                style="width: 100%"
                placeholder="请选择Flag to Mark Non-revolving Limits"
209
                @change="nonrevflg2Change"
Wuyuqiu committed
210 211
              >
                <el-option
212
                  v-for="item in codes.nonrevflg2"
Wuyuqiu committed
213 214 215 216 217 218 219 220 221 222 223 224
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
              <template slot="footer">
                <c-button
                  style="padding: 0 12px"
                  size="small"
                  type="primary"
                  icon="el-icon-search"
225
                  @click="onLimptsGet2"
Wuyuqiu committed
226 227 228 229 230 231 232
                >
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
      </c-row>
233

Wuyuqiu committed
234 235 236
      <!-- line5 -->
      <c-row>
        <c-col :span="24">
237
          <el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
Wuyuqiu committed
238
            <c-input
239
              v-model="model.liaall.limmod.limpts.pfcod2"
Wuyuqiu committed
240 241
              maxlength="14"
              placeholder="请输入合同流水号"
242
              :disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
Wuyuqiu committed
243 244 245 246 247
              style="width: 100%"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-row>
248 249 250
    </c-col>

    <!-- 右边-->
251
    <c-col :span="8">
Wuyuqiu committed
252 253
      <!-- line1 -->
      <c-row>
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
        <c-col :span="24">
          <el-form-item label="业务编号" prop="liaall.limmod.ownref">
            <c-input
              v-model="model.liaall.limmod.ownref"
              maxlength="16"
              placeholder="请输入国结业务编号"
              :disabled="true"
              style="width: 100%"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="业务余额" prop="liaall.limmod.comamt">
            <c-input
              v-model="model.liaall.limmod.comamt"
              placeholder="请输入业务余额"
              :disabled="true"
              style="width: 100%"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-row>
      <!-- line1 -->
      <c-row>
        <c-col :span="24">
Wuyuqiu committed
280 281 282 283 284 285 286 287
          <el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
            <c-input
              v-model="model.liaall.limmod.ccvamt"
              placeholder="请输入保证金余额"
              :disabled="true"
            ></c-input>
          </el-form-item>
        </c-col>
liuxin committed
288

289
        <c-col :span="24" style="text-align: right">
Wuyuqiu committed
290 291 292 293 294
          <c-button size="small" type="primary" @click="onLimmodTrycal">
            试算
          </c-button>
        </c-col>
      </c-row>
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 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345
    </c-col>

    <!-- ====================左边======================= 

    <c-col :span="24">
        <el-form-item label="业务编号" prop="liaall.limmod.ownref">
            <c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号" :disabled="true" style="width: 100%"></c-input>
        </el-form-item>
    </c-col>

    <c-col :span="24">
        <el-form-item label="业务余额" prop="liaall.limmod.comamt">
            <c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额" :disabled="true" style="width: 100%"></c-input>
        </el-form-item>
    </c-col>
    -->

    <!-- ====================左边======================= 
    <c-col :span="11">
        <c-col :span="24">
            <el-form-item label="国内信用证项下开证授信额度:" prop="liaall.limmod.limpts.wrk.pts.extkey" style="width:100%">
                <c-fullbox>
                    <c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" disabled maxlength="16" placeholder="请输入External Key of Address" style="width: 100%"></c-input>
                    <template slot="footer">
                        <c-button style="margin:0 5px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onSeainf" />
                        <c-button style="margin:0 0" size="small" type="primary" @click="onPreperButtxmsel">
                            详情
                        </c-button>
                    </template>
                </c-fullbox>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="" prop="liaall.limmod.limpts.wrk.pts.nam">
                <c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="16" placeholder="" :disabled="true" style="width:100%"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="24" style="text-align:right">
            <el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
                <c-fullbox>
                    <c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width: 100%" placeholder="请选择Flag to Mark Non-revolving Limits" @change="nonrevflg1Change">
                        <el-option v-for="item in codes.nonrevflg1" :key="item.value" :label="item.label" :value="item.value">
                        </el-option>
                    </c-select>
                    <template slot="footer">
                        <c-button style="padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onLimptsGet1">
                        </c-button>
                    </template>
                </c-fullbox>
            </el-form-item>
潘际乾 committed
346
        </c-col>
liuxin committed
347

348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
        <c-col :span="24">
            <el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
                <c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流水号" :disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'" style="width: 100%"></c-input>
            </el-form-item>
        </c-col>
    </c-col>
    -->

    <!-- ========================右边======================= 
    <c-col :span="11" :offset="1">
        <c-col :span="24">
            <el-form-item label="业务编号" prop="liaall.limmod.ownref">
                <c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号" :disabled="true" style="width: 100%"></c-input>
            </el-form-item>
        </c-col>
liuxin committed
363

364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383
        <c-col :span="24">
            <el-form-item label="业务余额" prop="liaall.limmod.comamt">
                <c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额" :disabled="true" style="width: 100%"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="24">
            <el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
                <c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额" :disabled="true" style="width: 100%"></c-input>
            </el-form-item>
        </c-col>
    </c-col>
-->
    <!--        <c-col :span="12">-->
    <!--            <el-form-item label="开证授信额度主体名称" prop="liaall.limmod.limpts.wrk.pts.nam">-->
    <!--                <c-input  v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>-->
    <!--            </el-form-item>-->
    <!--        </c-col>-->

    <!--
潘际乾 committed
384
           <c-col :span="12">
liuxin committed
385 386 387
            <c-button size="small" type="primary"  @click="onWrkpDet">
                Details
            </c-button>
潘际乾 committed
388
           </c-col>
liuxin committed
389

潘际乾 committed
390
           <c-col :span="12">
liuxin committed
391 392 393
            <el-form-item label="External Key of Address">
                <c-input  v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
            </el-form-item>
潘际乾 committed
394
           </c-col>
liuxin committed
395

潘际乾 committed
396
           <c-col :span="12">
liuxin committed
397 398 399
            <el-form-item label="">
                <c-input  v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
            </el-form-item>
潘际乾 committed
400
           </c-col>
liuxin committed
401

潘际乾 committed
402
           <c-col :span="12">
liuxin committed
403 404 405
            <c-button size="small" type="primary"  @click="onOthpDet">
                Details
            </c-button>
潘际乾 committed
406
           </c-col>
liuxin committed
407

潘际乾 committed
408
           <c-col :span="12">
liuxin committed
409 410 411
            <el-form-item label="Name of Party">
                <c-input  v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
            </el-form-item>
潘际乾 committed
412 413
           </c-col>
           <c-col :span="12">
liuxin committed
414 415 416 417
            <el-form-item label="Flag to Mark Non-revolving Limits">
                <c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
                  </c-select>
            </el-form-item>
潘际乾 committed
418 419
           </c-col>
           <c-col :span="12">
liuxin committed
420 421 422
            <el-form-item label="合同流�'号">
                <c-input  v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14"  placeholder="请输入合同流�'号"></c-input>
            </el-form-item>
潘际乾 committed
423
           </c-col>
liuxin committed
424

潘际乾 committed
425
           <c-col :span="12">
liuxin committed
426 427 428
            <c-button size="small" type="primary"  @click="onLimptsGet2">
                查询
            </c-button>
潘际乾 committed
429 430
           </c-col>
                  <c-col :span="12">
liuxin committed
431 432 433
            <c-button size="small" type="primary"  @click="onLimmodTrycal">
                试算
            </c-button>
潘际乾 committed
434
           </c-col>
liuxin committed
435
           -->
Wuyuqiu committed
436
    <br /><br /><br /><br /><br />
437
    <c-col :span="24" style="">
Wuyuqiu committed
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491
      <c-table :list="model.liaall.limmod.limgrd" :border="true">
        <el-table-column prop="flg" label="可否串用" width="70px">
        </el-table-column>
        <el-table-column prop="shxh" label="序号" width="50px">
        </el-table-column>
        <el-table-column prop="limtyp" label="额度类型" width="70px">
        </el-table-column>
        <el-table-column prop="ruzhjg" label="入账机构" width="70px">
        </el-table-column>
        <el-table-column prop="limref" label="额度编号" width="70px">
        </el-table-column>
        <el-table-column prop="infref" label="额度明细编号" width="100px">
        </el-table-column>
        <el-table-column prop="limcodsave" label="额度品种代码" width="100px">
        </el-table-column>
        <el-table-column prop="limcod" label="品种代码描述" width="100px">
        </el-table-column>
        <el-table-column prop="cur" label="额度明细币种" width="100px">
        </el-table-column>
        <el-table-column prop="ccvpct" label="保证金比例" width="100px">
        </el-table-column>
        <el-table-column prop="cpsxed" label="产品授信额度" width="100px">
        </el-table-column>
        <el-table-column prop="balamt" label="产品可用额度" width="100px">
        </el-table-column>
        <el-table-column prop="useamt" label="产品已用额度" width="100px">
        </el-table-column>
        <el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
        </el-table-column>
        <el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
        </el-table-column>
        <el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
        </el-table-column>
        <el-table-column prop="bxh" label="是否可循环" width="90px">
        </el-table-column>
        <el-table-column prop="bcy" label="是否可串用" width="90px">
        </el-table-column>
        <el-table-column prop="cyremark" label="串用说明" width="100px">
        </el-table-column>
        <el-table-column prop="credat" label="产品额度生效日期" width="120px">
        </el-table-column>
        <el-table-column prop="matdat" label="产品额度到期日" width="120px">
        </el-table-column>
        <el-table-column prop="lcpsta" label="额度产品状态" width="100px">
        </el-table-column>
        <el-table-column prop="fentyp" label="暴露分类" width="100px">
        </el-table-column>
        <el-table-column prop="fentxt" label="暴露分类说明" width="100px">
        </el-table-column>
        <el-table-column prop="limcur" label="额度币种" width="90px">
        </el-table-column>
        <el-table-column prop="bfx" label="是否低风险" width="90px">
        </el-table-column>
      </c-table>
492
    </c-col>
liuxin committed
493

494
    <!-- <c-col :span="24" style="" v-if="false">
liushikai committed
495
            <c-table :list="model.liaall.limmod.lmegrd" :border="true">
1377875331@qq.com committed
496
                <el-table-column label="可否串用" width="auto">
liuxin committed
497
                </el-table-column>
1377875331@qq.com committed
498 499
                <el-table-column label="序号" width="auto"> </el-table-column>
                <el-table-column label="额度类型" width="auto">
liuxin committed
500
                </el-table-column>
1377875331@qq.com committed
501
                <el-table-column label="入账机构" width="auto">
liuxin committed
502
                </el-table-column>
1377875331@qq.com committed
503
                <el-table-column label="额度编号" width="auto">
liuxin committed
504
                </el-table-column>
1377875331@qq.com committed
505
                <el-table-column label="额度明细编号" width="auto">
liuxin committed
506
                </el-table-column>
1377875331@qq.com committed
507
                <el-table-column label="额度品种代码" width="auto">
liuxin committed
508
                </el-table-column>
1377875331@qq.com committed
509
                <el-table-column label="品种代码描述" width="auto">
liuxin committed
510
                </el-table-column>
1377875331@qq.com committed
511
                <el-table-column label="" width="auto"> </el-table-column>
liuxin committed
512
            </c-table>
liushikai committed
513
        </c-col> -->
Wuyuqiu committed
514
  </div>
liuxin committed
515
</template>
516

liuxin committed
517
<script>
1377875331@qq.com committed
518
import Api from "~/service/Api";
wangren committed
519
import commonProcess from "~/mixin/commonProcess";
1377875331@qq.com committed
520
import CodeTable from "~/config/CodeTable";
潘际乾 committed
521
// import Event from "~/model/Ditopn/Event";
1377875331@qq.com committed
522 523

export default {
Wuyuqiu committed
524 525 526 527 528 529
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      tableData: {},
530
      same:false
Wuyuqiu committed
531 532 533 534 535 536 537 538 539 540 541 542 543 544
    };
  },
  methods: {
    onSeainf() {},
    async onPreperButtxmsel() {
      let rtnmsg = await this.executeRule("preper_buttxmsel");
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
      } else {
        this.$notify.error({
          title: "错误",
          message: "服务请求失败!",
        });
      }
1377875331@qq.com committed
545
    },
Wuyuqiu committed
546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600
    async onLimptsGet1() {
      let rtnmsg = await this.executeRule("limpts_get1");
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
      } else {
        this.$notify.error({
          title: "错误",
          message: "服务请求失败!",
        });
      }
    },
    async onLimptsGet2() {
      let rtnmsg = await this.executeRule("limpts_get2");
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
      } else {
        this.$notify.error({
          title: "错误",
          message: "服务请求失败!",
        });
      }
    },
    nonrevflg1Change() {
      if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
        this.model.liaall.limmod.limpts.pfcod1 = "";
      }
    },
    nonrevflg2Change() {
      if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
        this.model.liaall.limmod.limpts.pfcod2 = "";
      }
    },
    async onWrkpDet() {
      let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det");
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
        console.log(rtnmsg.data);
      } else {
        this.$notify.error({
          title: "错误",
          message: "服务请求失败!",
        });
      }
    },
    async onOthpDet() {
      let rtnmsg = await this.executeRule("liaall.limmod.othp.det");
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
        console.log(rtnmsg.data);
      } else {
        this.$notify.error({
          title: "错误",
          message: "服务请求失败!",
        });
      }
1377875331@qq.com committed
601
    },
602

Wuyuqiu committed
603 604 605 606 607 608 609 610
    async onLimmodTrycal() {
      let rtnmsg = await this.executeRule("liaall.limmod.trycal");
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
      } else {
        this.$notify.error({ title: "错误", message: "服务请求失败!" });
      }
    },
611 612 613 614 615 616 617 618
    show(){
      let len1 = this.model.liaall.limmod.tygrd["rows"].length||[];
      let len2 = this.model.liaall.limmod.dggrd["rows"].length||[];
      
      if(len1>0&&len2>0){
        this.same = true;
      }
    }
Wuyuqiu committed
619 620
  },
  created: function () {},
1377875331@qq.com committed
621
};
liuxin committed
622
</script>
623

liuxin committed
624 625
<style>
</style>