Commit 0f734a29 by nanrui

infbcd初始化及infbod优化

parent 879f86e9
......@@ -2,233 +2,223 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
 this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRogpDet(){
let rtnmsg = await this.executeRule("rogp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrepDet(){
let rtnmsg = await this.executeRule("drep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmipDet(){
let rtnmsg = await this.executeRule("rmip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCo2pDet(){
let rtnmsg = await this.executeRule("co2p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrrpDet(){
let rtnmsg = await this.executeRule("drrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAgtpDet(){
let rtnmsg = await this.executeRule("agtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAgbpDet(){
let rtnmsg = await this.executeRule("agbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshword(){
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrnmodGetmod(){
let rtnmsg = await this.executeRule("trnmod.getmod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshw(){
let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColinsButtxmsel(){
let rtnmsg = await this.executeRule("colins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftinsButtxmsel(){
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthins1Buttxmsel(){
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp() {
let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutUserow() {
let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutButprt() {
let rtnmsg = await this.executeRule("infbut.butprt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRogpDet() {
let rtnmsg = await this.executeRule("rogp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDrepDet() {
let rtnmsg = await this.executeRule("drep.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRmipDet() {
let rtnmsg = await this.executeRule("rmip.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onCo2pDet() {
let rtnmsg = await this.executeRule("co2p.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDrrpDet() {
let rtnmsg = await this.executeRule("drrp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAgtpDet() {
let rtnmsg = await this.executeRule("agtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAgbpDet() {
let rtnmsg = await this.executeRule("agbp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrnmodGetmod() {
let rtnmsg = await this.executeRule("trnmod.getmod")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshw() {
let rtnmsg = await this.executeRule("infcon.butshw")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onColinsButtxmsel() {
let rtnmsg = await this.executeRule("colins.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDftinsButtxmsel() {
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOthins1Buttxmsel() {
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// this.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
},
}
\ No newline at end of file
......@@ -57,6 +57,7 @@ export default class Infbcd{
diadatto:"", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta
diastm:"", // stream for diaries to selected contract .infcon.diastm
objinr:""
},
seadoctypcod:"", // Payment Condition .seadoctypcod
infbut:{
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Fee Code" prop="infcon.fepfeecod">
<c-select v-model="model.infcon.fepfeecod" style="width:100%" placeholder="请选择Fee Code">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fepdsp">
<c-select v-model="model.infcon.fepdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream for FEPs to selected contract" prop="infcon.fepstm">
<c-input v-model="model.infcon.fepstm" placeholder="请输入stream for FEPs to selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.feptxtlbl" data-path=".infcon.feptxtlbl" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fcpdsp">
<c-select v-model="model.infcon.fcpdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of foreign charges" prop="infcon.fcpstm">
<c-input v-model="model.infcon.fcpstm" placeholder="请输入stream of foreign charges"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.fcptxtlbl" data-path=".infcon.fcptxtlbl" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infbcd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-list-search @form-reset="onInfbutClr" @form-search="onInfbutSearow">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="left" label-width="110px" size="small">
<el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="left" label-width="110px"
size="small">
<el-row>
<c-col :span="12">
<el-form-item label="Own Reference" prop="infcon.seaownref">
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="infcon.nam">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
</el-row>
<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="12">
<el-form-item label="Release Status" prop="infcon.relflg">
<c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status"></c-select>
</el-form-item>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%">
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%">
<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>
</c-col>
<c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto" style="width: 100%">
<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>
</c-col>
<c-col :span="8">
<el-form-item label="Party Reference" prop="infcon.searef" style="width: 100%">
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference"></c-input>
</el-form-item>
</c-col>
</c-col>
</el-row>
<c-col :span="12">
<el-form-item label="Handling Type" prop="infcon.hndtyp">
<c-select v-model="model.infcon.hndtyp" style="width:100%" placeholder="请选择Handling Type"></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Select Single Party" prop="infcon.pty.extkey">
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Visible Name" prop="infcon.pty.nam">
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入External Visible Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Party Name/BIC" prop="infcon.seapty">
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Role" prop="infcon.searol">
<c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role"></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<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>
</el-form-item>
</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>
<c-col :span="12">
<el-form-item label="User ID" prop="infcon.usr.extkey">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Status" prop="infcon.seasta">
<c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status"></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="infcon.seacur">
<c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency"></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount between" prop="infcon.seaamtfr">
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount to" prop="infcon.seaamtto">
<c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to"></c-input>
</el-form-item>
<c-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Release Status" prop="infcon.relflg" style="width: 100%">
<!-- <c-select v-model="model.infcon.relflg" style="width: 100%" placeholder="请选择Release Status">
</c-select> -->
<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="8">
<el-form-item label="Handling Type" prop="infcon.hndtyp" style="width: 100%">
<!-- <c-select v-model="model.infcon.hndtyp" style="width: 100%" placeholder="请选择Handling Type">
</c-select> -->
<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="8">
<el-form-item label="Select Single Party" prop="infcon.pty.extkey" style="width: 100%">
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg">
<c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码"></c-select>
</el-form-item>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="External Visible Name" prop="infcon.pty.nam" style="width: 100%">
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入External Visible Name">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Party Name/BIC" prop="infcon.seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Role" prop="infcon.searol" style="width: 100%">
<!-- <c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role">
</c-select> -->
<c-select v-model="model.infcon.payrol" style="width: 100%" placeholder="请选择Role">
<el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Payment Condition" prop="seadoctypcod">
<c-select v-model="model.seadoctypcod" style="width:100%" placeholder="请选择Payment Condition"></c-select>
</el-form-item>
<c-col :sapn="24">
<c-col :span="8">
<el-form-item label="Name" prop="infcon.nam" style="width: 100%">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="User ID" prop="infcon.usr.extkey" style="width: 100%">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Status" prop="infcon.seasta" style="width: 100%">
<!-- <c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择Status">
</c-select> -->
<c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择Status">
<el-option v-for="item in codes.seasta" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Goods Code" prop="seagodcod">
<c-select v-model="model.seagodcod" style="width:100%" placeholder="请选择Goods Code"></c-select>
</el-form-item>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Currency" prop="infcon.curtxt1" style="width: 100%">
<c-select v-model="model.infcon.curtxt1" style="width: 100%" placeholder="请选择Currency">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" style="width: 100%">
<!-- <c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码">
</c-select> -->
<c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码">
<el-option v-for="item in codes.cxmflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="12">
<el-form-item label="Amount between" prop="infcon.seaamtfr" style="width: 100%">
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount to" prop="infcon.seaamtto" style="width: 100%">
<c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="display stream" prop="infbut.dspstm">
<c-input v-model="model.infbut.dspstm" placeholder="请输入display stream"></c-input>
</el-form-item>
</c-col>
</el-row>
</c-col> -->
</c-row>
</el-form>
</template>
</c-list-search>
<div style="margin-top:20px;">
<c-col :span="24" style="margin-top:15px">
<c-col :span="12">
<el-form-item label="Payment Condition" prop="seadoctypcod" style="width: 100%">
<!-- <c-select v-model="model.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
</c-select> -->
<c-select v-model="model.infcon.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
<el-option v-for="item in codes.seadoctypcod" :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="Goods Code" prop="godcod" style="width: 100%">
<c-select v-model="model.infcon.godcod" 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>
</c-col>
<!-- <div style="margin-top:20px;">
<c-button size="small" type="primary" @click="onInfbutSearow">&Search</c-button>
<c-button size="small" type="primary" @click="onInfbutDsp">D&isplay</c-button>
<c-button size="small" type="primary" @click="onInfbutUserow">&Use</c-button>
<c-button size="small" type="primary" @click="onInfbutClr">&Clear</c-button>
<c-button size="small" type="primary" @click="onInfbutButprt">导Excel</c-button>
<c-button size="small" type="primary" @click="onInfbutExi">E&xit</c-button></c-col>
</div>
<el-row>
</div> -->
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="OP" width="100">
<el-table-column fixed="right" prop="op" label="操作" width="150px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col>
</template>
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">继续编辑</a></template>
<el-popover placement="top-start" title="历史信息" width="800" trigger="click"
:ref="'popover_' + scope.row.IDX">
<div style=" text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)" />
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row['INR'])">详情</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)"
slot="reference">详情</c-button>
</el-popover>
<c-button style="margin-left: 0" size="small" type="primary" @click="getButtons(scope.row['Reference'])">处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-row>
</c-col>
</div>
</template>
<script>
......@@ -143,45 +231,123 @@ import commonProcess from "~/mixin/commonProcess"
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infbcd/Event"
export
default {
inject:
['root'],
// import BusNavbar from "./BusNavbar.vue";
export
default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 120',
// '3 3 "日期" 200',
{ index: 3, position: 3, width: 110, pattern: 'date', label: '日期' },
// '4 4 "状态" 50',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80',
'6 6 "金额" 110',
],
data: [],
},
stmData: {
columns: [
"1 1 \"Reference\" 100 ",
"7 2\"Party Number\" 100",
"10 3 \"Party Number\" 110",
"3 4 \"Party Number\" 100",
"4 5 \" Opened\" 101 20 DateTime 1",
"4 5 \" closed\" 101 ",
"5 6 \" Cur\" 100",
"5 6 \" Cur\" 100",
"6 7 \"Doc.Account\" 100",
"6 7 \"Open Account\" 100",
"2 1 \"Dept User\" 100 ",
"6 1 \"分行名称\" 100 ",
"8 2\"Drawee\" 100",
"9 2\"Drawee CN\" 100",
"11 3 \"Drawer\" 110",
"2 3 \"Pta.No\" 110",
"3 4 \"Remitting Bank\" 100",
"3 4 \"Goods Code\" 100",
"1 1 \"Reference\" 150",
"2 2 \"Resp. User\" 100",
"3 3 \"Opened\" 200 4 7",
"4 4 \"Closed\" 200 4 7",
"5 5 \"Goods Code\" 130 1 0 1 GODCOD",
"6 6\"分行名称\" 136",
"7 7 \"Pta.No\" 130",
"8 8 \"Party Number\" 150",
"9 9 \"Drawee\" 300",
"10 10 \"Drawee CN\" 130",
"11 11 \"Party Number\" 150",
"12 12 \"Drawer\" 100",
"13 13 \"Party Number\" 150",
"14 14 \"Remitting Bank\" 200",
"15 15 \"Cur\" 50",
"16 16 \"Doc.Amount\" 100 2 8 1 15",
"17 17 \"Cur\" 50",
"18 18 \"Open Amount\" 100 2 8 1 17",
],
data: []
}
}
},
methods: {...Event
methods: {
...Event,
async getButtons(ownref) {
this.initdialog = true;
this.ownref = ownref
console.log("ownref:" + ownref);
setTimeout(() => {
this.$refs.childs.$emit("childmethods")
}, 10)
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false;
},
closeTrn(refId) {
this.$refs[refId].doClose();
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.bcdgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
console.log(rtnmsg);
console.log(this.model.infcon.chksubcon);
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
console.log(this.trnData.data);
}
},
async getDitSelInfo(idx, row) {
//TD中选中行触发
var params = { selDst: "infbut.dspstm", selIds: [idx + 1] }
let rtnmsg = await this.executeRule("infbut.dspstm", params);
if (rtnmsg.respCode = SUCCESS) {
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params = { selDst: "infbut.dsp", selIds: [idx + 1] }
let rtnmsgNew = await this.executeRule("infbut.dsp", params);
if (rtnmsgNew.respCode = SUCCESS) {
console.log(rtnmsgNew);
this.updateModel(rtnmsgNew.data);
let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit");
if (rtnmsgOitset.respCode = SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this.$emit('updateShowPanel', true)
},
// toBotdav() {
// this.$router.history.push("/business/botdav")
// }
},
created: function() {
created: function () {
}
}
}</script>
<style></style>
\ No newline at end of file
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.infcon.setflg">show temporary settlement that already settled</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sepdelflg">show temporary settlement that already deleted</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="stream of SEPs" prop="infcon.sepstm">
<c-input v-model="model.infcon.sepstm" placeholder="请输入stream of SEPs"></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"
import Event from "~/model/Infbcd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -9,11 +9,11 @@
<c-checkbox v-model="model.infcon.chktrnsta">only active transactions</c-checkbox>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="stream for TRN to selected contract" prop="infcon.trnstm">
<c-input v-model="model.infcon.trnstm" placeholder="请输入stream for TRN to selected contract"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfconButshw">
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 -->
<el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000201 -->
<el-tab-pane label="shpdet" name="shpdet">
<m-shpdet :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000260 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000291 -->
<el-tab-pane label="insttco" name="insttco">
<m-insttco :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="cbsinfp" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="smhinfp" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000185 -->
<el-tab-pane label="ordpan" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="cbeinfp" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="liainfp" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="cmt100pel" name="cmt100pel">
<m-cmt100pel :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="fecp" name="fecp">
<m-fecp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="difstm" name="difstm">
<m-difstm :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="gleinfp" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="trnpan" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="peninfp" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="coninfp" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000003 -->
<el-tab-pane label="PD000003" name="infconp">
<m-infconp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane> </c-tabs>
</el-form>
</div>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 -->
<el-tab-pane label="infsea" name="infsea">
<m-infsea :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000201 -->
<el-tab-pane label="shpdet" name="shpdet">
<m-shpdet :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000260 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000291 -->
<el-tab-pane label="insttco" name="insttco">
<m-insttco :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="cbsinfp" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="smhinfp" name="smhinfp">
<m-smhinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000185 -->
<el-tab-pane label="ordpan" name="ordpan">
<m-ordpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="cbeinfp" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="liainfp" name="liainfp">
<m-liainfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="cmt100pel" name="cmt100pel">
<m-cmt100pel :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="fecp" name="fecp">
<m-fecp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="difstm" name="difstm">
<m-difstm :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="gleinfp" name="gleinfp">
<m-gleinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="trnpan" name="trnpan">
<m-trnpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="peninfp" name="peninfp">
<m-peninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="coninfp" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000003 -->
<el-tab-pane label="PD000003" name="infconp">
<m-infconp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -123,67 +125,66 @@ import Coninfp from "./Coninfp"
import Infconp from "./Infconp"
import Detp from "./Detp"
export default {
name: "Infbcd",
components:{
"m-infsea" : Infsea,
"m-prtpan" : Prtpan,
"m-shpdet" : Shpdet,
"m-ptyp" : Ptyp,
"m-insttco" : Insttco,
"m-cbsinfp" : Cbsinfp,
"m-smhinfp" : Smhinfp,
"m-ordpan" : Ordpan,
"m-cbeinfp" : Cbeinfp,
"m-liainfp" : Liainfp,
"m-cmt100pel" : Cmt100pel,
"m-fecp" : Fecp,
"m-difstm" : Difstm,
"m-docedip" : Docedip,
"m-prtpan" : Prtpan,
"m-gleinfp" : Gleinfp,
"m-trnpan" : Trnpan,
"m-peninfp" : Peninfp,
"m-coninfp" : Coninfp,
"m-infconp" : Infconp,
"m-detp" : Detp, },
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
trnName: "infbcd",
model: new Infbcd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入infbcd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
name: "Infbcd",
components: {
"m-infsea": Infsea,
"m-prtpan": Prtpan,
"m-shpdet": Shpdet,
"m-ptyp": Ptyp,
"m-insttco": Insttco,
"m-cbsinfp": Cbsinfp,
"m-smhinfp": Smhinfp,
"m-ordpan": Ordpan,
"m-cbeinfp": Cbeinfp,
"m-liainfp": Liainfp,
"m-cmt100pel": Cmt100pel,
"m-fecp": Fecp,
"m-difstm": Difstm,
"m-docedip": Docedip,
"m-prtpan": Prtpan,
"m-gleinfp": Gleinfp,
"m-trnpan": Trnpan,
"m-peninfp": Peninfp,
"m-coninfp": Coninfp,
"m-infconp": Infconp,
"m-detp": Detp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
trnName: "infbcd",
model: new Infbcd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods: {
tabClick() {
}
},
created: async function () {
console.log("进入infbcd交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litsel from "~/model/Ditsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'ditsel',
model:new Litsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode = [];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
this.model.didgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("didgrp.rec.ownref");//didgrp_rec_ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
let m = 0;
const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行']
for(let i=0; i < length; i++){
//获取数组中每行的数据
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</script>
<style>
</style>
......@@ -41,14 +41,22 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Release Status" prop="infcon.relflg" style="width: 100%">
<!-- <c-select v-model="model.infcon.relflg" style="width: 100%" placeholder="请选择Release Status">
</c-select> -->
<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="8">
<el-form-item label="Handling Type" prop="infcon.hndtyp" style="width: 100%">
<!-- <c-select v-model="model.infcon.hndtyp" style="width: 100%" placeholder="请选择Handling Type">
</c-select> -->
<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>
......@@ -77,7 +85,11 @@
<c-col :span="8">
<el-form-item label="Role" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role">
<!-- <c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role">
</c-select> -->
<c-select v-model="model.infcon.payrol" style="width: 100%" placeholder="请选择Role">
<el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -98,7 +110,11 @@
<c-col :span="8">
<el-form-item label="Status" prop="infcon.seasta" style="width: 100%">
<!-- <c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择Status">
</c-select> -->
<c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择Status">
<el-option v-for="item in codes.seasta" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -106,15 +122,21 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Currency" prop="infcon.seacur" style="width: 100%">
<c-select v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择Currency">
<el-form-item label="Currency" prop="infcon.curtxt1" style="width: 100%">
<c-select v-model="model.infcon.curtxt1" style="width: 100%" placeholder="请选择Currency">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" style="width: 100%">
<!-- <c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码">
</c-select> -->
<c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码">
<el-option v-for="item in codes.cxmflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -144,11 +166,6 @@
</el-form>
</template>
</c-list-search>
<!-- <c-col :span="2">
<c-button size="small" type="primary" @click="onInfbutDsp" class="btn">
Display
......@@ -183,7 +200,11 @@
<c-col :span="8" style="margin-top:15px">
<el-form-item label="Payment Condition" prop="seadoctypcod" style="width: 100%">
<c-select v-model="model.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
<!-- <c-select v-model="model.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
</c-select> -->
<c-select v-model="model.infcon.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
<el-option v-for="item in codes.seadoctypcod" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -226,7 +247,7 @@
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" :model="infbodModel" trnCode="infbod" @onChoose="onChoose">11</m-busbtn>
<m-busbtn ref="childs" :ownref="ownref" :model="botselModel" trnCode="botsel" @onChoose="onChoose">11</m-busbtn>
</div>
</el-dialog>
</div>
......@@ -238,8 +259,8 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbod/Event";
import InfbodModel from "~/model/Infbod"
import BusNavbar from "~/BusNavbar.vue";
import BotselModel from "~/model/Botsel"
import BusNavbar from "~/views/Public/BusNavbar";
export default {
inject: ["root"],
......@@ -248,7 +269,7 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
infbodModel: new InfbodModel().data,
botselModel: new BotselModel().data,
ownref: "",
initdialog: false,
dialogTableVisible: false,
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000006 -->
<el-tab-pane label="infsea" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000262 -->
<el-tab-pane label="ovwp" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000280 -->
<el-tab-pane label="instrecp" name="instrecp">
<m-instrecp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="inst" name="inst">
<m-inst :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="coninfp" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="trnpan" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="cbsinfp" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="cbeinfp" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000111 -->
<el-tab-pane label="fepinfp" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000162 -->
<el-tab-pane label="sepinfp" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="gleinfp" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="smhinfp" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="peninfp" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="liainfp" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="prtpan" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000185 -->
<el-tab-pane label="ordpan" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000006 -->
<el-tab-pane label="infsea" name="infsea">
<m-infsea :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000262 -->
<el-tab-pane label="ovwp" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000280 -->
<el-tab-pane label="instrecp" name="instrecp">
<m-instrecp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="inst" name="inst">
<m-inst :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="coninfp" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="trnpan" name="trnpan">
<m-trnpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="cbsinfp" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="cbeinfp" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000111 -->
<el-tab-pane label="fepinfp" name="fepinfp">
<m-fepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000162 -->
<el-tab-pane label="sepinfp" name="sepinfp">
<m-sepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="gleinfp" name="gleinfp">
<m-gleinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="smhinfp" name="smhinfp">
<m-smhinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="peninfp" name="peninfp">
<m-peninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="liainfp" name="liainfp">
<m-liainfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="prtpan" name="prtpan">
<m-prtpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000185 -->
<el-tab-pane label="ordpan" name="ordpan">
<m-ordpan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infbod from "~/model/Infbod"
......@@ -119,69 +121,67 @@ import Ordpan from "./Ordpan"
export default {
name: "Infbod",
components:{
"m-infsea" : Infsea,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-instrecp" : Instrecp,
"m-inst" : Inst,
"m-coninfp" : Coninfp,
"m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp,
"m-fepinfp" : Fepinfp,
"m-sepinfp" : Sepinfp,
"m-gleinfp" : Gleinfp,
"m-smhinfp" : Smhinfp,
"m-peninfp" : Peninfp,
"m-liainfp" : Liainfp,
"m-prtpan" : Prtpan,
"m-ordpan" : Ordpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
trnName: "infbod",
model: new Infbod().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入infbod交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
name: "Infbod",
components: {
"m-infsea": Infsea,
"m-ovwp": Ovwp,
"m-ptyp": Ptyp,
"m-instrecp": Instrecp,
"m-inst": Inst,
"m-coninfp": Coninfp,
"m-trnpan": Trnpan,
"m-cbsinfp": Cbsinfp,
"m-cbeinfp": Cbeinfp,
"m-fepinfp": Fepinfp,
"m-sepinfp": Sepinfp,
"m-gleinfp": Gleinfp,
"m-smhinfp": Smhinfp,
"m-peninfp": Peninfp,
"m-liainfp": Liainfp,
"m-prtpan": Prtpan,
"m-ordpan": Ordpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
trnName: "infbod",
model: new Infbod().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入infbod交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
// TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</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