Commit 713d1474 by wangna

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 0eeca270 f2089813
......@@ -1624,6 +1624,38 @@ const CodeTable = {
{ label: "即期结售/套汇", value: "FE" },
{ label: "卖方国内证", value: "DE" },
],
bustxt1: [
{ label: " 出口类融资 ", value: "BP"},
{ label: " Batch Collection", value: "CL"},
{ label: " Cash Collection", value: "FC"},
{ label: " 光票托收", value: "CC"},
{ label: " 清偿付款", value: "CP"},
{ label: " 出口托收", value: "BO"},
{ label: " Export Guarantee(INT)", value: "GF"},
{ label: "出口信用证 ", value: "LE"},
{ label: " 出口信用证单据", value: "BE"},
{ label: "转让信用证", value: "LT"},
{ label: "Gurantee", value: "GI"},
{ label: "Gurantee Claim", value: "GC"},
{ label: "Gurantee Claim(INT)", value: "GD"},
{ label: "Gurantee(INT)", value: "GB"},
{ label: "进口托收", value: "BC"},
{ label: "进口信用证", value: "LI"},
{ label: "进口信用证单据", value: "BR"},
{ label: "进口类融资和打包放款", value: "TR"},
{ label: "手动合同", value: "MC"},
{ label: "Reimbursment", value: "RM"},
{ label: "Reimbursment Claim", value: "RC"},
{ label: "Transfer Bills", value: "BT"},
{ label: "Re-financing", value: "DF"},
{ label: "出口保函", value: "GE"},
{ label: "结售汇业务", value: "JS"},
{ label: "买方国内证", value: "DI"},
{ label: "买方国内证单据", value: "BD"},
{ label: "卖方国内证", value: "DE"},
{ label: "卖方国内证单据", value: "BF"},
{ label: "期权业务", value: "WI"},
],
bustye: [
{ label: "02-代理进出口", value: "02" },
{ label: "03-与特殊经济区企业资金往来", value: "03" },
......@@ -7715,24 +7747,25 @@ const CodeTable = {
{ label: "对方与本机构/被代理居民机构/委托人吴关联关系、关系未知,或两机构均处于中国境内", value: "4" },
],
tag23h: [
{ label: 'General information advice (DTA/E,SWT,BOL)', value: 'GENINFAD' },
{ label: 'Financing request (SWT,BOL)', value: 'REQFINAN' },
{ label: 'Advice of fraud attempt (SWT,BOL)', value: 'FRAUDMSG' },
{ label: 'Status information (BOL)', value: 'REIMBURS' },
{ label: 'Opening of a service call by Trade Operations (SWT,BOL)', value: 'CLSVOPEN' },
{ label: 'Closing of a service call by Trade Operations (SWT,BOL)', value: 'CLSVCLOS' },
{ label: 'Other request (BOL,DTA/E,SWT)', value: 'OTHERFNC' },
{ label: 'Confirmation (BOL)', value: 'CNF' },
{ label: 'Status information (BOL)', value: 'STA' },
{ label: 'Correction of Order (DTA)', value: 'DTAKORRE' },
{ label: 'Status request (BOL,DTA/E)', value: 'DTASTATU' },
{ label: 'Pre-debit notification (SWT)', value: 'PREDENOT' },
{ label: 'Transfer of a undertaking (SWT,BOL)', value: 'TRANSFER' },
{ label: 'Issue of a free-form undertaking such as a dependent guarantee (SWT,BOL)', value: 'ISSUANCE' },
{ label: 'Request to issue an undertaking (SWT,BOL)', value: 'REQISSUE' },
{ label: 'Request to amend an undertaking (BOL,SWT)', value: 'REQAMEND' },
{ label: 'Amendment of a free-form undertaking e.g. dependent guar. (BOL,SWT)', value: 'ISSAMEND' },
{ label: '一般信息建议 (DTA/E,SWT,BOL)', value: 'GENINFAD' },
{ label: '融资请求 (SWT,BOL)', value: 'REQFINAN' },
{ label: '欺诈企图通知 (SWT,BOL)', value: 'FRAUDMSG' },
{ label: '状态信息 (BOL)', value: 'REIMBURS' },
{ label: '贸易运营部开通服务电话 (SWT,BOL)', value: 'CLSVOPEN' },
{ label: '贸易运营部结束服务呼叫 (SWT,BOL)', value: 'CLSVCLOS' },
{ label: '其它请求 (BOL,DTA/E,SWT)', value: 'OTHERFNC' },
{ label: '确认书 (BOL)', value: 'CNF' },
{ label: '状态信息 (BOL)', value: 'STA' },
{ label: '订单的更正 (DTA)', value: 'DTAKORRE' },
{ label: '状态请求 (BOL,DTA/E)', value: 'DTASTATU' },
{ label: '借记前通知 (SWT)', value: 'PREDENOT' },
{ label: '承诺的转让 (SWT,BOL)', value: 'TRANSFER' },
{ label: '发行自由形式的担保,如从属担保 (SWT,BOL)', value: 'ISSUANCE' },
{ label: '请求出具承诺书 (SWT,BOL)', value: 'REQISSUE' },
{ label: '请求修改承诺书 (BOL,SWT)', value: 'REQAMEND' },
{ label: '自由形式承诺的修改,如从属担保人。 (BOL,SWT)', value: 'ISSAMEND' },
],
diatxt:[
{label: 'Accept decrease', value: 'ACD' },
{label: 'Claim payment', value: 'CLM' },
......
import Utils from "~/utils"
/**
* Conres Check规则
*/
let checkObj = {
"ptagrp.rec.objkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Conres Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"conget.sector" :Utils.defaultFunction,
"concnt" :Utils.defaultFunction,
"rol" :Utils.defaultFunction,
"ptagrp.rec.objkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onConresRescon(){
let rtnmsg = await this.executeRule("conres.rescon")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"ptaget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ptagrp.rec.objkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"ptaget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ptagrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"concnt":[
{type: "number", required: false, message: "必输项"},
{type: "number" ,max: 9999,message:"长度不能超过4"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Conres{
constructor () {
this.data = {
ptagrp:{
rec:{
objkey:"", // Party No. .ptagrp.rec.objkey
nam:"", // Party Name .ptagrp.rec.nam
},
},
ptaget:{
sdamod:{
seainf:"", // .ptaget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ptaget.sdamod.dadsnd
},
},
conget:{
sector:"", // Business Sector .conget.sector
},
rol:"", // Role in Contract .rol
concnt:"", // # of Reserved Ref. .concnt
pageId: "", // ctx的key
}
}
}
\ No newline at end of file
......@@ -72,9 +72,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{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位" }
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
......@@ -97,9 +97,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{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位" }
],
"gcdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -115,9 +115,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{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位" }
],
......@@ -188,7 +188,7 @@ export default {
"fremsg.strinf":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Gctfre{
constructor () {
......@@ -159,50 +160,13 @@ export default class Gctfre{
newmatdat:"", // New Maturity Date .fremsg.swiadd.newmatdat
},
},
trnmod:{
trndoc:{
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
pageId: "", // ctx的key
gctfrel1blk:"",
gctfrel2blk:"",
gct752l1blk:"",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
}
}
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/act/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/manager/act/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/manager/act/add", data)
}
export function edit(data) {
return Api.post("/manager/act/edit", data)
}
export function deleteById(inr) {
return Api.post(`/manager/act/deleteById?inr=${inr}`)
}
......@@ -221,6 +221,7 @@ import Gctcan from "./Gctcan"
import Getfre from "./Getfre"
import Gitfre from "./Gitfre"
import Conres from "./Conres"
import Gctrop from "./Gctrop"
import Gctfre from "./Gctfre"
......@@ -358,6 +359,12 @@ import Dbicup from "~/views/Statics/Dbicup";
import Dbacup from "~/views/Statics/Dbacup";
import Dbecup from "~/views/Statics/Dbecup";
import Dbdcup from "~/views/Statics/Dbdcup";
import Dblapf from "~/views/Statics/Dblapf";
import Dbiapf from "~/views/Statics/Dbiapf";
import Dbaapf from "~/views/Statics/Dbaapf";
import Dbeapf from "~/views/Statics/Dbeapf";
import Dbdapf from "~/views/Statics/Dbdapf";
import Inftxm2 from "~/views/Statics/Inftxm";
......@@ -556,8 +563,9 @@ const BusRouter = [
{ path: 'gctrop', component: Gctrop, name: 'Gctrop', meta: { title: '保函索赔注销后激活' } },
{ path: 'gitdla', component: Gitdla, name: 'Gitdla', meta: { title: '减额后处理' } },
{ path: 'getfee', component: Getfee, name: 'Getfee', meta: { title: '费用结算' } },
{ path: 'conres', component: Conres, name: 'Conres', meta: { title: '保留参考号' } },
{ path: 'gitrop', component: Gitrop, name: 'Gitrop', meta: { title: '保函注销后激活' } },
{ path: 'gctfre', component: Gctfre, name: 'Gctfre', meta: { title: '普通报文' } },
{ path: 'gctfre', component: Gctfre, name: 'Gctfre', meta: { title: '索赔自由报文' } },
{ path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } },
......@@ -743,5 +751,10 @@ const BusRouter = [
{ path: 'dbicup/:inr', component: Dbicup, name: 'StaticsDbicup', meta: { title: (tag) => { return '查看申报币种详情信息: ' + tag.params.inr } } },
{ path: 'dbecup/:inr', component: Dbecup, name: 'StaticsDbecup', meta: { title: (tag) => { return '修改申报币别信息: ' + tag.params.inr } } },
{ path: 'dbdcup/:inr', component: Dbdcup, name: 'StaticsDbdcup', meta: { title: (tag) => { return '删除申报币别信息: ' + tag.params.inr } } },
{ path: 'dblapf', component: Dblapf, name: 'StaticsDblapf', meta: { title: '报文格式信息查询' } },
{ path: 'dbaapf', component: Dbaapf, name: 'StaticsDbaapf', meta: { title: '报文格式信息新增' } },
{ path: 'dbiapf/:inr', component: Dbiapf, name: 'StaticsDbiapf', meta: { title: (tag) => { return '报文格式信息详情: ' + tag.params.inr } } },
{ path: 'dbeapf/:inr', component: Dbeapf, name: 'StaticsDbeapf', meta: { title: (tag) => { return '报文格式信息修改: ' + tag.params.inr } } },
{ path: 'dbdapf/:inr', component: Dbdapf, name: 'StaticsDbdapf', meta: { title: (tag) => { return '报文格式信息删除: ' + tag.params.inr } } },
]
export default BusRouter
\ No newline at end of file
<template>
<div class="eibs">
<c-row>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="当事人编号" prop="ptagrp.rec.objkey">
<c-fullbox>
<c-input
v-model="model.ptagrp.rec.objkey"
maxlength="18"
@keyup.enter.native="
showGridPromptDialog('ptagrp.rec.objkey', null, null, null, 'T', 'etyDialog', 6)
"
></c-input>
<!-- @keyup.enter.native="showGridPromptDialog('ptagrp.rec.objkey')" -->
<template slot="footer">
<c-button
style="margin: 0 0px 0 10px; padding: 0 0px"
size="small"
type="primary"
@click="onBptcodSelbut1"
>
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-form-item label="简略信息" prop="ptagrp.rec.nam">
<c-input v-model="model.ptagrp.rec.nam" maxlength="40" placeholder="" show-word-limit
disabled></c-input>
</c-form-item>
</c-col>
</c-col>
</c-row>
<c-row>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="交易形式" prop="conget.sector">
<c-select v-model="model.conget.sector" style="width:100%" placeholder="" :code="codes.bustxt1" >
</c-select>
</el-form-item>
</c-col>
<!-- SF000053 : Role in Contract -->
<c-col :span="24">
<el-form-item label="合同角色" prop="rol">
<c-select v-model="model.rol" style="width:100%" placeholder="" :code="codes.rolall" >
</c-select>
</el-form-item>
</c-col>
<!-- SF000051 : # of Reserved Ref. -->
<c-col :span="24">
<c-form-item label="保留编号" prop="concnt">
<c-input v-model.number="model.concnt" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col>
</c-row>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
<!-- <c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="ptaget.sdamod.dadsnd">
<c-input v-model="model.ptaget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col> -->
<!-- S0000050 : Party No. -->
<!-- <c-col :span="12">
<c-form-item :label="$t('conres.S0000050')" prop="ptagrp.rec.objkey">
<c-input v-model="model.ptagrp.rec.objkey" maxlength="24" :placeholder="$t('other.please_enter')+$t('conres.S0000050')"></c-input>
</c-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-form-item label="" prop="ptaget.sdamod.seainf">
<c-input v-model="model.ptaget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col> -->
<!-- S0000049 : Party Name -->
<!-- <c-col :span="12">
<c-form-item :label="$t('conres.S0000049')" prop="ptagrp.rec.nam">
<c-input v-model="model.ptagrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('conres.S0000049')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000046 : Business Sector -->
<!-- <c-col :span="12">
<el-form-item :label="$t('conres.SF000046')" prop="conget.sector">
<c-select v-model="model.conget.sector" style="width:100%" :placeholder="$t('other.please_enter')+$t('conres.SF000046')">
</c-select>
</el-form-item>
</c-col> -->
<!-- SF000053 : Role in Contract -->
<!-- <c-col :span="12">
<el-form-item :label="$t('conres.SF000053')" prop="rol">
<c-select v-model="model.rol" style="width:100%" :placeholder="$t('other.please_enter')+$t('conres.SF000053')">
</c-select>
</el-form-item>
</c-col> -->
<!-- SF000051 : # of Reserved Ref. -->
<!-- <c-col :span="12">
<c-form-item :label="$t('conres.SF000051')" prop="concnt">
<c-input v-model="model.concnt" :placeholder="$t('other.please_enter')+$t('conres.SF000051')"></c-input>
</c-form-item>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
codes: {
...CodeTable
},
}
},
methods:{
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="概要" name="conres">
<m-conres :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Conres/Event";
import Conres from "./Conres"
export default {
components: {
'm-conres': Conres,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["conres"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
computed: {
},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eContainer">
<c-page title="保留参考号">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--conres PD000044 Reserving References -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<!-- <c-function-btn
:handleSubmit="handleSubmit"
>
</c-function-btn> -->
<div class="m-Btn-eContainer" >
<div class="m-funcBtn-eContainer">
<el-button type="primary" size="small" @click="onConresRescon()"><span>保留</span></el-button>
<el-button size="small" @click="handleCancel"><span>退出</span></el-button>
</div>
</div>
</el-form>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Conres from "~/model/Conres"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Event from "~/model/Conres/Event"
import Check from "~/model/Conres/Check"
import Default from "~/model/Conres/Default"
import Pattern from "~/model/Conres/Pattern"
import Ovwp from "./Ovwp"
export default {
name: "Conres",
components:{
"m-ovwp" : Ovwp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "conres",
model: new Conres().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
...Event,
handleCancel: function() {
this.$confirm("确认退出?", "", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning"
})
.then(res => {
// this.$router.back();
this.$store.dispatch("TagsView/delView", this.$route)
this.handleExit && this.handleExit()
if (this.$route.query && this.$route.query.routeParams) {
setTimeout(() => {
this.$router.back()
}, 500)
}
else {
setTimeout(() => {
this.$router.push('/home')
}, 500)
}
})
.catch(() => {});
},
},
created:async function(){
console.log("进入conres交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
.m-Btn-eContainer {
display: flex; /*flex布局*/
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: flex-start;
/* height: 24px; */
text-align: center;
margin-right:10px;
}
.m-funcBtn-eContainer button {
order: 1;
}
.m-funcBtn-eContainer .el-button--primary {
margin: 0px 10px 0px 0px;
border: 1px solid #0D4FBD;
border-radius: 0px;
}
.m-funcBtn-eContainer .el-button--default {
/* background-image: linear-gradient(#fff,#dedede); */
margin: 0px 10px 0px 0px;
border: 1px solid #ccc;
border-radius: 0px;
}
.m-Btn-eContainer .el-button--small,.m-Btn-eContainer .el-button--small.is-round {
padding: 10px 30px !important;
font-size: 16px;
height: 40px;
font-weight:bold;
}
</style>
......@@ -142,7 +142,7 @@
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="来报目的" prop="gcdgrp.rec.purposin">
<c-input
disabled
......@@ -164,13 +164,13 @@
>
</c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="保函种类" prop="gcdgrp.rec.gartyp">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select
disabled
v-model="model.gcdgrp.rec.gartyp"
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函种类"
:code="codes.typgar"
......@@ -180,35 +180,26 @@
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="到期" prop="gcdgrp.rec.expdat">
<el-form-item label="到期日" prop="gcdgrp.rec.clmdat">
<c-date-picker
type="date"
disabled
v-model="model.gcdgrp.rec.expdat"
v-model="model.gcdgrp.rec.clmdat"
style="width: 100%"
placeholder="请选择"
placeholder="请选择日期"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="gcdgrp.rec.exptyp">
<c-input
v-model="model.gcdgrp.rec.exptyp"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="发报类型" prop="fremsg.sndmt">
<!-- :code="getValues('fremsg.sndmt','sndmt')" -->
<c-select
v-model="model.fremsg.sndmt"
style="width: 100%"
placeholder="请输入发报类型"
:code="codes.sndmt"
>
</c-select>
......@@ -241,7 +232,7 @@
<c-col :span="24">
<el-form-item label="相关报文" prop="fremsg.relmt">
<c-select
:disabled="model.fremsg.sndmt!='95'&&model.fremsg.sndmt!='92'"
:disabled="model.fremsg.sndmt!='95'&&model.fremsg.sndmt!='92'&&model.fremsg.sndmt!='96'"
v-model="model.fremsg.relmt"
:code="codes.relmt"
style="width: 100%"
......@@ -255,7 +246,7 @@
<el-form-item label="保函日期" prop="fremsg.reldat">
<c-date-picker
type="date"
:disabled="model.fremsg.sndmt!='92'&&model.fremsg.sndmt!='30'"
:disabled="model.fremsg.sndmt!='92'&&model.fremsg.sndmt!='96'&&model.fremsg.sndmt!='95'&&model.fremsg.sndmt!='30'"
v-model="model.fremsg.reldat"
style="width: 100%"
placeholder="请选择保函日期"
......@@ -269,13 +260,15 @@
:disabled="model.fremsg.sndmt!='95'&&model.fremsg.sndmt!='96'"
v-model="model.fremsg.reldir"
placeholder="请输入"
style="width: 100%"
:code="getValues('fremsg.reldir','reldir')"
></c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="tag20" prop="fremsg.tag20ref" v-if="model.fremsg.fulmt=='799'">
<el-form-item label="MT799 Tag20" prop="fremsg.tag20ref" v-if="model.fremsg.fulmt=='799'">
<c-input
:disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='SAN'||model.fremsg.sndmt=='SAN'"
v-model="model.fremsg.tag20ref"
......@@ -290,7 +283,7 @@
<el-form-item label="详细说明" prop="fremsg.strinf" v-if="model.fremsg.sndmt!='59'">
<c-fullbox>
<c-input
:disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='SAN'||model.fremsg.sndmt=='AME'"
:disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='AME'"
type="textarea"
v-model="model.fremsg.strinf"
maxlength="300"
......@@ -314,6 +307,7 @@
'doxpDialog'
)
"
:disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='AME'"
>
</c-button>
</template>
......@@ -322,7 +316,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="" v-if="model.fremsg.sndmt!='59'">
<c-checkbox v-model="model.fremsg.flg" @change="flg"
<c-checkbox v-model="model.fremsg.flg" @change="flg" class="checkbox-left" :checked="model.fremsg.sndmt=='30'" :disabled="model.fremsg.sndmt=='30'||model.fremsg.sndmt=='AME'"
>发送确认保函真实性报文</c-checkbox
>
</el-form-item>
......@@ -331,7 +325,6 @@
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-col :span="13">
<el-form-item label="有效日期" prop="gidgrp.rec.expdat">
<c-date-picker
type="date"
......@@ -343,8 +336,9 @@
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<c-col :span="5">
<c-col :span="24">
<c-col :span="13">
<c-form-item
label="保函担保金额"
prop="gidgrp.cbs.opn1.cur"
......@@ -366,7 +360,7 @@
</c-form-item>
</c-col>
<c-col :span="6">
<c-col :span="11">
<c-form-item
label-width="5px"
prop="gidgrp.cbs.opn1.amt"
......@@ -379,7 +373,6 @@
</c-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="简略信息" prop="gcdgrp.rec.nam">
......
......@@ -39,9 +39,6 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
<c-input
......@@ -51,10 +48,29 @@
rows="9"
show-word-limit
placeholder="请输入Present. Compl. Det."
:disabled="model.gcdgrp.rec.demstat != 'INCP'"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label=" " label-width="150px" prop="extpay">
<c-checkbox class="checkbox-left" v-model="model.extpay"
>延期或付款</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有效请求日期" prop="gcdgrp.rec.newexpdat" style="width: 100%">
<c-date-picker
type="date"
v-model="model.gcdgrp.rec.newexpdat"
style="width: 100%"
placeholder="请选择日期"
:disabled="!model.extpay"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中间行" prop="gcdgrp.int.pts.extkey">
<c-fullbox>
......@@ -170,6 +186,16 @@ export default {
],
};
},
computed:{
extpay: {
get() {
return this.model.extpay != "";
},
set(val) {
this.model.extpay = val ? "X" : "";
},
},
},
methods: { ...Event },
created: function () {},
computed: {
......
......@@ -30,7 +30,7 @@
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.extkey">
<c-fullbox>
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入"
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入" disabled
@keyup.enter.native="
showGridPromptDialog('fremsg.iss.pts.extkey')
"></c-input>
......@@ -48,7 +48,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.adrblk">
<c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk"
<c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk" :disabled="model.fremsg.issrol!='OTH'"
maxlength="300" show-word-limit placeholder="请输入">
</c-input>
</el-form-item>
......
......@@ -10,7 +10,7 @@
<el-collapse-item title="详情" name="gitdetp" >
<m-gitdetp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt759p" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
<el-collapse-item title="报文详情Mt759" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
<m-mt759p :model="model" :codes="codes" />
</el-collapse-item>
......
......@@ -46,6 +46,19 @@
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
......
......@@ -81,10 +81,23 @@
<!-- S0000111 : 起存金额 -->
<c-col :span="24">
<c-col :span="21">
<c-form-item label="起存金额" prop="dnfenc.qicuje">
<c-input v-model="model.dnfenc.qicuje" placeholder="请输入起存金额"></c-input>
</c-form-item>
</c-col>
<c-col :span="3">
<c-button
style="margin: 0px 0px 0px 20px"
size="small"
type="primary"
disabled
>
获取
</c-button>
</c-col>
</c-col>
<!-- S0000104 : 帐户余额 -->
<c-col :span="24">
......
<template>
<ReviewWrapper>
<Conres></Conres>
</ReviewWrapper>
</template>
<script>
import Conres from "~/views/Business/Conres";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewConres",
components: { ReviewWrapper, Conres },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gctfre></Gctfre>
</ReviewWrapper>
</template>
<script>
import Gctfre from "~/views/Business/Gctfre";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGctfre",
components: { ReviewWrapper, Gctfre },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
......@@ -125,6 +125,7 @@ import ReviewGitenc from "./Business/ReviewGitenc.vue";
import ReviewGiteng from "./Business/ReviewGiteng.vue";
import ReviewGitplb from "./Business/ReviewGitplb.vue";
import ReviewGitadd from "./Business/ReviewGitadd.vue";
import ReviewConres from "./Business/ReviewConres.vue";
import ReviewGitdla from "./Business/ReviewGitdla.vue";
import ReviewBttrcl from "./Business/ReviewBttrcl.vue";
......@@ -138,6 +139,7 @@ import ReviewGitrop from "./Business/ReviewGitrop.vue";
import ReviewGctfee from "./Business/ReviewGctfee.vue";
import ReviewFctopn from "./Business/ReviewFctopn.vue";
import ReviewFctcan from "./Business/ReviewFctcan.vue";
import ReviewGctfre from "./Business/ReviewGctfre.vue";
const ReviewRouter = [
......@@ -282,6 +284,7 @@ const ReviewRouter = [
{ path: "gitplb", component: ReviewGitplb, name: "ReviewGitplb", meta: { title: "复核-Gitplb" } },
{ path: "gitfre", component: ReviewGitfre, name: "ReviewGitfre", meta: { title: "复核-Gitfre" } },
{ path: "gitadd", component: ReviewGitadd, name: "ReviewGitadd", meta: { title: "复核-Gitadd" } },
{ path: "conres", component: ReviewConres, name: "ReviewConres", meta: { title: "复核-Conres" } },
{ path: "gitdla", component: ReviewGitdla, name: "ReviewGitdla", meta: { title: "复核-Gitdla" } },
{ path: "bttrcl", component: ReviewBttrcl, name: "ReviewBttrcl", meta: { title: "复核-Bttrcl" } },
......@@ -292,7 +295,9 @@ const ReviewRouter = [
{ path: "bttdck", component: ReviewBttdck, name: "ReviewBttdck", meta: { title: "复核-Bttdck" } },
{ path: "gctrop", component: ReviewGctrop, name: "ReviewGctrop", meta: { title: "复核-Gctrop" } },
{ path: "gitrop", component: ReviewGitrop, name: "ReviewGitrop", meta: { title: "复核-Gitrop" } },
{ path: "gctfee", component: ReviewGctfee, name: "ReviewGctfee", meta: { title: "复核-Gctfee" } },
{ path: "fctopn", component: ReviewFctopn, name: "ReviewFctopn", meta: { title: "复核-Fctopn" } },
{ path: "gctfre", component: ReviewGctfre, name: "ReviewGctfre", meta: { title: "复核-Gctfre" } },
];
......
<template>
<m-apf ref="apf" title="dbaapf" type="add"></m-apf>
</template>
<script>
import Dbiapf from "~/views/Statics/Dbiapf";
export default {
name: "StaticsDbaapf",
components: {
"m-apf": Dbiapf
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -14,9 +14,9 @@ export default {
return {};
},
mounted() {
this.$refs.fec.rules['fecList'] = [
{ type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
]
// this.$refs.fec.rules['fecList'] = [
// { type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
// ]
}
};
</script>
......
<template>
<m-apf title="dbdapf" type="delete"></m-apf>
</template>
<script>
import Dbiapf from "~/views/Statics/Dbiapf";
export default {
name: "StaticsDbdapf",
components: {
"m-apf": Dbiapf
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-apf title="dbeapf" type="edit"></m-apf>
</template>
<script>
import Dbiapf from "~/views/Statics/Dbiapf";
export default {
name: "StaticsDbeapf",
components: {
"m-apf": Dbiapf
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Apf {
constructor() {
this.data = {
inr: "",
cod: "",
typ: "",
cnt: "",
edtflg: "",
tef: "",
pri: "",
ver: "",
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"cod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"typ": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"cnt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,4}$/, "message": "整数不能超过4位", "trigger": "blur" }
],
"edtflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"tef": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"pri": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
]
}
<template>
<div class="eibs-tab">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="样式设置" prop="cod">
<c-input v-model="model.cod" placeholder="请输入样式设置"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="类型" prop="typ">
<c-input v-model="model.typ" placeholder="请输入类型"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="数量" prop="cnt">
<c-input v-model="model.cnt" placeholder="请输入数量"> </c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="编辑标志" prop="edtflg">
<c-input v-model="model.edtflg" placeholder="请输入编辑标志"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="所用纸张类型" prop="tef">
<c-input v-model="model.tef" placeholder="请输入所用纸张类型"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="优先级" prop="pri">
<c-input v-model="model.pri" placeholder="请输入优先级"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="版本号" prop="ver">
<c-input v-model="model.ver" placeholder="请输入版本号"> </c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="160px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="基本信息" name="apf">
<c-content>
<m-apf-info :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button
type="primary"
style="margin-right: 10px"
@click="commitAdd"
v-if="type === 'add'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitEdit"
v-if="type === 'edit'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitDelete"
v-if="type === 'delete'"
>提 交</c-button
>
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Apf, { Pattern } from "./Apf.js";
import ApfInfo from "./ApfInfo.vue";
import { queryDetailById, add, edit, deleteById } from "~/service/test/apf.js";
export default {
name: "StaticsDbiapf",
components: {
"m-apf-info": ApfInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbiapf"
}
},
data() {
return {
model: new Apf().data,
tabVal: "apf",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
queryDetailById(inr).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("客户不存在")
}
});
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteById(this.model.inr)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新infapf的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsDblapf", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -13,22 +13,22 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="相关金额类型" prop="reltir">
<el-form-item label="计算费用相关的金额类型" prop="reltir">
<c-select
style="width: 100%"
v-model="model.reltir"
placeholder="请选择相关金额类型"
placeholder="请选择计算费用相关的金额类型"
:code="getCodesByKey('calcbs')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="SWIFT报文描述" prop="sftcod">
<el-form-item label="SWIFT报文费用代码" prop="sftcod">
<c-select
style="width: 100%"
v-model="model.sftcod"
placeholder="请选择SWIFT报文类型"
placeholder="请选择SWIFT报文费用代码"
:code="getCodesByKey('swtcod')"
>
</c-select>
......@@ -57,7 +57,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否收入" prop="incflgFee">
<el-form-item label="是否计入收费标志" prop="incflgFee">
<c-select style="width: 100%"
v-model="model.incflg"
:code="getCodesByKey('incflgFee')"
......@@ -66,19 +66,19 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="支付此费用的默认角色" prop="rol">
<el-form-item label="默认付费角色" prop="rol">
<c-select
style="width: 100%"
v-model="model.rol"
placeholder="请选择支付此费用的角色"
placeholder="请选择默认付费角色"
:code="getCodesByKey('rol')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="acc">
<c-input v-model="model.acc" placeholder="请输入账号"> </c-input>
<el-form-item label="费用账号" prop="acc">
<c-input v-model="model.acc" placeholder="请输入费用账号"> </c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -93,41 +93,41 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="循环收费账号" prop="accacr">
<c-input v-model="model.accacr" placeholder="请输入循环收费账号">
<el-form-item label="计提摊销账号" prop="accacr">
<c-input v-model="model.accacr" placeholder="请输入计提摊销账号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有关交易及业务部门" prop="reltrn">
<c-input v-model="model.reltrn" maxlength="40" placeholder="请输入有关交易及业务部门"></c-input>
<el-form-item label="相关的交易名称或者业务品种" prop="reltrn">
<c-input v-model="model.reltrn" maxlength="40" placeholder="请输入相关的交易名称或者业务品种"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开始日期" prop="begdat">
<el-form-item label="费用生效日期" prop="begdat">
<c-date-picker type="date" v-model="model.begdat" style="width:100%" placeholder="请选择开始日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结束日期" prop="enddat">
<el-form-item label="费用失效日期" prop="enddat">
<c-date-picker type="date" v-model="model.enddat" style="width:100%" placeholder="请选择结束日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="费用分组" prop="grpcod">
<el-form-item label="费用组代码" prop="grpcod">
<c-select
v-model="model.grpcod"
style="width:100%"
placeholder="请选择费用的组"
placeholder="请选择费用组代码"
:code="getCodesByKey('grpcod')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="价税分离" prop="taxflg" placeholder="是/否">
<el-form-item label="价税分离标志" prop="taxflg" placeholder="是/否">
<c-select
style="width: 100%"
v-model="model.taxflg"
......@@ -137,8 +137,8 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="传真账号" prop="taxacc">
<c-input v-model="model.taxacc" maxlength="34" placeholder="请输入传真账号"></c-input>
<el-form-item label="税则账号" prop="taxacc">
<c-input v-model="model.taxacc" maxlength="34" placeholder="请输入税则账号"></c-input>
</el-form-item>
</c-col>
</c-col>
......
......@@ -17,8 +17,20 @@ export const Pattern = {
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 8, message: "最大长度8个字符", trigger: "blur" },
],
extkey: [{ max: 17, message: "最大长度17个字符", trigger: "blur" }],
nam: [{ max: 40, message: "最大长度40个字符", trigger: "blur" }],
uil: [{ max: 2, message: "最大长度2个字符", trigger: "blur" }],
etgextkey: [{ max: 8, message: "最大长度8个字符", trigger: "blur" }],
extkey: [
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 17, message: "最大长度8个字符", trigger: "blur" },
],
nam: [
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 40, message: "最大长度40个字符", trigger: "blur" },
],
uil: [
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 2, message: "最大长度2个字符", trigger: "blur" },
],
etgextkey: [
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 8, message: "最大长度8个字符", trigger: "blur" },
],
};
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<el-form-item label="INR" prop="inr" v-if="type !== 'add'">
<!-- <el-form-item label="INR" prop="inr" v-if="type !== 'add'">
<c-input v-model="model.inr" placeholder="请输入主键" :disabled="type === 'edit'">
</c-input>
</el-form-item>
</el-form-item> -->
<el-form-item label="名称" prop="nam">
<c-input v-model="model.nam" placeholder="请输入名称">
</c-input>
......@@ -15,14 +15,14 @@
</el-option>
</c-select>
</el-form-item> -->
<el-form-item label="实体组" prop="etgextkey">
<!-- <el-form-item label="实体组" prop="etgextkey">
<c-input v-model="model.etgextkey" placeholder="请输入实体组">
</c-input>
</el-form-item>
</el-form-item> -->
</c-col>
<c-col :span="12" class="col-right">
<el-form-item label="EXTKEY" prop="extkey">
<c-input v-model="model.extkey" placeholder="请输入外键">
<el-form-item label="条款模板关键字" prop="extkey">
<c-input v-model="model.extkey" placeholder="请输入条款模板关键字" >
</c-input>
</el-form-item>
<el-form-item label="语言" prop="uil" style="width:100%">
......
<template>
<div class="eibs-tab">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="样式设置" prop="cod">
<c-input v-model="model.cod" placeholder="请输入样式设置"> </c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="类型" prop="typ">
<c-input v-model="model.typ" placeholder="请输入类型"> </c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="apfAdd">新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="apfData"
:columns="apfColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="apfInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="apfEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="apfDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
>
<i class="el-icon-more"></i>
</a>
</el-popover>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/apf.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
apfData: [],
apfColumns: [
{ label: "样式设置", prop: "cod", width: "auto" },
{ label: "类型", prop: "typ", width: "auto" },
{ label: "数量", prop: "cnt", width: "auto" },
{ label: "编辑标志", prop: "edtflg", width: "auto" },
{ label: "所用纸张类型", prop: "tef", width: "auto" },
{ label: "优先级", prop: "pri", width: "auto" },
{ label: "版本号", prop: "ver", width: "auto" },
],
};
},
computed: {},
activated() {
const { update } = this.$route.params;
if (update) {
this.onInfapfSearch();
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInfapfSearch();
},
onInfapfSearch() {
queryByPage(this.model).then((res) => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list;
this.apfData = list;
this.model.pageNum = res.pageNumber;
this.model.pageSize = res.pageSize;
this.model.total = res.total;
});
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber;
this.model.pageSize = pageSize;
this.onInfapfSearch();
},
apfAdd() {
this.$router.push(`/statics/dbaapf`);
},
apfInfo(index, row) {
this.$router.push(`/statics/dbiapf/${row.inr}`);
},
apfEdit(index, row) {
this.$router.push(`/statics/dbeapf/${row.inr}`);
},
apfDelete(index, row) {
this.$router.push(`/statics/dbdapf/${row.inr}`);
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="报文格式信息查询">
<el-form
:model="model"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 -->
<el-tab-pane label="报文格式信息查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsDblapf",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
// apf
bchkey: "",
trn: "",
relcur: "",
relamt: "",
ver: "",
relflg: "",
// paging
pageNum: 1,
pageSize: 5,
total: 0,
},
};
},
};
</script>
<style></style>
\ No newline at end of file
......@@ -113,12 +113,12 @@ export default {
feeColumns: [
{ label: '费用代码', prop: 'cod', width: '120' },
{ label: '名称', prop: 'descrp', width: '120' },
{ label: '相关金额类型', prop: 'reltir', width: '150' },
{ label: 'SWIFT报文描述', prop: 'sftcod', width: '150' },
{ label: '计算费用相关的金额类型', prop: 'reltir', width: '190' },
{ label: 'SWIFT报文费用代码', prop: 'sftcod', width: '170' },
{ label: 'DTA报文中的费用代码', prop: 'dtacod', width: '170' },
{ label: '统计标志', prop: 'staflg', width: '120' },
{ label: '支付此费用的默认角色', prop: 'rol', width: '170' },
{ label: '账号', prop: 'acc', width: '120' }
{ label: '默认付费角色', prop: 'rol', width: '170' },
{ label: '费用账号', prop: 'acc', width: '120' }
],
};
},
......@@ -161,7 +161,7 @@ export default {
}
}
this.model.feelist = feeList;
console.log(this.model)
this.model.etgextkey = 'CEBGRP';
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
......
......@@ -2,22 +2,20 @@
<div class="eibs-tab">
<!-- 查询条件 -->
<c-col :span="12" class="col-left">
<el-form-item label="实体组" prop="etgextkey" style="width:100%">
<c-select v-model="model.etgextkey" style="width:100%" placeholder="请选择实体组">
<el-option v-for="item in entyGrp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
<el-form-item label="条款模板关键字" prop="extkey" style="width:100%">
<c-input v-model="model.extkey" placeholder="请输入条款模板关键字" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12" class="col-right">
<el-form-item label="名称" prop="nam">
<c-input v-model="model.nam" placeholder="请输入名称" style="width: 100%">
<el-form-item label="条款模板名称" prop="nam">
<c-input v-model="model.nam" placeholder="请输入条款模板名称" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12" class="col-left">
<el-form-item label="语言" prop="uil" style="width:100%">
<c-select v-model="model.uil" style="width:100%" placeholder="请选择语言">
<el-form-item label="条款语种" prop="uil" style="width:100%">
<c-select v-model="model.uil" style="width:100%" placeholder="请选择条款语种">
<el-option v-for="item in lang" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
......@@ -74,13 +72,13 @@ export default {
inject: ["root"],
data() {
return {
entyGrp: [],
lang: CodeTable['uiltxt'],
txmData: [],
txmColumns: [
{ label: "名称", prop: "nam", width: "auto" },
{ label: "语言", prop: "uil", width: "auto" },
{ label: "内容", prop: "txt", width: "auto" },
{ label: "条款模板关键字", prop: "extkey", width: "auto" },
{ label: "条款模板名称", prop: "nam", width: "auto" },
{ label: "条款模板内容", prop: "uil", width: "auto" },
{ label: "版本号", prop: "ver", width: "auto" },
],
};
},
......@@ -103,6 +101,7 @@ export default {
return this.lang.filter(item => item.value === key)[0]?.label;
},
onInftxmSearch() {
this.model.etgextkey = 'CEBGRP';
queryByPage(this.model).then((res) => {
const list = res.list ?? [];
list.map(item => item.uil = this.langValue(item.uil) ?? item.uil);
......
......@@ -87,6 +87,12 @@ import Dbacup from "./Dbacup";
import Dbecup from "./Dbecup";
import Dbdcup from "./Dbdcup";
import Dblapf from "./Dblapf";
import Dbiapf from "./Dbiapf";
import Dbaapf from "./Dbaapf";
import Dbeapf from "./Dbeapf";
import Dbdapf from "./Dbdapf";
const StaticsRouter = [
{ path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
......@@ -176,6 +182,12 @@ const StaticsRouter = [
{ path: 'dbicup/:inr', component: Dbicup, name: 'StaticsDbicup', meta: { title: (tag) => { return '查看申报币种详情信息: ' + tag.params.inr } } },
{ path: 'dbecup/:inr', component: Dbecup, name: 'StaticsDbecup', meta: { title: (tag) => { return '修改申报币别信息: ' + tag.params.inr } } },
{ path: 'dbdcup/:inr', component: Dbdcup, name: 'StaticsDbdcup', meta: { title: (tag) => { return '删除申报币别信息: ' + tag.params.inr } } },
{ path: 'dblapf', component: Dblapf, name: 'StaticsDblapf', meta: { title: '报文格式信息查询' } },
{ path: 'dbaapf', component: Dbaapf, name: 'StaticsDbaapf', meta: { title: '报文格式信息新增' } },
{ path: 'dbiapf/:inr', component: Dbiapf, name: 'StaticsDbiapf', meta: { title: (tag) => { return '报文格式信息详情: ' + tag.params.inr } } },
{ path: 'dbeapf/:inr', component: Dbeapf, name: 'StaticsDbeapf', meta: { title: (tag) => { return '报文格式信息修改: ' + tag.params.inr } } },
{ path: 'dbdapf/:inr', component: Dbdapf, name: 'StaticsDbdapf', meta: { title: (tag) => { return '报文格式信息删除: ' + tag.params.inr } } },
]
export default StaticsRouter
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