Commit 338aa655 by “yanyuxin”

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 87211c2c 1b8c69e7
......@@ -850,7 +850,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"cpdgrp.blk.contag72":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.pts.extkey":[
......
......@@ -62,5 +62,20 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
let rtnmsg = await this.executeRule("searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.trncorco_trnstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- ------------------Left------------------>
<c-col :span="11">
<c-col :span="24">
<el-form-item label="业务主键">
<c-input placeholder="" readonly> </c-input>
<el-form-item label="业务主键" prop="cnybop.cnyinc.spk">
<c-input v-model="model.cnybop.cnyinc.spk" maxlength="20" placeholder="请输入业务主键" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构名称">
<c-input placeholder="" readonly> </c-input>
<el-form-item label="银行机构名称" prop="cnybop.sbankname">
<c-input v-model="model.cnybop.sbankname" maxlength="80" placeholder="请输入银行机构名称" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人账号">
<c-input placeholder=""> </c-input>
<el-form-item label="收款人账号" prop="cnybop.cnyinc.spayeeacct">
<c-input v-model="model.cnybop.cnyinc.spayeeacct" maxlength="32" placeholder="请输入收款人账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人常驻国家/地区编号">
<c-col :span="20">
<c-input placeholder=""></c-input>
<el-form-item label="收款人名称" prop="cnybop.spayeename">
<c-input v-model="model.cnybop.spayeename" maxlength="80" placeholder="请输入收款人名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align: right">
<c-col :span="24">
<c-col :span="21">
<el-form-item label="付款人常驻国家/地区代码" prop="cnybop.cnyinc.spayercountrycode">
<c-input
v-model="model.cnybop.cnyinc.spayercountrycode"
maxlength="3"
placeholder="请输入付款人常驻国家/地区代码"
style="width:100%"
@keyup.enter.native="showGridPromptDialog('cnybop.cnyinc.spayercountrycode', null, null,{COD: 'cnybop.cnyinc.spayercountrycode'}, {COD: true},'doxpDialog')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button
size="small"
type="primary"
icon="el-icon-search"
></c-button>
@click="showGridPromptDialog('cnybop.inccty.selbut1', null, null,{COD: 'cnybop.cnyinc.spayercountrycode'}, {COD: true},'doxpDialog')"> </c-button>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式">
<c-select placeholder="请选择结算方式" style="width: 100%">
<el-form-item label="结算方式" prop="cnybop.cnyinc.sbalancemode">
<c-select v-model="model.cnybop.cnyinc.sbalancemode" style="width:100%" placeholder="请选择结算方式">
<el-option
v-for="item in codes.sbalancemode"
:key="item.value"
......@@ -48,10 +54,9 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="清算(结算)账户类型">
<c-select placeholder="请选择" style="width: 100%">
<el-form-item label="清算(结算)帐户类型" prop="cnybop.cnyinc.cpayeraccttyp">
<c-select v-model="model.cnybop.cnyinc.cpayeraccttyp" style="width:100%" placeholder="请选择清算(结算)帐户类型">
<el-option
v-for="item in codes.cpayeraccttyp"
:key="item.value"
......@@ -61,97 +66,76 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="清算(结算)账户账号">
<c-input placeholder="" readonly> </c-input>
<el-form-item label="清算(结算)账户账号" prop="cnybop.cnyinc.spayeracct">
<c-input v-model="model.cnybop.cnyinc.spayeracct" maxlength="32" placeholder="请输入清算(结算)账户账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期">
<c-date-picker
type="date"
placeholder=""
style="width: 100%"
></c-date-picker>
<el-form-item label="收款日期" prop="cnybop.cnyinc.dpayeedate">
<c-date-picker type="date" v-model="model.cnybop.cnyinc.dpayeedate" style="width:100%" placeholder="请选择收款日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款币种">
<c-select placeholder="请选择" style="width: 100%">
<el-form-item label="收款币种" prop="cnybop.cnyinc.spayeecny">
<c-select v-model="model.cnybop.cnyinc.spayeecny" style="width:100%" placeholder="请选择收款币种">
<el-option
v-for="item in options"
v-for="item in codes.currencycode"
:key="item.value"
:label="item.label"
:label="item.value + ' '+item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="原币金额">
<c-input placeholder=""> </c-input>
<el-form-item label="原币金额" prop="cnybop.cnyinc.ftotalamt">
<c-input v-model="model.cnybop.cnyinc.ftotalamt" placeholder="请输入原币金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物贸易付款金额">
<c-input placeholder=""> </c-input>
<el-form-item label="货物贸易收款金额" prop="cnybop.cnyinc.fpayeeamt">
<c-input v-model="model.cnybop.cnyinc.fpayeeamt" placeholder="请输入货物贸易收款金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已报关付款金额">
<c-input placeholder=""> </c-input>
<el-form-item label="已报关收款金额" prop="cnybop.cnyinc.fcustomsamt">
<c-input v-model="model.cnybop.cnyinc.fcustomsamt" placeholder="请输入已报关收款金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已备案付款金额">
<c-input placeholder=""> </c-input>
<el-form-item label="已备案收款金额" prop="cnybop.cnyinc.frecordamt">
<c-input v-model="model.cnybop.cnyinc.frecordamt" placeholder="请输入已备案收款金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易附言">
<c-input placeholder=""> </c-input>
<el-form-item label="交易附言" prop="cnybop.saddword">
<c-input v-model="model.cnybop.saddword" maxlength="80" placeholder="请输入交易附言"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ------------------Right------------------>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="银行业务编号" label-width="30%">
<c-input style="width: 100%" placeholder="" readonly>
</c-input>
<el-form-item label="银行业务编号" prop="cnybop.cnyinc.sbanktrano">
<c-input v-model="model.cnybop.cnyinc.sbanktrano" maxlength="22" placeholder="请输入银行业务编号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构代码" label-width="30%">
<c-input placeholder="" readonly> </c-input>
<el-form-item label="银行机构代码" prop="cnybop.cnyinc.sbankorgcode">
<c-input v-model="model.cnybop.cnyinc.sbankorgcode" maxlength="12" placeholder="请输入银行机构代码" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="付款人机构代码或身份证件号码"
label-width="30%"
>
<c-input style="width: 100%" placeholder=""> </c-input>
<el-form-item label="收款人机构代码" prop="cnybop.cnyinc.spayeeorgcode">
<c-input v-model="model.cnybop.cnyinc.spayeeorgcode" maxlength="18" placeholder="请输入收款人机构代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人属性" label-width="30%">
<c-select
placeholder="请选择付款人属性"
style="width: 100%"
>
<el-form-item label="收款人属性" prop="cnybop.cnyinc.cpayeeattr">
<c-select v-model="model.cnybop.cnyinc.cpayeeattr" style="width:100%" placeholder="请选择收款人属性">
<el-option
v-for="item in codes.cpayeeattr"
:key="item.value"
......@@ -161,70 +145,54 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人名称" label-width="30%">
<c-input placeholder="" readonly> </c-input>
<el-form-item label="付款人名称" prop="cnybop.spayername">
<c-input v-model="model.cnybop.spayername" maxlength="80" placeholder="请输入付款人名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款行SWIFT BIC" label-width="30%">
<c-input placeholder=""> </c-input>
<el-form-item label="付款行SWIFT BIC" prop="cnybop.cnyinc.sswiftbic">
<c-input v-model="model.cnybop.cnyinc.sswiftbic" maxlength="11" placeholder="请输入付款行SWIFT BIC"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中间转汇行" label-width="30%">
<c-input placeholder=""> </c-input>
<el-form-item label="中间转汇行" prop="cnybop.cnyinc.smidtransbank">
<c-input v-model="model.cnybop.cnyinc.smidtransbank" maxlength="11" placeholder="请输入中间转汇行"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="预付款比例" label-width="30%">
<c-input placeholder=""> </c-input>
<el-form-item label="预收款比例" prop="cnybop.incscale">
<c-input v-model="model.cnybop.incscale" maxlength="4" placeholder="请输入INCSCALE"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="预付款金额" label-width="30%">
<c-input placeholder=""> </c-input>
<el-form-item label="预收款金额" prop="cnybop.cnyinc.fprepayeeamt">
<c-input v-model="model.cnybop.cnyinc.fprepayeeamt" placeholder="请输入预收款金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结账期" label-width="30%">
<c-input placeholder=""> </c-input>
<el-form-item label="结账期" prop="cnybop.cnyinc.iaccountperiod">
<c-input v-model="model.cnybop.cnyinc.iaccountperiod" placeholder="请输入结账期"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="原申报号码" label-width="30%">
<c-input placeholder=""> </c-input>
<el-form-item label="原申报号码" prop="cnybop.cnyinc.sorilevyno">
<c-input v-model="model.cnybop.cnyinc.sorilevyno" maxlength="24" placeholder="请输入原申报号码"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="无货物报关进出境物流货物金额"
label-width="30%"
>
<c-input placeholder=""> </c-input>
<el-form-item label="无货物报关进出境物流货物金额" prop="cnybop.cnyinc.fonshoreamt">
<c-input v-model="model.cnybop.cnyinc.fonshoreamt" placeholder="请输入无货物报关进出境物流货物金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="无货物报关离岸转手买卖金额"
label-width="30%"
>
<c-input placeholder=""> </c-input>
<el-form-item label="无货物报关离岸转手买卖金额" prop="cnybop.cnyinc.foffshoreamt">
<c-input v-model="model.cnybop.cnyinc.foffshoreamt" placeholder="请输入无货物报关离岸转手买卖金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="无货物报关其他金额" label-width="30%">
<c-input placeholder=""> </c-input>
<el-form-item label="无货物报关其他金额" prop="cnybop.cnyinc.fnogoodsamt">
<c-input v-model="model.cnybop.cnyinc.fnogoodsamt" placeholder="请输入无货物报关其他金额"></c-input>
</el-form-item>
</c-col>
</c-col>
......
......@@ -99,7 +99,14 @@
<c-col :span="12">
<el-form-item label="汇款语种" prop="cptp.payuil">
<c-input v-model="model.cptp.payuil" disabled></c-input>
<c-select v-model="model.cptp.payuil" disabled>
<el-option
v-for="item in codes.payuil"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -390,22 +397,22 @@
<c-col v-show="model.cpdgrp.rec.swftyp == 'BEP'||model.cpdgrp.rec.swftyp == 'BEQ'||model.cpdgrp.rec.swftyp == 'BES'||model.cpdgrp.rec.swftyp == 'CIU'||model.cpdgrp.rec.swftyp == 'CIV'||model.cpdgrp.rec.swftyp == 'CIW'||model.cpdgrp.rec.swftyp == 'CMT'||model.cpdgrp.rec.swftyp == 'CMY'||model.cpdgrp.rec.swftyp == 'CMX'||model.cpdgrp.rec.swftyp == 'FMS'||model.cpdgrp.rec.swftyp == 'HVP'||model.cpdgrp.rec.swftyp == 'HVR'||model.cpdgrp.rec.swftyp == 'HVQ'">
<c-col :span="24">
<el-form-item label="汇款人名称" prop="cptgrp.cptp.orcnam">
<c-input v-model="model.cptp.orcnam"></c-input>
<c-input v-model="model.cptp.orcnam" type="textarea"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇款人地址" prop="cptp.orcadr">
<c-input v-model="model.cptp.orcadr"></c-input>
<c-input type="textarea" v-model="model.cptp.orcadr"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="cptp.pyenam">
<c-input v-model="model.cptp.pyenam"></c-input>
<c-input type="textarea" v-model="model.cptp.pyenam"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人地址" prop="cptp.pyeadr">
<c-input v-model="model.cptp.pyeadr"></c-input>
<c-input type="textarea" v-model="model.cptp.pyeadr"></c-input>
</el-form-item>
</c-col>
</c-col>
......
......@@ -29,21 +29,24 @@
</c-row>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Reference" prop="selobj" style="width:100%">
<c-input v-model="model.selobj" style="width:100%"></c-input>
</el-form-item>
</c-col>
<el-form-item label="Name" prop="seltxt">
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="seltxt" style="width:100%">
<c-input v-model="model.seltxt" style="width:100%"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Selection of Users" prop="usfmod.flt">
<c-col :span= "11">
<el-form-item label="Selection of Users" prop="usfmod.flt" style="width:100%">
<c-fullbox>
<c-select v-model="model.usfmod.flt" style="width:100%" placeholder="请输入Selection of User">
<c-select v-model="model.usfmod.flt" placeholder="请输入Selection of User" style="width:100%">
<el-option
v-for="item in flt"
:key="item.value"
......@@ -51,34 +54,111 @@
:value="item.value"
></el-option>
</c-select>
<template slot="footer">
<c-button size="small" type="primary">Show_Set</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<el-form-item label="Between" prop="inidatfro">
<c-col :span="11" :offset="1">
<el-form-item label="Between" prop="inidatfro" style="width:100%">
<c-date-picker
type="date"
v-model="model.inidatfro"
value-format="yyyy-MM-dd"
style="width:100%"
style="width:48%"
palceholder="请选择Opening between"
></c-date-picker>
<span>-</span>
<span> - </span>
<c-date-picker
type="date"
v-model="model.inidattil"
value-format="yyyy-MM-dd"
style="width :48%"
placeholder="请选择Open Date to"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col
:span="24"
style="text-align: right; height: 36.8px"
v-if="true"
>
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="handleSearch"
>查询</el-button
>
<!-- <el-button type="text" @click="searchToggle = true">
收起
<i class="el-icon-arrow-up"></i>
</el-button> -->
</c-col>
</el-form>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" >
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
</template>
<template slot-scope="scope">
<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>
</c-col>
<!-- SF000045 : Type of Items
<c-col :span="12">
......@@ -264,9 +344,54 @@ export default {
{ label: "All Users", value: "<ALL>" },
{ label: "Selected User", value: "<SELU>" },
],
stmData:{
columns:[
"4 1 \"TRN\" 150 ",
"5 2 \"Reference\" 160",
"6 3 \"Name\" 120",
"7 5 \"Creation\" 101 20 30 1",
"1 6 \"Status\" 160 1 0:0 1 SPT:STA",
"8 7 \"By User\" 166",
"15 8 \"Work User\" 176",
"17 9 \"Work Branch\" 176",
"16 10 \"Last User\" 176",
"3 11 \"Info\" 150 1 20:0 1 FormatINFDSP",
"10 12 \"Infotext\" 200"
],
data:[],
}
}
},
methods:{
...Event,
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getTrnInfo(idx, row) {
this.model.objinr = row["INR"];
this.model.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
}
},
closeTrn(refId) {
this.$refs[refId].doClose();
},
},
methods:{...Event},
created:function(){
}
......
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