index.js 16.8 KB
Newer Older
fukai committed
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 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 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 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';

export default class Nitopn {
  constructor() {
    this.data = {
      ptsptaList: [],
      textTempData: {},
      transName:"",
      zmqflg:"",
      addbcb: {
				label1: "1、申请人与我行已签署贸易融资协议(如需);",			//  国际部意见		.addbcb.label1
        label2: "2、申请人已提交全套业务所需资料;",			//  国际部意见		.addbcb.label2
        label3: "3、申请书要素齐全并已签章,签章已经核符;",			//  国际部意见		.addbcb.label3
        label4: "4、占用授信额度的保函业务,",			//  国际部意见		.addbcb.label4
        label5: "",      //  国际部意见		.addbcb.label5
        label12: "5、关联交易:",      //  国际部意见		.addbcb.label5
        label6: "",
        label13: "4、低风险开证业务:",			//  国际部意见		.addbcb.label6
        label7: "已提交《低风险业务授信调查报告》/《信贷业务通知书》;",			//  国际部意见		.addbcb.label7
        label8: ",并已完成审批报告手续, ",			//  国际部意见		.addbcb.label8
        label9: "2",			//  国际部意见		.addbcb.label9
        label10: "额度已切分,结算系统将自动扣减额度,保证金(如需)符合要求;",
				label11: "额度未切分,《信贷业务通知书》符合要求;",
				label14: "6、效期是否敞口 ",
				label15: "7、合同尚未签订或生效 ",
				label16: "8、保函期限超过三年,已经分行有权审批人审批同意",
        bccls1: "",
        bccls2: "",
        bccls3: "",
        preexpdat: "",
        expdat: "",
      },
      nitp: {
        wzhflgVsb:'',  //是否显示wzhflg栏位
        wzhflg:'',  //是否无纸化盖章
        dzbhflg: '', // 电子保函标志		.nitp.dzbhflg
        inc760: '', // incoming lose		.nitp.inc760
        lettername: '', // 面函标题		.nitp.lettername
        exptxtmodflg: '', // Modify Expiry Condition/Event		.nitp.exptxtmodflg
        prepermodflg: '', // Modify Document and Presentation Instructions		.nitp.prepermodflg
        chkpreper: '', // Allow *		.nitp.chkpreper
        covgodsrvmodflg: '', // Modify Object of Contract		.nitp.covgodsrvmodflg
				indirectswiadd: '', // InDirect Swift Add		.nitp.indirectswiadd
				indirectswiaddc: '',
        gidtxtmodflg: '', // Modify Guarantee Text		.nitp.gidtxtmodflg
        chkgidtxt: '', // Allow *		.nitp.chkgidtxt
        prepercmodflg: '', // Modify Document and Presentation Instructions		.nitp.prepercmodflg
        chkpreperc: '', // Allow *		.nitp.chkpreperc
        covgodsrvcmodflg: '', // Modify Object of Contract Sequence C		.nitp.covgodsrvcmodflg
        orcratc: '', // Original Perc./ Rate		.nidgrp.rec.orcratc
        gidtxtmodflgc: '', // Modify Guarantee Text - Local Undertaking Seq. C		.nitp.gidtxtmodflgc
        tempOwnref: '', //临时业务编号

        covgod: {
          chkast: '', // Allow *		.nitp.covgod.chkast
        },
        aamp: {
          aammod: {
            addamtflg: '', //  Add. Amount		.nitp.aamp.aammod.addamtflg
          },
        },
        aacp: {
          aacmod: {
            addamtflg: '', // Add. Amount		.nitp.aamp.aammod.addamtflg
          },
        },
        chargic: {
          chkast: '', // Allow *		.nitp.chargic.chkast
        },
        usr: {
          extkey: '', // Responsible User		.nitp.usr.extkey
        },
        chargi: {
          chkast: '',
        },
        covgodc: {
          chkast: '',
        },
        xyflg:"",
        wbxs:"",
        yptxy:"",
        yptgimod: {
          img:[]
        }
			},
			spt:{
				sta:''
			},
			swiadd:{
				m24infcpy:'',
				m22amecnt:'',
				orimsgid:'',
				orimsgtyp:''
			},
      nidgrp: {
        bdsght:'',
				payeecountcode:'',
				beneficiarymw:'',
				bidnummw:'',
				bidnamemw:'',
				inbidselltimemw:'',
				beneficiaryadrmw:'',
				dbhbenammw:'',
        benecreditcodemw:'',
        inbidselltime:'',
        rec: {
          inr:'',
          branchinr: '',
          bchkeyinr: '',
          opndat: '',
          guaflg: '',
          ownref: '', // Reference		.nidgrp.rec.ownref
          needcuscomopn: '',//需客户确认		.nidgrp.rec.needcuscomopn
          grtjuscod: '',//被保证人社会统一信用代码/组织机构代码.nidgrp.rec.grtjuscod
          hndtyp: '', // Handling Type		.nidgrp.rec.hndtyp
          gartyp: '', // Type of Undertaking		.nidgrp.rec.gartyp
          legfrm: '', // Form of Undertaking		.nidgrp.rec.legfrm
          demand: '', // Demand Indicator		.nidgrp.rec.demand
          fingua: '', // 是否对外担保		.nidgrp.rec.fingua
          cfaguatyp: '', // 对外担保类型		.nidgrp.rec.cfaguatyp
          cmtflg: '', // 跨境人民币保函		.nidgrp.rec.cmtflg
          giduil: '', // Language of Undertak.		.nidgrp.rec.niduil
          vrfdat: '', // 核销日期		.nidgrp.rec.vrfdat
          gtxinr: '', // Choice of Text		.nidgrp.rec.gtxinr
          fenlishi: '', // 是否分离式保函		.nidgrp.rec.fenlishi
          atxinr: '', // Choice of Text		.nidgrp.rec.atxinr
          orddat: '', // Order Date		.nidgrp.rec.orddat
          expflg: '', // Unlimited Guarantee		.nidgrp.rec.expflg
          expdat: '', // Valid until		.nidgrp.rec.expdat
          liaflg: '', // Unlimited Liability		.nidgrp.rec.liaflg
          liadat: '', // Our Liability until		.nidgrp.rec.liadat
          inudat: '', // Inure Date		.nidgrp.rec.inudat
          nam: '', // Name		.nidgrp.rec.nam
          liatxtc: '', // Liability Condition		.nidgrp.blk.liatxtc
          delori: '', // Delivery of Undertak.		.nidgrp.rec.delori
          deloritxt: '', // Delivery of Undertak.		.nidgrp.rec.deloritxt
          sndto: '', // Undertaking Send to		.nidgrp.rec.sndto
          delto: '', // Deliv. To/Collection By		.nidgrp.rec.delto
          chato: '', // Own Charges Borne by		.nidgrp.rec.chato
          orcref: '', // Contract Reference		.nidgrp.rec.orcref
          orcdat: '', // Date from Original Contract		.nidgrp.rec.orcdat
          tenclsdat: '', // Closing Date		.nidgrp.rec.tenclsdat
          orccur: '', // Contract Amount 		.nidgrp.rec.orccur
          orcamt: '0.00', // Contract Amount 		.nidgrp.rec.orcamt
          acc: '', // A/c for Adv. Paym. Guar.		.nidgrp.rec.acc
          jurlaw: '', // Law of Jurisdiction		.nidgrp.rec.jurlaw
          tenref: '', // Tender Reference		.nidgrp.rec.tenref
          tendat: '', // Tender Date		.nidgrp.rec.tendat
          trmdat: '', // Latest Transmiss. Date		.nidgrp.rec.trmdat
          mannum: '', // 手册号码		.nidgrp.rec.mannum
          bngcod: '', // 企业海关编码		.nidgrp.rec.bngcod
          juscod: '', // 组织机构代码		.nidgrp.rec.juscod
          cunqii: '', // 流动资金贷款利率档次		.nidgrp.rec.cunqii
          bilvvv: 0, // 上浮比率		.nidgrp.rec.bilvvv
          jurplc: '', // Place of Jurisdiction		.nidgrp.rec.jurplc
          reccnfdet: '', // Confirm. Instr.		.nidgrp.rec.reccnfdet
          cnfdet: '',
          cnfsta: '', // Confirmation Status 		.nidgrp.rec.cnfsta
          partcon: 0, // Partial Confirmation		.nidgrp.rec.partcon
          cnfdat: '', // Confirmation Date		.nidgrp.rec.cnfdat
          exptyp: '', // Expiry Type		.nidgrp.rec.exptyp
          aplnam: '', // 被保证人		.nidgrp.nidcxm.warran
          cxmflg: '', // 是否显示查询码		.nidgrp.nidcxm.cxmflg
          bennam: '', // 受益人名称		.nidgrp.nidcxm.benefi
          segtyp: '', // 特殊保函类型		.nidgrp.ghd.segtyp
          bustyp: '', // 业务类型		.nidgrp.ghd.bustyp
          remark: '', // 备注		.nidgrp.ghd.remark
          countrycod:'',
					projectname:'',
					projnam:'',
          guatyp:'',
          iscrotra:'',
          quycod: '',
          fromflg:'',
          flwsta:'',
          dbyhmc:'',

          ownusr: "",
          credat: null,
          clsdat: null,
          oldref: "",
          amedat: null,
          amenbr: 0,
          pndclm: 0,
          stacty: "",
          gidtxtmodflg: "",
          orcrat: "",
          purcan: "",
          avidat: null,
          decrea: "",
          resflg: "",
          stagod: "",
          redamt: "",
          redcur: "",
          reddat: null,
          outcur: "",
          outamt: "",
          cnfflg: "",
          revflg: "",
          opntrninr: "",
          apprulrmb: "",
          autdat: null,
          autrnwflgc: "",
          autrnwflg: "",
          gidtxtmodflg2: "",
          covgodsrvcmodflg: "",
          deloric: "",
          deltoc: "",
          giduil2: "",
          demandc: "",
          dftnbr: 0,
          dipreiday: 0,
          covgodsrvmodflg: "",
          dipreiflg3: "",
          dipreiflg1: "",
          deloritxtc: "",
          advper: "",
          expdatfinc: null,
          advnbr: 0,
          gartypin: "",
          exptxtmodflg: "",
          gtxinr2: "",
          gtxinrc: "",
          notnbrc: 0,
          gidtxtmodflgc: "",
          expdatfin: null,
          notper: "",
          opndatc: null,
          orddatc: null,
          notnbr: 0,
          prepermodflg: "",
          orcflgc: "",
          purposin: "",
          rejflg: "",
          prepercmodflg: "",
          rmbcha: "",
          purpos: "",
          rmbact: "",
          liatxtcmodflg: "",
          rnwper: "",
          rmbflg: "",
          rnwperc: "",
          rnwnbr: 0,
          rnwpertxt: "",
          rnwpers20: "",
          rnwnbrc: 0,
          secuilflg: "",
          rnwpertxtc: "",
          stdwrdc: "",
          s20staflg: "",
          transfer: "",
          stdwrduilc: "",
          transferc: "",
          inccormsgflg: "",
          etyextkey: "",
          accc: "",
          drpreflg: "",
          gartypc: "",
          jurlawc: "",
          jurlaws20: "",
          jurlawtxtc: "",
          jurplcc: "",
          legfrmc: "",
          liatypc: "",
          orcamtc: "",
          orccurc: "",
          orcdatc: null,
          orcrefc: "",
          orcratc: "",
          tenclsdatc: null,
          tendatc: null,
          tenrefc: "",
          trmdatc: null,
          expplc: "",
          feecoldat: null,

          teskeyunc: "",
          decflg: "",
          rskrat: "",
          cshpct: "",
          rptref: "",
          invref: "",

          oppbnk: "",
          bidnum: "",
          bidname: "",
          othersno: "",
          rtnfilestyle: "",
          gtxinrmw: "",
          gidtxtmodflgmw: "",
          benecreditcode: "",
          bidnamemw: "",
          amtwrdtxt: "",
          benadr: "",
          yptaplnam: "",
          yptapladr: "",
          grtnam: "",
          grtadr: "",
          swiftflg: "",
          bchname: "",
          opnsta: "",
          amesta: "",
          cansta: "",
          oldamt: "0.00",
          olddat: null,
          errmsg: "",
          idcode: "",
          zsjzts: "",
          bdbdbr: "",
          bdbrdz: "",
          bdbrdh: "",
          dbyhdb: "",
          dbyhdz: "",
          dbyhdh: "",
          sqrdbr: "",
          sqradr: "",
          sqrtel: "",
            beyzd1: "",
            beyzd2: "",
            beyzd3: "",
            beyzd4: "",
            beyzd5: "",
            beyzd6: "",
          ptyhgq: "",
          ptyhsx: "",
          bdbrmc: "",
          sqqydm: "",
          sqrnam: "",
          sqqyhg: "",
          needcuscomame: "",
        },
        cbs: {
          cnf: {
            cur: '', // Confirmation Amount		.nidgrp.cbs.cnf.cur
            amt: '0.00', // Balance		.nidgrp.cbs.cnf.amt
          },
          mac2: {
            cur: '',
            amt: '0.00',
          },
          mac: {
            cur: '',
            amt: '0.00',
          },
          max: {
            cur: '', // Guarantee Amount		.nidgrp.cbs.max.cur
            amt: '0.00', // Guarantee Amount		.nidgrp.cbs.max.amt
          },
          max2: {
            cur: '',
            amt: '0.00',
          },
          opc2: {
            cur: '',
            amt: '0.00',
          },
          opn1: {
            cur: '', // Open Amount		.nidgrp.cbs.opn1.cur
            amt: '0.00', // Balance		.nidgrp.cbs.opn1.amt
          },
        },
        blk: {
          inr:'',
          apprul: '', // Applicable Rules		.nidgrp.blk.apprul
          apprultxt: '', // Applicable Rules		.nidgrp.blk.apprultxt
          exptxt: '', // Expiry Condition/ Evt.		.nidgrp.blk.exptxt
          atxexptxt: '', // Expiry Condition/ Evt.		.nidgrp.blk.atxexptxt
          deltoadr: '', // Delivery to Address		.nidgrp.blk.deltoadr
          trfcond: '', // Transfer Conditions		.nidgrp.blk.trfcond
          feetxt: '', // Additional Details to Code for Charges		.nidgrp.blk.feetxt
          atxpreper: '', // Presentation Instr.		.nidgrp.blk.atxpreper
          covgodsrv: '', // Object of Contract		.nidgrp.blk.covgodsrv
          orcplc: '', // Original Contract Place		.nidgrp.blk.orcplc
          addinf: '', // Additional Info		.nidgrp.blk.addinf
          gidtxt: '', // Guarantee Text with Variables		.nidgrp.blk.gidtxt
					gtxgidtxt: '', // Guarantee Text with Variables		.nidgrp.blk.gtxgidtxt
					gidtxtmw: '',
					gtxgidtxtmw: '',
        },
        ben: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        iss: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        adv: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        apl: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        con: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        ctr: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        atb: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        // avc: {
        // 	pts: new Pts().data,
        // },
        cnr: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        at2: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        bdb: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        modifySet: [],
      },
      cnybop: {
        cnyflg: '',
        traflg: '',
        outflg: '',
        libflg: '',
        vouflg: '',
        svouchername: '',
        sdebtorname: '',
        sbankname: '',
        svoucheename: '',
        saddwordvou: '',
        sreversename: '',
        cnyvou: {
          spk: "",          //  业务主键      .cnybop.cnyvou.spk
          sbankorgcode: "",         //  报送银行机构代码      .cnybop.cnyvou.sbankorgcode
          cvouchdirection: "",          //  担保方向      .cnybop.cnyvou.cvouchdirection
          stransattr: "",       //  业务属性      .cnybop.cnyvou.stransattr
          svoucherswiftbic: "",         //  担保人机构代码       .cnybop.cnyvou.svoucherswiftbic
          svouchercountrycode: "",          //  担保人国别     .cnybop.cnyvou.svouchercountrycode
          svoucheeorgcode: "",          //  担保权人机构代码      .cnybop.cnyvou.svoucheeorgcode
          svoucheecountrycode: "",          //  担保权人国别    .cnybop.cnyvou.svoucheecountrycode
          sdebtororgcode: "",       //  债务人机构代码       .cnybop.cnyvou.sdebtororgcode
          sdebtorcountrycode: "",       //  债务人国别     .cnybop.cnyvou.sdebtorcountrycode
          sreverseorgcode: "",          //  反担保人机构代码      .cnybop.cnyvou.sreverseorgcode
          sreversecountrycode: "",          //  反担保人国别    .cnybop.cnyvou.sreversecountrycode
          sbanktrano: "",       //  银行业务编号    .cnybop.cnyvou.sbanktrano
          cvouchtype: "",       //  担保种类      .cnybop.cnyvou.cvouchtype
          cvouchmode: "",       //  反担保方式     .cnybop.cnyvou.cvouchmode
          dvouchefficientdate: "",          //  担保生效日期    .cnybop.cnyvou.dvouchefficientdate
          dvouchenddate: "",        //  担保到期日期    .cnybop.cnyvou.dvouchenddate
          scontractno: "",          //  担保合同编号    .cnybop.cnyvou.scontractno
          svouchno: "",         //  担保登记编号    .cnybop.cnyvou.svouchno
          currencycode: "",         //  担保币种      .cnybop.cnyvou.currencycode
          fvouchamt: "",        //  原币种金额     .cnybop.cnyvou.fvouchamt
        }
      },
      setmod: new Pub().data.Setmod,
      mtabut: new Pub().data.Mtabut,
      trnmod: new Pub().data.Trnmod,
      liaall: new Pub().data.Liaall,
      limmod: new Pub().data.Limmod,
      liaccv: new Pub().data.Liaccv,
      docpan: new Pub().data.Docpan,
      doctre: new Pub().data.Doctre,
      umdmod: new Pub().data.Umdmod,
      trndia: new Pub().data.Trndia,
      rmbbop: new Pub().data.Rmbbop,
			cfagit: new Pub().data.Cfagit,
			ypnmod: new Pub().data.Ypnmod
    };
  }
}