Commit d7022b09 by WH

修复betdrv,letrsv,letdrw,betdrw缺陷

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