Commit 3e4d0379 by liuxin
parents a2f299f0 8b71e437
...@@ -4,20 +4,15 @@ import Utils from "~/utils" ...@@ -4,20 +4,15 @@ import Utils from "~/utils"
* Brtcan Check规则 * Brtcan Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.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.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"brtp0.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"brtp0.lidget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
} }
......
...@@ -7,30 +7,29 @@ import Utils from "~/utils/index" ...@@ -7,30 +7,29 @@ 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,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :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,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction, "brdgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :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,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -2,31 +2,7 @@ import Api from "~/service/Api" ...@@ -2,31 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onLiaallButmisamt(){ async onSetmodDet(){
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 onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
], ],
"brdgrp.cbs.max.amt":[ "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[ "brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
...@@ -96,36 +96,6 @@ export default { ...@@ -96,36 +96,6 @@ export default {
], ],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[ "setmod.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -243,7 +213,7 @@ export default { ...@@ -243,7 +213,7 @@ export default {
], ],
"liaall.limmod.comamt":[ "liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
...@@ -256,7 +226,7 @@ export default { ...@@ -256,7 +226,7 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"liaall.limmod.ccvamt":[ "liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Setmod from "../Public/Setmod" import Setmod from "../Public/Setmod"
export default class Brtcan{ export default class Brtcan{
constructor () { constructor () {
this.data = { this.data = {
...@@ -66,52 +68,6 @@ export default class Brtcan{ ...@@ -66,52 +68,6 @@ export default class Brtcan{
}, },
sndmsg:"", // Send Message .sndmsg sndmsg:"", // Send Message .sndmsg
rebkpflg:"", // Booking Procedure .rebkpflg rebkpflg:"", // Booking Procedure .rebkpflg
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:new Setmod().data, setmod:new Setmod().data,
mtabut:{ mtabut:{
coninf:{ coninf:{
...@@ -153,6 +109,46 @@ export default class Brtcan{ ...@@ -153,6 +109,46 @@ export default class Brtcan{
filrecv:"", // File Receiver .trnmod.trndoc.filrecv filrecv:"", // File Receiver .trnmod.trndoc.filrecv
}, },
}, },
liaall:{
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<div class="bus-button">
<c-button type="primary" v-on:click="handleSave">{{ $t("buttons.save") }}</c-button>
<c-button type="primary" v-on:click="handleCheck">{{ $t("buttons.check") }}</c-button>
</div>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
...@@ -9,9 +13,9 @@ ...@@ -9,9 +13,9 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="Liability" name="engp"> <!-- <el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
...@@ -46,24 +50,24 @@ import Api from "~/service/Api" ...@@ -46,24 +50,24 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Brtcan from "~/model/Brtcan" import Brtcan from "~/model/Brtcan"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Brtcan/Check" import Check from "~/model/Brtcan/Check"
import Default from "~/model/Brtcan/Default" import Default from "~/model/Brtcan/Default"
import Pattern from "~/model/Brtcan/Pattern" import Pattern from "~/model/Brtcan/Pattern"
import Canp from "./Canp" import Canp from "./Canp"
import Engp from "./Engp" // import Engp from "./Engp"
// import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Limitbody from "./Limitbody"
import Setpan from "../../Public/Setpan" import Setpan from "../../Public/Setpan"
import Coninfp from "../../Public/Coninfp"
import Docpan from "../../Public/Docpan"
import Doctre from "../../Public/Doctre"
import Limitbody from "../../Public/Limitbody"
export default { export default {
name: 'Brtcan', name: 'Brtcan',
components:{ components:{
"m-canp" : Canp, "m-canp" : Canp,
"m-engp" : Engp, // "m-engp" : Engp,
"m-setpan" : Setpan, "m-setpan" : Setpan,
"m-coninfp" : Coninfp, "m-coninfp" : Coninfp,
"m-docpan" : Docpan, "m-docpan" : Docpan,
...@@ -76,7 +80,7 @@ export default { ...@@ -76,7 +80,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "canp", tabVal: "canp",
...@@ -91,19 +95,45 @@ export default { ...@@ -91,19 +95,45 @@ export default {
} }
}, },
methods:{ methods:{
tabClick(){ async handleSave() {
let result = await this.save();
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
this.$notify({
title: "成功",
message: "保存成功",
type: "success",
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.go(-1)
} else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
} else{
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
}
} }
}, },
created:async function(){ created:async function(){
console.log("进入brtcan交易"); console.log("进入brtcan交易");
console.log("$el",this.$el)
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
} }
else else
{ {
......
...@@ -115,6 +115,7 @@ import Detame from "~/model/Detame" ...@@ -115,6 +115,7 @@ import Detame from "~/model/Detame"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Detopn/Check"; import Check from "~/model/Detopn/Check";
import Detame from "~/model/Detame";
import Default from "~/model/Detopn/Default"; import Default from "~/model/Detopn/Default";
import Pattern from "~/model/Detopn/Pattern"; import Pattern from "~/model/Detopn/Pattern";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
...@@ -132,7 +133,7 @@ import Docpan from "~/views/Public/Docpan"; ...@@ -132,7 +133,7 @@ import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Detopn", name: "Detame",
components: { components: {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-detp": Detp, "m-detp": Detp,
......
...@@ -76,6 +76,8 @@ export default { ...@@ -76,6 +76,8 @@ export default {
message: "保存成功", message: "保存成功",
type: "success", type: "success",
}); });
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.go(-1)
} else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){ } else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors) const tab = this.showBackendErrors(result.fieldErrors)
if (tab) { if (tab) {
......
...@@ -78,6 +78,8 @@ export default { ...@@ -78,6 +78,8 @@ export default {
message: "保存成功", message: "保存成功",
type: "success", type: "success",
}); });
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.go(-1)
} else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){ } else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors) const tab = this.showBackendErrors(result.fieldErrors)
if (tab) { if (tab) {
......
...@@ -10,214 +10,214 @@ ...@@ -10,214 +10,214 @@
label-width="110px" label-width="110px"
size="small" size="small"
> >
<el-row> <el-row>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="业务编号" prop="infcon.seaownref" > <el-form-item label="业务编号" prop="infcon.seaownref" >
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference" ></c-input> <c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8" > <c-col :span="8" >
<el-form-item label="开立日期" > <el-form-item label="开立日期" >
<c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择Opening between" style="width:43%"></c-date-picker> <c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择Opening between" style="width:43%"></c-date-picker>
- -
<c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择Open Date to" style="width:43%"></c-date-picker> <c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择Open Date to" style="width:43%"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="业务主题" prop="infcon.nam" style=""> <el-form-item label="业务主题" prop="infcon.nam" style="">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name" ></c-input> <c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> </el-row>
<!--<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom"> <el-form-item label="Opening between" prop="infcon.opndatfrom">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker> <c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto">
<c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker>
</el-form-item>
</c-col>-->
<el-row v-show="searchSlot.searchToggle">
<!--<c-col :span="12">
<el-form-item label="Party Reference" prop="infcon.searef" >
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference" ></c-input>
</el-form-item>
</c-col>-->
<c-col :span="8">
<el-form-item label="复核状态" prop="infcon.relflg" style="">
<c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status">
<el-option
v-for="item in codes.relflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!--<c-col :span="12">
<el-form-item label="Handling Type" v-show ="false" prop="infcon.hndtyp" >
<c-select v-model="model.infcon.hndtyp" style="width:100%" placeholder="请选择Handling Type">
<el-option
v-for="item in codes.hndtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>-->
<!--<c-col :span="12"> <c-col :span="12">
<el-form-item label="Select Single Party" prop="infcon.pty.extkey" > <el-form-item label="Open Date to" prop="infcon.opndatto">
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party" ></c-input> <c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>-->
<c-col :span="12"> <el-row v-show="searchSlot.searchToggle">
<el-form-item label="Party Name" prop="infcon.pty.nam" >
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" ></c-input>
</el-form-item> <!--<c-col :span="12">
</c-col> <el-form-item label="Party Reference" prop="infcon.searef" >
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference" ></c-input>
</el-form-item>
</c-col>-->
<c-col :span="8">
<el-form-item label="复核状态" prop="infcon.relflg" style="">
<c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status">
<el-option
v-for="item in codes.relflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="Party Name/BIC" prop="infcon.seapty" > <el-form-item label="Handling Type" v-show ="false" prop="infcon.hndtyp" >
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input> <c-select v-model="model.infcon.hndtyp" style="width:100%" placeholder="请选择Handling Type">
</el-form-item> <el-option
</c-col> v-for="item in codes.hndtyp"
:key="item.value"
<c-col :span="12"> :label="item.label"
<el-form-item label="Role" prop="infcon.searol" > :value="item.value"
<c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role"> >
<el-option </el-option>
v-for="item in codes.searol" </c-select>
:key="item.value" </el-form-item>
:label="item.label" </c-col>-->
:value="item.value"
> <!--<c-col :span="12">
</el-option> <el-form-item label="Select Single Party" prop="infcon.pty.extkey" >
</c-select> <c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party" ></c-input>
</el-form-item> </el-form-item>
</c-col>--> </c-col>
<!--<c-col :span="12"> <c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom" > <el-form-item label="Party Name" prop="infcon.pty.nam" >
<c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker> <c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto" > <el-form-item label="Party Name/BIC" prop="infcon.seapty" >
<c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker> <c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input>
</el-form-item> </el-form-item>
</c-col>--> </c-col>
<!--<c-col :span="12"> <c-col :span="12">
<el-form-item label="Resp.User" disabled prop="infcon.usr.extkey" > <el-form-item label="Role" prop="infcon.searol" >
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> <c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role">
</el-form-item> <el-option
</c-col>--> v-for="item in codes.searol"
:key="item.value"
<c-col :span="8"> :label="item.label"
<el-form-item label="业务状态" prop="infcon.seasta" > :value="item.value"
<c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status"> >
<el-option </el-option>
v-for="item in codes.seasta" </c-select>
:key="item.value" </el-form-item>
:label="item.label" </c-col>-->
:value="item.value"
> <!--<c-col :span="12">
</el-option> <el-form-item label="Opening between" prop="infcon.opndatfrom" >
</c-select> <c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="12">
<el-form-item label="币种" prop="infcon.seacur" > <el-form-item label="Open Date to" prop="infcon.opndatto" >
<c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency"> <c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker>
<el-option </el-form-item>
v-for="item in codes.seacur" </c-col>-->
:key="item.value"
:label="item.label" <!--<c-col :span="12">
:value="item.value" <el-form-item label="Resp.User" disabled prop="infcon.usr.extkey" >
> <c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-option> </el-form-item>
</c-select> </c-col>-->
</el-form-item>
</c-col> <c-col :span="8">
<el-form-item label="业务状态" prop="infcon.seasta" >
<c-col :span="8"> <c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status">
<el-form-item label="金额" > <el-option
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between" style="width:45%"></c-input> v-for="item in codes.seasta"
- :key="item.value"
<c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to" style="width:45%"></c-input> :label="item.label"
</el-form-item> :value="item.value"
</c-col> >
</el-option>
<c-col :span="8"> </c-select>
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" > </el-form-item>
<c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码"> </c-col>
<el-option
v-for="item in codes.cxmflg" <c-col :span="8">
:key="item.value" <el-form-item label="币种" prop="infcon.seacur" >
:label="item.label" <c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency">
:value="item.value" <el-option
> v-for="item in codes.seacur"
</el-option> :key="item.value"
</c-select> :label="item.label"
</el-form-item> :value="item.value"
</c-col> >
</el-option>
<c-col :span="8"> </c-select>
<el-form-item label="确认状态" prop="seacnfdet" > </el-form-item>
<c-select v-model="model.seacnfdet" style="width:100%" placeholder="请选择Confirmation Status"> </c-col>
<el-option
v-for="item in codes.cnfins" <c-col :span="8">
:key="item.value" <el-form-item label="金额" >
:label="item.label" <c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between" style="width:45%"></c-input>
:value="item.value" -
> <c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to" style="width:45%"></c-input>
</el-option> </el-form-item>
</c-select> </c-col>
</el-form-item>
</c-col> <c-col :span="8">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" >
<c-col :span="8"> <c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码">
<el-form-item label="信用证类型" prop="sealcrtyp" > <el-option
<c-select v-model="model.sealcrtyp" :code="codes.lcrtyp" style="width:100%" placeholder="请选择form of L/C"> v-for="item in codes.cxmflg"
</c-select> :key="item.value"
</el-form-item> :label="item.label"
</c-col> :value="item.value"
>
<c-col :span="8"> </el-option>
<el-form-item label="货物种类" prop="seagodcod"> </c-select>
<c-select v-model="model.seagodcod" style="width:100%" placeholder="请选择Goods Code"> </el-form-item>
<el-option </c-col>
v-for="item in codes.godcod"
:key="item.value" <c-col :span="8">
:label="item.label" <el-form-item label="确认状态" prop="seacnfdet" >
:value="item.value" <c-select v-model="model.seacnfdet" style="width:100%" placeholder="请选择Confirmation Status">
> <el-option
</el-option> v-for="item in codes.cnfins"
</c-select> :key="item.value"
</el-form-item> :label="item.label"
</c-col> :value="item.value"
>
</el-row> </el-option>
</el-form> </c-select>
</template> </el-form-item>
</c-list-search> </c-col>
<c-col :span="8">
<el-form-item label="信用证类型" prop="sealcrtyp" >
<c-select v-model="model.sealcrtyp" :code="codes.lcrtyp" style="width:100%" placeholder="请选择form of L/C">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="货物种类" prop="seagodcod">
<c-select v-model="model.seagodcod" style="width:100%" placeholder="请选择Goods Code">
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<!--<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="display stream" prop="infbut.dspstm"> <el-form-item label="display stream" prop="infbut.dspstm">
<c-input v-model="model.infbut.dspstm" placeholder="请输入display stream"></c-input> <c-input v-model="model.infbut.dspstm" placeholder="请输入display stream"></c-input>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
Exit Exit
</c-button> </c-button>
</el-col> </el-col>
<c-istream-table :list="this.model.infbut.dspstm" :columns="columns" style="padding: 0 16px;"> <c-istream-table :list="this.model.infbut.dspstm || []" :columns="columns" style="padding: 0 16px;">
<el-table-column <el-table-column
prop="display" prop="display"
label="操作" label="操作"
...@@ -309,7 +309,8 @@ export default { ...@@ -309,7 +309,8 @@ export default {
}, },
async onChoose(code){ async onChoose(code){
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.initdialog = false
this.$router.history.push("/business/" + code)
}, },
handleReset: function () { handleReset: function () {
......
...@@ -23,6 +23,7 @@ import Infsea from "./Infsea" ...@@ -23,6 +23,7 @@ import Infsea from "./Infsea"
export default { export default {
name: 'Inflid',
components:{ components:{
"m-infsea" : Infsea, "m-infsea" : Infsea,
...@@ -35,7 +36,7 @@ export default { ...@@ -35,7 +36,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "infsea",
trnName: "inflid", trnName: "inflid",
model: new Inflid().data, model: new Inflid().data,
checkRules: Check, checkRules: Check,
...@@ -55,7 +56,7 @@ export default { ...@@ -55,7 +56,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
} }
else else
{ {
......
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