import Api from "~/service/Api" import Pts from "../Common/Pts" import Pub from "../Public" export default class Bctrad{ constructor () { this.data = { bctdrrl1blk:"", bctdrel1blk:"", bctdrel2blk:"", bcdgrp:{ rec:{ ownref:"", // Collection Number .bcdgrp.rec.ownref nam:"", // Name .bcdgrp.rec.nam rcvdat:"", // Docs Received on .bcdgrp.rec.rcvdat advdat:"", // Date of Advice of Documents Received .bcdgrp.rec.advdat matdat:"", // Maturity Date .bcdgrp.rec.matdat predat:"", // Maturity Date .bcdgrp.rec.predat doctypcod:"", // Payment Condition .bcdgrp.rec.doctypcod docsta:"", // Document Set Status .bcdgrp.rec.docsta chato:"", // Our Charges to .bcdgrp.rec.chato focflg:"", // Free of Payment .bcdgrp.rec.focflg waicolcod:"", // Waive Collecting Bank Charges .bcdgrp.rec.waicolcod wairmtcod:"", // Waive Remitting Bank Charges .bcdgrp.rec.wairmtcod othins:"", // Defer Payment until .bcdgrp.rec.othins stagod:"", // Good's Code (for Statistics) .bcdgrp.rec.stagod proins:"", // Protest Instructions .bcdgrp.rec.proins }, cbs:{ max:{ cur:"", // Document Amount .bcdgrp.cbs.max.cur amt:"", // Document Amount .bcdgrp.cbs.max.amt }, opn1:{ cur:"", // Open Amount .bcdgrp.cbs.opn1.cur amt:"", // Open Amount .bcdgrp.cbs.opn1.amt }, }, dre:{ pts:new Pts().data, namelc:"", // 名称 .bcdgrp.dre.namelc adrelc:"", // 地址 .bcdgrp.dre.adrelc dbfadrblkcn:"", // Chinese address .bcdgrp.dre.dbfadrblkcn }, rmi:{ pts:new Pts().data, namelc:"", // 名称 .bcdgrp.rmi.namelc adrelc:"", // 地址 .bcdgrp.rmi.adrelc dbfadrblkcn:"", // Chinese address .bcdgrp.rmi.dbfadrblkcn }, drr:{ pts:new Pts().data, namelc:"", // 名称 .bcdgrp.drr.namelc adrelc:"", // 地址 .bcdgrp.drr.adrelc dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn }, blk:{ docpre:"", colinssnm:"", // Instructions for Second Mail .bcdgrp.blk.colinssnm colins:"", // Collection Instructions .bcdgrp.blk.colins dftins:"", // Draft Instructions .bcdgrp.blk.dftins othins:"", // Other Instructions .bcdgrp.blk.othins chgtxt:"", // Charges Text .bcdgrp.blk.chgtxt }, co2:{ pts:new Pts().data, namelc:"", // 名称 .bcdgrp.co2.namelc adrelc:"", // 地址 .bcdgrp.co2.adrelc dbfadrblkcn:"", // Chinese address .bcdgrp.co2.dbfadrblkcn }, }, bctp:{ recget:{ sdamod:{ seainf:"", // .bctp.recget.sdamod.seainf dadsnd:"", // Drag Drop Sender .bctp.recget.sdamod.dadsnd }, }, matp:{ mattxtlab:"", // Label for MATTXT .bctp.matp.mattxtlab }, docgrdm:{ docgrd:[], docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab }, co2p:{ ptsget:{ sdamod:{ seainf:"", // .bctp.co2p.ptsget.sdamod.seainf dadsnd:"", // Drag Drop Sender .bctp.co2p.ptsget.sdamod.dadsnd }, }, }, drep:{ ptsget:{ sdamod:{ seainf:"", // .bctp.drep.ptsget.sdamod.seainf dadsnd:"", // Drag Drop Sender .bctp.drep.ptsget.sdamod.dadsnd }, }, }, rmip:{ ptsget:{ sdamod:{ seainf:"", // .bctp.rmip.ptsget.sdamod.seainf dadsnd:"", // Drag Drop Sender .bctp.rmip.ptsget.sdamod.dadsnd }, }, }, drrp:{ ptsget:{ sdamod:{ seainf:"", // .bctp.drrp.ptsget.sdamod.seainf dadsnd:"", // Drag Drop Sender .bctp.drrp.ptsget.sdamod.dadsnd }, }, }, }, setmod:new Pub().data.Setmod, liaall:new Pub().data.Liaall, mtabut:new Pub().data.Mtabut, trnmod:new Pub().data.Trnmod, pageId: "" // ctx的key } } }