Commit 4d613b53 by zhengxiaokui

bdtudp

parent 0c5c9ca8
......@@ -4,45 +4,45 @@ import Utils from "~/utils"
* Bdtudp Check规则
*/
let checkObj = {
"bddgrp.tag72add" :null,
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bddgrp.rec.disdat" :null,
"bdtp.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"bddgrp.rec.docflg" :null,
"bdtp.furide" :null,
"bddgrp.blk.docdis" :null,
"setmod.dspflg" :null,
"bddgrp.prb.pts.ref" :null,
"bddgrp.blk.accrmk" :null,
"bddgrp.prb.pts.extkey" :null,
"bddgrp.rec.expdat" :null,
"bddgrp.shp.namelc" :null,
"liaall.liaccv.totcovamt" :null,
"aamset.utlamt2" :null,
"bddgrp.rec.rcvdat" :null,
"bddgrp.shp.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bddgrp.blk.comcon" :null,
"bddgrp.prb.pts.bankno" :null,
"bddgrp.rec.reltyp" :null,
"bddgrp.rec.relgodflg" :null,
"bdtp.shpp.ptsget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null,
"bdtp.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bddgrp.shp.adrelc" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"setmod.docamt" :null,
"liaall.liaccv.cshpct" :null,
"bdtp.oth.pts.bankno" :null,
"bdtp.didget.sdamod.dadsnd" :null,
"bddgrp.shp.pts.extkey" :null,
"bddgrp.rec.trpdocnum" :null,
"liaall.liaccv.relcshpct" :null,
"bddgrp.tag72add": null,
"liaall.misamt": null,
"liaall.limmod.limpts.oth.pts.extkey": null,
"bddgrp.rec.disdat": null,
"bdtp.oth.pts.extkey": null,
"liaall.limmod.ownref": null,
"liaall.limmod.ecifno": null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd": null,
"bddgrp.rec.docflg": null,
"bdtp.furide": null,
"bddgrp.blk.docdis": null,
"setmod.dspflg": null,
"bddgrp.prb.pts.ref": null,
"bddgrp.blk.accrmk": null,
"bddgrp.prb.pts.extkey": null,
"bddgrp.rec.expdat": null,
"bddgrp.shp.namelc": null,
"liaall.liaccv.totcovamt": null,
"aamset.utlamt2": null,
"bddgrp.rec.rcvdat": null,
"bddgrp.shp.pts.adrblk": null,
"liaall.limmod.limpts.wrk.pts.extkey": null,
"bddgrp.blk.comcon": null,
"bddgrp.prb.pts.bankno": null,
"bddgrp.rec.reltyp": null,
"bddgrp.rec.relgodflg": null,
"bdtp.shpp.ptsget.sdamod.dadsnd": null,
"mtabut.coninf.conexedat": null,
"bdtp.recget.sdamod.dadsnd": null,
"liaall.limmod.limpts.nonrevflg1": null,
"bddgrp.shp.adrelc": null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd": null,
"setmod.docamt": null,
"liaall.liaccv.cshpct": null,
"bdtp.oth.pts.bankno": null,
"bdtp.didget.sdamod.dadsnd": null,
"bddgrp.shp.pts.extkey": null,
"bddgrp.rec.trpdocnum": null,
"liaall.liaccv.relcshpct": null,
}
for (const key in checkObj) {
......
......@@ -6,64 +6,64 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bddgrp.blk.docdisflg" :Utils.defaultFunction,
"bddgrp.blk.docdis" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bddgrp.ben.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"bdtp.oth.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bddgrp.prb.pts.extkey" :Utils.defaultFunction,
"bddgrp.shp.pts.extkey" :Utils.defaultFunction,
"bddgrp.shp.adrelc" :Utils.defaultFunction,
"bddgrp.shp.namelc" :Utils.defaultFunction,
"bddgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"bddgrp.rec.stadat" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"sftmt" :Utils.defaultFunction,
"bdtp.cre752flg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"bddgrp.rec.docflg" :Utils.defaultFunction,
"bddgrp.shp.pts.adrblk" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.rec.rtoaplflg" :Utils.defaultFunction,
"bddgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.rec.advtyp" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bddgrp.rec.docprbrol" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bddgrp.rec.relgoddat" :Utils.defaultFunction,
"bddgrp.cbs.max.amt" :Utils.defaultFunction,
"bddgrp.rec.predat" :Utils.defaultFunction,
"bddgrp.cbs.max.cur" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"bddgrp.rec.reltyp" :Utils.defaultFunction,
"bddgrp.apl.pts.nam" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"bddgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"bddgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bddgrp.rec.disdat" :Utils.defaultFunction,
"bddgrp.rec.approvcod" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"bddgrp.rec.payrol" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bddgrp.prb.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey": Utils.defaultFunction,
"bddgrp.blk.docdisflg": Utils.defaultFunction,
"bddgrp.blk.docdis": Utils.defaultFunction,
"setmod.doccur": Utils.defaultFunction,
"setmod.dspflg": Utils.defaultFunction,
"setmod.docamt": Utils.defaultFunction,
"bddgrp.ben.pts.nam": Utils.defaultFunction,
"mtabut.coninf.usr.extkey": Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey": Utils.defaultFunction,
"bdtp.oth.pts.extkey": Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2": Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1": Utils.defaultFunction,
"bddgrp.prb.pts.extkey": Utils.defaultFunction,
"bddgrp.shp.pts.extkey": Utils.defaultFunction,
"bddgrp.shp.adrelc": Utils.defaultFunction,
"bddgrp.shp.namelc": Utils.defaultFunction,
"bddgrp.shp.dbfadrblkcn": Utils.defaultFunction,
"liaall.liaccv.addinf": Utils.defaultFunction,
"bddgrp.rec.stadat": Utils.defaultFunction,
"liaall.liaccv.totcovamt": Utils.defaultFunction,
"sftmt": Utils.defaultFunction,
"bdtp.cre752flg": Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam": Utils.defaultFunction,
"liaall.liaccv.concur": Utils.defaultFunction,
"bddgrp.rec.docflg": Utils.defaultFunction,
"bddgrp.shp.pts.adrblk": Utils.defaultFunction,
"didgrp.rec.ownref": Utils.defaultFunction,
"bddgrp.rec.rtoaplflg": Utils.defaultFunction,
"bddgrp.rec.ownref": Utils.defaultFunction,
"bddgrp.rec.advtyp": Utils.defaultFunction,
"liaall.limmod.comamt": Utils.defaultFunction,
"liaall.limmod.ccvamt": Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam": Utils.defaultFunction,
"bddgrp.rec.docprbrol": Utils.defaultFunction,
"setmod.glemod.gleshwstm": Utils.defaultFunction,
"bddgrp.rec.relgoddat": Utils.defaultFunction,
"bddgrp.cbs.max.amt": Utils.defaultFunction,
"bddgrp.rec.predat": Utils.defaultFunction,
"bddgrp.cbs.max.cur": Utils.defaultFunction,
"didgrp.rec.expdat": Utils.defaultFunction,
"didgrp.cbs.opn1.amt": Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt": Utils.defaultFunction,
"bddgrp.rec.reltyp": Utils.defaultFunction,
"bddgrp.apl.pts.nam": Utils.defaultFunction,
"aamset.utlamt": Utils.defaultFunction,
"bddgrp.cbs.opn2.cur": Utils.defaultFunction,
"aamset.utlamt2": Utils.defaultFunction,
"bddgrp.cbs.opn1.amt": Utils.defaultFunction,
"liaall.misamt": Utils.defaultFunction,
"bddgrp.rec.disdat": Utils.defaultFunction,
"bddgrp.rec.approvcod": Utils.defaultFunction,
"liaall.liaccv.newamt": Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt": Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev": Utils.defaultFunction,
"mtabut.coninf.conexedat": Utils.defaultFunction,
"bddgrp.rec.payrol": Utils.defaultFunction,
"liaall.liaccv.cshpct": Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev": Utils.defaultFunction,
"bddgrp.prb.pts.nam": Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,161 +2,135 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAcctagButtxmsel(){
let rtnmsg = await this.executeRule("acctag.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
async onAcctagButtxmsel() {
let rtnmsg = await this.executeRule("acctag.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDocdisButtxmsel() {
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onShppDet(){
let rtnmsg = await this.executeRule("shpp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onShppDet() {
let rtnmsg = await this.executeRule("shpp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaccvAdd() {
let rtnmsg = await this.executeRule("liaccv.add")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaccvDel() {
let rtnmsg = await this.executeRule("liaccv.del")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
......@@ -14,7 +14,7 @@
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<el-form-item label="保证金应收比例" style="marginLeft:-200px !important" prop="liaall.liaccv.cshpct">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
......
......@@ -62,7 +62,9 @@
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Default from "~/model/Ditopn/Default";
import Bdtudp from "~/model/Bdtudp";
import CommonProcess from "~/mixin/CommonProcess";
import Pattern from "~/model/Bdtudp/Pattern";
......@@ -104,8 +106,7 @@ export default {
return {
initPane: "payp",
model: new Bdtudp().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
defaultRule: Default,
rules: Pattern,
codes: {},
};
......@@ -117,8 +118,11 @@ export default {
console.log("进入bdtudp交易");
let rtnmsg = await Api.post("bdtudp/init", { params: {} });
if (rtnmsg.respCode == SUCCESS) {
this.model.xxx = rtnmsg.data.bddgrp_bddlst;
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item :label="argadr.title + '编号'" :prop="argadr.url + 'ref'">
<c-input
v-model="model[argadr.url + 'ref']"
maxlength="16"
:placeholder="'请输入' + argadr.title + '编号'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="argadr.title + '名称'" :prop="argadr.url + 'nam'">
<c-input
v-model="model[argadr.url + 'nam']"
maxlength="40"
:placeholder="'请输入' + argadr.title + '名称'"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
export default {
inject: ["root"],
mixins: [CommonProcess],
props: ["model", "codes", "argadr"],
data() {
return {
data: [],
};
},
watch: {},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
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