Commit 2220a19b by Eivi

betdcr交易初始化及前后端联动

parent e79555a1
......@@ -113,7 +113,7 @@ export default {
"bedgrp.oth.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string", max: 999, message: "长度不能超过35" }
],
"bedgrp.oth.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
......@@ -148,7 +148,7 @@ export default {
],
"bedgrp.prb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string", max: 999, message: "长度不能超过35" }
],
"bedgrp.prb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
......@@ -159,22 +159,22 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"bedgrp.blk.intdis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"bedgrp.blk.docins": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bedgrp.blk.disdoc": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bedgrp.blk.docdis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="Internal Discrepancies"
......@@ -64,7 +64,7 @@
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Reasons for Rejection"
......@@ -310,10 +310,15 @@ export default {
computed: {
docdisflg: {
get() {
return this.model.bedgrp.blk.docdisflg != "X";
if(this.model.bedgrp.blk.docdis==""){
return this.model.bedgrp.blk.docdisflg != "X";
}else{
return this.model.bedgrp.blk.docdisflg != "";
}
},
set(val) {
this.model.bedgrp.blk.docdisflg = val ? "X" : "";
this.model.bedgrp.blk.docdis = "";
},
},
rejpenins: {
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
......@@ -41,7 +41,7 @@
type="primary"
:disabled="this.flag"
>
获取
Get
</c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -87,7 +87,7 @@
type="primary"
:disabled="this.flag"
>
获取
Get
</c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -215,7 +215,7 @@
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amt. L/C" prop="ledgrp.cbs.opn1.cur">
......@@ -258,6 +258,9 @@
rol: 'prb',
}"
:disabled="true"
:enname="true"
:enRef="true"
:enNam="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
......@@ -269,6 +272,8 @@
rol: 'iss',
}"
:disabled="true"
:enRef="true"
:enNam="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
......@@ -280,6 +285,8 @@
rol: 'apl',
}"
:disabled="true"
:enRef="true"
:enNam="true"
></c-ptsmsg>
</c-col>
</c-col>
......@@ -291,7 +298,7 @@
<!-- next part -->
<!-- left -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<c-checkbox v-model="advrefflg" style="margin-left: 150px"
>Receive advice of refusal</c-checkbox
......@@ -332,7 +339,7 @@
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Payer" prop="bedgrp.rec.payrol">
<c-select
......
......@@ -337,7 +337,7 @@
</el-table-column>
<el-table-column label="2nd" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2"></c-input>
<c-input v-model="scope.row.cmail2" @change="prsdoc"></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
......@@ -870,17 +870,7 @@ export default {
// }
},//表格输入传入数据库
async prsdoc() {
let rtnmsg = await this.executeRule("bfdgrp.blk.prsdoc")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async matdat() {
let rtnmsg = await this.executeDefault("bfdgrp.blk.matper")
let rtnmsg = await this.executeDefault("bfdgrp.blk.prsdoc")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
......
......@@ -36,6 +36,7 @@ import Pattern from "~/model/Infled/Pattern"
import Infsea from "./Infsea"
export default {
name: "Infled",
components:{
"m-infsea" : Infsea,
......
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