Bptset2.vue 16.2 KB
Newer Older
wanggang_yf committed
1 2 3 4 5 6 7
<template>
  <div class="eibs-tab">
      <!-- =================顶部====================== -->
       <c-row>
            <!--line1-->
            <c-col :span="24">
                <c-col :span="11">
wangna committed
8
                    <el-form-item label="票据项下的业务号" prop="bpdgrp.rec.pntref" style="width: 100%">
wanggang_yf committed
9
                        <c-fullbox>
wangna committed
10
                            <c-input v-model="model.bpdgrp.rec.pntref" maxlength="16" placeholder="请输入票据项下的业务号" disabled></c-input>
wanggang_yf committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
                            <template slot="footer">
                                <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
                                    <span style="font-family: '宋体'; font-weight: bold">i</span>
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>

                <c-col :span="1">
                    <el-form-item label="" prop="" style="width: 100%">

                    </el-form-item>
                </c-col>

                <c-col :span="12">
wangna committed
27
                    <el-form-item label="票据项下的名称" prop="bpdgrp.rec.pntnam" style="width: 100%">
wanggang_yf committed
28 29 30 31 32 33 34 35 36 37 38
                        <c-fullbox>
                            <c-input v-model="model.bpdgrp.rec.pntnam" maxlength="16" placeholder="" disabled></c-input>
                            <template slot="footer"> </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
            </c-col>

            <!--line2-->
            <c-col :span="24">
                <c-col :span="11">
wangna committed
39
                    <el-form-item label="融资业务号" prop="bpdgrp.rec.ownref" style="width: 100%">
wanggang_yf committed
40
                        <c-fullbox>
wangna committed
41
                            <c-input v-model="model.bpdgrp.rec.ownref" maxlength="16" placeholder="请输入融资业务号" disabled></c-input>
wanggang_yf committed
42 43 44 45 46 47 48 49 50 51 52 53
                            <template slot="footer">
                                <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
                                    <span style="font-family: '宋体'; font-weight: bold">i</span>
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>

                </c-col>

                <c-col :span="1">
                    <c-button size="small" type="primary" @click="onBptmodButgetref()">
wangna committed
54
                        获取
wanggang_yf committed
55 56 57 58
                    </c-button>
                </c-col>

                <c-col :span="12">
wangna committed
59
                    <el-form-item label="融资名称" prop="bpdgrp.rec.nam" style="width: 100%">
wanggang_yf committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
                        <c-fullbox>
                            <c-input v-model="model.bpdgrp.rec.nam" maxlength="16" placeholder="" disabled></c-input>
                            <template slot="footer"> </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
            </c-col>

            <!--line3-->
            <c-col :span="24">

                <c-col :span="1">
                    <el-form-item label="" prop="" style="width: 100%">

                    </el-form-item>
                </c-col>

            </c-col>
       </c-row>
      <!-- =================中部====================== -->
      <c-row>
          <!--  左        -->
          <c-col :span="12">
              <!-- Type of Advance 预付款类型-->
           <c-col :span="12">
            <el-form-item label="预付款类型" prop="bpdgrp.rec.fintyp">
86 87 88 89 90 91 92 93 94
                    <c-select v-model="model.bpdgrp.rec.fintyp" style="width: 100%" placeholder="请选择预付款类型" disabled>
                             <el-option
                               v-for="item in codes.fintyp_bpd"
                               :key="item.value"
                               :label="item.label"
                               :value="item.value"
                             >
                             </el-option>
                    </c-select>
wanggang_yf committed
95 96 97 98 99
            </el-form-item>
           </c-col>
           <!-- Advanced Party Ref.  融资业务编号-->
           <c-col :span="12">
                <c-form-item label="融资业务编号" prop="bpdgrp.rec.ownref">
100
                    <c-input  v-model="model.bpdgrp.rec.ownref" maxlength="17"  :placeholder="$t('other.please_enter')+'融资业务编号'" disabled></c-input>
wanggang_yf committed
101 102 103 104 105
                </c-form-item>
           </c-col>
           <!-- Advance Amount 融资账号-->
           <c-col :span="12">
                <c-form-item label="融资账号" prop="bpdgrp.rec.finact">
106
                    <c-input  v-model="model.bpdgrp.rec.finact" maxlength="17"  :placeholder="$t('other.please_enter')+'融资账号'" disabled></c-input>
wanggang_yf committed
107 108 109 110 111
                </c-form-item>
           </c-col>
            <c-row>
                <c-col :span="12">
                    <el-form-item label="起息日期" prop="bpdgrp.rec.opndat">
112
                        <c-date-picker type="date" v-model="model.bpdgrp.rec.opndat" style="width: 100%" placeholder="请选择起息日期" disabled></c-date-picker>
wanggang_yf committed
113 114 115 116 117
                    </el-form-item>
                </c-col>

                <c-col :span="12">
                    <el-form-item label="到期日" prop="bpdgrp.rec.matdat">
118
                        <c-date-picker type="date" v-model="model.bpdgrp.rec.matdat" style="width: 100%" placeholder="请选择到期日" disabled></c-date-picker>
wanggang_yf committed
119 120 121
                    </el-form-item>
                </c-col>
            </c-row>
122
           <!-- 福费廷转卖类型 ffttyp ffttyp1-->
wanggang_yf committed
123 124
           <c-col :span="12">
                <c-form-item label="福费廷转卖类型" prop="bpdgrp.rec.ffttyp">
125 126 127
                    <c-select v-model="model.bpdgrp.rec.ffttyp" style="width: 100%" placeholder="福费廷转卖类型" >
                        <el-option v-for="item in codes.ffttyp1" :key="item.value" :label="item.label" :value="item.value"/>
                    </c-select>
wanggang_yf committed
128 129 130 131 132
                </c-form-item>
           </c-col>
           <!-- 我行借记账户 setact1-->
           <c-col :span="12">
                <c-form-item label="我行借记账户" prop="setact1">
133
                    <c-input  v-model="model.bpdgrp.rec.fincod" maxlength="17"  :placeholder="$t('other.please_enter')+'我行借记账户'" disabled></c-input>
wanggang_yf committed
134 135 136 137 138 139 140
                </c-form-item>
           </c-col>
          </c-col>
          <!--      右-->
          <c-col :span="12">
                <c-col :span="24">
                    <c-ptap :model="model" :argadr="{title: '融资客户',grp: 'bpdgrp',rol: 'fia',}"
141
                             :isAdrblk="true" @onSeainf="onSeainf()" @onFiapDet="onFiapDet()"  disabled>
wanggang_yf committed
142 143 144 145 146 147 148 149 150
                    </c-ptap>
                </c-col>
            </c-col>
      </c-row>
      <!-- =================下部====================== -->
       <c-row>
           <!-- S0000085 : 借据号 -->
           <c-col :span="12">
                <c-form-item label="借据号" prop="bpdgrp.rec.fincod">
151
                    <c-input  v-model="model.bpdgrp.rec.fincod" maxlength="17"  :placeholder="$t('other.please_enter')+'借据号'" disabled></c-input>
wanggang_yf committed
152 153 154 155 156
                </c-form-item>
           </c-col>

           <c-col :span="12">
                <c-form-item label="抹账" prop="mtabut.clsflg">
157
                    <c-checkbox v-model="model.mtabut.clsflg" maxlength="17"  disabled/>
wanggang_yf committed
158 159 160 161 162 163 164 165 166 167 168 169 170
                </c-form-item>

           </c-col>

<!--           还本金金额-->
           <c-col :span="12">
                <c-form-item label="还本金金额" prop="bptmod.finmod.cbs.calflg">
                    <c-input  v-model="model.bptmod.finmod.cbs.calflg" maxlength="21"  placeholder="请输入还本金金额"></c-input>
                </c-form-item>
           </c-col>

           <c-col :span="12">
                <c-form-item label="第一还款账号" prop="bptmod.finmod.act1">
171
                    <c-input  v-model="model.bptmod.finmod.act1" maxlength="21"  placeholder="请输入第一还款账号"  disabled></c-input>
wanggang_yf committed
172 173 174 175 176
                </c-form-item>
           </c-col>
           <!-- SG000098 : 还款方式 -->
           <c-col :span="12">
                <el-form-item label="还款方式" prop="bptmod.finmod.reptyp">
177 178 179
                    <c-select v-model="model.bptmod.finmod.reptyp" style="width: 100%" placeholder="还款方式" >
                        <el-option v-for="item in codes.reptyp" :key="item.value" :label="item.label" :value="item.value"/>
                    </c-select>
wanggang_yf committed
180
                </el-form-item>
181

wanggang_yf committed
182 183 184 185
           </c-col>
           <!-- SG000119 : 第三方还款方式 -->
           <c-col :span="12">
                <el-form-item label="第三方还款方式" prop="bptmod.finmod.acttyp">
186 187
                    <c-input v-model="model.bptmod.finmod.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'第三方还款方式'"  disabled>
                      </c-input>
wanggang_yf committed
188 189 190 191 192
                </el-form-item>
           </c-col>
           <!-- SG000120 : 第三方还款账号 -->
           <c-col :span="12">
                <c-form-item label="第三方还款账号" prop="bptmod.finmod.act3">
193
                    <c-input  v-model="model.bptmod.finmod.act3" maxlength="21"  :placeholder="$t('other.please_enter')+'第三方还款账号'"  disabled></c-input>
wanggang_yf committed
194 195 196 197 198
                </c-form-item>
           </c-col>
           <!-- SG000099 : 表外欠息利息 -->
           <c-col :span="12">
                <c-form-item label="表外欠息利息" prop="bptmod.finmod.cbs.cbb.intamt1">
199
                    <c-input  v-model="model.bptmod.finmod.cbs.cbb.intamt1"  :placeholder="$t('other.please_enter')+'表外欠息利息'"  disabled></c-input>
wanggang_yf committed
200 201 202 203 204
                </c-form-item>
           </c-col>
           <!-- SG000105 : 偿还表外欠息利息 -->
           <c-col :span="12">
                <c-form-item label="偿还表外欠息利息" prop="bptmod.finmod.cbs.cbe.intamt1">
205
                    <c-input  v-model="model.bptmod.finmod.cbs.cbe.intamt1"  :placeholder="$t('other.please_enter')+'偿还表外欠息利息'"  disabled></c-input>
wanggang_yf committed
206 207 208 209 210
                </c-form-item>
           </c-col>
           <!-- SG000100 : 表外欠息 -->
           <c-col :span="12">
                <c-form-item label="表外本年欠息" prop="bptmod.finmod.cbs.cbb.intamty1">
211
                    <c-input  v-model="model.bptmod.finmod.cbs.cbb.intamty1"  :placeholder="$t('other.please_enter')+'表外本年欠息'"  disabled></c-input>
wanggang_yf committed
212 213 214 215 216
                </c-form-item>
           </c-col>
           <!-- SG000106 : 偿还表外欠息 -->
           <c-col :span="12">
                <c-form-item label="偿还表外欠息" prop="bptmod.finmod.cbs.cbe.intamty1">
217
                    <c-input  v-model="model.bptmod.finmod.cbs.cbe.intamty1"  :placeholder="$t('other.please_enter')+'偿还表外欠息'" disabled></c-input>
wanggang_yf committed
218 219 220 221 222
                </c-form-item>
           </c-col>
           <!-- SG000101 : 表内欠息利息 -->
           <c-col :span="12">
                <c-form-item label="表内欠息利息" prop="bptmod.finmod.cbs.cbb.intamt2">
223
                    <c-input  v-model="model.bptmod.finmod.cbs.cbb.intamt2"  :placeholder="$t('other.please_enter')+'表内欠息利息'" disabled></c-input>
wanggang_yf committed
224 225 226 227 228
                </c-form-item>
           </c-col>
           <!-- SG000107 : 偿还表内欠息利息 -->
           <c-col :span="12">
                <c-form-item label="偿还表内欠息利息" prop="bptmod.finmod.cbs.cbe.intamt2">
229
                    <c-input  v-model="model.bptmod.finmod.cbs.cbe.intamt2"  :placeholder="$t('other.please_enter')+'偿还表内欠息利息'" disabled></c-input>
wanggang_yf committed
230 231 232 233 234
                </c-form-item>
           </c-col>
           <!-- SG000102 : 表内欠息 -->
           <c-col :span="12">
                <c-form-item label="表内欠息" prop="bptmod.finmod.cbs.cbb.intamty2">
235
                    <c-input  v-model="model.bptmod.finmod.cbs.cbb.intamty2"  :placeholder="$t('other.please_enter')+'表内欠息'" disabled></c-input>
wanggang_yf committed
236 237 238 239 240
                </c-form-item>
           </c-col>
           <!-- SG000108 : 偿还表内欠息 -->
           <c-col :span="12">
                <c-form-item label="偿还表内欠息" prop="bptmod.finmod.cbs.cbe.intamty2">
241
                    <c-input  v-model="model.bptmod.finmod.cbs.cbe.intamty2"  :placeholder="$t('other.please_enter')+'偿还表内欠息'" disabled></c-input>
wanggang_yf committed
242 243 244 245 246
                </c-form-item>
           </c-col>
           <!-- SG000103 : 本金利息 -->
           <c-col :span="12">
                <c-form-item label="本金利息" prop="bptmod.finmod.cbs.cbb.intamt">
247
                    <c-input  v-model="model.bptmod.finmod.cbs.cbb.intamt"  :placeholder="$t('other.please_enter')+'本金利息'" disabled></c-input>
wanggang_yf committed
248 249 250 251 252
                </c-form-item>
           </c-col>
           <!-- SG000109 : 偿还本金利息 -->
            <c-col :span="12">
                <c-form-item label="偿还本金利息" prop="bptmod.finmod.cbs.cbe.intamt">
253
                    <c-input  v-model="model.bptmod.finmod.cbs.cbe.intamt"  :placeholder="$t('other.please_enter')+'偿还本金利息'" disabled></c-input>
wanggang_yf committed
254 255 256 257 258
                </c-form-item>
            </c-col>
            <!-- SG000104 : 本金 -->
            <c-col :span="12">
                <c-form-item label="本金" prop="bptmod.finmod.cbs.cbb.amt">
259
                    <c-input  v-model="model.bptmod.finmod.cbs.cbb.amt"  :placeholder="$t('other.please_enter')+'本金'" disabled></c-input>
wanggang_yf committed
260 261 262 263 264
                </c-form-item>
            </c-col>
            <!-- SG000110 : 偿还本金 -->
            <c-col :span="12">
                <c-form-item label="偿还本金" prop="bptmod.finmod.cbs.cbe.amt">
265
                    <c-input  v-model="model.bptmod.finmod.cbs.cbe.amt"  :placeholder="$t('other.please_enter')+'偿还本金'" disabled></c-input>
wanggang_yf committed
266 267 268 269 270
                </c-form-item>
            </c-col>
            <!-- SG000117 : 融资状态 -->
            <c-col :span="12">
                <el-form-item label="融资状态" prop="bpdgrp.rec.ovdflg">
271
                    <c-select v-model="model.bpdgrp.rec.ovdflg" style="width:100%" :placeholder="$t('other.please_enter')+'融资状态'" disabled></c-select>
wanggang_yf committed
272 273 274 275 276
                </el-form-item>
            </c-col>
            <!-- SG000116 : 偿还利息总额 -->
            <c-col :span="12">
                <c-form-item label="偿还利息总额" prop="bptmod.finmod.cbs.totint">
277
                    <c-input  v-model="model.bptmod.finmod.cbs.totint"  :placeholder="$t('other.please_enter')+'偿还利息总额'" disabled></c-input>
wanggang_yf committed
278 279 280 281 282
                </c-form-item>
            </c-col>
            <!-- SG000124 : 计息周期 -->
            <c-col :span="12">
                <el-form-item label="计息周期" prop="bptmod.finmod.intprd">
283
                    <c-select v-model="model.bptmod.finmod.intprd" style="width:100%" :placeholder="$t('other.please_enter')+'计息周期'" disabled></c-select>
wanggang_yf committed
284 285 286 287 288
                </el-form-item>
            </c-col>
            <!-- SG000118 : 执行利率 -->
            <c-col :span="12">
                <c-form-item label="执行利率" prop="bpdgrp.rec.tolrat">
289
                    <c-input  v-model="model.bpdgrp.rec.tolrat"  :placeholder="$t('other.please_enter')+'执行利率'" disabled></c-input>
wanggang_yf committed
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
                </c-form-item>
            </c-col>
       </c-row>

  </div>
</template>

<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bptset/Event"
import Ptap from "~/views/Public/Ptap";
export default {
    components: {
        "c-ptap": Ptap
    },
    inject: ["root"],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
311 312 313 314 315 316 317 318 319 320 321 322
        return {
            selectData1: [
                {
                    name: '全额偿还本金和利息',
                    value: 1
                },
                {
                    name: '部分偿还本金和利息',
                    value: 2
                }
            ]
        };
wanggang_yf committed
323 324 325 326 327 328 329
    },
    methods: {
        // ...Event
        onSeainf(data) {
            this.$emit("onSeainf", data);
        },
    },
330 331 332 333
    created () {
        // 初始化下拉框
        // this.selValue = this.selectData[1].value
    },
wanggang_yf committed
334 335 336 337 338 339
};
</script>
<style>

</style>