Commit d7022b09 by WH

修复betdrv,letrsv,letdrw,betdrw缺陷

parent 4d682075
......@@ -231,23 +231,23 @@ export default {
{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"}
],
"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.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.conexedat":[
{ required: false, message: "输入正确的日期"}
],
......
......@@ -3,7 +3,7 @@
<c-page title="出口信用证单据修改">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" >
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
......
......@@ -107,6 +107,23 @@ export default {
queryFormData(key) {
console.log(key);
},
async avbwthFlg() {
let ptsList = []
ptsList.push(this.model.ledgrp.adv)
ptsList.push(this.model.ledgrp.a2b)
ptsList.push(this.model.ledgrp.iss)
// ptsList.push(this.model.ledgrp.own)
let params = {
avbwth: this.model.ledgrp.rec.avbwth,
ptsList
};
let res = await Api.post('/service/letdrw/avbwthflg', params);
if (res.respCode == SUCCESS) {
this.model.ledgrp.avb.pts.extkey=res.data.pts.extkey;
this.model.ledgrp.avb.pts.adrblk=res.data.pts.adrblk;
this.model.ledgrp.avb.pts.rol=res.data.pts.rol;
}
},
//获取信用证编号
async getref() {
......
......@@ -9,6 +9,7 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthFlg"
>
</c-select>
</el-form-item>
......@@ -23,6 +24,9 @@
grp: 'ledgrp',
rol: 'avb',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('AVB', 'B')
"
:noRef="true"
:onlySearch="true"
:disabledExtkey="!avbFlag"
......
......@@ -109,9 +109,9 @@ let checkObj = {
"ledgrp.rec.opndat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.preadvdt": [
{ type: "date", required: false, message: "输入正确的日期" }
],
// "ledgrp.rec.preadvdt": [
// { type: "date", required: false, message: "输入正确的日期" }
// ],
"ledgrp.iss.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
......@@ -128,9 +128,9 @@ let checkObj = {
"ledgrp.rec.shpdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.advdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
// "ledgrp.rec.advdat": [
// { type: "date", required: false, message: "输入正确的日期" }
// ],
"ledgrp.iss.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 140,message:"长度不能超过140" }
......@@ -203,10 +203,10 @@ let checkObj = {
"ledgrp.blk.mixdet": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
// "ledgrp.blk.mixdet": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" }
// ],
"letp.avbp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
......@@ -367,18 +367,18 @@ let checkObj = {
{ max: 35, message: "长度不能超过35" }
],
"ledgrp.adv.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
// "ledgrp.adv.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" }
// ],
"ledgrp.adv.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"ledgrp.apb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
// "ledgrp.apb.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" }
// ],
"ledgrp.apb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
......@@ -433,18 +433,18 @@ let checkObj = {
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"ledgrp.a2b.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ type: "string",max: 999, message: "长度不能超过35" }
],
// "ledgrp.a2b.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
// { type: "string",max: 999, message: "长度不能超过35" }
// ],
"ledgrp.a2b.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"ledgrp.rmb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
// "ledgrp.rmb.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" }
// ],
"ledgrp.rmb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
......@@ -479,30 +479,30 @@ let checkObj = {
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
//
// "ledgrp.blk.lcrgod": [
// { type: "string", required: true, message: "必输项" },
// { max: 65, message: "长度不能超过65" }
// ],
"ledgrp.blk.lcrgod": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
// "ledgrp.blk.lcrdoc": [
// { type: "string", required: true, message: "必输项" },
// { max: 65, message: "长度不能超过65" }
// ],
"ledgrp.blk.lcrdoc": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.blk.adlcnd": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
// "ledgrp.blk.adlcnd": [
// { type: "string", required: true, message: "必输项" },
// { max: 65, message: "长度不能超过65" }
// ],
"ledgrp.blk.insbnk": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
// "ledgrp.blk.insbnk": [
// { type: "string", required: true, message: "必输项" },
// { max: 65, message: "长度不能超过65" }
// ],
"setmod.ref": [
{ type: "string", required: false, message: "必输项" },
......@@ -510,11 +510,11 @@ let checkObj = {
],
"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位" }
// ],
......@@ -526,16 +526,16 @@ let checkObj = {
"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.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.conexedat": [
{ type: "date", required: false, message: "输入正确的日期" }
......
......@@ -129,7 +129,7 @@ export default class Letrsv {
},
letp: {
usr: {
extkey: ''
extkey: window.sessionStorage.userId || 'ZL',
},
aamp: {
aammod: {
......
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