EquityPledgeAndMovablePropertyPledge.vue 17.7 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 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 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 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 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 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406
<template>
  <div class="d-page d-flex flex-column">
    <title-bar title="股权出质及动产质押" @clickLef="onClick">
      <van-icon slot="left" name="cross" size="24" />
    </title-bar>
    <div class="deal-with-bottom">
      <tab-nav :tabList="tabList" @tabClick="tabClick" />
    </div>
    <div class="h-scroller">
      <div v-show="active == 0">
      <!-- 股权 -->
        <anchor-nav ref="stockRigNavList" :navList="stockRigNavList">
          <!-- 股权出质-历史信息 -->
          <template slot="stockRightHisInfoList">
            <div class="content">
              <div class="customer-management-information-content">
                <!--股权出质-历史信息-->
                <div v-if="stockRightHisInfoList.length >0">
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width:5%">序号</td>
                      <td>质权出质设立登记日期</td>
                      <td>出质人姓名</td>
                      <td>出质人股权数额</td>
                      <td>质权人姓名</td>
                      <td>状态</td>
                    </tr>
                    <tr v-for="(item, index) in stockRightHisInfoList" :key="index">
                      <td style="width:5%">{{ index +1 }}</td>
                      <td>{{ item.STK_PAWN_REG_DATE }}</td>
                      <td>{{ item.STK_PAWN_CZ_CER_NO }}</td>
                      <td>{{ item.STK_PAWN_CZ_AMT }}</td>
                      <td>{{ item.STK_PAWN_ZA_PER }}</td>
                      <td>{{ item.STK_PAWN_STATUS }}</td>
                    </tr>
                  </table>
                </div>
                <div v-else>
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width:5%">序号</td>
                      <td>登记编号</td>
                      <td>登记日期</td>
                      <td>登记机关</td>
                      <td>被担保债权数额</td>
                      <td>状态</td>
                    </tr>
                    <tr>
                      <td colspan="6">暂无数据</td>
                    </tr>
                  </table>
                </div>
              </div>
            </div>
          </template>
          <!-- 股权出质-变更信息 -->
          <template slot="stockRightChangeInfoList">
            <div class="content">
              <div class="customer-management-information-content">
                <div v-if="stockRightChangeInfoList.length>0">
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width:5%">序号</td>
                      <td style="width:20%">质权出质设立登记日期</td>
                      <td style="width:15%">出质人姓名</td>
                      <td style="width:45%">变更内容</td>
                      <td style="width:15%">变更日期</td>
                    </tr>
                    <tr v-for="(item, index) in stockRightChangeInfoList" :key="index">
                      <td style="width:5%">{{ index +1 }}</td>
                      <td style="width:20%">{{ item.STK_PAWN_REG_DATE }}</td>
                      <td style="width:15%">{{ item.STK_PAWN_CZ_PER }}</td>
                      <td style="width:45%">{{ item.URL }}</td>
                      <td style="width:15%">{{ item.STK_PAWN_BGRQ }}</td>
                    </tr>
                  </table>
                </div>
                <div v-else>
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width:5%">序号</td>
                      <td style="width:20%">质权出质设立登记日期</td>
                      <td style="width:15%">出质人姓名</td>
                      <td style="width:45%">变更内容</td>
                      <td style="width:15%">变更日期</td>
                    </tr>
                    <tr>
                      <td colspan="5">暂无数据</td>
                    </tr>
                  </table>
                </div>
              </div>
            </div>
          </template>
          <!--股权冻结历史-->
          <template slot="stockRightFreezeHisInfoList">
            <div class="content">
              <div class="customer-management-information-content">
                <div v-if="stockRightFreezeHisInfoList.length > 0">
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width: 5%">序号</td>
                      <td style="width: 15%">冻结起始日期</td>
                      <td style="width: 15%">冻结截止日期</td>
                      <td style="width: 40%">冻结文号</td>
                      <td style="width: 10%">冻结机关</td>
                      <td style="width: 15%">冻结金额(万元)</td>
                    </tr>
                    <tr v-for="(item, index) in stockRightFreezeHisInfoList":key="index">
                      <td style="width: 5%">{{ index +1 }}</td>
                      <td style="width: 15%">{{ item.FRO_FROM }}</td>
                      <td style="width: 15%">{{ item.FRO_TO }}</td>
                      <td style="width: 40%">{{ item.FRO_DOC_NO }}</td>
                      <td style="width: 10%">{{ item.FRO_AUTH }}</td>
                      <td style="width: 15%">{{ item.FRO_AM }}</td>
                    </tr>
                  </table>
                </div>
                <div v-else>
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width: 5%">序号</td>
                      <td style="width: 15%">冻结起始日期</td>
                      <td style="width: 15%">冻结截止日期</td>
                      <td style="width: 40%">冻结文号</td>
                      <td style="width: 10%">冻结机关</td>
                      <td style="width: 15%">冻结金额(万元)</td>
                    </tr>
                    <tr>
                      <td colspan="6">暂无数据</td>
                    </tr>
                  </table>
                </div>
              </div>
            </div>
          </template>
        </anchor-nav>
      </div>
      <!-- 动产 -->
      <div v-show="active == 1">
        <anchor-nav ref="moveResNavList" :navList="moveResNavList">
          <!-- 动产抵押信息基本信息 -->
          <template slot="moveResBaseInfoList">
            <div class="content">
              <div class="customer-management-information-content">
                <!--动产抵押-基本信息-->
                <div v-if="moveResBaseInfoList.length >0">
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width: 5%">序号</td>
                      <td style="width: 20%">登记编号</td>
                      <td style="width: 15%">登记日期</td>
                      <td style="width: 20%">登记机关</td>
                      <td style="width: 20%">被担保债权数额</td>
                      <td style="width: 20%">状态</td>
                    </tr>
                    <tr v-for="(item, index) in moveResBaseInfoList" :key="index">
                      <td style="width: 5%">{{ index +1 }}</td>
                      <td style="width: 20%">{{ item.MAB_REG_NO }}</td>
                      <td style="width: 15%">{{ item.MAB_REG_DATE }}</td>
                      <td style="width: 20%">{{ item.MAB_REG_ORG }}</td>
                      <td style="width: 20%">{{ item.MAB_GUAR_AMT }}</td>
                      <td style="width: 20%">{{ item.MAB_STATUS }}</td>
                    </tr>
                  </table>
                </div>
                <div v-else>
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width: 5%">序号</td>
                      <td style="width: 20%">登记编号</td>
                      <td style="width: 15%">登记日期</td>
                      <td style="width: 20%">登记机关</td>
                      <td style="width: 20%">被担保债权数额</td>
                      <td style="width: 20%">状态</td>
                    </tr>
                    <tr>
                      <td colspan="6">暂无数据</td>
                    </tr>
                  </table>
                </div>
              </div>
            </div>
          </template>
          <!-- 动产抵押信息登记信息 -->
          <template slot="moveResMortgageInfoList">
            <div class="content">
              <div class="customer-management-information-content">
                <div v-if="moveResMortgageInfoList.length>0">
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width:5%">序号</td>
                      <td style="width:25%">登记编号</td>
                      <td style="width:30%">担保范围</td>
                      <td style="width:20%">履行债务开始日期</td>
                      <td style="width:20%">履行债务结束日期</td>
                    </tr>
                    <tr v-for="(item, index) in moveResMortgageInfoList" :key="index">
                      <td style="width:5%">{{ index +1 }}</td>
                      <td style="width:25%">{{ item.MAB_REGNO }}</td>
                      <td style="width:30%">{{ item.MAB_GUAR_RANGE }}</td>
                      <td style="width:20%">{{ item.DEBT_SDATE }}</td>
                      <td style="width:20%">{{ item.DEBT_EDATE }}</td>
                    </tr>
                  </table>
                </div>
                <div v-else>
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width:5%">序号</td>
                      <td style="width:25%">登记编号</td>
                      <td style="width:30%">担保范围</td>
                      <td style="width:20%">履行债务开始日期</td>
                      <td style="width:20%">履行债务结束日期</td>
                    </tr>
                    <tr>
                      <td colspan="5">暂无数据</td>
                    </tr>
                  </table>
                </div>
              </div>
            </div>
          </template>
          <!--动产抵押信息抵押权人信息-->
          <template slot="moveResRegistrationInfoList">
            <div class="content">
              <div class="customer-management-information-content">
                <div v-if="moveResRegistrationInfoList.length > 0">
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width: 5%">序号</td>
                      <td style="width: 15%">登记编号</td>
                      <td style="width: 25%">抵押权人名称</td>
                      <td style="width: 15%">抵押权人证照证件类型</td>
                      <td style="width: 20%">抵押权人证照证件号码</td>
                      <td style="width: 20%">所在地</td>
                    </tr>
                    <tr v-for="(item, index) in moveResRegistrationInfoList" :key="index">
                      <td style="width: 5%"> {{ index +1 }} </td>
                      <td style="width: 15%"> {{ item.MAB_REGNO }} </td>
                      <td style="width: 25%"> {{ item.MAB_PAWN_NAME }} </td>
                      <td style="width: 15%"> {{ item.MAB_PER_TYPE }} </td>
                      <td style="width: 20%"> {{ item. MAB_PER_CERNO}} </td>
                      <td style="width: 20%"> {{ item. MAB_PER_DOM}} </td>
                    </tr>
                  </table>
                </div>
                <div v-else>
                  <table class="customer-management-information-form">
                    <tr>
                      <td style="width: 5%">序号</td>
                      <td style="width: 15%">登记编号</td>
                      <td style="width: 25%">抵押权人名称</td>
                      <td style="width: 15%">抵押权人证照证件类型</td>
                      <td style="width: 20%">抵押权人证照证件号码</td>
                      <td style="width: 20%">所在地</td>
                    </tr>
                    <tr>
                      <td colspan="6">暂无数据</td>
                    </tr>
                  </table>
                </div>
              </div>
            </div>
          </template>
        </anchor-nav>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import TitleBar from "@/components/general/TitleBar.vue";
import BasicInformation from "@/components/customer-information/business-information/equity-pledge-and-movable-property-pledge/BasicInformation.vue";
import ChangeInformation from "@/components/customer-information/business-information/equity-pledge-and-movable-property-pledge/ChangeInformation.vue";
import FreezeHistory from "@/components/customer-information/business-information/equity-pledge-and-movable-property-pledge/FreezeHistory.vue";
import HistoryInformation from "@/components/customer-information/business-information/equity-pledge-and-movable-property-pledge/HistoryInformation.vue";
import MortgageInformation from "@/components/customer-information/business-information/equity-pledge-and-movable-property-pledge/MortgageInformation.vue";
import RegistrationInformation from "@/components/customer-information/business-information/equity-pledge-and-movable-property-pledge/RegistrationInformation.vue";
import { TabData } from "@/model/entity/TabData";
import Public from "@/public/ts/Public";
import nettyApi from "@/constants/api/ms-netty/netty.api";
import { NativeUI } from "@/public/ts/NativeUI";
import IF from "@/public/factory/InterFaceFactory";
import { getText } from "@/stores";
/**
 * @Description 股权出质及动产质押
 * @Author JiangTao
 * @Date 2021-11-10 下午 03:12
 */
@Component({
  name: "EquityPledgeAndMovablePropertyPledge",
  components: { TitleBar, BasicInformation, ChangeInformation, FreezeHistory, HistoryInformation, MortgageInformation, RegistrationInformation },
})
export default class EquityPledgeAndMovablePropertyPledge extends Vue {
  pageTitle = ""; // 页面标题
  active = 0; //当前点击的tab
  //股权出质-历史信息
  stockRightHisInfoList: any[] = [];
  //股权出质-变更信息
  stockRightChangeInfoList: any[] = [];
  //股权冻结历史
  stockRightFreezeHisInfoList: any[] = [];
  // 股权列表
  stockRigNavList = [
    { key: "stockRightHisInfoList", titleText: "历史信息" },
    { key: "stockRightChangeInfoList", titleText: "变更信息" },
    { key: "stockRightFreezeHisInfoList", titleText: "股权冻结历史" }
  ];
  //动产抵押信息基本信息
  moveResBaseInfoList = [];
  //动产抵押信息登记信息
  moveResRegistrationInfoList = [];
  //动产抵押信息抵押权人信息
  moveResMortgageInfoList = [];
  //动产列表
  moveResNavList = [
    { key: "moveResBaseInfoList", titleText: "息基本信息" },
    { key: "moveResRegistrationInfoList", titleText: "登记信息" },
    { key: "moveResMortgageInfoList", titleText: "抵押权人信息" }
 ];
  tabList = [
    { tabText: "股权出质", tabId: "1" },
    { tabText: "动产抵押", tabId: "2" }
  ]; //页签
  onClick() {

  }
  mounted() {
    this.selectStockMoveResinfo();
  }
  /**
   * @description:  查询业务信息
   * @author zmk
   * @date 2022/2/14 15:12
   */
  selectStockMoveResinfo() {
    let param = {
      CUST_FULL_NAME: this.$store.getters.getCusInfo.cus_name, //'客户2164572',//'农莽大地农业有限公司',/*this.$store.getters.getCusInfo.cus_name,*/
      CERT_ARRAY_INFO: [
        {
          CERT_TYPE: Public.getGScode(this.$store.getters.getCusInfo.cert_type), //'202',//this.$store.getters.getCusInfo.cert_type,
          CERT_NO: this.$store.getters.getCusInfo.cert_code //'78812578-0'//'915106830921121805'//this.$store.getters.getCusInfo.CERT_NO
        }
      ],
      GS_QUERY_OPTION_ARRAY: [{
        GS_QUERY_OPTION_LIST: '17'
       },
        {
          GS_QUERY_OPTION_LIST: '18'
        },
        {
          GS_QUERY_OPTION_LIST: '19'
        }],
      ProdId: Public.getProdId(),
      SvrCode: Public.getSvrCode(nettyApi.TRADE_CODE.selectGSXXCX),
      ClientNo: this.$store.getters.getCusInfo.cus_id,
      tc: nettyApi.TRADE_CODE.selectGSXXCX
    };
    NativeUI.showWaiting('正在查询....');
    IF.transferDataInter(nettyApi.commonRq, param).then((res:any) => {
      NativeUI.closeWaiting();
      if (res.rc === '1') {
        this.stockRightHisInfoList = res.STOCK_PLEDGED_INFO;
        this.stockRightChangeInfoList = res.STOCK_PAWN_ALT_INFO;
        if (res.SHARE_SFROST_INFO && res.SHARE_SFROST_INFO.length != 0) {
          for (let i = 0; i < res.SHARE_SFROST_INFO.length; i++) {
            res.SHARE_SFROST_INFO[i].FRO_AM = Number(res.SHARE_SFROST_INFO[i].FRO_AM).toFixed(2);
          }
          this.stockRightFreezeHisInfoList = res.SHARE_SFROST_INFO;
        }
        this.moveResBaseInfoList = res.MORTGAGE_BASIC_INFO;
        this.moveResRegistrationInfoList = res.MORTGAGE_REG_INFO;
        this.moveResMortgageInfoList = res.MORTGAGE_PER_INFO;
      } else {
        if (res.ret_code != '4999999') {
          NativeUI.toast(res.msg);
        }
      }
    });
  }
  /**
   * @description:  点击tab时切换
   * @author LiShenghui
   * @date 2022/2/14 15:12
   */
  tabClick(item: TabData) {
    this.active = parseInt(item.tabId) - 1;
  }
}
</script>

<style scoped>
::v-deep .van-index-bar__sidebar {
  top: 180px !important;
  right: 5px !important;
  transform: unset;
}
.deal-with-bottom {
  width: 100%;
  margin: 10px auto;
  position: relative;
  z-index: 2000;
}
</style>