Commit 4d613b53 by zhengxiaokui

bdtudp

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