Commit 94563429 by Eivi

bftdrv、bftdcr、bftsnd交易优化

parent a2447b28
......@@ -149,7 +149,7 @@ export default {
"dedgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" },
{ 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位" }
],
"bftp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
......
......@@ -102,6 +102,7 @@ export default class Bftdcr {
},
docgrdm: {
docdsclab: "", // Label of document description .bftp.docgrdm.docdsclab
docgrd: "", //.bftp.docgrdm.docgrd
},
},
dedgrp: {
......
......@@ -18,7 +18,7 @@ export default {
"dedgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" },
{ 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位" }
],
"bftp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
......
......@@ -112,6 +112,7 @@ export default class Bftdrv {
msgtyp: "", // 报文类型 .bftp.msgtyp
docgrdm: {
docdsclab: "", // Label of document description .bftp.docgrdm.docdsclab
docgrd: "", //.bftp.docgrdm.docgrd
},
folwupopt: "", // Processing Options .bftp.folwupopt
othp: {
......
/**
* Bftset Default规则
*/
* Bftset Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bfdgrp.rec.frepayflg" :Utils.defaultFunction,
"bfdgrp.cbs.max.amt" :Utils.defaultFunction,
"bfdgrp.prb.pts.nam" :Utils.defaultFunction,
"bfdgrp.cbs.max.cur" :Utils.defaultFunction,
"bfdgrp.iss.pts.nam" :Utils.defaultFunction,
"trtcre.crefinflg" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bfdgrp.apl.pts.nam" :Utils.defaultFunction,
"bfdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"bfdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"bfdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"setmod.doccur": Utils.defaultFunction,
"setmod.docamt": Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey": Utils.defaultFunction,
"setmod.setamt": Utils.defaultFunction,
"setmod.dspflg": Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey": Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2": Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1": Utils.defaultFunction,
"bfdgrp.rec.frepayflg": Utils.defaultFunction,
"bfdgrp.cbs.max.amt": Utils.defaultFunction,
"bfdgrp.prb.pts.nam": Utils.defaultFunction,
"bfdgrp.cbs.max.cur": Utils.defaultFunction,
"bfdgrp.iss.pts.nam": Utils.defaultFunction,
"trtcre.crefinflg": Utils.defaultFunction,
"setmod.redamt": Utils.defaultFunction,
"dedgrp.rec.ownref": Utils.defaultFunction,
"liaall.limmod.comamt": Utils.defaultFunction,
"liaall.limmod.ccvamt": Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam": Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt": Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev": Utils.defaultFunction,
"bfdgrp.apl.pts.nam": Utils.defaultFunction,
"bfdgrp.rec.ownref": Utils.defaultFunction,
"mtabut.coninf.usr.extkey": Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam": Utils.defaultFunction,
"aamset.utlamt": Utils.defaultFunction,
"bfdgrp.cbs.opn2.cur": Utils.defaultFunction,
"aamset.utlamt2": Utils.defaultFunction,
"bfdgrp.cbs.opn1.amt": Utils.defaultFunction,
"liaall.misamt": Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt": Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev": Utils.defaultFunction,
"mtabut.clsflg": Utils.defaultFunction,
"mtabut.coninf.conexedat": Utils.defaultFunction,
}
//你可以添加自动default处理
//你可以添加自动default处理
\ No newline at end of file
......@@ -20,6 +20,7 @@ export default class Bftsnd {
},
docgrdm: {
docdsclab: "", // Label of document description .bftp.docgrdm.docdsclab
docgrd: "", //.bftp.docgrdm.docgrd
},
prbp: {
ptsget: {
......
......@@ -115,23 +115,35 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
:list="TableValue"
:list="this.model.bftp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="交单批注行行号" prop="bfdgrp.rec.anobnkcod">
<c-input
v-model="model.bfdgrp.rec.anobnkcod"
maxlength="20"
placeholder="请输入交单批注行行号"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="交单批注行行号" prop="bfdgrp.rec.anobnkcod">
<c-input
v-model="model.bfdgrp.rec.anobnkcod"
maxlength="20"
placeholder="请输入交单批注行行号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单批注日期" prop="bfdgrp.rec.anodat">
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.anodat"
style="width: 100%"
placeholder="请选择交单批注日期"
disabled
></c-date-picker>
</el-form-item>
<c-col :span="24">
<el-form-item label="交单批注日期" prop="bfdgrp.rec.anodat">
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.anodat"
style="width: 100%"
placeholder="请选择交单批注日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="交单批注描述" prop="bfdgrp.rec.anodsp">
<c-input
type="textarea"
v-model="model.bfdgrp.rec.anodsp"
maxlength="55"
show-word-limit
placeholder="请输入交单批注描述"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="交单批注描述" prop="bfdgrp.rec.anodsp">
<c-input
type="textarea"
v-model="model.bfdgrp.rec.anodsp"
maxlength="55"
show-word-limit
placeholder="请输入交单批注描述"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="报文类型" prop="bftp.msgtyp">
<c-select
v-model="model.bftp.msgtyp"
style="width: 100%"
placeholder="请选择报文类型"
disabled
>
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
<c-col :span="24">
<el-form-item label="报文类型" prop="bftp.msgtyp">
<c-select
v-model="model.bftp.msgtyp"
style="width: 100%"
placeholder="请选择报文类型"
disabled
>
</el-option>
</c-select>
</el-form-item>
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
......
......@@ -226,23 +226,35 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
:list="TableValue"
:list="this.model.bftp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
......
......@@ -313,6 +313,7 @@
<!-- next part -->
<c-col :span="24" style="margin-bottom: 35px">
<c-istream-table
ref="table"
:list="model.liaall.tenstm.rows || []"
:columns="stmData.columns"
:showSelection="true"
......@@ -419,7 +420,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="frepayflg">
<el-form-item label="" prop="bfdgrp.rec.frepayflg">
<c-checkbox v-model="frepayflg">无偿放单</c-checkbox>
</el-form-item>
</c-col>
......@@ -845,6 +846,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bftset/Event";
import Ptsmsg from "~/views/Public/Ptsmsg";
import Utils from "~/utils/index"
// import PtapDome from "~/views/Public/PtapDome";
// import Ptap from "~/views/Public/Ptap"; "c-ptapdome": PtapDome, "c-ptap": Ptap
......@@ -889,16 +891,30 @@ export default {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
mounted (){
this.$nextTick(() => {
})
},
methods: {
...Event,
multipleSelect(selection) {
async multipleSelect(selection) {
console.log(selection);
if (selection) {
const rtnmsg = this.executeRule("tenstm");
this.updateModel(rtnmsg.data);
let selIds = selection.map(x=>x+1);
let params = {selDst:"liaall.tenstm",selIds}
const rtnmsg = await this.executeRule("liaall.tenstm",params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
},
created: function () {},
};
</script>
......
......@@ -24,7 +24,7 @@
<!--PD000034 -->
<el-tab-pane label="收款" name="setp">
<c-content>
<m-setp :model="model" :codes="codes"/>
<m-setp ref="setp" :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......@@ -118,6 +118,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
}
else
{
......
......@@ -320,23 +320,35 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="margin-bottom: 30px">
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
:list="TableValue"
:list="this.model.bftp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
......
......@@ -345,7 +345,6 @@
v-model="model.bfdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......
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