Commit 55f44055 by zhengxiaokui
parents 12af9a58 7b48bd9e
......@@ -80,9 +80,10 @@ export default {
margin-top: 15px;
}
.m-table-search-operation-top {
position: absolute;
/* position: absolute; */
right: 20px;
top: 20px;
text-align: right;
}
.m-table-search-operation-bottom {
position: absolute;
......
......@@ -164,6 +164,7 @@ export default class Ditsel{
mattxtlab:"", // Label for MATTXT .matp.mattxtlab
},
cfgfil:{
btnstm:"", //按钮数据
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
......
......@@ -26,77 +26,77 @@
<c-col :span="12">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
<c-select v-model="model.bcdgrp.cbs.max.cur" style="width:95%" placeholder="请选择Document Amount"
<c-input v-model="model.bcdgrp.cbs.max.cur" style="width:90%" placeholder="请选择Document Amount"
disabled>
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.max.amt">
<c-input v-model="model.bcdgrp.cbs.max.amt" style="text-align: left; width: 100%"
placeholder="请输入Document Amount" disabled></c-input>
<c-input v-model="model.bcdgrp.cbs.max.amt" style="text-align: left; width: 90%"
disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
<c-select v-model="model.bcdgrp.cbs.opn1.cur" style="width:95%" placeholder="请选择Open Amount"
<c-input v-model="model.bcdgrp.cbs.opn1.cur" style="width:90%" placeholder="请选择Open Amount"
disabled>
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.opn1.amt">
<c-input v-model="model.bcdgrp.cbs.opn1.amt" style="text-align: left; width: 100%"
placeholder="请输入Open Amount" disabled></c-input>
<c-input v-model="model.bcdgrp.cbs.opn1.amt" style="text-align: left; width: 90%"
disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:95%"
<c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:80%"
value-format="yyyy-MM-dd" placeholder="请选择Docs Received on" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:100%"
<c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:80%"
value-format="yyyy-MM-dd" placeholder="请选择Advised on" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:95%"
<c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:80%"
value-format="yyyy-MM-dd" placeholder="请选择Maturity Date" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Remitted on" prop="bcdgrp.rec.predat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:100%"
<c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:80%"
value-format="yyyy-MM-dd" placeholder="请选择Remitted on" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-select v-model="model.bcdgrp.rec.doctypcod" style="width:100%" placeholder="请选择Payment Condition"
<c-input v-model="model.bcdgrp.rec.doctypcod" style="width:93%" placeholder="请选择Payment Condition"
disabled>
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-select v-model="model.bcdgrp.rec.docsta" style="width:100%" placeholder="请输入Document Set Status"
<c-input v-model="model.bcdgrp.rec.docsta" style="width:93%" placeholder="请输入Document Set Status"
disabled>
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Accepted" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:95%" placeholder="Amount Accepted" disabled>
</c-select>
<c-input v-model="model.setmod.doccur" style="width:90%" placeholder="Amount Accepted" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" style="text-align: left; width: 100%"
<c-input v-model="model.setmod.docamt" style="text-align: left; width: 90%"
placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
......@@ -105,17 +105,11 @@
</c-edit-table>
</c-col>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="12">
<c-col :span="13">
<el-form-item label="Drawee" prop="bcdgrp.dre.pts.ref">
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Ref." prop="bcdgrp.dre.pts.ref">
<c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" style="width: 100%" disabled></c-input>
<c-col :span="24">
<el-form-item style="text-align: right" label="Drawee Ref." prop="bcdgrp.dre.pts.ref">
<c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" style="width: 50%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -123,13 +117,9 @@
<c-input v-model="model.bcdgrp.dre.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Remitting Bank" prop="bcdgrp.rmi.pts.ref">
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Ref." prop="bcdgrp.rmi.pts.ref">
<c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 100%" disabled>
<c-col :span="24">
<el-form-item style="text-align: right" label="Remitting Bank Ref." prop="bcdgrp.rmi.pts.ref">
<c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 50%" disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -138,13 +128,9 @@
<c-input v-model="model.bcdgrp.rmi.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Drawer" prop="bcdgrp.drr.pts.ref">
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Ref." prop="bcdgrp.drr.pts.ref">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" style="width: 100%" disabled>
<c-col :span="24">
<el-form-item style="text-align: right" label="Drawer Ref." prop="bcdgrp.drr.pts.ref">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" style="width: 50%" disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -159,7 +145,7 @@
value-format="yyyy-MM-dd" placeholder="请选择Accepted on"></c-date-picker>
</el-form-item>
</c-col>
</c-col">
</c-col>
</c-row>
</template>
<script>
......
......@@ -10,7 +10,7 @@
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
<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">
......
......@@ -13,42 +13,16 @@
<el-row>
<c-col :span="23">
<c-col :span="8">
<el-form-item label="申报类型" prop="bopquep.boptyp" style="width: 100%">
<c-select
v-model="model.bopquep.boptyp"
style="width: 100%"
placeholder="请选择申报类型"
>
<el-option
v-for="item in codes.boptyp"
: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="bopquep.dattyp" style="width: 100%">
<c-select
v-model="model.bopquep.dattyp"
style="width: 100%"
placeholder="请选择查询日期类型"
>
<el-option
v-for="item in codes.dattyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<el-form-item label="业务编号" prop="bopquep.ownref" style="width: 100%">
<c-input
v-model="model.bopquep.ownref"
maxlength="16"
placeholder="请输入业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8" v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="起止日期" style="width: 100%">
<c-col :span="11">
<el-date-picker
......@@ -73,6 +47,24 @@
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="查询日期类型" prop="bopquep.dattyp" style="width: 100%">
<c-select
v-model="model.bopquep.dattyp"
style="width: 100%"
placeholder="请选择查询日期类型"
>
<el-option
v-for="item in codes.dattyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -147,15 +139,24 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务编号" prop="bopquep.ownref" style="width: 100%">
<c-input
v-model="model.bopquep.ownref"
maxlength="16"
placeholder="请输入业务编号"
></c-input>
<c-col :span="8">
<el-form-item label="申报类型" prop="bopquep.boptyp" style="width: 100%">
<c-select
v-model="model.bopquep.boptyp"
style="width: 100%"
placeholder="请选择申报类型"
>
<el-option
v-for="item in codes.boptyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
......
......@@ -69,28 +69,27 @@ export default {
//请求按钮数据
this.model.didgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("didgrp.rec.ownref")//didgrp_rec_ownref
let rtnmsg = await this.executeRule("didgrp.rec.ownref");//didgrp_rec_ownref
if(rtnmsg.respCode = SUCCESS){
//重置数组
this.navcode.length = 0
this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const idx = this.model.cfgfil.btnstm.length
let btnStr = this.model.cfgfil.btnstm
// console.log("btnstmStr:"+btnStr);
for(let i=0; i < idx; i++){
//重置数组
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
for(let i=0; i < length; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
}
}
......
......@@ -316,6 +316,14 @@
>
处理
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getDitSelInfo(scope.row['Reference'])"
>
info
</c-button>
......@@ -566,9 +574,15 @@ export default {
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false
} },
this.$router.history.push("/business/" + code)
this.initdialog = false
} ,
async getDitSelInfo(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false
}
},
created: function () {},
};
</script>
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<template v-slot="searchSlot">
<!-- <c-list-search @form-reset="handleReset" @form-search="handleSearch"> -->
<!-- <template v-slot="searchSlot"> -->
<el-form
class="m-table-search-form"
ref="paramsForm"
......@@ -71,15 +71,30 @@
</c-col>
<c-col :span="8">
<el-form-item label="业务描述" prop="seltxt" style="width: 100%">
<c-input
v-model="model.seltxt"
maxlength="32"
placeholder="请输入Selection Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8" v-if="searchSlot.searchToggle">
<el-form-item label="创建时间" style="width: 100%">
<c-col :span="11">
<el-date-picker
type="date"
v-model="model.inidatfro"
style="width: 100%"
placeholder="请选择Date of entry of Transaction"
></el-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<el-date-picker
type="date"
v-model="model.inidattil"
style="width: 100%"
placeholder="请选择Date of entry of Transaction until"
></el-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="来源" style="width: 100%" prop="sourceModel">
<el-select
clearable
......@@ -102,7 +117,7 @@
</c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<el-row>
<c-col :span="23">
<c-col :span="8">
<el-form-item
......@@ -139,28 +154,14 @@
</c-col>
<c-col :span="8">
<el-form-item label="创建时间" style="width: 100%">
<c-col :span="11">
<el-date-picker
type="date"
v-model="model.inidatfro"
style="width: 100%"
placeholder="请选择Date of entry of Transaction"
></el-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<el-date-picker
type="date"
v-model="model.inidattil"
style="width: 100%"
placeholder="请选择Date of entry of Transaction until"
></el-date-picker>
</c-col>
</el-form-item>
</c-col>
<el-form-item label="业务描述" prop="seltxt" style="width: 100%">
<c-input
v-model="model.seltxt"
maxlength="32"
placeholder="请输入Selection Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
......@@ -198,6 +199,10 @@
<el-form-item label="" style="width:100%;height: 36.8px;margin:0 0 0 0">
</el-form-item>
</c-col>
<c-col :span="16" style="text-align:right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">查询</el-button>
</c-col>
<!-- <c-col :span="12" style="text-align:center" >
<c-checkbox v-model="model.chkypt">云平台</c-checkbox>
......@@ -220,8 +225,8 @@
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<!-- </template> -->
<!-- </c-list-search> -->
<!-- <div style="margin-top:20px;">
<c-button size="small" type="primary" disabled="disabled" @click="onButypt">
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<template v-slot="searchSlot">
<!-- <c-list-search @form-reset="handleReset" @form-search="handleSearch"> -->
<!-- <template v-slot="searchSlot"> -->
<el-form
class="m-table-search-form"
ref="paramsForm"
......@@ -14,28 +14,6 @@
<c-col :span="23">
<c-col :span="8">
<el-form-item
label="业务机构"
prop="bchcon"
style="width: 100%"
>
<c-select
v-model="model.bchcon"
style="width: 100%"
placeholder="请选择Branch"
>
<el-option
v-for="item in codes.bchtyp"
: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="trncorco.ownref"
style="width: 100%"
......@@ -48,7 +26,31 @@
</el-form-item>
</c-col>
<c-col :span="8" v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="创建时间" style="width: 100%">
<c-col :span="11">
<el-date-picker
type="date"
v-model="model.trncorco.inidatfro"
style="width: 100%"
placeholder="请选择Date of entry of Transaction"
></el-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<el-date-picker
type="date"
v-model="model.trncorco.inidattil"
style="width: 100%"
placeholder="请选择Date of entry of Transaction until"
></el-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="经办柜员"
prop="usrcon"
......@@ -78,7 +80,7 @@
</el-form-item>
</c-col>
-->
<el-row v-show="searchSlot.searchToggle">
<el-row>
<c-col :span="23">
<c-col :span="8">
<el-form-item
......@@ -101,31 +103,29 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="创建时间" style="width: 100%">
<c-col :span="11">
<el-date-picker
type="date"
v-model="model.trncorco.inidatfro"
style="width: 100%"
placeholder="请选择Date of entry of Transaction"
></el-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<el-date-picker
type="date"
v-model="model.trncorco.inidattil"
style="width: 100%"
placeholder="请选择Date of entry of Transaction until"
></el-date-picker>
</c-col>
<el-form-item
label="业务机构"
prop="bchcon"
style="width: 100%"
>
<c-select
v-model="model.bchcon"
style="width: 100%"
placeholder="请选择Branch"
>
<el-option
v-for="item in codes.bchtyp"
: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="and">
......@@ -199,11 +199,15 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="8" style="text-align:right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">查询</el-button>
</c-col>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<!-- </template> -->
<!-- </c-list-search> -->
<!--
<c-col :span="12">
......
<template>
<div class="eibs-tab">
<c-col :span="20">
<el-form-item
:label="`${argadr.title}`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-input
style="width: 95%"
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
class="searchButton"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
></c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
class="detailsButton"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="24">
<el-form-item
label=""
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [CommonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabled: {
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
onSeainf(data) {
this.$emit("onSeainf", data);
},
onAplpDet() {
this.$emit("onAplpDet");
},
},
created: function () {},
};
</script>
<style>
.searchButton {
text-align: center;
/* margin: 0 10px; */
margin-right: 10px;
padding: 0 10px;
}
.detailsButton {
margin-left: 10px;
}
</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