Dftcrep.vue 14.8 KB
Newer Older
“yanyuxin” committed
1
<template>
2 3 4
  <div class="eibs">
        <!-- ==================左边================ -->
        <c-col :span="12" style="padding-right: 20px;">
5
        <c-col :span="24">
wangna committed
6
          <c-form-item label="票据项下的业务号" prop="dftcre.dfdgrp.rec.pntref">
7 8 9 10 11
            <c-input
              v-model="model.dftcre.dfdgrp.rec.pntref"
              maxlength="16"
              :disabled="true"
              style="width: 100%"
wangna committed
12
              placeholder="请输入票据项下的业务号"
13 14 15
            ></c-input>
          </c-form-item>
        </c-col>
“yanyuxin” committed
16

17 18 19 20 21 22 23 24 25 26 27 28 29 30
        <c-col :span="24">
          <c-form-item label="代付业务编号" prop="dftcre.dfdgrp.rec.ownref">
            <c-fullbox>
              <c-input
                v-model="model.dftcre.dfdgrp.rec.ownref"
                maxlength="16"
                placeholder="请输入代付业务编号"
                style="width: 76%"
                :disabled="true"
              ></c-input>
              <c-button
                size="small"
                type="primary"
                :disabled="model.trdgrp.fip.pts.adrblk == ''"
“yanyuxin” committed
31
                @click="onDftpButgetref"
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
              >
                Get Ref
              </c-button>
            </c-fullbox>
          </c-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="单据金额" prop="dftcre.oricur">
            <c-fullbox>
              <c-select
                v-model="model.trdgrp.cbs.max.cur"
                style="width: 35%"
                @keyup.enter.native="maxCurEvent"
                :disabled="true"
              >
              </c-select>
“yanyuxin” committed
48

49 50 51 52 53 54 55 56 57
              <c-input
                v-model="model.trdgrp.cbs.max.amt"
                style="text-align: left; width: 65%"
                placeholder=""
                :disabled="true"
              ></c-input>
            </c-fullbox>
          </el-form-item>
        </c-col>
“yanyuxin” committed
58

59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
        <c-col :span="24">
          <el-form-item label="代付金额" prop="dftcre.dfdgrp.cbs.max.cur">
            <c-fullbox>
              <c-select
                v-model="model.dftcre.dfdgrp.cbs.max.cur"
                style="width: 35%"
                @keyup.enter.native="maxCurEvent"
                placeholder="请选择币种"
              >
                <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
              <c-input
                v-model="model.dftcre.dfdgrp.cbs.max.amt"
                style="text-align: left; width: 65%"
                placeholder="请输入代付金额"
              ></c-input>
            </c-fullbox>
          </el-form-item>
        </c-col>
“yanyuxin” committed
83

84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
        <c-col :span="24">
          <el-form-item label="代付余额" prop="dftcre.dfdgrp.cbs.opn1.cur">
            <c-fullbox>
              <c-select
                v-model="model.dftcre.dfdgrp.cbs.opn1.cur"
                style="width: 35%"
                @keyup.enter.native="maxCurEvent"
                :disabled="true"
              >
                <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                  :disabled="true"
                ></el-option>
              </c-select>
“yanyuxin” committed
101

102 103 104 105 106 107 108 109 110
              <c-input
                v-model="model.dftcre.dfdgrp.cbs.opn1.amt"
                style="text-align: left; width: 65%"
                placeholder="请输入代付余额"
                :disabled="true"
              ></c-input>
            </c-fullbox>
          </el-form-item>
        </c-col>
“yanyuxin” committed
111

112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
        <c-col :span="24">
          <el-form-item label="代付类型" prop="dftcre.dfdgrp.rec.fintyp">
            <c-select
              v-model="model.dftcre.dfdgrp.rec.fintyp"
              style="width: 100%"
              placeholder="请选择代付类型"
            >
              <el-option
                v-for="item in codes.fintyp"
                :key="item.value"
                :label="item.label"
                :value="item.value"
                :disabled="true"
              ></el-option>
            </c-select>
          </el-form-item>
        </c-col>
“yanyuxin” committed
129

130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
        <c-col :span="12">
          <el-form-item label="境内境外代付" prop="dftcre.dfdgrp.rec.dfuflg">
            <c-select
              v-model="model.dftcre.dfdgrp.rec.dfuflg"
              style="width: 100%"
              placeholder="请输入境外代付"
            >
              <el-option
                v-for="item in codes.dfuflg"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </c-select>
          </el-form-item>
        </c-col>
“yanyuxin” committed
146

147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
        <c-col :span="12">
          <el-form-item label="发票类型" prop="dftcre.dfdgrp.rec.invtyp">
            <c-select
              v-model="model.dftcre.dfdgrp.rec.invtyp"
              style="width: 100%"
              placeholder="请选择发票类型"
            >
              <el-option
                v-for="item in codes.invtyp"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </c-select>
          </el-form-item>
        </c-col>
“yanyuxin” committed
163

164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
        <c-col :span="24">
          <el-form-item label="交易类型" prop="dftcre.dfdgrp.rec.trntyp">
            <c-select
              v-model="model.dftcre.dfdgrp.rec.trntyp"
              style="width: 100%"
              :disabled="true"
              placeholder="请输入交易类型"
            >
              <el-option
                v-for="item in codes.trntyp"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </c-select>
          </el-form-item>
        </c-col>
“yanyuxin” committed
181

182 183 184 185 186 187 188 189 190 191
        <c-col :span="24">
          <el-form-item label="代付起始日" prop="dftcre.dfdgrp.rec.stttendat">
            <c-date-picker
              type="date"
              v-model="model.dftcre.dfdgrp.rec.stttendat"
              style="width: 100%"
              placeholder="代付起始日"
            ></c-date-picker>
          </el-form-item>
        </c-col>
“yanyuxin” committed
192

193 194 195 196 197 198 199 200 201 202
        <c-col :span="24">
          <el-form-item label="代付到期日" prop="dftcre.dfdgrp.rec.matdat">
            <c-date-picker
              type="date"
              v-model="model.dftcre.dfdgrp.rec.matdat"
              style="width: 100%"
              placeholder="请输入代付到期日"
            ></c-date-picker>
          </el-form-item>
        </c-col>
“yanyuxin” committed
203

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 236 237 238 239 240 241 242 243 244
        <c-col :span="24">
          <c-form-item label="代付期限" prop="dftcre.dfdgrp.rec.tenday">
            <c-input
              v-model="model.dftcre.dfdgrp.rec.tenday"
              placeholder="代付期限"
              :disabled="true"
            ></c-input>
          </c-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="计息周期" prop="dftcre.dfdgrp.rec.intprd">
            <c-select
              v-model="model.dftcre.dfdgrp.rec.intprd"
              style="width: 100%"
              placeholder="请选择计息周期"
            >
              <el-option
                v-for="item in codes.intprd"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-form-item label="代付利率" prop="dftcre.dfdgrp.rec.actrat">
            <c-input
              v-model="model.dftcre.dfdgrp.rec.actrat"
              placeholder="请输入代付利率"
            ></c-input>
          </c-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="利率浮动方式:" prop="dftcre.dfdgrp.rec.flttyp">
            <c-fullbox>
              <c-select
                v-model="model.dftcre.dfdgrp.rec.flttyp"
“yanyuxin” committed
245
                style="width: 30%"
246 247 248
                placeholder="利率浮动方式"
              >
                <el-option
“yanyuxin” committed
249
                  v-for="item in codes.flttyp1"
250 251 252 253 254 255 256
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
              <c-input
                v-model="model.dftcre.dfdgrp.rec.fltval"
“yanyuxin” committed
257
                style="width: 65%"
258
                placeholder="请输入浮动值"
“yanyuxin” committed
259
                :disabled="model.dftcre.dfdgrp.rec.flttyp == '0'|| model.dftcre.dfdgrp.rec.flttyp == '3'"
260
              ></c-input>
“yanyuxin” committed
261 262 263 264
              <span v-if="model.dftcre.dfdgrp.rec.flttyp == '2'"
              style="width: 5%">
                %
              </span>
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
            </c-fullbox>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="货押标识" prop="dftcre.dfdgrp.rec.guaflg">
            <c-select
              v-model="model.dftcre.dfdgrp.rec.guaflg"
              style="width: 100%"
              placeholder="请输入货押标识"
            >
              <el-option
                v-for="item in codes.guaflg"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </c-select>
          </el-form-item>
        </c-col>

“yanyuxin” committed
286
        <c-col :span="24">
287 288 289 290 291 292 293 294
          <c-form-item label="代付利息" prop="dftcre.dfdgrp.rec.resamt">
            <c-input
              v-model="model.dftcre.dfdgrp.rec.resamt"
              placeholder="代付利息"
            ></c-input>
          </c-form-item>
        </c-col>
      </c-col>
295 296
            <!-- ============右边================= -->
            <c-col :span="12" style="padding-left: 20px;">
297
        <c-col :span="24">
wangna committed
298
          <c-form-item label="简略信息" prop="dftcre.dfdgrp.rec.pntnam">
299 300 301 302
            <c-input
              v-model="model.dftcre.dfdgrp.rec.pntnam"
              maxlength="40"
              :disabled="true"
wangna committed
303
              placeholder="请输入简略信息"
304 305 306 307
            ></c-input>
          </c-form-item>
        </c-col>

“yanyuxin” committed
308
        <c-col :span="24">
309 310 311 312 313 314 315
          <c-form-item label="贷款合同名" prop="dftcre.dfdgrp.rec.nam">
            <c-input
              v-model="model.dftcre.dfdgrp.rec.nam"
              maxlength="40"
              :disabled="true"
            ></c-input>
          </c-form-item>
“yanyuxin” committed
316
        </c-col>
“yanyuxin” committed
317

318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
        <c-col :span="24">
          <c-ptap
            :model="model"
            :argadr="{
              title: '申请人',
              grp: 'trdgrp',
              rol: 'fip',
            }"
            :isAdrblk="true"
            :disabledExtkey="true"
            :disabled="true"
            :disabledRef="true"
            @onSeainf="onSeainf"
          >
          </c-ptap>
        </c-col>
“yanyuxin” committed
334

335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353
        <c-col :span="24">
          <c-form-item label="代付行参考号" prop="dftcre.dfdgrp.dff.pts.ref">
            <c-input
              :disabled="false"
              v-model="model.dftcre.dfdgrp.dff.pts.ref"
              placeholder="请输入代付行参考号"
            ></c-input>
          </c-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item
            label="代付行"
            prop="dftcre.dfdgrp.dff.pts.extkey"
            style="width: 100%"
          >
            <c-fullbox>
              <c-input
                :disabled="false"
                v-model="model.dftcre.dfdgrp.dff.pts.extkey"
wangna committed
354
                placeholder="请输入代付行"
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
                @keyup.enter.native="
                  showGridPromptDialog('dftcre.dfdgrp.dff.pts.extkey')
                "
                @change="valueChange"
              ></c-input>
              <template slot="footer">
                <c-button
                  :disabled="false"
                  style="margin: 0 10px 0 10px; padding: 0 12px"
                  size="small"
                  type="primary"
                  icon="el-icon-search"
                  @click="onSeainf('dftcre.dfdgrp.dff.pts.extkey')"
                >
                </c-button>
                <c-button
                  style="margin: 0 0"
                  size="small"
                  type="primary"
                  @click="onAplpDet"
                >
                  {{ $t("buttons.details") }}
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
“yanyuxin” committed
382

383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
        <c-col :span="24">
          <el-form-item
            :label="`代付行地址`"
            prop="dftcre.dfdgrp.dff.pts.adrelc`"
          >
            <c-input
              type="textarea"
              :rows="2"
              v-model="model.dftcre.dfdgrp.dff.pts.adrelc"
              placeholder="请输入代付行地址"
              :disabled="true"
              maxlength="35"
              show-word-limit
            ></c-input>
          </el-form-item>
        </c-col>

“yanyuxin” committed
400
        <c-col :span="24">
401 402 403 404 405 406 407 408 409 410
          <c-form-item label="代付行核心账号" prop="dftcre.dfdgrp.rec.bankno">
            <c-input
              v-model="model.dftcre.dfdgrp.rec.bankno"
              maxlength="16"
              placeholder="请输入代付行核心账号"
            ></c-input>
          </c-form-item>
        </c-col>

        <!-- S0000040 : 代付行中文名 -->
“yanyuxin” committed
411
        <c-col :span="24">
412 413 414 415 416 417 418 419
          <c-form-item label="代付行中文名" prop="dftcre.dfdgrp.rec.bankcn">
            <c-input
              v-model="model.dftcre.dfdgrp.rec.bankcn"
              maxlength="40"
              placeholder="请输入代付行中文名"
            ></c-input>
          </c-form-item>
        </c-col>
nanrui committed
420
        
“yanyuxin” committed
421
        <c-col :span="24">
422 423 424 425 426 427 428 429
          <c-form-item label="同业代付内部账号" prop="dftcre.dfdgrp.rec.bnkact">
            <c-input
              v-model="model.dftcre.dfdgrp.rec.bnkact"
              maxlength="32"
              placeholder="请输入同业代付内部号"
              :disabled="true"
            ></c-input>
          </c-form-item>
“yanyuxin” committed
430
        </c-col>
431 432 433 434 435 436 437
      </c-col>
      <c-grid-ety-prompt-dialog
        ref="etyDialog"
        :promptData="promptData"
        v-on:select-ety="selectEty"
      >
      </c-grid-ety-prompt-dialog>
“yanyuxin” committed
438 439 440
  </div>
</template>
<script>
441
import Api from "~/service/Api";
“yanyuxin” committed
442
import commonProcess from "~/mixin/commonProcess";
443 444
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
“yanyuxin” committed
445
import Ptap from "~/views/Public/Ptap";
“yanyuxin” committed
446 447

export default {
448 449 450 451 452 453 454 455 456
  components: { "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: {
    ...Event,
“yanyuxin” committed
457 458 459 460 461 462 463 464 465 466 467
    onSeainf(data) {
      this.$emit("onSeainf", data);
    },

    onAplpDet() {
      this.$emit("onAplpDet");
    },

    valueChange() {
      if (this.onlySearch) return;
    },
468 469 470
    created: function () {},
  },
};
“yanyuxin” committed
471
</script>
472
<style></style>