Commit a2a93e3d by liaoxing

botdav 修改

parent 56507d6c
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
ownref: model.bcdgrp.rec.ownref, ownref: model.bcdgrp.rec.ownref,
opndat: model.bcdgrp.rec.opndat, opndat: model.bcdgrp.rec.opndat,
expdat: model.bcdgrp.rec.expdat, expdat: model.bcdgrp.rec.expdat,
branchInr: model.bcdgrp.rec.branchinr, branchinr: model.bcdgrp.rec.branchInr,
nam: model.bcdgrp.rec.nam, nam: model.bcdgrp.rec.nam,
oridre: model.bcdgrp.rec.oridre, oridre: model.bcdgrp.rec.oridre,
}, },
...@@ -110,23 +110,23 @@ export default { ...@@ -110,23 +110,23 @@ export default {
buildLimitbody (model, trnName) { buildLimitbody (model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { // rec: {
objtyp: 'BCD', // objtyp: 'BCD',
objinr: model.bcdgrp.rec.inr, // objinr: model.bcdgrp.rec.inr,
ownref: model.bcdgrp.rec.ownref, // ownref: model.bcdgrp.rec.ownref,
}, // },
}; };
return params return params
}, },
buildDoctre (model, trnName) { buildDoctre (model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { // rec: {
objtyp: 'BCD', // objtyp: 'BCD',
objinr: model.bcdgrp.rec.inr, // objinr: model.bcdgrp.rec.inr,
ownref: model.bcdgrp.rec.ownref, // ownref: model.bcdgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg, // // swiftflg: model.gitp.swiftflg,
}, // },
}; };
return params return params
}, },
......
...@@ -107,12 +107,11 @@ export default { ...@@ -107,12 +107,11 @@ export default {
// 业务信息=》基本信息=》编号-----获取编号 // 业务信息=》基本信息=》编号-----获取编号
async queryOwnref() { async queryOwnref() {
let params = { let params = {
ptainr: this.model.bcdgrp.drr.pts.ptainr, ptainr: this.model.bcdgrp.dre.pts.ptainr,
businessType: 'IC', businessType: 'IC',
tbl: 'IC', tbl: 'IC',
}; };
const loading = this.loading(); const loading = this.loading();
debugger;
let res = await Api.post('/service/bctdav/getOwnRef', params); let res = await Api.post('/service/bctdav/getOwnRef', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
loading.close(); loading.close();
......
...@@ -158,18 +158,21 @@ let checkObj = { ...@@ -158,18 +158,21 @@ let checkObj = {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bcdgrp.rec.matpercnt":[ "bcdgrp.srm.djutyp":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: true, message: "必选项"},
{type: "number",max: 999,message:"长度不能超过3"}
], ],
// "bcdgrp.rec.matpercnt":[
// {type: "number", required: false, message: "必输项"},
// {type: "number",max: 999,message:"长度不能超过3"}
// ],
"bcdgrp.rmi.adrelc":[ "bcdgrp.rmi.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bcdgrp.blk.bcgdet":[ // "bcdgrp.blk.bcgdet":[
{type: "string", required: true, message: "必输项"}, // {type: "string", required: true, message: "必输项"},
{max: 45,message:"长度不能超过45"} // {max: 45,message:"长度不能超过45"}
], // ],
"bcdgrp.drr.pts.ref":[ "bcdgrp.drr.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -222,11 +225,11 @@ let checkObj = { ...@@ -222,11 +225,11 @@ let checkObj = {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"setmod.docamt":[ // "setmod.docamt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"setmod.zmqacc":[ "setmod.zmqacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
...@@ -261,16 +264,16 @@ let checkObj = { ...@@ -261,16 +264,16 @@ let checkObj = {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"mtabut.coninf.oitinf.oit.inftxt":[ // "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, // {type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"} // {max: 60,message:"长度不能超过60"}
], // ],
"mtabut.coninf.oitset.oit.inftxt":[ // "mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, // {type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"} // {max: 60,message:"长度不能超过60"}
], // ],
"mtabut.coninf.conexedat":[ "mtabut.coninf.conexedat":[
{type: "string", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
......
...@@ -33,7 +33,7 @@ export default class Bctdav{ ...@@ -33,7 +33,7 @@ export default class Bctdav{
oridre:"", // Send Original Documents to Drawee .bcdgrp.rec.oridre oridre:"", // Send Original Documents to Drawee .bcdgrp.rec.oridre
doctypcod:"", // Collection Condition .bcdgrp.rec.doctypcod doctypcod:"", // Collection Condition .bcdgrp.rec.doctypcod
matdat:"", // Maturity Date .bcdgrp.rec.matdat matdat:"", // Maturity Date .bcdgrp.rec.matdat
matpercnt:"", // Tenor Specification .bcdgrp.rec.matpercnt matpercnt:"0", // Tenor Specification .bcdgrp.rec.matpercnt
matpertyp:"", // Days/Months or Years for Maturity Period .bcdgrp.rec.matpertyp matpertyp:"", // Days/Months or Years for Maturity Period .bcdgrp.rec.matpertyp
matperbeg:"", // Tenor Starting from .bcdgrp.rec.matperbeg matperbeg:"", // Tenor Starting from .bcdgrp.rec.matperbeg
stacty:"", // Country Code Risk Country .bcdgrp.rec.stacty stacty:"", // Country Code Risk Country .bcdgrp.rec.stacty
...@@ -47,16 +47,16 @@ export default class Bctdav{ ...@@ -47,16 +47,16 @@ export default class Bctdav{
stagod:"", // Good's Code (for Statistics) .bcdgrp.rec.stagod stagod:"", // Good's Code (for Statistics) .bcdgrp.rec.stagod
proins:"", // Protest Instructions .bcdgrp.rec.proins proins:"", // Protest Instructions .bcdgrp.rec.proins
inr: "", inr: "",
branchinr: '', branchInr: '',
}, },
cbs:{ cbs:{
max:{ max:{
cur:"", // Document Amount .bcdgrp.cbs.max.cur cur:"", // Document Amount .bcdgrp.cbs.max.cur
amt:"", // Document Amount .bcdgrp.cbs.max.amt amt:"0", // Document Amount .bcdgrp.cbs.max.amt
}, },
opn1:{ opn1:{
cur:"", // Open Amount .bcdgrp.cbs.opn1.cur cur:"", // Open Amount .bcdgrp.cbs.opn1.cur
amt:"", // Open Amount .bcdgrp.cbs.opn1.amt amt:"0", // Open Amount .bcdgrp.cbs.opn1.amt
}, },
}, },
blk:{ blk:{
...@@ -137,6 +137,7 @@ export default class Bctdav{ ...@@ -137,6 +137,7 @@ export default class Bctdav{
}, },
outlen:{ outlen:{
szflg:"", // 申报类型 .outlen.szflg szflg:"", // 申报类型 .outlen.szflg
acttyp: "", // 款项去向
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
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