Commit a2a93e3d by liaoxing

botdav 修改

parent 56507d6c
......@@ -38,7 +38,7 @@ export default {
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,
},
......@@ -110,23 +110,23 @@ export default {
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'BCD',
objinr: model.bcdgrp.rec.inr,
ownref: model.bcdgrp.rec.ownref,
},
// rec: {
// objtyp: 'BCD',
// objinr: model.bcdgrp.rec.inr,
// ownref: model.bcdgrp.rec.ownref,
// },
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'BCD',
objinr: model.bcdgrp.rec.inr,
ownref: model.bcdgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
// rec: {
// objtyp: 'BCD',
// objinr: model.bcdgrp.rec.inr,
// ownref: model.bcdgrp.rec.ownref,
// // swiftflg: model.gitp.swiftflg,
// },
};
return params
},
......
......@@ -107,12 +107,11 @@ export default {
// 业务信息=》基本信息=》编号-----获取编号
async queryOwnref() {
let params = {
ptainr: this.model.bcdgrp.drr.pts.ptainr,
ptainr: this.model.bcdgrp.dre.pts.ptainr,
businessType: 'IC',
tbl: 'IC',
};
const loading = this.loading();
debugger;
let res = await Api.post('/service/bctdav/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
......
......@@ -158,18 +158,21 @@ let checkObj = {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.matpercnt":[
{type: "number", required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"}
"bcdgrp.srm.djutyp":[
{type: "string", required: true, message: "必选项"},
],
// "bcdgrp.rec.matpercnt":[
// {type: "number", required: false, message: "必输项"},
// {type: "number",max: 999,message:"长度不能超过3"}
// ],
"bcdgrp.rmi.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.blk.bcgdet":[
{type: "string", required: true, message: "必输项"},
{max: 45,message:"长度不能超过45"}
],
// "bcdgrp.blk.bcgdet":[
// {type: "string", required: true, message: "必输项"},
// {max: 45,message:"长度不能超过45"}
// ],
"bcdgrp.drr.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -222,11 +225,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,16 +264,16 @@ 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: "输入正确的日期"}
......
......@@ -33,7 +33,7 @@ export default class Bctdav{
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
matpercnt:"0", // 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
......@@ -47,16 +47,16 @@ export default class Bctdav{
stagod:"", // Good's Code (for Statistics) .bcdgrp.rec.stagod
proins:"", // Protest Instructions .bcdgrp.rec.proins
inr: "",
branchinr: '',
branchInr: '',
},
cbs:{
max:{
cur:"", // Document Amount .bcdgrp.cbs.max.cur
amt:"", // Document Amount .bcdgrp.cbs.max.amt
amt:"0", // Document Amount .bcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .bcdgrp.cbs.opn1.cur
amt:"", // Open Amount .bcdgrp.cbs.opn1.amt
amt:"0", // Open Amount .bcdgrp.cbs.opn1.amt
},
},
blk:{
......@@ -137,6 +137,7 @@ export default class Bctdav{
},
outlen:{
szflg:"", // 申报类型 .outlen.szflg
acttyp: "", // 款项去向
},
setmod: new Pub().data.Setmod,
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