CptOpnp1Common.vue 21.6 KB
Newer Older
liuxin committed
1
<template>
2 3 4 5
  <c-col :span="24">
    <!-- ================底部--左================= -->
    <c-col :span="11" style="margin-top: 10px" v-if="model.cptp.liqtyp != 'S'">
      <c-col :span="24">
nanrui committed
6
        <el-form-item label="付款行" prop="cpdgrp.ori.pts.ref">
7 8 9 10
          <c-input v-model="model.cpdgrp.ori.pts.ref" maxlength="16" placeholder=""
            :disabled="this.model.cpdgrp.rec.swftyp == ''"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
11

12 13 14 15 16 17 18 19 20 21
      <c-col :span="24">
        <!-- <c-col :span="18"> -->
        <c-fullbox>
          <el-form-item label="">
            <c-input v-model="model.cpdgrp.ori.pts.extkey" placeholder="" style="width:100%" @keyup.enter.native="
                showGridPromptDialog('cpdgrp.ori.pts.extkey')
            " :disabled="this.model.cpdgrp.rec.swftyp == ''"></c-input>
          </el-form-item>
          <template slot="footer">
            <!--  <c-button
zhujiazhan committed
22 23 24 25 26 27
                        style="margin:0 10px 0 10px;padding: 0 12px;"
                        size="small"
                        type="primary"
                        icon="el-icon-search"
                    >
                    </c-button>  -->
28 29 30
            <c-button size="small" type="primary" icon="el-icon-search"
              @click="showGridPromptDialog('ptsget.sdamod.seainf', null, null,{TXT: 'cpdgrp.ori.pts.extkey'}, {TXT: false},'doxpDialog')">
            </c-button>
zhujiazhan committed
31 32


33 34 35 36 37 38
            <c-button style="margin:0 0" size="small" type="primary" @click="onSndpDet" disabled>
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
liuxin committed
39

40 41 42 43 44 45
      <c-col :span="24">
        <el-form-item label="">
          <c-input type="textarea" :rows="4" maxlength="140" v-model="model.cpdgrp.ori.pts.adrblk" show-word-limit
            placeholder="请输入Address Block" disabled></c-input>
        </el-form-item>
      </c-col>
liuxin committed
46

47 48 49 50 51 52
      <c-col :span="24">
        <el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
          <c-input v-model="model.cpdgrp.orc.pts.ref" maxlength="16" placeholder=""
            :disabled="this.model.cpdgrp.rec.swftyp == ''"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
53

54 55 56 57 58 59
      <c-col :span="24">
        <el-form-item label="账号" prop="cpdgrp.rec.orcact">
          <c-input v-model="model.cpdgrp.rec.orcact" maxlength="35" placeholder="汇款人账号"
            :disabled="this.model.cpdgrp.rec.swftyp == ''"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
60

61 62 63 64 65 66 67 68 69
      <c-col :span="24">
        <c-fullbox>
          <el-form-item label="" prop="cpdgrp.orc.pts.extkey">
            <c-input v-model="model.cpdgrp.orc.pts.extkey" placeholder="请输入汇款人客户号" @keyup.enter.native="
                showGridPromptDialog('cpdgrp.orc.pts.extkey')
            " :disabled="this.model.cpdgrp.rec.swftyp == ''">
            </c-input>
          </el-form-item>
          <!-- </c-col>
liuxin committed
70
                <c-col :span="6" style="text-align: right"> -->
71 72 73 74 75 76 77 78 79 80
          <template slot="footer">
            <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search">
            </c-button>

            <c-button style="margin:0 0" size="small" type="primary" @click="onSndpDet" disabled>
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
81

82 83 84 85 86 87
      <c-col :span="24">
        <el-form-item label="">
          <c-input type="textarea" :rows="4" maxlength="140" v-model="model.cpdgrp.orc.pts.adrblk" show-word-limit
            placeholder="请输入Address Block" disabled></c-input>
        </el-form-item>
      </c-col>
88

89 90 91 92 93 94 95 96 97 98
      <c-col :span="24" v-if="false">
        <el-form-item label="汇款人名称" prop="orcnam">
          <c-input v-model="model.orcnam" maxlength="16" placeholder=""></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24" v-show="false">
        <el-form-item label="收款人名称" prop="pyenam">
          <c-input v-model="model.pyenam" placeholder="" @blur="pyenamEvent"></c-input>
        </el-form-item>
      </c-col>
99

100 101 102 103 104 105 106 107
      <c-col :span="24" v-show="false">
        <el-form-item label="清算费用锁定服务" prop="cptp.qsfysd">
          <c-select v-model="model.cptp.qsfysd" style="width: 100%" placeholder="请选择服务提供银行">
            <el-option v-for="item in codes.qsfysd" :key="item.value" :label="item.label" :value="item.value">
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
108

109 110 111 112 113 114
      <c-col :span="24" v-if="model.cptp.qsfysd === '1'">
        <el-form-item label="服务提供银行">
          <c-input v-model="model.cptp.fwtgyh" placeholder=""></c-input>
        </el-form-item>
      </c-col>
    </c-col>
liuxin committed
115

116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
    <!-- ================底部--右================= -->
    <c-col :span="11" :offset="1" v-if="
        root.trnName === 'cptopn'
            ? model.cpdgrp.rec.swftyp === '' ||
              model.cpdgrp.rec.swftyp === '103' ||
              model.cpdgrp.rec.swftyp === '202'
            : model.cpdgrp.rec.swftyp === '' ||
              model.cpdgrp.rec.swftyp === '103'
    " style="margin-top: 10px">
      <c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
        <c-fullbox>
          <el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey">
            <c-input placeholder="请输入发报行" disabled v-model="model.cpdgrp.snd.pts.extkey"
              @keyup.enter.native="showGridPromptDialog('cpdgrp.snd.pts.extkey')"></c-input>
          </el-form-item>
liuxin committed
131

132
          <template slot="footer">
liuxin committed
133

134 135
            <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search">
            </c-button>
liuxin committed
136

137 138 139 140 141 142
            <c-button style="margin:0 0" size="small" type="primary" @click="onSndpDet" disabled>
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
liuxin committed
143

144 145 146 147 148
      <c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
        <el-form-item label="" prop="cpdgrp.snd.pts.nam">
          <c-input placeholder="" disabled v-model="model.cpdgrp.snd.pts.nam"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
149 150


151 152 153 154 155 156 157 158 159 160
      <!--清算模式(代理行模式)报文类型Mt103-->
      <c-col :span="24" v-if="this.model.cptp.liqtyp == 'C'">
        <c-col :span="24">
          <el-form-item label="清算代理行">
            <c-select v-model="model.cptp.cleage" style="width: 70%" placeholder="请选择清算代理行"
              @change="commonExecuteRule('cptp.cleage')">
              <el-option v-for="item in cleageOptions" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </c-select>
          </el-form-item>
liuxin committed
161
        </c-col>
162 163 164 165 166
        <c-col :span="24">
          <el-form-item label="光大开户行">
            <c-select v-model="model.cptp.evebch" style="width: 70%" placeholder="请选择光大开户行">
            </c-select>
          </el-form-item>
liuxin committed
167 168 169 170
        </c-col>



171 172 173 174 175
        <c-col :span="24">
          <el-form-item label="清算代理行账号">
            <c-input v-model="model.cptp.coract" maxlength="32" style="width: 90%" placeholder="请输入清算代理行账号" disabled>
            </c-input>
          </el-form-item>
liuxin committed
176
        </c-col>
177
      </c-col>
liuxin committed
178 179


180 181 182 183 184
      <c-col :span="24">
        <el-form-item label="指令代码" prop="cpdgrp.rec.f23e">
          <c-input v-model="model.cpdgrp.rec.f23e" maxlength="35" placeholder="请输入指令代码"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
185

186 187 188 189 190 191 192 193
      <c-col :span="24">
        <c-col :span="13">
          <el-form-item label="原始金额" prop="cpdgrp.rec.curf33b">
            <c-select v-model="model.cpdgrp.rec.curf33b" style="width: 100%" placeholder="" :disabled=this.flag3>
              <el-option v-for="item in codes.currencycode" :key="item.value" :label="item.value+item.label"
                :value="item.value"></el-option>
            </c-select>
          </el-form-item>
194
        </c-col>
195 196 197 198 199 200 201
        <c-col :span="11">
          <el-form-item label="" label-width="8px" prop="cpdgrp.rec.amtf33b">
            <!-- :disabled="model.cpdgrp.orc.pts.extkey != '' && model.cpdgrp.pye.pts.extkey != ''"  -->
            <c-input v-model="model.cpdgrp.rec.amtf33b" placeholder="请输入原始金额" :disabled=this.flag3></c-input>
          </el-form-item>
        </c-col>
      </c-col>
liuxin committed
202

203 204 205 206 207
      <c-col :span="24">
        <el-form-item label="汇率" prop="cpdgrp.rec.f36">
          <c-input v-model="model.cpdgrp.rec.f36" placeholder="" :disabled=this.flag3></c-input>
        </el-form-item>
      </c-col>
liuxin committed
208

209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
      <c-col :span="24">
        <c-col :span="13">
          <el-form-item label="发报行扣费金额" prop="cpdgrp.rec.cur71f">
            <c-select v-model="model.cpdgrp.rec.cur71f" placeholder="" style="width: 100%" :disabled=this.flag3>
              <el-option v-for="item in codes.currencycode" :key="item.value" :label="item.value+item.label"
                :value="item.value"></el-option>
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="11">
          <el-form-item label="" label-width="8px" prop="cpdgrp.rec.amt71f">
            <c-input v-model="model.cpdgrp.rec.amt71f" placeholder="请输入发报行扣费金额" :disabled=this.flag3></c-input>
          </el-form-item>
        </c-col>
      </c-col>
224

225 226 227 228 229
      <c-col :span="24">
        <el-form-item label="银行操作码" prop="cpdgrp.rec.f23b">
          <c-input v-model="model.cpdgrp.rec.f23b" maxlength="4" placeholder=""></c-input>
        </el-form-item>
      </c-col>
230

231 232 233 234 235
      <c-col :span="24">
        <el-form-item label="账号" prop="cpdgrp.rec.pyeact">
          <c-input v-model="model.cpdgrp.rec.pyeact" maxlength="35" placeholder="请输入账号"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
236

237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
      <c-col :span="24">
        <c-fullbox>
          <el-form-item label="收款人" prop="cpdgrp.pye.pts.extkey">
            <c-input v-model="model.cpdgrp.pye.pts.extkey" maxlength="14" placeholder="请输入收款人" @keyup.enter.native="
                showGridPromptDialog('cpdgrp.pye.pts.extkey')
            "></c-input>
          </el-form-item>
          <template slot="footer">
            <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search">
            </c-button>

            <c-button style="margin:0 0" size="small" type="primary" @click="onSndpDet" disabled>
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
liuxin committed
254

255 256 257 258 259 260 261
      <c-col :span="24">
        <el-form-item label="" prop="cpdgrp.pye.pts.adrblk">
          <c-input type="textarea" :rows="4" maxlength="140" v-model="model.cpdgrp.pye.pts.adrblk" show-word-limit
            placeholder="请输入Address Block" disabled></c-input>
        </el-form-item>
      </c-col>
    </c-col>
262

263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
    <c-col :span="11" :offset="1" v-if="
        root.trnName === 'cptopn'
            ? model.cpdgrp.rec.swftyp === '200'
            : model.cpdgrp.rec.swftyp === '202' ||
              model.cpdgrp.rec.swftyp === '200'
    " style="margin-top: 10px">
      <c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
        <c-fullbox>
          <el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey">
            <c-input placeholder="请输入发报行" disabled v-model="model.cpdgrp.snd.pts.extkey"
              @keyup.enter.native="showGridPromptDialog('cpdgrp.snd.pts.extkey')"></c-input>
          </el-form-item>
          <template slot="footer">
            <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search">
            </c-button>

            <c-button style="margin:0 0" size="small" type="primary" @click="onSndpDet" disabled>
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
285

286 287 288 289 290 291
      <c-col :span="24" v-if="this.model.cptp.liqtyp != 'C'">
        <el-form-item label="" prop="cpdgrp.snd.pts.adrblk">
          <c-input type="textarea" :rows="4" maxlength="140" show-word-limit placeholder="请输入Address Block"
            v-model="model.cpdgrp.snd.pts.adrblk" disabled></c-input>
        </el-form-item>
      </c-col>
liuxin committed
292

293

294 295
      <!--清算模式(代理行模式)报文类型Mt202-->
      <c-col :span="24" v-if="this.model.cptp.liqtyp == 'C'">
liuxin committed
296
        <c-col :span="24">
297 298 299 300 301 302
          <el-form-item label="清算代理行">
            <c-select v-model="model.cptp.cleage" style="width: 70%" placeholder="请选择清算代理行"
              @change="commonExecuteRule('cptp.cleage')">
              <el-option v-for="item in cleageOptions" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </c-select>
liuxin committed
303 304 305 306
          </el-form-item>
        </c-col>

        <c-col :span="24">
307 308 309 310
          <el-form-item label="光大开户分行">
            <c-select v-model="model.cptp.evebch" style="width: 100%" placeholder="请选择光大开户分行">
            </c-select>
          </el-form-item>
liuxin committed
311 312
        </c-col>

313
        <c-col :span="24">
314 315 316
          <el-form-item label="清算代理行账号">
            <c-input v-model="model.cptp.coract" maxlength="32" style="width: 90%" placeholder="请输入清算代理行账号" disabled>
            </c-input>
liuxin committed
317 318
          </el-form-item>
        </c-col>
319
      </c-col>
liuxin committed
320

321 322 323 324 325 326 327
      <c-col :span="24">
        <el-form-item label="收款人" prop="cpdgrp.pye.pts.extkey">
          <c-input v-model="model.cpdgrp.pye.pts.extkey" maxlength="14" placeholder="请输入收款人" @keyup.enter.native="
              showGridPromptDialog('cpdgrp.pye.pts.extkey')
          "></c-input>
        </el-form-item>
      </c-col>
liuxin committed
328

329 330 331 332 333
      <c-col :span="24">
        <el-form-item label="账号" prop="cpdgrp.rec.pyeact">
          <c-input v-model="model.cpdgrp.rec.pyeact" maxlength="35" placeholder="请输入账号"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
334

335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352
      <c-col :span="24">
        <c-fullbox>
          <el-form-item label="">
            <c-input v-model="model.cpdgrp.pye.pts.extkey" placeholder="请输入收款人客户号" @keyup.enter.native="
                showGridPromptDialog('cpdgrp.pye.pts.extkey')
            ">
            </c-input>
          </el-form-item>
          <template slot="footer">
            <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search">
            </c-button>

            <c-button style="margin:0 0" size="small" type="primary" @click="onSndpDet" disabled>
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
liuxin committed
353

354 355 356 357 358 359
      <c-col :span="24">
        <el-form-item label="">
          <c-input type="textarea" :rows="4" maxlength="140" v-model="model.cpdgrp.pye.pts.adrblk" show-word-limit
            placeholder="请输入Address Block"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
360 361
    </c-col>

362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378
    <c-col :span="11" :offset="1" v-if="model.cpdgrp.rec.swftyp === 'OTH'" style="margin-top: 10px">
      <c-col :span="24">
        <c-fullbox>
          <el-form-item label="发报行" prop="cpdgrp.snd.pts.extkey">
            <c-input placeholder="请输入发报行" disabled v-model="model.cpdgrp.snd.pts.extkey"
              @keyup.enter.native="showGridPromptDialog('cpdgrp.snd.pts.extkey')"></c-input>
          </el-form-item>
          <template slot="footer">
            <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search">
            </c-button>

            <c-button style="margin:0 0" size="small" type="primary" @click="onSndpDet" disabled>
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
liuxin committed
379

380 381 382 383 384 385
      <c-col :span="24">
        <el-form-item label="" prop="cpdgrp.snd.pts.adrblk">
          <c-input type="textarea" :rows="4" maxlength="140" show-word-limit placeholder="请输入Address Block"
            v-model="model.cpdgrp.snd.pts.adrblk" disabled></c-input>
        </el-form-item>
      </c-col>
liuxin committed
386

387 388 389 390 391
      <c-col :span="24">
        <el-form-item label="付款详情" prop="cpdgrp.blk.contag70">
          <c-input type="textarea" placeholder="" readonly rows="3" v-model="model.cpdgrp.blk.contag70"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
392

393 394 395 396 397
      <c-col :span="24">
        <el-form-item label="收款人Ref." prop="cpdgrp.pye.pts.ref">
          <c-input v-model="model.cpdgrp.pye.pts.ref" maxlength="16" placeholder=""></c-input>
        </el-form-item>
      </c-col>
liuxin committed
398

399 400 401 402 403
      <c-col :span="24">
        <el-form-item label="账号" prop="cpdgrp.rec.pyeact">
          <c-input v-model="model.cpdgrp.rec.pyeact" maxlength="35" placeholder="请输入账号"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
404

405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421
      <c-col :span="24">
        <c-fullbox>
          <el-form-item label="" prop="cpdgrp.pye.pts.extkey">
            <c-input v-model="model.cpdgrp.pye.pts.extkey" placeholder="请输入收款人客户号" @keyup.enter.native="
                showGridPromptDialog('cpdgrp.pye.pts.extkey')
            ">
            </c-input>
          </el-form-item>
          <template slot="footer">
            <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search">
            </c-button>
            <c-button style="margin:0 0" size="small" type="primary" @click="onSndpDet">
              详情
            </c-button>
          </template>
        </c-fullbox>
      </c-col>
liuxin committed
422

423 424 425 426 427 428
      <c-col :span="24">
        <el-form-item label="" prop="cpdgrp.pye.pts.adrblk">
          <c-input type="textarea" :rows="4" maxlength="140" v-model="model.cpdgrp.pye.pts.adrblk" show-word-limit
            placeholder="请输入Address Block"></c-input>
        </el-form-item>
      </c-col>
liuxin committed
429 430
    </c-col>

431 432 433 434 435
    <el-dialog :fullscreen="true" :visible.sync="infptaVisible" top="10vh" width="80%" custom-class="infptaDialog"
      :before-close="handleClose">
      <Infpta></Infpta>
    </el-dialog>
  </c-col>
liuxin committed
436 437 438
</template>

<script>
wangren committed
439
import commonProcess from "~/mixin/commonProcess";
440
import Utils from "~/utils";
liuxin committed
441
export default {
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
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      cleageOptions: [
        { label: 'BKCHHKHHXXX', value: 'BKCHHKHHXXX' },
        { label: 'CCBQHKAXXXX', value: 'CCBQHKAXXXX' },
        { label: 'EVERHKHHXXX', value: 'EVERHKHHXXX' },
        { label: 'KWHKHKHHXXX', value: 'KWHKHKHHXXX' },
        { label: 'NYCBHKHHXXX', value: 'NYCBHKHHXXX' },
        { label: 'WUBAHKHHXXX', value: 'WUBAHKHHXXX' },
      ],
      infptaVisible: false,
      flag1: true,
      flag3: false,
      bustyp: [
        { label: 'GODX', value: '货期贸易' },
        { label: 'STRX', value: '服务贸易' },
        { label: 'CTFX', value: '资本项下' },
        { label: 'FTFX', value: '金融机构头寸调拨' },
        { label: 'BDES', value: '债卷还本利息' },
        { label: 'BPRR', value: '债卷还本金' },
        { label: 'BINP', value: '债卷利息' },
        { label: 'BISF', value: '债卷发行手续费' },
        { label: 'BCAF', value: '债卷兑付手续费' },
        { label: 'CBCF', value: '附息式债卷兑付手续费' },
        { label: 'OTFX', value: '其他' },
      ],
    };
  },
  watch: {
    "model.cptp.qsfysd": function () {
      if (this.model.cptp.qsfysd == '') {
        this.model.cptp.fwtgyh == '';
      } else {
        this.model.cptp.fwtgyh = 'CHASUS33XXX';
        console.log(this.model.cptp.fwtgyh)
      }
liuxin committed
481
    },
482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513
    "model.cpdgrp.rec.swftyp": function () {
      console.log(this.model.cpdgrp.rec.swftyp);
      if (this.model.cpdgrp.rec.swftyp == '') {
        this.flag1 = true;
      } else {
        this.flag1 = false;
      }
    },
    "model.cpdgrp.rec.swftyp": {
      immediate: true,
      handler(val, oldVal) {
        if (this.model.cpdgrp.rec.swftyp == "CIU") {
          this.bustyp = [
            { label: 'GODX', value: '货期贸易' },
            { label: 'STRX', value: '服务贸易' },
            { label: 'CTFX', value: '资本项下' },
            { label: 'OTFX', value: '其他' },
          ]
        } else if (this.model.cpdgrp.rec.swftyp == "CIV") {
          this.bustyp = [
            { label: 'GODX', value: '货期贸易' },
            { label: 'STRX', value: '服务贸易' },
            { label: 'CTFX', value: '资本项下' },
            { label: 'FTFX', value: '金融机构头寸调拨' },
            { label: 'BDES', value: '债卷还本利息' },
            { label: 'BPRR', value: '债卷还本金' },
            { label: 'BINP', value: '债卷利息' },
            { label: 'BISF', value: '债卷发行手续费' },
            { label: 'BCAF', value: '债卷兑付手续费' },
            { label: 'CBCF', value: '附息式债卷兑付手续费' },
            { label: 'OTFX', value: '其他' },
          ]
514 515
        }
      }
516 517 518 519 520 521 522 523 524 525 526 527 528
    }

  },
  watch: {
    //通过账号、收款人账号控制原始金额、发报行扣费金额、汇率
    "model.cpdgrp.pye.pts.extkey": {
      immediate: true,
      handler(val, oldVal) {
        if (this.model.cpdgrp.pye.pts.extkey != '' && this.model.cpdgrp.rec.swftyp != '') {
          this.flag3 = true;
        }
        else {
          this.flag3 = false;
529

530 531
        }
      }
liuxin committed
532
    },
533 534 535 536 537 538 539 540
    "model.cpdgrp.rec.swftyp": {
      immediate: true,
      handler(val, oldVal) {
        if (this.model.cpdgrp.pye.pts.extkey != '' && this.model.cpdgrp.rec.swftyp != '') {
          this.flag3 = true;
        }
        else {
          this.flag3 = false;
541

542 543 544 545 546 547 548 549 550 551
        }
      }
    },
  },
  methods: {
    onSndpDet() {
      this.$emit("onSndpDet");
    },
    onCptpGetInfpta() {
      this.infptaVisible = true;
552
    },
553 554
    handleClose(done) {
      done();
liuxin committed
555
    },
556 557 558 559 560 561 562 563 564 565 566 567
    pyenamEvent() {
      this.executeRule("pyenam").then(res => {
      })
    },
    commonExecuteRule(ruleName) {
      this.executeRule(ruleName).then((res) => {
        if ((res.respCode == SUCCESS)) {
          Utils.copyValueFromVO(this.model, res.data);
        }
      });
    },
  },
liuxin committed
568 569 570
};
</script>

571 572 573
<style>

</style>