Commit 2220a19b by Eivi

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

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