Setpan.vue 56.8 KB
Newer Older
潘际乾 committed
1
<template>
Wuyuqiu committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
  <c-row class="eibs">
    <c-col :span="8">
      <c-col :span="24">
        <el-form-item label="业务参考号" style="float: left">
          <c-input
            v-model="model.setmod.ref"
            maxlength="16"
            :disabled="true"
            :readonly="true"
            placeholder="请输入our reference"
          >
          </c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <c-col :span="8">
Wuyuqiu committed
18 19
      <c-col :span="13">
        <el-form-item label="结算金额录入" prop="setmod.doccur">
Wuyuqiu committed
20 21 22 23 24
          <c-input
            v-model="model.setmod.doccur"
            placeholder="CNY"
            :disabled="true"
            :readonly="true"
Wuyuqiu committed
25
            style="width: 100%"
Wuyuqiu committed
26 27 28
          ></c-input>
        </el-form-item>
      </c-col>
潘际乾 committed
29

Wuyuqiu committed
30 31
      <c-col :span="11">
        <el-form-item label="" label-width="5px" prop="setmod.docamt">
Wuyuqiu committed
32 33 34 35
          <c-input-currency
            v-model="model.setmod.docamt"
            placeholder="0"
            disabled
Wuyuqiu committed
36
            style="margin-left: 5px"
Wuyuqiu committed
37 38 39 40 41
          ></c-input-currency>
        </el-form-item>
      </c-col>
    </c-col>
    <c-col :span="8">
Wuyuqiu committed
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
      <c-col :span="24" style="text-align: right">
        <el-form-item label="类型" prop="setmod.dspflg">
          <c-fullbox>
            <c-select
              v-model="model.setmod.dspflg"
              style="width: 100%"
              placeholder="请选择额度类型"
              disabled
            >
              <el-option
                v-for="item in codes.dspflg"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
            <template slot="footer">
              <c-button
                style=""
                size="small"
                type="primary"
                icon="el-icon-info"
                @click="onSetmodDet"
              >
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
      <!-- <c-col :span="18">
        <el-form-item label="类型" label-width="120px">
Wuyuqiu committed
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
          <c-select
            v-model="model.setmod.dspflg"
            disabled
            style="width: 100%"
            placeholder=""
          >
            <el-option
              v-for="item in codes.dspflg"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
Wuyuqiu committed
90
      <c-col :span="6" style="text-align: right; float: right">
Wuyuqiu committed
91 92 93 94 95 96 97 98
        <c-button
          style=""
          size="small"
          type="primary"
          icon="el-icon-info"
          @click="onSetmodDet"
        >
        </c-button>
Wuyuqiu committed
99
      </c-col> -->
Wuyuqiu committed
100 101
    </c-col>
    <!-- ====================顶部==================== -->
潘际乾 committed
102

Wuyuqiu committed
103
    <!--
潘际乾 committed
104 105 106 107 108 109 110 111 112
        <c-col :span="12">
        <el-form-item label="自贸区账号">
            <c-input  v-model="model.setmod.zmqacc" maxlength="20"  placeholder="请输入自贸区账号"></c-input>
        </el-form-item>
       </c-col>    
       <c-col :span="6" style="text-align:center">
	    <c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
       </c-col> 
       -->
Wuyuqiu committed
113 114 115 116
    <c-col :span="24" style="height: 25px">
      <el-divider></el-divider>
    </c-col>
    <!-- ==============第一个表格===================== -->
潘际乾 committed
117

Wuyuqiu committed
118
    <c-col :span="24" style="height: 24px">
Wuyuqiu committed
119
      <el-form-item class="formItemLabel" label="国外收费:" label-width="72px">
Wuyuqiu committed
120 121
      </el-form-item>
    </c-col>
wangyanjiao committed
122

Wuyuqiu committed
123 124 125 126
    <c-col :span="24" style="">
      <c-table
        style="text-align: center"
        :list="model.setmod.setfog.setfol"
127
        :paginationShow="true"
Wuyuqiu committed
128
        :border="true"
129
        :total="model.setmod.setfog.setfol.length"
Wuyuqiu committed
130
      >
Wuyuqiu committed
131
        <el-table-column label="付款人" width="110px">
Wuyuqiu committed
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
          <template slot-scope="scope">
            <el-form-item
              label-width="0"
              :prop="'setmod.setfog.setfol.' + scope.$index + '.ptydbt'"
            >
              <c-select v-model="scope.row.ptydbt" @change="defaultFunction()">
                <el-option
                  v-for="item in codes.ptydbt_setpan"
                  :key="item.value"
                  :label="item.value"
                  :value="item.value"
                >
                  <span style="float: left">{{ item.label }}</span>
                </el-option>
              </c-select>
            </el-form-item>
          </template>
        </el-table-column>
150
        <el-table-column label="收款人" width="110px">
Wuyuqiu committed
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
          <template slot-scope="scope">
            <el-form-item
              label-width="0"
              :prop="'setmod.setfog.setfol.' + scope.$index + '.ptypay'"
            >
              <c-select v-model="scope.row.ptypay" @change="defaultFunction()">
                <el-option
                  v-for="item in codes.ptydbt_setpan"
                  :key="item.value"
                  :label="item.value"
                  :value="item.value"
                >
                  <span style="float: left">{{ item.label }}</span>
                </el-option>
              </c-select>
            </el-form-item>
          </template>
        </el-table-column>
        <el-table-column label="费用来源" prop="src" width="70px">
        </el-table-column>
Wuyuqiu committed
171
        <el-table-column label="处理方式" prop="dsp" width="110px">
Wuyuqiu committed
172 173 174 175 176
        </el-table-column>
        <el-table-column label="付款人摘要" prop="txtdbt" width="auto">
        </el-table-column>
        <el-table-column label="收款人摘要" prop="txtpay" width="auto">
        </el-table-column>
Wuyuqiu committed
177
        <el-table-column label="币种" prop="cur" width="110px">
Wuyuqiu committed
178 179 180 181 182 183 184 185 186 187 188 189
          <template slot-scope="scope">
            <c-select v-model="scope.row.cur">
              <el-option
                v-for="item in codes.cur"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </template>
        </el-table-column>
190
        <el-table-column label="金额" prop="amt" width="110px">
Wuyuqiu committed
191 192 193 194
          <template slot-scope="scope">
            <el-form-item
              label-width="0"
              :prop="'setmod.setfog.setfol.' + scope.$index + '.amt'"
195
            >
196
            <!-- <c-input-currency
197 198
                v-model="scope.row.amt"
                placeholder="0.00"
199
              ></c-input-currency> -->
200
            </el-form-item>
Wuyuqiu committed
201 202
          </template>
        </el-table-column>
Wuyuqiu committed
203
        <el-table-column label="" prop="det" width="150px" fixed="right">
Wuyuqiu committed
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
          <template slot-scope="scope" slot="header">
            <c-button
              circle
              style="padding: 4px"
              class="el-icon-plus"
              size="mini"
              @click="addRowSetfol(scope)"
            >
            </c-button>
            <c-button
              style="padding: 4px"
              circle
              class="el-icon-minus"
              size="mini"
              @click="removeRowSetfol(scope)"
            >
            </c-button>
          </template>
          <template slot-scope="scoped">
            <c-button
              style="margin-left: 0"
              size="small"
              type="primary"
              icon="el-icon-info"
              @click="detail1(scoped.$index, scoped.row)"
            ></c-button>
          </template>
        </el-table-column>
      </c-table>
    </c-col>
    <c-col>
      <el-dialog :visible.sync="dialogVisible" center>
潘际乾 committed
236
        <c-col>
Wuyuqiu committed
237 238 239 240 241 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 275
          <el-form :model="dialog" label-width="200px">
            <c-col :span="16">
              <el-form-item label="收款人">
                <c-select v-model="dialog.ptypay" style="width: 100%">
                  <el-option
                    v-for="item in codes.payee"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  />
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="16">
              <el-form-item label="收款人摘要">
                <c-input v-model="dialog.txtpay" style="width: 100%" />
              </el-form-item>
            </c-col>
            <c-col :span="16">
              <el-form-item label="付款人">
                <c-select v-model="dialog.ptydbt" style="width: 100%">
                  <el-option
                    v-for="item in codes.ptydbt1"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="16">
              <el-form-item label="付款人摘要">
                <c-input v-model="dialog.txtdbt" style="width: 100%" />
              </el-form-item>
            </c-col>
            <c-col :span="16">
              <c-col :span="18">
                <el-form-item label="费用">
zhouqian committed
276 277
                  <c-select v-model="dialog.cur" style="width: 100%" :code="codes.curtxt1">
                    <!-- <el-option
Wuyuqiu committed
278 279 280 281
                      v-for="item in codes.cur"
                      :key="item.value"
                      :labelF="item.label"
                      :value="item.value"
zhouqian committed
282
                    /> -->
Wuyuqiu committed
283 284 285 286 287
                  </c-select>
                </el-form-item>
              </c-col>
              <c-col :span="6">
                <el-form-item label="" label-width="20px">
zhouqian committed
288
                  <c-input-currency v-model="dialog.amt" style="width: 100%" />
Wuyuqiu committed
289 290 291 292 293 294 295 296 297
                </el-form-item>
              </c-col>
            </c-col>
            <c-col :span="16">
              <el-form-item>
                <c-checkbox v-model="dialog.forflg">买入行费用</c-checkbox>
              </el-form-item>
            </c-col>
          </el-form>
潘际乾 committed
298
        </c-col>
Wuyuqiu committed
299 300 301 302 303 304 305 306
        <span slot="footer" class="dialog-footer">
          <c-button type="primary" @click="saveDialog">确 定</c-button>
          <c-button @click="dialogVisible = false">取 消</c-button>
        </span>
      </el-dialog>
    </c-col>
    <!--=================== Own Commission/Charges:================== -->
    <c-col :span="24" style="height: 24px; margin-top: 25px">
Wuyuqiu committed
307
      <el-form-item class="formItemLabel" label="我行收费:" label-width="72px">
Wuyuqiu committed
308 309 310 311 312 313
      </el-form-item>
    </c-col>
    <c-col :span="24" style="">
      <c-table
        style="text-align: center"
        :list="model.setmod.setfeg.setfel"
314
        :paginationShow="true"
Wuyuqiu committed
315
        :border="true"
316
        :total="model.setmod.setfeg.setfel.length"
Wuyuqiu committed
317
      >
Wuyuqiu committed
318
        <el-table-column label="收取对象" width="110px">
Wuyuqiu committed
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
          <template #default="scope">
            <el-form-item
              label-width="0"
              :prop="'setmod.setfeg.setfel.' + scope.$index + '.rol'"
            >
              <c-select v-model="scope.row.rol" @change="defaultFunction()">
                <el-option
                  v-for="item in codes.setfelRol"
                  :key="item.value"
                  :label="item.value"
                  :value="item.value"
                >
                  <span style="float: left">{{ item.label }}</span>
                </el-option>
              </c-select>
潘际乾 committed
334
            </el-form-item>
Wuyuqiu committed
335 336
          </template>
        </el-table-column>
Wuyuqiu committed
337
        <el-table-column label="费用代码" width="110px">
Wuyuqiu committed
338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360
          <template #default="scope">
            <el-form-item
              label-width="0"
              :prop="'setmod.setfeg.setfel.' + scope.$index + '.feecod'"
            >
              <c-select
                v-model="scope.row.feecod"
                @change="selectOrCheckboxRule('setmod.setfeg.setfel.feecod')"
              >
                <el-option
                  v-for="item in codes.fepfeecod"
                  :key="item.value"
                  :label="item.value"
                  :value="item.value"
                >
                  <span style="float: left">{{ item.label }}</span>
                </el-option>
              </c-select>
            </el-form-item>
          </template>
        </el-table-column>
        <el-table-column label="费用来源" prop="src" width="70px">
        </el-table-column>
Wuyuqiu committed
361
        <el-table-column label="处理方式" prop="dsp" width="110px">
Wuyuqiu committed
362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
          <template #default="scope">
            <c-select
              v-model="scope.row.dsp"
              @change="dispDefault(scope.$index + 1)"
            >
              <el-option
                v-for="item in codes.setfeldsp"
                :key="item.value"
                :label="item.value"
                :value="item.value"
              >
                <span style="float: left">{{ item.label }}</span>
              </el-option>
            </c-select>
          </template>
        </el-table-column>
        <el-table-column label="份数" prop="unt" width="70px">
        </el-table-column>
Wuyuqiu committed
380
        <el-table-column label="费用描述" prop="feetxtinf" width="200px">
Wuyuqiu committed
381 382 383 384 385 386 387 388 389
          <template slot-scope="scope">
            <el-form-item
              label-width="0"
              :prop="'setmod.setfeg.setfel.' + scope.$index + '.feetxtinf'"
            >
              {{ scope.row.feetxtinf }}
            </el-form-item>
          </template>
        </el-table-column>
Wuyuqiu committed
390
        <el-table-column label="币种" prop="cur" width="70px">
Wuyuqiu committed
391 392 393 394 395 396 397 398 399
          <template slot-scope="scope">
            <el-form-item
              label-width="0"
              :prop="'setmod.setfeg.setfel.' + scope.$index + '.cur'"
            >
              {{ scope.row.cur }}
            </el-form-item>
          </template>
        </el-table-column>
400
        <el-table-column label="应收金额" prop="ogiamt" width="110px">
401
        <!-- <template slot-scope="scope">
402 403 404 405
            <c-input-currency
              v-model="scope.row.ogiamt"
              placeholder="0.00"
            ></c-input-currency>
406
          </template> -->
Wuyuqiu committed
407
        </el-table-column>
Wuyuqiu committed
408
        <el-table-column label="实收金额" prop="amt" width="auto">
Wuyuqiu committed
409 410 411 412 413
          <template slot-scope="scope">
            <el-form-item
              label-width="0"
              :prop="'setmod.setfeg.setfel.' + scope.$index + '.amt'"
            >
414 415
            {{ scope.row.amt }}
             <!-- <c-input-currency
416 417
                v-model="scope.row.amt"
                placeholder="0.00"
418
              ></c-input-currency> -->
Wuyuqiu committed
419 420 421
            </el-form-item>
          </template>
        </el-table-column>
Wuyuqiu committed
422
        <el-table-column label="" prop="det" width="150px" fixed="right">
Wuyuqiu committed
423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461
          <template slot-scope="scope" slot="header">
            <c-button
              circle
              style="padding: 4px"
              class="el-icon-plus"
              size="mini"
              @click="addRowSetfel(scope)"
            >
            </c-button>
            <c-button
              style="padding: 4px"
              circle
              class="el-icon-minus"
              size="mini"
              @click="removeRowSetfel(scope)"
            >
            </c-button>
          </template>
          <template slot-scope="scoped">
            <c-button
              style="margin-left: 0"
              size="small"
              type="primary"
              icon="el-icon-info"
              @click="detail2(scoped.$index, scoped.row)"
            ></c-button>
          </template>
        </el-table-column>
      </c-table>
    </c-col>
    <div style="height=500px">
      <setpan-dialog
        ref="setpanDialog"
        :model="model"
        :idx="index"
        :codes="codes"
      />
    </div>
    <c-col :span="24" style="height: 24px; margin-top: 25px">
Wuyuqiu committed
462
      <el-form-item class="formItemLabel" label="结算:" label-width="48px">
Wuyuqiu committed
463 464 465 466 467 468 469 470 471
        <span style="color: red">{{
          this.model.setmod.dspflg == "C" ? "temporary" : ""
        }}</span>
      </el-form-item>
    </c-col>
    <c-col :span="24" style="">
      <c-table
        style="text-align: center"
        :list="stmData3"
472
        :paginationShow="true"
Wuyuqiu committed
473
        :border="true"
474
         :total="stmData3.length"  
Wuyuqiu committed
475 476 477 478 479
      >
        <el-table-column label="修改标识" prop="modflg" width="70px">
        </el-table-column>
        <el-table-column label="费用对象" prop="rol" width="70px">
        </el-table-column>
Wuyuqiu committed
480
        <el-table-column label="即收币种" prop="acccur" width="110px">
Wuyuqiu committed
481
          <template slot-scope="scope">
482 483 484
            <c-select
              v-model="scope.row.acccur"
              @change="accucrChange(scope.$index)"
485 486
            > 
            <!-- @change="eventfunction('setgll.accur')"  -->
Wuyuqiu committed
487 488 489 490 491 492 493 494 495 496 497
              <el-option
                v-for="item in codes.acccur"
                :key="item.value"
                :label="item.value"
                :value="item.value"
              >
                <span style="float: left">{{ item.label }}</span>
              </el-option>
            </c-select>
          </template>
        </el-table-column>
498
        <el-table-column label="记账金额" prop="fmtaccamt" width="110px">
Wuyuqiu committed
499
          <template slot-scope="scope">
500
           <c-input
Wuyuqiu committed
501 502
              v-model="scope.row.fmtaccamt"
              @change="fmtaccamtChange(scope.$index)"
503 504
            />
            <!-- <c-input-currency
505 506 507
              v-model="scope.row.fmtaccamt"
              placeholder="0.00"
              @change="fmtaccamtChange(scope.$index)"
508
            ></c-input-currency> -->
509
            </template>
Wuyuqiu committed
510
        </el-table-column>
511
        <el-table-column label="处理方式" width="110px" prop="dsp">
Wuyuqiu committed
512
          <template #default="scope">
513 514 515 516 517 518 519 520 521 522 523 524 525 526
            <c-select v-model="scope.row.dsp" @change="dspChange(scope.$index)" v-if="scope.row.debcdtflg=='D'">
              <el-option
                v-for="item in codes.setgll_dsp2"
                :key="item.value"
                :label="item.value"
                :value="item.value"
              >
                <span style="float: left">{{ item.value }}</span>
                <span style="float: left; margin-left: 20px">{{
                  item.label
                }}</span>
              </el-option>
            </c-select>
            <c-select v-model="scope.row.dsp" @change="dspChange(scope.$index)" v-if="scope.row.debcdtflg=='C'">
Wuyuqiu committed
527
              <el-option
nanrui committed
528
                v-for="item in codes.setgll_dsp1"
Wuyuqiu committed
529 530 531 532 533 534 535 536 537 538 539 540
                :key="item.value"
                :label="item.value"
                :value="item.value"
              >
                <span style="float: left">{{ item.value }}</span>
                <span style="float: left; margin-left: 20px">{{
                  item.label
                }}</span>
              </el-option>
            </c-select>
          </template>
        </el-table-column>
Wuyuqiu committed
541
        <el-table-column label="记账账号" prop="act" width="250px">
Wuyuqiu committed
542 543 544 545 546
          <template slot-scope="scope">
            <el-form-item
              label-width="0"
              :prop="'setmod.setglg.setgll.' + scope.$index + '.act'"
            >
547
              <c-select v-model="scope.row.act">
Wuyuqiu committed
548 549 550 551 552 553 554 555 556 557 558
                <el-option
                  v-for="item in scope.act"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </template>
        </el-table-column>
Wuyuqiu committed
559
        <el-table-column label="借/贷" prop="debcdtflg" width="70px">
560

Wuyuqiu committed
561 562 563
        </el-table-column>
        <el-table-column label="原始币种" prop="cur" width="70px">
        </el-table-column>
564
        <el-table-column label="原始金额" prop="fmtamt" width="110px">
565
        <!-- <template slot-scope="scope">
566 567 568 569
            <c-input-currency
              v-model="scope.row.fmtamt"
              placeholder="0.00"
            ></c-input-currency>
570
          </template> -->
Wuyuqiu committed
571
        </el-table-column>
Wuyuqiu committed
572
        <el-table-column label="汇率" prop="rat" width="auto">
Wuyuqiu committed
573
        </el-table-column>
Wuyuqiu committed
574
        <el-table-column label="" width="150px" fixed="right">
Wuyuqiu committed
575
          <template slot-scope="scoped">
Wuyuqiu committed
576
            <c-button style="margin-right: 10px" size="small" type="primary"
Wuyuqiu committed
577 578 579 580 581 582 583 584 585 586 587 588
              >获取</c-button
            >
            <c-button
              style="margin-left: 0"
              size="small"
              type="primary"
              icon="el-icon-info"
              @click="handleDetail(scoped.$index, scoped.row)"
            ></c-button>
          </template>
        </el-table-column>
        <!-- <el-table-column label="" width="80px">
liushikai committed
589
                    <template>
590
                        <c-button
liushikai committed
591 592 593
                            style="margin-left:0"
                            size="small"
                            type="primary"
594
                            >详情</c-button
liushikai committed
595
                        >
liushikai committed
596
                    </template> </el-table-column> -->
Wuyuqiu committed
597 598
      </c-table>
    </c-col>
潘际乾 committed
599

Wuyuqiu committed
600
    <!-- <c-col :span="12" style="margin-bottom: 10px;">
潘际乾 committed
601 602
            <span v-text="model.setmod.retmsg" data-path=".setmod.retmsg">
            </span>
liushikai committed
603
        </c-col> -->
潘际乾 committed
604

Wuyuqiu committed
605
    <!-- <c-col :span="12" style="margin-bottom: 10px;">
潘际乾 committed
606 607
            <span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab">
            </span>
liushikai committed
608
        </c-col> -->
潘际乾 committed
609

Wuyuqiu committed
610
    <!-- <c-col :span="12" style="margin-bottom: 10px;">
潘际乾 committed
611 612 613 614 615
            <span
                v-text="model.setmod.setglg.labdspflg"
                data-path=".setmod.setglg.labdspflg"
            >
            </span>
liushikai committed
616
        </c-col> -->
Wuyuqiu committed
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634
    <template>
      <el-dialog
        ref="detpDialog"
        :visible.sync="detpDialogVisible"
        width="70%"
        center
      >
        <el-form label-width="100px" :model="dialog3">
          <c-row>
            <c-col :span="24" style="height: 24px">
              <el-form-item label="基础信息" class="messageLabel">
              </el-form-item>
            </c-col>
            <c-col :span="24" style="height: 0px; margin-top: -5px">
              <el-divider></el-divider>
            </c-col>
            <c-col :span="24"> &nbsp; </c-col>
            <!-- <c-col :span="12">
wangyanjiao committed
635 636 637
                            <el-form-item label="rollab">
                                <c-input v-model="dialog3.rollab" maxlength="3" placeholder="请输入rollab"></c-input>
                            </el-form-item>
638
                        </c-col> -->
wangyanjiao committed
639

Wuyuqiu committed
640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674
            <c-col :span="24" v-if="dialog3.amt > 0">
              <el-form-item label="付款人">
                <c-select
                  v-model="dialog3.rol"
                  style="width: 100%"
                  placeholder="请输入role"
                >
                  <el-option
                    v-for="item in codes.rolall"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="24" v-else>
              <el-form-item label="收款人">
                <c-select
                  v-model="dialog3.rol"
                  style="width: 100%"
                  placeholder="请输入role"
                >
                  <el-option
                    v-for="item in codes.rolall"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <!-- <c-col :span="12">
675 676 677 678 679 680 681 682 683 684 685 686 687 688
                    <c-checkbox v-model="dialog3.act3flg">第三方还款</c-checkbox>
                </c-col>
                            
                <c-col :span="12">
                    <c-button size="small" type="primary"  @click="onMtdbutButapy">
                        确定
                    </c-button>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Drag  Drop Sender" prop="setgll.actp.ptsget.sdamod.dadsnd">
                        <c-input  v-model="dialog3.actp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
                    </el-form-item>
                </c-col> -->
wangyanjiao committed
689

Wuyuqiu committed
690 691 692 693 694 695 696 697 698 699 700
            <c-col :span="12">
              <el-form-item label="处理" prop="setgll.dsp">
                <c-select
                  v-model="dialog3.dsp"
                  style="width: 100%"
                  placeholder="请选择Disposition"
                  :code="codes.setglldsp"
                >
                </c-select>
              </el-form-item>
            </c-col>
wangyanjiao committed
701

Wuyuqiu committed
702 703 704 705 706 707 708 709
            <c-col :span="12">
              <el-form-item
                label="External"
                prop="setgll.setgrp.act.pts.extkey"
              >
                <c-input
                  v-model="dialog3.setgrp.act.pts.extkey"
                  maxlength="16"
wangna committed
710
                  placeholder="请输入"
Wuyuqiu committed
711 712 713
                ></c-input>
              </el-form-item>
            </c-col>
wangyanjiao committed
714

Wuyuqiu committed
715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733
            <c-col :span="12">
              <el-form-item label="seainf">
                <c-col :span="18">
                  <c-input
                    v-model="dialog3.actp.ptsget.sdamod.seainf"
                    placeholder="请输入"
                  ></c-input>
                </c-col>
                <c-col :span="6" style="text-align: right">
                  <c-button
                    size="small"
                    type="primary"
                    @click="onActpDet"
                    icon="el-icon-info"
                  >
                  </c-button>
                </c-col>
              </el-form-item>
            </c-col>
wangyanjiao committed
734

Wuyuqiu committed
735
            <!-- <c-col :span="12">
736 737 738 739 740 741 742 743 744 745
                    <el-form-item label="核心业务代号"  >
                        <c-input  v-model="dialog3.acccode" maxlength="4"  placeholder="请输入核心业务代号"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <c-button size="small" type="primary"  @click="onSetgllDetget">
                        Get
                    </c-button>
                </c-col> -->
wangyanjiao committed
746

Wuyuqiu committed
747 748 749 750 751 752 753 754 755 756
            <c-col :span="12">
              <el-form-item label="账号">
                <c-select
                  v-model="dialog3.act"
                  style="width: 100%"
                  placeholder="请选择账号"
                >
                </c-select>
              </el-form-item>
            </c-col>
wangyanjiao committed
757

Wuyuqiu committed
758
            <!-- <c-col :span="12">
759
                    <el-form-item label="Name of Party"  >
wangna committed
760
                        <c-input  v-model="dialog3.setgrp.act.pts.nam" maxlength="40"  placeholder="请输入"></c-input>
761 762
                    </el-form-item>
                </c-col> -->
Wuyuqiu committed
763 764 765 766 767 768 769 770 771 772 773
            <c-col :span="24">
              <c-col :span="12">
                <el-form-item label="科目代码">
                  <c-select
                    v-model="dialog3.acttrmtyp"
                    style="width: 100%"
                    placeholder="请选择原始金额"
                  >
                  </c-select>
                </el-form-item>
              </c-col>
wangyanjiao committed
774

Wuyuqiu committed
775 776 777 778 779 780 781 782 783 784 785
              <c-col :span="12">
                <el-form-item label="起息日">
                  <c-date-picker
                    type="date"
                    v-model="dialog3.valdat"
                    style="width: 100%"
                    placeholder="请选择起息日"
                  ></c-date-picker>
                </el-form-item>
              </c-col>
            </c-col>
wangyanjiao committed
786

Wuyuqiu committed
787
            <!-- <c-col :span="12">
788 789 790 791 792
                    <el-form-item label="Search type"  >
                        <c-select v-model="dialog3.actpriflg" style="width:100%" placeholder="请选择Search type">
                        </c-select>
                    </el-form-item>
                </c-col> -->
Wuyuqiu committed
793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823
            <c-col :span="24">
              <el-form-item label="原始金额">
                <c-col :span="8">
                  <c-select
                    v-model="dialog3.cur"
                    style="width: 100%"
                    placeholder="请选择科目代码"
                  >
                  </c-select>
                </c-col>
                <c-col :span="8">
                  <el-form-item label="" label-width="5%">
                    <c-input
                      v-model="dialog3.fmtamt"
                      placeholder="请输入原始金额"
                    ></c-input>
                  </el-form-item>
                </c-col>
                <c-col :span="8">
                  <el-form-item label="" label-width="5%">
                    <c-select
                      v-model="dialog3.modflg"
                      style="width: 100%"
                      placeholder="请选择Modified"
                      :code="codes.setgll_modflg"
                    >
                    </c-select>
                  </el-form-item>
                </c-col>
              </el-form-item>
            </c-col>
wangyanjiao committed
824

Wuyuqiu committed
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857
            <c-col :span="24">
              <el-form-item label="实际金额">
                <c-col :span="8">
                  <el-form-item label="" label-width="0">
                    <c-select
                      v-model="dialog3.acccur"
                      style="width: 100%"
                      placeholder="请选择Amount handled"
                    >
                    </c-select>
                  </el-form-item>
                </c-col>
                <c-col :span="8">
                  <el-form-item label="" label-width="5%">
                    <c-input
                      v-model="dialog3.fmtaccamt"
                      placeholder="请输入实际金额"
                    ></c-input>
                  </el-form-item>
                </c-col>
                <c-col :span="8">
                  <el-form-item label="" label-width="5%">
                    <c-select
                      v-model="dialog3.debcdtflg"
                      style="width: 100%"
                      placeholder="请选择Debit/Credit"
                      :code="codes.setgll_debcdtflg"
                    >
                    </c-select>
                  </el-form-item>
                </c-col>
              </el-form-item>
            </c-col>
wangyanjiao committed
858

Wuyuqiu committed
859 860 861 862 863 864 865 866 867
            <!-- ---------------------- -->
            <c-col :span="23" style="height: 24px">
              <el-form-item label="Cross信息" class="messageLabel">
              </el-form-item>
            </c-col>
            <c-col :span="23" style="height: 0px; margin-top: -5px">
              <el-divider></el-divider>
            </c-col>
            <c-col :span="24"> &nbsp; </c-col>
868

Wuyuqiu committed
869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988
            <c-col :span="24">
              <el-form-item label="Cross Rate">
                <c-col :span="6">
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <span>利率类型</span>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <c-input v-model="rattyp"></c-input>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <c-input v-model="dcbrattyp"></c-input>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <c-input v-model="scbrattyp"></c-input>
                    </el-form-item>
                  </c-col>
                </c-col>
                <c-col :span="6">
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <span>Calculate Rate</span>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <c-input
                        v-model="dialog3.rat"
                        placeholder="请输入rate used"
                      ></c-input>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <c-input
                        v-model="dialog3.dcbextrat"
                        placeholder="请输入Selling Rate"
                      >
                      </c-input>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <c-input
                        v-model="dialog3.scbextrat"
                        placeholder="请输入Buying Rate"
                      ></c-input>
                    </el-form-item>
                  </c-col>
                </c-col>
                <c-col :span="6">
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <span>From Date</span>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      &nbsp;
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <c-input
                        v-model="dialog3.xrtdatcur"
                        placeholder="请输入xrtdatcur"
                      ></c-input>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="" label-width="20%">
                      <c-input
                        v-model="dialog3.xrtdatacc"
                        placeholder="请输入xrtdatacc"
                      ></c-input>
                    </el-form-item>
                  </c-col>
                </c-col>
                <c-col :span="6">
                  <c-col :span="24">
                    <el-form-item label="牌价时间">
                      <c-input
                        v-model="dialog3.xrttim"
                        placeholder="请输入牌价时间"
                      ></c-input>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="卖价" prop="setgll.midrat">
                      <c-input
                        v-model="dialog3.selrat"
                        placeholder="请输入卖价"
                      ></c-input>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="中间价" prop="setgll.midrat">
                      <c-input
                        v-model="dialog3.midrat"
                        placeholder="请输入中间价"
                      ></c-input>
                    </el-form-item>
                  </c-col>
                  <c-col :span="24">
                    <el-form-item label="买价" prop="setgll.midrat">
                      <c-input
                        v-model="dialog3.buyrat"
                        placeholder="请输入买价"
                      ></c-input>
                    </el-form-item>
                  </c-col>
                </c-col>
              </el-form-item>
            </c-col>
989

Wuyuqiu committed
990
            <!-- <div>
991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130
                <c-col :span="12">
                    <el-form-item label="pre rate type" prop="setgll.selrattyp">
                        <c-select v-model="dialog3.selrattyp" style="width:100%" placeholder="请选择pre rate type">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Sel" prop="setgll.preselrat">
                        <c-input  v-model="dialog3.preselrat"  placeholder="请输入Sel"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <span  v-text="dialog3.selpct"   data-path=".setgll.selpct" > </span>
                </c-col>
                                            
                <c-col :span="12">
                    <el-form-item label="Amount handled" prop="setgll.fmtacccpramt">
                        <c-input  v-model="dialog3.fmtacccpramt"  placeholder="请输入Amount handled"></c-input>
                    </el-form-item>
                </c-col>
                                            
                <c-col :span="12">
                    <el-form-item label="Pre rate type" prop="setgll.buyrattyp">
                        <c-select v-model="dialog3.buyrattyp" style="width:100%" placeholder="请选择Pre rate type">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Buy" prop="setgll.prebuyrat">
                        <c-input  v-model="dialog3.prebuyrat"  placeholder="请输入Buy"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <span  v-text="dialog3.buypct"   data-path=".setgll.buypct" > </span>
                </c-col>
                                                                                                
                <c-col :span="12">
                    <el-form-item label="From Date" prop="setgll.xrttim">
                        <c-input  v-model="dialog3.xrttim" maxlength="20"  placeholder="请输入From Date"></c-input>
                    </el-form-item>
                </c-col>
                                            
                <c-col :span="12">
                    <span  v-text="dialog3.ratcurlab"   data-path=".setgll.ratcurlab" > </span>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Codetable of supported rate types  M-iddle, B-uying, S-elling, I-nput" prop="setgll.rattyp">
                        <c-select v-model="dialog3.rattyp" style="width:100%" placeholder="请选择Codetable of supported rate types  M-iddle, B-uying, S-elling, I-nput">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="rate used" prop="setgll.rat">
                        <c-input  v-model="dialog3.rat"  placeholder="请输入rate used"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Selling Rate" prop="setgll.selrat">
                        <c-input  v-model="dialog3.selrat"  placeholder="请输入Selling Rate"></c-input>
                    </el-form-item>
                </c-col>
                                            
                <c-col :span="12">
                    <span  v-text="dialog3.dcbratlab"   data-path=".setgll.dcbratlab" > </span>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Document Cur to Base RATe TYPe" prop="setgll.dcbrattyp">
                        <c-select v-model="dialog3.dcbrattyp" style="width:100%" placeholder="请选择Document Cur to Base RATe TYPe">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Document Cur to Base EXTernal RATe" prop="setgll.dcbextrat">
                        <c-input  v-model="dialog3.dcbextrat"  placeholder="请输入Document Cur to Base EXTernal RATe"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Begin-Date of XRT-Rate of CUR" prop="setgll.xrtdatcur">
                        <c-date-picker type="date"  v-model="dialog3.xrtdatcur" style="width:100%"  placeholder="请选择Begin-Date of XRT-Rate of CUR"></c-date-picker>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="" prop="setgll.xrtgetdcb.sdamod.seainf">
                        <c-input  v-model="dialog3.xrtgetdcb.sdamod.seainf"  placeholder="请输入"></c-input>
                    </el-form-item>
                </c-col>
                                            
                <c-col :span="12">
                    <el-form-item label="Middle Rate" prop="setgll.midrat">
                        <c-input  v-model="dialog3.midrat"  placeholder="请输入Middle Rate"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <span  v-text="dialog3.scbratlab"   data-path=".setgll.scbratlab" > </span>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Settle Cur to Base RATe TYPe" prop="setgll.scbrattyp">
                        <c-select v-model="dialog3.scbrattyp" style="width:100%" placeholder="请选择Settle Cur to Base RATe TYPe">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Settle Cur to Base EXTernal RATe" prop="setgll.scbextrat">
                        <c-input  v-model="dialog3.scbextrat"  placeholder="请输入Settle Cur to Base EXTernal RATe"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Begin-Date of XRT-Rate of ACCCUR" prop="setgll.xrtdatacc">
                        <c-date-picker type="date"  v-model="dialog3.xrtdatacc" style="width:100%"  placeholder="请选择Begin-Date of XRT-Rate of ACCCUR"></c-date-picker>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="" prop="setgll.xrtgetscb.sdamod.seainf">
                        <c-input  v-model="dialog3.xrtgetscb.sdamod.seainf"  placeholder="请输入"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Buying Rate" prop="setgll.buyrat">
                        <c-input  v-model="dialog3.buyrat"  placeholder="请输入Buying Rate"></c-input>
                    </el-form-item>
                </c-col>
                </div> -->

Wuyuqiu committed
1131 1132 1133 1134 1135 1136 1137 1138 1139
            <!-- ---------------------- -->
            <c-col :span="23" style="height: 24px">
              <el-form-item label="交易信息" class="messageLabel">
              </el-form-item>
            </c-col>
            <c-col :span="23" style="height: 0px; margin-top: -5px">
              <el-divider></el-divider>
            </c-col>
            <c-col :span="24"> &nbsp; </c-col>
wangyanjiao committed
1140

Wuyuqiu committed
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161
            <c-col :span="12">
              <c-col :span="24">
                <el-form-item label="交易主体" prop="setgll.trnman">
                  <c-select
                    v-model="dialog3.trnman"
                    style="width: 100%"
                    placeholder="请选择交易主体"
                  >
                  </c-select>
                </el-form-item>
              </c-col>
              <c-col :span="24">
                <el-form-item label="TRADE OUT" prop="setgll.trdout">
                  <c-select
                    v-model="dialog3.trdout"
                    style="width: 100%"
                    placeholder="请选择TRADE OUT"
                  >
                  </c-select>
                </el-form-item>
              </c-col>
wangyanjiao committed
1162

Wuyuqiu committed
1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173
              <c-col :span="24">
                <el-form-item label="TRADE IN" prop="setgll.trdint">
                  <c-select
                    v-model="dialog3.trdint"
                    style="width: 100%"
                    placeholder="请选择TRADE IN"
                  >
                  </c-select>
                </el-form-item>
              </c-col>
            </c-col>
wangyanjiao committed
1174

Wuyuqiu committed
1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206
            <c-col :span="12">
              <c-col :span="24">
                <c-col :span="12">
                  <el-form-item label="传票摘要" prop="setgll.modifyflg">
                    <c-checkbox v-model="modifyflg" />
                  </el-form-item>
                </c-col>
                <c-col :span="12">
                  <el-form-item label="" label-width="5px" prop="setgll.txt">
                    <c-input
                      type="textarea"
                      v-model="dialog3.txt"
                      maxlength="100"
                      show-word-limit
                      placeholder="请输入TXT"
                      :disabled="!modifyflg"
                    ></c-input>
                  </el-form-item>
                </c-col>
              </c-col>
              <c-col :span="24">
                <el-form-item label="文本1" prop="setgll.txt1">
                  <c-input
                    type="textarea"
                    v-model="dialog3.txt1"
                    maxlength="100"
                    show-word-limit
                    placeholder="请输入文本"
                  ></c-input>
                </el-form-item>
              </c-col>
            </c-col>
wangyanjiao committed
1207

Wuyuqiu committed
1208
            <!-- <c-col :span="12">
1209 1210 1211
                    <c-checkbox v-model="dialog3.modifyflg">Modify flg</c-checkbox>
                </c-col> -->

Wuyuqiu committed
1212 1213 1214 1215 1216 1217 1218 1219 1220
            <!-- ---------------------- -->
            <c-col :span="23" style="height: 24px">
              <el-form-item label="交易详情" class="messageLabel">
              </el-form-item>
            </c-col>
            <c-col :span="23" style="height: 0px; margin-top: -5px">
              <el-divider></el-divider>
            </c-col>
            <c-col :span="24"> &nbsp; </c-col>
wangyanjiao committed
1221

Wuyuqiu committed
1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241
            <c-col :span="12">
              <el-form-item label="交易性质">
                <c-col :span="20">
                  <c-input
                    v-model="dialog3.trntyp"
                    maxlength="6"
                    placeholder="请输入交易性质"
                  ></c-input>
                </c-col>
                <c-col :span="4" style="text-align: right">
                  <c-button
                    size="small"
                    type="primary"
                    icon="el-icon-search"
                    @click="onSetgllCodsel"
                  >
                  </c-button>
                </c-col>
              </el-form-item>
            </c-col>
wangyanjiao committed
1242

Wuyuqiu committed
1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263
            <c-col :span="12">
              <el-form-item label="国别代码" prop="setgll.ctycod">
                <c-col :span="20">
                  <c-input
                    v-model="dialog3.ctycod"
                    maxlength="3"
                    placeholder="请输入国别代码"
                  ></c-input>
                </c-col>
                <c-col :span="4" style="text-align: right">
                  <c-button
                    size="small"
                    type="primary"
                    icon="el-icon-search"
                    @click="onSetgllCtysel"
                  >
                  </c-button>
                </c-col>
              </el-form-item>
            </c-col>
            <!-- <c-col :span="12">
1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276
                    <el-form-item label="Which MT to beneficiary institution" prop="setgll.sftmt">
                        <c-select v-model="dialog3.sftmt" style="width:100%" placeholder="请选择Which MT to beneficiary institution">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Direct payment one message" prop="setgll.dirindflg">
                        <c-select v-model="dialog3.dirindflg" style="width:100%" placeholder="请选择Direct payment one message">
                        </c-select>
                    </el-form-item>
                </c-col> -->

Wuyuqiu committed
1277 1278 1279 1280 1281 1282 1283 1284 1285
            <c-col :span="12">
              <el-form-item label="对方名称" prop="setgll.oppnam">
                <c-input
                  v-model="dialog3.oppnam"
                  maxlength="100"
                  placeholder="请输入对方名称"
                ></c-input>
              </el-form-item>
            </c-col>
wangyanjiao committed
1286

Wuyuqiu committed
1287 1288 1289 1290 1291 1292 1293 1294 1295
            <c-col :span="12">
              <el-form-item label="国内地区代码" prop="setgll.discod">
                <c-input
                  v-model="dialog3.discod"
                  maxlength="6"
                  placeholder="请输入国内地区代码"
                ></c-input>
              </el-form-item>
            </c-col>
wangyanjiao committed
1296

Wuyuqiu committed
1297 1298 1299 1300 1301 1302 1303 1304 1305
            <c-col :span="12">
              <el-form-item label="对方账号" prop="setgll.oppacc">
                <c-input
                  v-model="dialog3.oppacc"
                  maxlength="35"
                  placeholder="请输入对方账号"
                ></c-input>
              </el-form-item>
            </c-col>
wangyanjiao committed
1306

Wuyuqiu committed
1307 1308 1309 1310 1311 1312 1313 1314 1315
            <c-col :span="12">
              <el-form-item label="虚拟号账号" prop="setgll.xzhacc">
                <c-input
                  v-model="dialog3.xzhacc"
                  maxlength="40"
                  placeholder="请输入虚拟号账号"
                ></c-input>
              </el-form-item>
            </c-col>
wangyanjiao committed
1316

Wuyuqiu committed
1317
            <!-- <c-col :span="12">
1318 1319 1320 1321
                    <c-button size="small" type="primary"  @click="onMtdbutButcan">
                        取消
                    </c-button>
                </c-col> -->
wangyanjiao committed
1322

Wuyuqiu committed
1323 1324 1325 1326 1327 1328 1329 1330 1331
            <c-col :span="12">
              <el-form-item label="对方银行代码" prop="setgll.oppbnk">
                <c-input
                  v-model="dialog3.oppbnk"
                  maxlength="14"
                  placeholder="请输入对方银行代码"
                ></c-input>
              </el-form-item>
            </c-col>
wangyanjiao committed
1332

Wuyuqiu committed
1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350
            <c-col :span="12">
              <el-form-item label="虚拟号名称" prop="setgll.xzhnam">
                <c-input
                  v-model="dialog3.xzhnam"
                  maxlength="50"
                  placeholder="请输入虚拟号名称"
                ></c-input>
              </el-form-item>
            </c-col>
          </c-row>
        </el-form>
        <span slot="footer" class="dialog-footer">
          <c-button type="primary" @click="saveDialog3">确 定</c-button>
          <c-button @click="detpDialogVisible = false">取 消</c-button>
        </span>
      </el-dialog>
    </template>
  </c-row>
潘际乾 committed
1351 1352
</template>
<script>
潘际乾 committed
1353
// import Event from "~/model/Ditopn/Event";
wangren committed
1354
import commonProcess from "~/mixin/commonProcess";
zhouqian committed
1355
import CodeTable from "~/config/CodeTable";
潘际乾 committed
1356
import SetpanDialog from "./SetpanDialog.vue";
Wuyuqiu committed
1357 1358
import Api from "~/service/Api";
import Utils from "~/utils/index";
潘际乾 committed
1359 1360

export default {
Wuyuqiu committed
1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395
  inject: ["root"],
  components: { SetpanDialog },
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      dialogVisible: false,
      dialog: {
        payee: "",
        ptydbt: "",
        txtpay: "",
        txtdbt: "",
        CG00005: "",
      },
      newdialog: {
        payee: "",
        ptydbt: "",
        txtpay: "",
        txtdbt: "",
        CG00005: "",
      },
      dialog2: {
        feetxtinf: "",
        feetxt: "",
      },
      index: 0,
      detpDialogVisible: false,
      rattyp: "",
      dcbrattyp: "",
      scbrattyp: "",
      dialog3: {
        setgrp: {
          act: {
            pts: {},
          },
潘际乾 committed
1396
        },
Wuyuqiu committed
1397 1398 1399 1400
        actp: {
          ptsget: {
            sdamod: {},
          },
潘际乾 committed
1401
        },
Wuyuqiu committed
1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415
      },
      ogiamt: {},
      stmData3: [],
    };
  },
  watch: {
    "model.setmod.setglg.setgll": {
      handler(val, oldVal) {
        var stm = [];
        for (let i = 0; i < val.length; i++) {
          if (val[i].rol != "") {
            val[i]["idx"] = i;
            stm.push(val[i]);
          }
liuxin committed
1416
        }
Wuyuqiu committed
1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468
        this.stmData3 = stm;
      },
    },
  },
  methods: {
    //第一个表格
    addRowSetfol() {
      let newRow = { ...this.newdialog };
      this.model.setmod.setfog.setfol.splice(0, 0, newRow);
      this.defaultFunction();
    },
    removeRowSetfol() {
      this.model.setmod.setfog.setfol.shift();
      this.defaultFunction();
    },
    saveDialog() {
      this.dialogVisible = false;
      this.model.setmod.setfog.setfol.splice(this.index, 1, this.dialog);
    },
    // 第二个表格
    addRowSetfel() {
      let newRow = { ...this.dialog2 };
      this.model.setmod.setfeg.setfel.splice(0, 0, newRow);
      this.defaultFunction();
    },
    removeRowSetfel() {
      this.model.setmod.setfeg.setfel.shift();
      this.defaultFunction();
    },
    detail1(index, row) {
      this.executeDefault("setfel.det").then((res) => {
        this.index = index;
        this.dialogVisible = true;
        this.dialog = row;
      });
    },
    dispDefault(index) {
      this.executeDefault(`setmod.setfeg.setfel(${index}).mac`).then((res) => {
        Utils.copyValueFromVO(this.model, res.data);
      });
    },
    // 第二个表格
    detail2(index, row) {
      const that = this;
      const rule = "setmod.setfeg.setfel(" + (index + 1) + ").det";
      that.executeRule(rule).then((res) => {
        that.index = index;
        that.$refs.setpanDialog.visiable = true;
        // that.$refs.setpanDialog.formData = that.model.setmod.setfeg.setfel[index];
        that.dialog2 = row;
      });
    },
liuxin committed
1469

Wuyuqiu committed
1470 1471 1472 1473
    // 第三个表格
    saveDialog3() {
      this.detpDialogVisible = false;
      this.model.setmod.setglg.setgll.splice(this.index, 1, this.dialog3);
潘际乾 committed
1474
    },
Wuyuqiu committed
1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522
    async handleDetail(index, row) {
      const that = this;
      const rule = "setmod.setglg.setgll(" + (index + 1) + ").det";
      let rtnmsg = await this.executeRule(rule);
      if (rtnmsg.respCode == SUCCESS) {
        that.index = index;
        that.$refs.detpDialog.visiable = true;
        this.detpDialogVisible = true;
        that.dialog3 = that.model.setmod.setglg.setgll[index];
        that.rattyp = that.strCalCode(that.dialog3.rattyp, that.codes.ratetype);
        that.dcbrattyp = that.strCalCode(
          that.dialog3.dcbrattyp,
          that.codes.ratetype
        );
        that.scbrattyp = that.strCalCode(
          that.dialog3.scbrattyp,
          that.codes.ratetype
        );
      }
    },
    strCalCode(str, code) {
      var result = "";
      for (let i = 0; i < code.length; i++) {
        if (code[i].value === str) {
          result = code[i].label;
          continue;
        }
      }
      if (result === "") {
        return str;
      } else {
        return result;
      }
    },
    onMtdbutButapy() {},
    onActpDet() {},
    onSetgllCodsel() {},
    onMtdbutButcan() {},
    onSetgllCtysel() {},
    onSetgllDetget() {},
    async onSetmodDet() {
      let rtnmsg = await this.executeRule("setmod.det");
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
      } else {
        this.$notify.error({ title: "错误", message: "服务请求失败!" });
      }
    },
1523
    async accucrChange(index) {
1524 1525 1526 1527 1528 1529
      let rtnmsg = await this.executeRule(
        "setmod.setglg.setgll(" + (index + 1) + ").acccur"
      );
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
        this.updateModel(rtnmsg.data);
1530
        this.$nextTick(() => {
1531
          this.executeRule("setmod.glemod.glepan").then((res) => {
1532 1533
        //TODO 处理数据逻辑
          if (res.respCode == SUCCESS) this.updateModel(res.data);
1534 1535
          });
        });
1536 1537
      }
    },
Wuyuqiu committed
1538 1539 1540 1541 1542 1543 1544
    async fmtaccamtChange(index) {
      let rtnmsg = await this.executeRule(
        "setmod.setglg.setgll(" + (index + 1) + ").fmtaccamt"
      );
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
        this.updateModel(rtnmsg.data);
1545
        this.$nextTick(() => {
1546
          this.executeRule("setmod.glemod.glepan").then((res) => {
1547 1548
        //TODO 处理数据逻辑
          if (res.respCode == SUCCESS) this.updateModel(res.data);
1549 1550
          });
        });
1551 1552
      }
    },
1553
    async dspChange(index) {
1554 1555 1556 1557 1558 1559
      let rtnmsg = await this.executeDefault(
        "setmod.setglg.setgll(" + (index + 1) + ").dsp"
      );
      if (rtnmsg.respCode == SUCCESS) {
        //TODO 处理数据逻辑
        this.updateModel(rtnmsg.data);
1560
        this.$nextTick(() => {
1561
          this.executeRule("setmod.glemod.glepan").then((res) => {
1562 1563
        //TODO 处理数据逻辑
          if (res.respCode == SUCCESS) this.updateModel(res.data);
1564 1565
          });
        });
Wuyuqiu committed
1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577
      }
    },
  },
  created: function () {},
  computed: {
    modifyflg: {
      get() {
        return this.dialog3.modifyflg === "X";
      },
      set(val) {
        this.dialog3.modifyflg = val ? "X" : "";
      },
liuxin committed
1578
    },
Wuyuqiu committed
1579
  },
潘际乾 committed
1580 1581
};
</script>
liushikai committed
1582
<style scoped>
Wuyuqiu committed
1583 1584
.el-col >>> .el-divider--horizontal {
  margin-top: 10px;
liushikai committed
1585
}
wangyanjiao committed
1586

Wuyuqiu committed
1587 1588 1589
.formItemLabel >>> .el-form-item__label {
  text-align: left;
  font-weight: bold;
liushikai committed
1590
}
wangyanjiao committed
1591

Wuyuqiu committed
1592 1593 1594 1595
.messageLabel >>> .el-form-item__label {
  text-align: left;
  font-weight: bold;
  font-size: 12px;
1596
}
潘际乾 committed
1597
</style>