Commit 94563429 by Eivi

bftdrv、bftdcr、bftsnd交易优化

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