Commit aca47cfe by liaoxing

bctrad 修改,并解决infbcd点击按钮后无法跳转到对应交易页面问题

parent 1a29164f
......@@ -22,12 +22,6 @@ export default {
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));
}
......@@ -40,6 +34,7 @@ export default {
expdat: model.bcdgrp.rec.expdat,
branchinr: model.bcdgrp.rec.branchInr,
docgrd: model.bctp.docgrdm.docgrd,
oridre: model.oridre,
// nam: model.bcdgrp.rec.nam,
// oridre: model.bcdgrp.rec.oridre,
},
......
......@@ -74,10 +74,10 @@ let checkObj = {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.blk.colinssnm":[
{type: "string", required: true, message: "必输项"},
{max: 260,message:"长度不能超过260"}
],
// "bcdgrp.blk.colinssnm":[
// {type: "string", required: true, message: "必输项"},
// {max: 260,message:"长度不能超过260"}
// ],
"bcdgrp.co2.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -101,8 +101,8 @@ let checkObj = {
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.co2.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 150,message:"长度不能超过120"}
// {type: "string", required: true, message: "必输项"},
// {max: 150,message:"长度不能超过120"}
],
"bcdgrp.co2.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -119,17 +119,17 @@ let checkObj = {
],
"bcdgrp.blk.chgtxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
// {type: "string", required: true, message: "必输项"},
// {max: 35,message:"长度不能超过35"}
],
"bcdgrp.blk.dftins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
// {type: "string", required: true, message: "必输项"},
// {max: 65,message:"长度不能超过65"}
],
"bcdgrp.blk.othins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
// {type: "string", required: true, message: "必输项"},
// {max: 65,message:"长度不能超过65"}
],
"bctp.drep.ptsget.sdamod.dadsnd":[
......@@ -257,27 +257,27 @@ let checkObj = {
{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"}
],
"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: "输入正确的日期"}
......
......@@ -6,6 +6,7 @@ export default class Bctrad{
bctdrrl1blk:"",
bctdrel1blk:"",
bctdrel2blk:"",
oridre:"",
bcdgrp:{
rec:{
ownref:"", // Collection Number .bcdgrp.rec.ownref
......@@ -23,7 +24,7 @@ export default class Bctrad{
othins:"", // Defer Payment until .bcdgrp.rec.othins
stagod:"", // Good's Code (for Statistics) .bcdgrp.rec.stagod
proins:"", // Protest Instructions .bcdgrp.rec.proins
branchInr:"",
branchinr:"",
inr:"",
},
cbs:{
......@@ -69,6 +70,11 @@ export default class Bctrad{
dbfadrblkcn:"", // Chinese address .bcdgrp.co2.dbfadrblkcn
},
},
oldBcdgrp:{
rec:{
oridre: "",
}
},
bctp:{
recget:{
sdamod:{
......
......@@ -434,6 +434,36 @@ export default {
],
data: []
},
btnRouteMap: [
{
label: '进口代收承兑',
route: '/business-new/bctacc'
},
{
label: '进口代收到单通知',
route: '/business-new/bctdav'
},
{
label: '进口代收二次收单',
route: '/business-new/bctrad'
},
{
label: '进口代收付款',
route: '/business-new/bctset'
},
{
label: '进口代收拒付/不符点处理',
route: '/business-new/bctdor'
},
{
label: '进口代收修改',
route: '/business-new/bctame'
},
{
label: '进口代收注销',
route: '/business-new/bctcan'
},
],
pagination: {
pageIndex: 1,
pageSize: 10,
......
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