Commit 81a51e94 by panziyi

bctdor修改

parent a2a93e3d
......@@ -19,28 +19,43 @@ export default {
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.bcdgrp.agt.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bcdgrp.agt));
}
if (model.bcdgrp.agb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bcdgrp.agb));
}
if (model.bcdgrp.rog.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bcdgrp.rog));
}
if (model.bcdgrp.co2.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bcdgrp.co2));
}
if (model.bcdgrp.drr.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bcdgrp.drr));
}
if (model.bcdgrp.dre.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bcdgrp.dre));
}
if (model.bcdgrp.rmi.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bcdgrp.rmi));
}
if (model.bcdgrp.drr.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bcdgrp.drr));
}
let dataObj = {
rec: {
objtyp: 'BCD',
// objinr: model.bcdgrp.rec.inr,
objinr: model.bcdgrp.rec.inr,
ownref: model.bcdgrp.rec.ownref,
opndat: model.bcdgrp.rec.opndat,
expdat: model.bcdgrp.rec.expdat,
branchInr: model.bcdgrp.rec.branchInr,
branchInr: model.bcdgrp.rec.branchinr,
nam: model.bcdgrp.rec.nam,
oridre: model.bcdgrp.rec.oridre,
rejtypsel: model.rejtypsel,
// bflg: model.cbsdcr.bflg,
mattxtflg:model.bcdgrp.rec.mattxtflg,
doccur: model.setmod.doccur,
docamt: model.setmod.docamt,
},
cbsMap: {
MAX: model.bcdgrp.cbs.max,
......
import Utils from "~/utils"
/**
* Bctdav Check规则
*/
let checkObj = {
"bctp.drrp.ptsget.sdamod.dadsnd" :null,
"liaall.misamt" :null,
......@@ -39,7 +37,7 @@ let checkObj = {
"bcdgrp.dre.pts.ref" :null,
"bcdgrp.rec.oridre" :null,
"bcdgrp.drr.pts.adrblk" :null,
"mtabut.coninf.conexedat" :null,
// "mtabut.coninf.conexedat" :null,
"bcdgrp.rec.rcvdat" :null,
"outlen.szflg" :null,
"setmod.docamt" :null,
......@@ -102,10 +100,10 @@ let checkObj = {
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 350,message:"长度不能超过350"}
],
// "bcdgrp.dre.pts.adrblk":[
// {type: "string", required: true, message: "必输项"},
// {max: 350,message:"长度不能超过350"}
// ],
"bcdgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -222,11 +220,11 @@ let checkObj = {
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "setmod.docamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
......@@ -261,24 +259,24 @@ let checkObj = {
{max: 3,message:"长度不能超过3"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
// "mtabut.coninf.oitinf.oit.inftxt":[
// {type: "string", required: true, message: "必输项"},
// {max: 60,message:"长度不能超过60"}
// ],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
// "mtabut.coninf.oitset.oit.inftxt":[
// {type: "string", required: true, message: "必输项"},
// {max: 60,message:"长度不能超过60"}
// ],
"mtabut.coninf.conexedat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
// "mtabut.coninf.conexedat":[
// {type: "string", required: false, message: "输入正确的日期"}
// ],
// "mtabut.coninf.usr.extkey":[
// {type: "string", required: false, message: "必输项"},
// {max: 8,message:"长度不能超过8"}
// ],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
......
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Bctdor{
constructor () {
this.data = {
bctdrrl1blk:"",
bctdrel1blk:"",
bctdrel2blk:"",
bctrogl1blk:"",
bctrogl2blk:"",
cnybop:{
cnyflg:"",
traflg:"",
outflg:"",
libflg:"",
vouflg:"",
},
bcdgrp:{
co2:{
pts:new Pts().data,
},
srm:{
djutyp:"",
},
rec:{
ownref:"", // Reference .bcdgrp.rec.ownref
resflg:"", // Reserved Contract .bcdgrp.rec.resflg
dftgarflg:"", // Draft to be Guaranteed .bcdgrp.rec.dftgarflg
rcvdat:"", // Docs received on .bcdgrp.rec.rcvdat
predat:"", // Date of Remittance Lt. .bcdgrp.rec.predat
advdat:"", // Advised on .bcdgrp.rec.advdat
oridre:"", // Send Original Documents to Drawee .bcdgrp.rec.oridre
doctypcod:"", // Collection Condition .bcdgrp.rec.doctypcod
matdat:"", // Maturity Date .bcdgrp.rec.matdat
matpercnt:"", // Tenor Specification .bcdgrp.rec.matpercnt
matpertyp:"", // Days/Months or Years for Maturity Period .bcdgrp.rec.matpertyp
matperbeg:"", // Tenor Starting from .bcdgrp.rec.matperbeg
stacty:"", // Country Code Risk Country .bcdgrp.rec.stacty
nam:"", // Name .bcdgrp.rec.nam
invtyp:"", // 发票类型 .bcdgrp.rec.invtyp
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
export default class Bctdor {
constructor() {
this.data = {
swtdat: "",
bctdrrl1blk: '', // XMLPanel bctdrrl1的内置block
bctdrrl2blk: '', // XMLPanel bctdrrl2的内置block
bctcoll1blk: '', // XMLPanel bctcoll1的内置block
bcdgrp: {
rec: {
inr: "",
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
agtdat: "", // Agent's Invoice Dated Tag 43C .bcdgrp.rec.agtdat
relgodflg: "", // Release of Goods .bcdgrp.rec.relgodflg
reltyp: "", // Release Type .bcdgrp.rec.reltyp
relgoddat: "", // Release Date .bcdgrp.rec.relgoddat
expdat: "", // Expiry Date of Shipping Guarantee .bcdgrp.rec.expdat
trpdoctyp: "", // Transport Doc. Type .bcdgrp.rec.trpdoctyp
trpdocnum: "", // Transport Doc. Ref. .bcdgrp.rec.trpdocnum
tradat: "", // Document Dated .bcdgrp.rec.tradat
tramod: "", // Mode of Transport .bcdgrp.rec.tramod
shpfro: "", // Shipment from .bcdgrp.rec.shpfro
shpto: "", // Shipment to .bcdgrp.rec.shpto
rtodreflg: "", // Release to Drawee Flag .bcdgrp.rec.rtodreflg
branchinr: "",
},
cbs:{
max:{
cur:"", // Document Amount .bcdgrp.cbs.max.cur
amt:"", // Document Amount .bcdgrp.cbs.max.amt
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
opn1: {
cur: "", // Open Amount .bcdgrp.cbs.opn1.cur
amt: "", // Open Amount .bcdgrp.cbs.opn1.amt
},
},
blk:{
docpre:"",
bcgdet:"", // Maturity Text .bcdgrp.blk.bcgdet
bcgdetflg:"", // BC Tenor Details modified .bcdgrp.blk.bcgdetflg
colins:"", // Collection Instructions .bcdgrp.blk.colins
dftins:"", // Draft Instructions .bcdgrp.blk.dftins
othins:"", // Other Instructions .bcdgrp.blk.othins
chgtxt:"", // Charges Text .bcdgrp.blk.chgtxt
},
dre:{
pts:new Pts().data,
dre: {
pts: new Pts().data,
},
rmi: {
pts: new Pts().data,
},
drr: {
pts: new Pts().data,
},
blk: {
// docpre:"",
resrej: "", // Reason .bcdgrp.blk.resrej
colins: "", // Collection Instructions .bcdgrp.blk.colins
dftins: "", // Draft Instructions .bcdgrp.blk.dftins
othins: "", // Other Instructions .bcdgrp.blk.othins
chgtxt: "", // Charges Text .bcdgrp.blk.chgtxt
bctfre: "", // Free Text Tag 42J .bcdgrp.blk.bctfre
docpre: "", // Presented Documents .bcdgrp.blk.docpre
intins: "", // Interest Instructions .bcdgrp.blk.intins
agtaut: "", // Authority of Agent .bcdgrp.blk.agtaut
agtinf: "", // Further Information .bcdgrp.blk.agtinf
vesselnam: "", // Vessel Name .bcdgrp.blk.vesselnam
covgod: "", // Covered Goods .bcdgrp.blk.covgod
reladr: "", // Release to Address .bcdgrp.blk.reladr
},
rmi:{
pts:new Pts().data,
agt: {
pts: new Pts().data,
},
drr:{
pts:new Pts().data,
agb: {
pts: new Pts().data,
},
rog: {
pts: new Pts().data,
},
co2: {
pts: new Pts().data,
},
},
bctp:{
recget:{
sdamod:{
seainf:"", // .bctp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.recget.sdamod.dadsnd
bctp: {
docgrdm: {
docdsclab: "", // Label of document description .bctp.docgrdm.docdsclab
docgrd: [],
},
recget: {
sdamod: {
seainf: "", // .bctp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bctp.recget.sdamod.dadsnd
},
},
usrget:{
sdamod:{
seainf:"", // .bctp.usrget.sdamod.seainf
matp: {
mattxtlab: "", // Label for MATTXT .bctp.matp.mattxtlab
},
agtp: {
ptsget: {
sdamod: {
seainf: "", // .bctp.agtp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bctp.agtp.ptsget.sdamod.dadsnd
},
},
},
agbp: {
ptsget: {
sdamod: {
seainf: "", // .bctp.agbp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bctp.agbp.ptsget.sdamod.dadsnd
},
},
},
usr:{
extkey:"", // Responsible User .bctp.usr.extkey
rogp: {
ptsget: {
sdamod: {
seainf: "", // .bctp.rogp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bctp.rogp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
docgrd:[],
drep: {
ptsget: {
sdamod: {
seainf: "", // .bctp.drep.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bctp.drep.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .bctp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.drep.ptsget.sdamod.dadsnd
co2p: {
ptsget: {
sdamod: {
seainf: "", // .bctp.co2p.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bctp.co2p.ptsget.sdamod.dadsnd
},
},
},
rmip:{
ptsget:{
sdamod:{
seainf:"", // .bctp.rmip.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.rmip.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
drrp: {
ptsget: {
sdamod: {
seainf: "", // .bctp.drrp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bctp.drrp.ptsget.sdamod.dadsnd
},
},
},
sblx:"", // 申报类型 .bctp.sblx
acttyplab:"", // 款项去向 .bctp.acttyplab
acttyp:"", // ACTTYP .bctp.acttyp
},
outlen:{
szflg:"", // 申报类型 .outlen.szflg
},
rejtypsel: "", // Select Rejection Type .rejtypsel
advtyp: "", // SWIFT Advice Type .advtyp
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
pageId: "" // ctx的key
}
}
}
}
\ No newline at end of file
......@@ -40,12 +40,12 @@
label-width="0"
prop="bcdgrp.cbs.max.amt"
>
<c-input
<c-input-currency
disabled
style="text-align: left"
v-model="model.bcdgrp.cbs.max.amt"
placeholder="请输入代收币种及金额"
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
......@@ -62,12 +62,12 @@
</c-col>
<c-col :span="12">
<el-form-item label-width="0" prop="bcdgrp.cbs.opn1.amt" style="margin-left: 5px">
<c-input
<c-input-currency
disabled
style="text-align: left"
v-model="model.bcdgrp.cbs.opn1.amt"
placeholder="请输入代收币种及余额"
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
......
......@@ -78,7 +78,7 @@ const Business = [
{ path: 'botame', component: () => import('~/business/botame/views'), name: 'botame', meta: { title: '出口托收修改' } },
{ path: 'bctdav', component: () => import('~/business/bctdav/views'), name: 'bctdav', meta: { title: '进口代收' } },
{ path: 'bctdor', component: () => import('~/business/bctdor/views'), name: 'bctdor', meta: { title: '进口代收拒付/不符点处理' } },
// { path: 'bctset', component: () => import('~/business/bctset/views'), name: 'bctset', meta: { title: '进口代收付款' } },
{ path: 'bctset', component: () => import('~/business/bctset/views'), name: 'bctset', meta: { title: '进口代收付款' } },
{ path: 'infbcd', component: () => import('~/business/infbcd/views'), name: 'infbcd', meta: { title: '进口代收入口交易' }
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment