Commit 1cbfb0c3 by fukai

init

parents
.PHONY: dist build
install:
@npm install
dev: install
@npm run dev
build:
@npm run build
# element-starter
> A starter kit for Element UI generated by vue-cli
*If you are familiar with [cooking](https://github.com/elemefe/cooking), [here](https://github.com/ElementUI/element-cooking-starter) is a starter generated with it*
## Environment
`Node >= 6`
## Start
- Clone or download this repository
- Enter your local directory, and install dependencies:
``` bash
yarn
```
## Develop
``` bash
# serve with hot reload at localhost:8010
npm run dev
```
## Build
``` bash
# build for production with minification
npm run build
```
{
"name": "psbc-gjjs",
"description": "gjjs project",
"author": "psbc",
"private": true,
"scripts": {
"start": "webpack-dev-server --inline --hot --env.dev",
"build": "rimraf dist && webpack -p --progress --hide-modules"
},
"dependencies": {
"axios": "^0.19.2",
"element-ui": "^2.13.2",
"es6-promise": "^4.2.8",
"vue": "^2.6.11",
"vue-router": "^3.2.0",
"vuex": "^3.4.0"
},
"engines": {
"node": ">=6"
},
"devDependencies": {
"autoprefixer": "^6.6.0",
"babel-core": "^6.24.1",
"babel-loader": "^6.4.0",
"babel-preset-vue-app": "^1.2.0",
"css-loader": "^0.27.0",
"file-loader": "^0.10.1",
"html-webpack-plugin": "^2.24.1",
"postcss-loader": "^1.3.3",
"rimraf": "^2.5.4",
"style-loader": "^0.13.2",
"url-loader": "^0.5.8",
"vue-loader": "^13.3.0",
"vue-template-compiler": "^2.6.11",
"webpack": "^2.4.1",
"webpack-dev-server": "^2.4.2"
}
}
module.exports = {
plugins: [
require('autoprefixer')()
]
}
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<script>
export default {
created:()=>{
console.log("应用程序已建立")
}
}
</script>
<style>
#app {
font-family: Helvetica, sans-serif;
display: flex;
flex-direction: column;
}
</style>
<template>
<div class="c-page-container">
<p class="title">{{title}}</p>
<div style="flex:1;padding:0.5rem">
<slot></slot>
</div>
</div>
</template>
<script>
export default {
props:['title']
}
</script>
<style scoped>
.title{
margin: 0;
padding: 0.5em;
padding-left:1em ;
font-size: 1rem;
border-bottom: 2px solid #337bde;
}
.c-page-container{
height: 100%;
display: flex;
flex-direction: column;
overflow-x: hidden;
}
</style>
\ No newline at end of file
import c_page from "./c-page.vue"
export default {
install(Vue){
Vue.component("c-page",c_page)
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>国际结算系统</title>
<style>
html,body,#app{
padding: 0;
height: 100%;
width: 100%;
margin: 0;
}
</style>
</head>
<body>
<div id="app"></div>
</body>
</html>
\ No newline at end of file
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'es6-promise/auto'
import App from './App.vue'
import RootRouter from './routers'
import store from "./store"
import CustomComponent from "./components"
window.SUCCESS="00000"
Vue.use(ElementUI)
Vue.use(CustomComponent)
new Vue({
el: '#app',
store,
router:RootRouter,
render: h => h(App)
})
import Vue from 'vue'
import VueRouter from 'vue-router'
import Display from "../views/Display"
import Login from "../views/Login"
import Layout from "../views/Layout"
import BusRouter from '../views/Business/BusRouter'
Vue.use(VueRouter)
const rootRouter = new VueRouter({
routes: [
{path:"/display",component:Display,children:BusRouter},
{path:"/login",component:Login},
{path:"/business",component:Layout,children:BusRouter}
]
})
export default rootRouter
import axios from 'axios'
import { MessageBox } from 'element-ui'
export const BASE_HOST = "/reactremit/"
export const BASE_URI=BASE_HOST+"service/";
const instance = axios.create({
baseURL: BASE_URI,
timeout: 5000,
method: 'post',
});
export default class Api
{
static get(url,data)
{
}
static logout(){
console.log('asdasdasdasdasd')
window.location.href="#/login";
}
static _post(url,data,method="post")
{
let token = window.sessionStorage.token
let userId = window.sessionStorage.userId
let headers = {userId,token};
if(url!= `${BASE_URI}login` && token)
headers.token = token;
return new Promise( (resolve, reject) =>{
axios.post(url,data,{
headers,
method,
timeout: 5000,
})
.then(response=>{
const {data} = response;
if(data && data.retcod != SUCCESS)
{
console.log("错误码:"+data.retcod+" 错误信息:"+data.retmsg)
}
if(data && data.retcod == 'L0003'){
window.sessionStorage.removeItem("token")
window.sessionStorage.removeItem("userId")
MessageBox.alert({
title:'会话超时',
message:'即将退出,请重新登录',
showClose:false,
callback:()=>{
window.location.href= "/?#/"+"login"
}
})
return ;
}
resolve(data)
})
.catch(error=> {
if (error.response) {
// The request was made and the server responded with a status code
// that falls out of the range of 2xx
console.log(error.response.data);
console.log(error.response.status);
console.log(error.response.headers);
resolve({retcod:'500',retmsg:error.response.status});
} else if (error.request) {
// The request was made but no response was received
// `error.request` is an instance of XMLHttpRequest in the browser and an instance of
// http.ClientRequest in node.js
console.log(error.request);
resolve({retcod:'501'});
} else {
// Something happened in setting up the request that triggered an Error
console.log('Error', error.message);
resolve({retcod:'502',retmsg:error.message});
}
console.log(error.config);
});
});
}
static _get(url,data)
{
return this._post(url,data,"get");
}
static post(url,data)
{
return this._post(BASE_URI+url,data)
}
static get(url,data)
{
return this._get(BASE_HOST+url,data)
}
}
\ No newline at end of file
const I18N = {
state:{
lang:"cn"
},
mutations:{
setLang(state,lang){
state.lang = lang
}
}
}
export default I18N
\ No newline at end of file
const UserContext={
state:{
userName:"",
userId:"",
ptyCode:"",
menu:[],
state:"LOGOUT",
token:"",
},
mutations:{
setLoginInfo(state,info){
state.userName = info.userName
state.userId = info.userId
state.ptyCode = info.ptyCode
state.menu = info.menu
state.state = "LOGIN"
state.token = info.token
},
setLogout(state){
state.userName = ""
state.userId = ""
state.ptyCode = ""
state.menu = []
state.state = "LOGOUT"
state.token = ""
}
}
}
export default UserContext;
\ No newline at end of file
import I18NStore from "./I18NStore"
import UserContext from "./UserContext"
import Vuex from 'vuex'
import Vue from 'vue'
Vue.use(Vuex)
const store = new Vuex.Store({
modules: {
i18n: I18NStore,
userContext: UserContext
}
})
export default store;
\ No newline at end of file
import Vue from 'vue'
import ElementUI from 'element-ui'
\ No newline at end of file
import Cptopn from "./Cptopn"
import Ditame from "./Ditame"
import Ditopn from "./Ditopn"
import Office from "./Office"
import Sptsel from "./Sptsel"
import Trnrel from "./Trnrel"
import Tstopn from "./Tstopn"
const BusRouter = [
{path:'cptopn',component:Cptopn},
{path:'ditame',component:Ditame},
{path:'ditopn',component:Ditopn},
{path:'office',component:Office},
{path:'sptsel',component:Sptsel},
{path:'trnrel',component:Trnrel},
{path:'tstopn',component:Tstopn},
]
export default BusRouter
\ No newline at end of file
<template>
<div>
<!-- 报送 -->
</div>
</template>
<script>
export default {
}
</script>
<sty
\ No newline at end of file
<template>
<div>
<el-col :span="12">
<el-form-item label="业务编号">
<el-input v-model="model.cpdgrp.rec.ownref" maxlength="16" placeholder="请输入业务编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onGetref">
获取
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="业务归属机构">
<el-input v-model="model.cpdgrp.rec.ownbch" maxlength="8" placeholder="请输入业务归属机构"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onUsrcon">
登记
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onSav">
提交
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="汇款方式">
<el-select v-model="model.cpdgrp.rec.paytyp" style="width:100%" placeholder="请选择汇款方式">
<el-option
v-for="item in codes.paytyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户经理">
<el-input v-model="model.cpdgrp.orc.pty.ownusr" maxlength="10" placeholder="请输入客户经理"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onChk">
检核
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="汇款类型">
<el-select v-model="model.cpdgrp.rec.cpdflg" style="width:100%" placeholder="请选择汇款类型">
<el-option
v-for="item in codes.custyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇款人性质">
<el-select v-model="model.cpdgrp.rec.custyp" style="width:100%" placeholder="请选择汇款人性质">
<el-option
v-for="item in codes.ptytyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇款币种金额">
<el-select v-model="model.cpdgrp.cbs.max.cur" style="width:100%" placeholder="请选择汇款币种金额">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇款币种金额">
<el-input v-model="model.cpdgrp.cbs.max.amt" placeholder="请输入汇款币种金额"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="起息日">
<el-date-picker type="date" v-model="model.cpdgrp.rec.valdat" style="width:100%" placeholder="请选择起息日"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="清算路径">
<el-select v-model="model.cpdgrp.rec.liqtyp" style="width:100%" placeholder="请选择清算路径">
<el-option
v-for="item in codes.liqtyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="报文类型">
<el-select v-model="model.cpdgrp.rec.swftyp" style="width:100%" placeholder="请选择报文类型">
<el-option
v-for="item in codes.swftyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="扣款币种">
<el-select v-model="model.cpdgrp.rec.curf33b" style="width:100%" placeholder="请选择扣款币种">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="扣款金额">
<el-input v-model="model.cpdgrp.rec.amtf33b" placeholder="请输入扣款金额"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇率">
<el-input v-model="model.cpdgrp.rec.f36" placeholder="请输入汇率"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="交易对手国别">
<el-input v-model="model.cpdgrp.rec.stacty" maxlength="3" placeholder="请输入交易对手国别"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.cpdgrp.orc.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onOrcpSel">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onCptpButton1">
按钮一
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="SWIFT地址">
<el-input type="textarea" v-model="model.cpdgrp.orc.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入SWIFT地址" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇款人中文名">
<el-input v-model="model.cpdgrp.orc.pts.namcn" maxlength="100" placeholder="请输入汇款人中文名"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇款人账号">
<el-input v-model="model.cpdgrp.rec.orcacc" maxlength="32" placeholder="请输入汇款人账号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇款人中文地址">
<el-input v-model="model.cpdgrp.orc.pts.adrcn" maxlength="100" placeholder="请输入汇款人中文地址"></el-input>
</el-form-item>
</el-col>
</div>
</template>
<script>
export default {
props:['model'],
methods:{
onGetref(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/getref",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
}
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div>
</div>
</template>
<script>
export default {
}
</script>
<sty
\ No newline at end of file
<template>
<div>
<!-- 境外汇款申请书 -->
</div>
</template>
<script>
export default {
}
</script>
<sty
\ No newline at end of file
<template>
<!-- 境内汇款申请书 -->
<div>
</div>
</template>
<script>
export default {
}
</script>
<sty
\ No newline at end of file
<template>
<div>
<!-- 结汇申报 -->
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div>
<!-- 购汇申报 -->
</div>
</template>
<script>
export default {
}
</script>
<sty
\ No newline at end of file
<template>
<div>
<el-col :span="12">
<el-form-item label="面函码值">
<el-input v-model="model.trnmod.trndoc.doccod" maxlength="16" placeholder="请输入面函码值"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Per Medium">
<el-input v-model="model.trnmod.trndoc.cortyp" maxlength="3" placeholder="请输入Per Medium"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onTrndocReldoc">
面函加载
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onTrndocButshw">
展示
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="面函路径">
<el-input v-model="model.trnmod.trndoc.docpth" maxlength="100" placeholder="请输入面函路径"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.trnmod.trndoc.docmod.doclst"
style="width: 100%"
>
<el-table-column
prop="role"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="id"
label="码值"
sortable
width="100">
</el-table-column>
<el-table-column
prop="docnam"
label="凭证名称"
sortable
width="200">
</el-table-column>
<el-table-column
prop="cortyp"
label="凭证类型"
sortable
width="150">
</el-table-column>
<el-table-column
prop="mdtflg"
label="出具/发送"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptainr"
label=""
sortable
width="100">
</el-table-column>
</el-table>
</div>
</el-col>
</div>
</template>
<script>
export default {
props:['model']
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div>
<!-- 费用 -->
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.setmod.setfeg.fegmod.feslst"
style="width: 100%"
>
<el-table-column
prop="rol"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="feecod"
label="费用代码"
sortable
width="100">
</el-table-column>
<el-table-column
prop="feetxt"
label="费用名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cur"
label="收费币种"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.curtxt.find(item=>item.value==scope.row.cur).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="basamt"
label="应收金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="amt"
label="实收金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dsp"
label="现收/缓收"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.dsp.find(item=>item.value==scope.row.dsp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="payflg"
label="内扣/外收"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.payflg.find(item=>item.value==scope.row.payflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="xrfcur"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="xrfamt"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="feeacc"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="fepinr"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="rolptyinr"
label=""
sortable
width="100">
</el-table-column>
</el-table>
</div>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.setmod.setglg.glgmod.glslst"
style="width: 100%"
>
<el-table-column
prop="rol"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="debcdtflg"
label="借/贷"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.debcdtflg.find(item=>item.value==scope.row.debcdtflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="cur"
label="结算币种"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.curtxt.find(item=>item.value==scope.row.cur).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="amt"
label="结算金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dsp"
label="结算方式"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.dsp2.find(item=>item.value==scope.row.dsp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="act"
label="账户"
sortable
width="100">
</el-table-column>
<el-table-column
prop="acccur"
label="原币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="accamt"
label="原金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="actflg"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="fmtamt"
label=""
sortable
width="100">
</el-table-column>
</el-table>
</div>
</el-col>
</div>
</template>
<script>
export default {
props:['model']
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div>
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div>
<!-- 会计分录 -->
<el-col :span="12">
<el-button size="small" type="primary" @click="onGlemodRebook">
分录加载
</el-button>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.setmod.glemod.glelst"
style="width: 100%"
>
<el-table-column
prop="dbtcdt"
label="借/贷"
sortable
width="100">
</el-table-column>
<el-table-column
prop="act"
label="账号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="valdat"
label="起息日"
sortable
width="100">
</el-table-column>
<el-table-column
prop="trmtyp"
label="科目号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="prn"
label="PN序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dsp"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="rat"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="fctsgn"
label=""
sortable
width="100">
</el-table-column>
</el-table>
</div>
</el-col>
</div>
</template>
<script>
export default {
props:['model'],
}
</script>
\ No newline at end of file
<template>
<div>
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div>
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div>
<!-- 申报 -->
</div>
</template>
<script>
export default {
props:['model']
}
</script>
<style scoped>
</style>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<el-col :span="12">
<el-form-item label="业务编号">
<el-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入业务编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="概要描述">
<el-input v-model="model.didgrp.rec.nam" maxlength="100" placeholder="请输入概要描述"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="最后修改日期">
<el-date-picker type="date" v-model="model.didgrp.rec.amedat" style="width:100%" placeholder="最后修改日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="修改次数">
<el-input v-model="model.didgrp.rec.amenbr" placeholder="请输入修改次数"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="上浮">
<el-input v-model="model.olddidgrp.rec.nomtop" placeholder="请输入上浮"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="下浮">
<el-input v-model="model.olddidgrp.rec.nomton" placeholder="请输入下浮"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="上浮">
<el-input v-model="model.didgrp.rec.nomtop" placeholder="请输入上浮"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="下浮">
<el-input v-model="model.didgrp.rec.nomton" placeholder="请输入下浮"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Currency">
<el-select v-model="model.olddidgrp.cbs.nom1.cur" style="width:100%" placeholder="Currency">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Balance">
<el-input v-model="model.olddidgrp.cbs.nom1.amt" placeholder="请输入Balance"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Currency">
<el-select v-model="model.olddidgrp.cbs.max.cur" style="width:100%" placeholder="Currency">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Balance">
<el-input v-model="model.olddidgrp.cbs.max.amt" placeholder="请输入Balance"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Engagement Currency">
<el-select v-model="model.ditamep.engcur" style="width:100%" placeholder="Engagement Currency">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="change of engagement:">
<el-input v-model="model.ditamep.engamt" placeholder="请输入change of engagement:"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Currency of Maximum Amount">
<el-select v-model="model.ditamep.maxcur" style="width:100%" placeholder="Currency of Maximum Amount">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="New Maximum Amount">
<el-input v-model="model.ditamep.maxamt" placeholder="请输入New Maximum Amount"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Currency">
<el-select v-model="model.didgrp.cbs.nom1.cur" style="width:100%" placeholder="Currency">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Balance">
<el-input v-model="model.didgrp.cbs.nom1.amt" placeholder="请输入Balance"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Currency">
<el-select v-model="model.didgrp.cbs.max.cur" style="width:100%" placeholder="Currency">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Balance">
<el-input v-model="model.didgrp.cbs.max.amt" placeholder="请输入Balance"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="有效日期">
<el-date-picker type="date" v-model="model.olddidgrp.rec.expdat" style="width:100%" placeholder="有效日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="最迟货物装运/服务提供日期 ">
<el-date-picker type="date" v-model="model.olddidgrp.rec.shpdat" style="width:100%" placeholder="最迟货物装运/服务提供日期 "></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="有效日期">
<el-date-picker type="date" v-model="model.didgrp.rec.expdat" style="width:100%" placeholder="有效日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="最迟货物装运/服务提供日期 ">
<el-date-picker type="date" v-model="model.didgrp.rec.shpdat" style="width:100%" placeholder="最迟货物装运/服务提供日期 "></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="有效地点">
<el-input v-model="model.olddidgrp.rec.expplc" maxlength="100" placeholder="请输入有效地点"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="有效地点">
<el-input v-model="model.didgrp.rec.expplc" maxlength="100" placeholder="请输入有效地点"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="拒绝修改标识">
<el-select v-model="model.didgrp.rec.rejameflg" style="width:100%" placeholder="拒绝修改标识">
<el-option
v-for="item in codes.rejcod"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="通知行拒绝理由">
<el-input v-model="model.didgrp.rec.rejreason" maxlength="60" placeholder="请输入通知行拒绝理由"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="业务编号">
<el-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入业务编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onGetref">
获取
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="概要描述">
<el-input v-model="model.didgrp.rec.nam" maxlength="100" placeholder="请输入概要描述"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="归属机构">
<el-select v-model="model.didgrp.rec.ownbch" style="width:100%" placeholder="归属机构">
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.apl.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onAplpSel">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onAplpPtysel">
客户查询
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="客户经理">
<el-input v-model="model.didgrp.rec.accusr" maxlength="8" placeholder="请输入客户经理"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户中文名称">
<el-input v-model="model.didgrp.apl.pts.namcn" maxlength="100" placeholder="请输入客户中文名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开立日期">
<el-date-picker type="date" v-model="model.didgrp.rec.opndat" style="width:100%" placeholder="开立日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="中文地址">
<el-input v-model="model.didgrp.apl.pts.adrcn" maxlength="100" placeholder="请输入中文地址"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Currency">
<el-input v-model="model.didgrp.cbs.nom1.cur" maxlength="3" placeholder="请输入Currency"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Balance">
<el-input v-model="model.didgrp.cbs.nom1.amt" placeholder="请输入Balance"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="结算账号">
<el-input v-model="model.didgrp.apl.pts.extact" maxlength="32" placeholder="请输入结算账号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="上浮">
<el-input v-model="model.didgrp.rec.nomtop" placeholder="请输入上浮"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="下浮">
<el-input v-model="model.didgrp.rec.nomton" placeholder="请输入下浮"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Currency">
<el-input v-model="model.didgrp.cbs.max.cur" maxlength="3" placeholder="请输入Currency"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Balance">
<el-input v-model="model.didgrp.cbs.max.amt" placeholder="请输入Balance"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.ben.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onBenpSel">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onBenpPtysel">
客户查询
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="客户中文名称">
<el-input v-model="model.didgrp.ben.pts.namcn" maxlength="100" placeholder="请输入客户中文名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开证类型">
<el-select v-model="model.didgrp.rec.isstyp" style="width:100%" placeholder="开证类型">
<el-option
v-for="item in codes.isstyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="中文地址">
<el-input v-model="model.didgrp.ben.pts.adrcn" maxlength="100" placeholder="请输入中文地址"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="贸易方式">
<el-select v-model="model.didgrp.rec.trdtyp" style="width:100%" placeholder="贸易方式">
<el-option
v-for="item in codes.trdtyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="结算账号">
<el-input v-model="model.didgrp.ben.pts.extact" maxlength="32" placeholder="请输入结算账号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="最迟货物装运/服务提供日期 ">
<el-date-picker type="date" v-model="model.didgrp.rec.shpdat" style="width:100%" placeholder="最迟货物装运/服务提供日期 "></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.adv.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onAdvpSel">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onAdvpPtysel">
客户查询
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="信用证对付方式">
<el-select v-model="model.didgrp.rec.avbby" style="width:100%" placeholder="信用证对付方式">
<el-option
v-for="item in codes.avbby"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="期限">
<el-input v-model="model.didgrp.rec.tenmaxday" placeholder="请输入期限"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户中文名称">
<el-input v-model="model.didgrp.adv.pts.namcn" maxlength="100" placeholder="请输入客户中文名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="有效日期">
<el-date-picker type="date" v-model="model.didgrp.rec.expdat" style="width:100%" placeholder="有效日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="中文地址">
<el-input v-model="model.didgrp.adv.pts.adrcn" maxlength="100" placeholder="请输入中文地址"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="远期付款指示">
<el-input v-model="model.didgrp.rec.defdet" maxlength="60" placeholder="请输入远期付款指示"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.a2b.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onA2bpSel">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onA2bpPtysel">
客户查询
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.age.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onAgepSel">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onAgepPtysel">
客户查询
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="客户中文名称">
<el-input v-model="model.didgrp.a2b.pts.namcn" maxlength="100" placeholder="请输入客户中文名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户中文名称">
<el-input v-model="model.didgrp.age.pts.namcn" maxlength="100" placeholder="请输入客户中文名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="中文地址">
<el-input v-model="model.didgrp.a2b.pts.adrcn" maxlength="100" placeholder="请输入中文地址"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="中文地址">
<el-input v-model="model.didgrp.age.pts.adrcn" maxlength="100" placeholder="请输入中文地址"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="合同编号">
<el-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入合同编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.con.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onConpSel">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onConpPtysel">
客户查询
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="合同币种">
<el-input v-model="model.didgrp.rec.concur" maxlength="3" placeholder="请输入合同币种"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="合同金额">
<el-input v-model="model.didgrp.rec.conamt" placeholder="请输入合同金额"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户中文名称">
<el-input v-model="model.didgrp.con.pts.namcn" maxlength="100" placeholder="请输入客户中文名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="分批装运货物/分次提供服务">
<el-select v-model="model.didgrp.rec.shppar" style="width:100%" placeholder="分批装运货物/分次提供服务">
<el-option
v-for="item in codes.allow"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="中文地址">
<el-input v-model="model.didgrp.con.pts.adrcn" maxlength="100" placeholder="请输入中文地址"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="分期装运/提供服务">
<el-select v-model="model.didgrp.rec.shpper" style="width:100%" placeholder="分期装运/提供服务">
<el-option
v-for="item in codes.allow"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="转运">
<el-select v-model="model.didgrp.rec.shptrs" style="width:100%" placeholder="转运">
<el-option
v-for="item in codes.allow"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.neg.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onNegpSel">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onNegpPtysel">
客户查询
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="是否可转让">
<el-select v-model="model.didgrp.rec.traflg" style="width:100%" placeholder="是否可转让">
<el-option
v-for="item in codes.yesno"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户中文名称">
<el-input v-model="model.didgrp.neg.pts.namcn" maxlength="100" placeholder="请输入客户中文名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="保兑标志">
<el-select v-model="model.didgrp.rec.cfmflg" style="width:100%" placeholder="保兑标志">
<el-option
v-for="item in codes.yesno"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="中文地址">
<el-input v-model="model.didgrp.neg.pts.adrcn" maxlength="100" placeholder="请输入中文地址"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="指定议付行">
<el-select v-model="model.didgrp.rec.negflg" style="width:100%" placeholder="指定议付行">
<el-option
v-for="item in codes.design"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物运输或交货方式/服务方式">
<el-input v-model="model.didgrp.rec.tratyp" maxlength="20" placeholder="请输入货物运输或交货方式/服务方式"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="分期装运/提供服务约定">
<el-input v-model="model.didgrp.rec.trdapt" maxlength="100" placeholder="请输入分期装运/提供服务约定"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="交单期限">
<el-input v-model="model.didgrp.rec.preper" maxlength="100" placeholder="请输入交单期限"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物装运地(港)">
<el-input v-model="model.didgrp.rec.shpfro" maxlength="100" placeholder="请输入货物装运地(港)"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物目的地、交货地(港)">
<el-input v-model="model.didgrp.rec.shpto" maxlength="100" placeholder="请输入货物目的地、交货地(港)"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="服务提供地点">
<el-input v-model="model.didgrp.rec.shppro" maxlength="100" placeholder="请输入服务提供地点"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="有效地点">
<el-input v-model="model.didgrp.rec.expplc" maxlength="100" placeholder="请输入有效地点"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="附加条款历史修改记录">
<el-input type="textarea" v-model="model.olddidgrp.rec.adlcndame" maxlength="100" show-word-limit placeholder="请输入附加条款历史修改记录" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="附加条款">
<el-input type="textarea" v-model="model.olddidgrp.rec.adlcnd" maxlength="100" show-word-limit placeholder="请输入附加条款" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="附加条款">
<el-input type="textarea" v-model="model.didgrp.rec.adlcnd" maxlength="100" show-word-limit placeholder="请输入附加条款" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物/服务描述修改记录">
<el-input type="textarea" v-model="model.olddidgrp.rec.lcrgodame" maxlength="100" show-word-limit placeholder="请输入货物/服务描述修改记录" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物服务描述">
<el-input type="textarea" v-model="model.olddidgrp.rec.lcrgod" maxlength="100" show-word-limit placeholder="请输入货物服务描述" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物服务描述">
<el-input type="textarea" v-model="model.didgrp.rec.lcrgod" maxlength="100" show-word-limit placeholder="请输入货物服务描述" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据要求历史修改记录">
<el-input type="textarea" v-model="model.olddidgrp.rec.lcrdocame" maxlength="100" show-word-limit placeholder="请输入单据要求历史修改记录" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据要求">
<el-input type="textarea" v-model="model.olddidgrp.rec.lcrdoc" maxlength="100" show-word-limit placeholder="请输入单据要求" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据要求">
<el-input type="textarea" v-model="model.didgrp.rec.lcrdoc" maxlength="100" show-word-limit placeholder="请输入单据要求" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onSav">
提交
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onChk">
检核
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onPed">
暂存
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onExi">
退出
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="索引">
<el-input v-model="model.didgrp.rec.inr" maxlength="8" placeholder="请输入索引"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="最高金额限额">
<el-select v-model="model.didgrp.rec.nomspc" style="width:100%" placeholder="最高金额限额">
<el-option
v-for="item in codes.nomspc"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物服务描述">
<el-input type="textarea" v-model="model.didgrp.rec.lcrgod" maxlength="100" show-word-limit placeholder="请输入货物服务描述" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据要求">
<el-input type="textarea" v-model="model.didgrp.rec.lcrdoc" maxlength="100" show-word-limit placeholder="请输入单据要求" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="附加条款">
<el-input type="textarea" v-model="model.didgrp.rec.adlcnd" maxlength="100" show-word-limit placeholder="请输入附加条款" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="创建柜员">
<el-input v-model="model.didgrp.rec.ownusr" maxlength="8" placeholder="请输入创建柜员"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="创建日期">
<el-date-picker type="date" v-model="model.didgrp.rec.credat" style="width:100%" placeholder="创建日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="闭卷日期">
<el-date-picker type="date" v-model="model.didgrp.rec.clsdat" style="width:100%" placeholder="闭卷日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="最后修改日期">
<el-date-picker type="date" v-model="model.didgrp.rec.amedat" style="width:100%" placeholder="最后修改日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="修改次数">
<el-input v-model="model.didgrp.rec.amenbr" placeholder="请输入修改次数"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="预开立日期">
<el-date-picker type="date" v-model="model.didgrp.rec.preadvdat" style="width:100%" placeholder="预开立日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="收单次数">
<el-input v-model="model.didgrp.rec.utlnbr" placeholder="请输入收单次数"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="版本号">
<el-input v-model="model.didgrp.rec.ver" maxlength="4" placeholder="请输入版本号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-checkbox v-model="model.didgrp.rec.rejflg">拒绝标识</el-checkbox>
</el-col>
<el-col :span="12">
<el-form-item label="实体">
<el-input v-model="model.didgrp.rec.etyextkey" maxlength="8" placeholder="请输入实体"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="拒绝接受修改次数">
<el-input v-model="model.didgrp.rec.rejamenbr" placeholder="请输入拒绝接受修改次数"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="注销/闭卷原因">
<el-select v-model="model.didgrp.rec.clsinf" style="width:100%" placeholder="注销/闭卷原因">
<el-option
v-for="item in codes.clsinf"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="拒绝修改标识">
<el-input v-model="model.didgrp.rec.rejameflg" maxlength="4" placeholder="请输入拒绝修改标识"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="经办机构">
<el-input v-model="model.didgrp.rec.usrbch" maxlength="8" placeholder="请输入经办机构"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="附加条款历史修改记录">
<el-input type="textarea" v-model="model.didgrp.rec.adlcndame" maxlength="100" show-word-limit placeholder="请输入附加条款历史修改记录" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="货物/服务描述修改记录">
<el-input type="textarea" v-model="model.didgrp.rec.lcrgodame" maxlength="100" show-word-limit placeholder="请输入货物/服务描述修改记录" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据要求历史修改记录">
<el-input type="textarea" v-model="model.didgrp.rec.lcrdocame" maxlength="100" show-word-limit placeholder="请输入单据要求历史修改记录" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.ben.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.adv.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.apl.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.a2b.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.iss.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.age.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.neg.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="document currency">
<el-select v-model="model.setmod.doccur" style="width:100%" placeholder="document currency">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="document amount">
<el-input v-model="model.setmod.docamt" placeholder="请输入document amount"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onSetmodFeedet">
重算金额
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="客户编号">
<el-input v-model="model.didgrp.con.pts.extkey" maxlength="16" placeholder="请输入客户编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="通知行拒绝理由">
<el-input v-model="model.didgrp.rec.rejreason" maxlength="60" placeholder="请输入通知行拒绝理由"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onSetmodAst">
加载账务
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="FEEMAC">
<el-input v-model="model.setmod.feemac" maxlength="200" placeholder="请输入FEEMAC"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onSetmodRecal">
重算账务
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="Currency">
<el-select v-model="model.didgrp.cbs.ccvamt.cur" style="width:100%" placeholder="Currency">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Balance">
<el-input v-model="model.didgrp.cbs.ccvamt.amt" placeholder="请输入Balance"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="SETMAC">
<el-input v-model="model.setmod.setmac" maxlength="200" placeholder="请输入SETMAC"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.setmod.setfeg.fegmod.feslst"
style="width: 100%"
>
<el-table-column
prop="rol"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="feecod"
label="费用代码"
sortable
width="100">
</el-table-column>
<el-table-column
prop="feetxt"
label="费用名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cur"
label="收费币种"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.curtxt.find(item=>item.value==scope.row.cur).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="basamt"
label="应收金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="amt"
label="实收金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dsp"
label="现收/缓收"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.dsp.find(item=>item.value==scope.row.dsp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="payflg"
label="内扣/外收"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.payflg.find(item=>item.value==scope.row.payflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="xrfcur"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="xrfamt"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="feeacc"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="fepinr"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="rolptyinr"
label=""
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.setmod_setfeg_fegmod_feslst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.setmod.setglg.glgmod.glslst"
style="width: 100%"
>
<el-table-column
prop="rol"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="debcdtflg"
label="借/贷"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.debcdtflg.find(item=>item.value==scope.row.debcdtflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="cur"
label="结算币种"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.curtxt.find(item=>item.value==scope.row.cur).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="amt"
label="结算金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dsp"
label="结算方式"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.dsp2.find(item=>item.value==scope.row.dsp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="act"
label="账户"
sortable
width="100">
</el-table-column>
<el-table-column
prop="acccur"
label="原币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="accamt"
label="原金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="actflg"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="fmtamt"
label=""
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.setmod_setglg_glgmod_glslst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onGlemodRebook">
分录加载
</el-button>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.setmod.glemod.glelst"
style="width: 100%"
>
<el-table-column
prop="dbtcdt"
label="借/贷"
sortable
width="100">
</el-table-column>
<el-table-column
prop="act"
label="账号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="valdat"
label="起息日"
sortable
width="100">
</el-table-column>
<el-table-column
prop="trmtyp"
label="科目号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="prn"
label="PN序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dsp"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="rat"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="fctsgn"
label=""
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.setmod_glemod_glelst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-form-item label="面函码值">
<el-input v-model="model.trnmod.trndoc.doccod" maxlength="16" placeholder="请输入面函码值"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Per Medium">
<el-input v-model="model.trnmod.trndoc.cortyp" maxlength="3" placeholder="请输入Per Medium"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onTrndocReldoc">
面函加载
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onTrndocButshw">
展示
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="面函路径">
<el-input v-model="model.trnmod.trndoc.docpth" maxlength="100" placeholder="请输入面函路径"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.trnmod.trndoc.docmod.doclst"
style="width: 100%"
>
<el-table-column
prop="role"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="id"
label="码值"
sortable
width="100">
</el-table-column>
<el-table-column
prop="docnam"
label="凭证名称"
sortable
width="200">
</el-table-column>
<el-table-column
prop="cortyp"
label="凭证类型"
sortable
width="150">
</el-table-column>
<el-table-column
prop="mdtflg"
label="出具/发送"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptainr"
label=""
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.trnmod_trndoc_docmod_doclst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onLiaallAstlia">
表外加载
</el-button>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.liaallg"
style="width: 100%"
>
<el-table-column
prop="bussec"
label="业务种类"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.bussec.find(item=>item.value==scope.row.bussec).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="liatyp"
label="表外类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.curtxt.find(item=>item.value==scope.row.cur).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="oldamt"
label="原金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="chgamt"
label="变动金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="acc"
label="表外账号"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_liaallg.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-form-item label="唯一编号">
<el-input v-model="model.sysmod.spt.inr" maxlength="8" placeholder="请输入唯一编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="业务结算币种">
<el-select v-model="model.liaall.liaccv.concur" style="width:100%" placeholder="业务结算币种">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="业务金额">
<el-input v-model="model.liaall.liaccv.newamt" placeholder="请输入业务金额"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="保证金应收比例">
<el-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="变动金额">
<el-input v-model="model.liaall.liaccv.chgamt" placeholder="请输入变动金额"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="保证金实收比例">
<el-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="应收/支保证金">
<el-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入应收/支保证金"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onLiaccvRecalccv">
汇率重算
</el-button>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.liaccv.liaccvg"
style="width: 100%"
>
<el-table-column
prop="cur"
label="币种"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.curtxt.find(item=>item.value==scope.row.cur).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="oldamt"
label="原始金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="chgamt"
label="变动金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cusact"
label="结算账号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvact"
label="保证金账号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="gleflg"
label="记账"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.onsel.find(item=>item.value==scope.row.gleflg).label }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_liaccv_liaccvg.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-form-item label="保证金合计">
<el-input v-model="model.liaall.liaccv.totcovamt" placeholder="请输入保证金合计"></el-input>
</el-form-item>
</el-col>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
export default {
data(){
return {
codes:{
dsp:CodeTable.dsp,
busflg:CodeTable.busflg,
actiontype:CodeTable.actiontype,
allow:CodeTable.allow,
cur:CodeTable.cur,
trdtyp:CodeTable.trdtyp,
rejcod:CodeTable.rejcod,
ptytyp:CodeTable.ptytyp,
paytyp:CodeTable.paytyp,
bopcustype:CodeTable.bopcustype,
boppaytype:CodeTable.boppaytype,
debcdtflg:CodeTable.debcdtflg,
onsel:CodeTable.onsel,
isstyp:CodeTable.isstyp,
acttyp:CodeTable.acttyp,
payflg:CodeTable.payflg,
design:CodeTable.design,
buscod:CodeTable.buscod,
nomspc:CodeTable.nomspc,
clsinf:CodeTable.clsinf,
payacttyp:CodeTable.payacttyp,
curtxt:CodeTable.curtxt,
bustyp:CodeTable.bustyp,
avbby:CodeTable.avbby,
yesno:CodeTable.yesno,
bussec:CodeTable.bussec,
swftyp:CodeTable.swftyp,
chato:CodeTable.chato,
bopyesno:CodeTable.bopyesno,
custyp:CodeTable.custyp,
dsp2:CodeTable.dsp2,
liqtyp:CodeTable.liqtyp,
},
model:{
didgrp:{
rec:{
ownref:"",
nam:"",
amedat:"",
amenbr:"",
nomtop:"",
nomton:"",
expdat:"",
expplc:"",
shpdat:"",
rejameflg:"",
rejreason:"",
opndat:"",
isstyp:"",
trdtyp:"",
avbby:"",
tenmaxday:"",
defdet:"",
ownbch:"",
accusr:"",
tratyp:"",
shpfro:"",
shpto:"",
shppro:"",
preper:"",
conno:"",
conamt:"",
concur:"",
negflg:"",
traflg:"",
cfmflg:"",
trdapt:"",
shppar:"",
shpper:"",
shptrs:"",
adlcnd:"",
lcrgod:"",
lcrdoc:"",
inr:"",
nomspc:"",
ownusr:"",
credat:"",
clsdat:"",
preadvdat:"",
utlnbr:"",
ver:"",
rejflg:"",
etyextkey:"",
rejamenbr:"",
clsinf:"",
usrbch:"",
adlcndame:"",
lcrgodame:"",
lcrdocame:"",
},
cbs:{
nom1:{
cur:"",
amt:"",
},
max:{
cur:"",
amt:"",
},
ccvamt:{
amt:"",
cur:"",
},
},
apl:{
pts:{
extkey:"",
namcn:"",
adrcn:"",
extact:"",
},
},
ben:{
pts:{
extkey:"",
namcn:"",
adrcn:"",
extact:"",
},
},
adv:{
pts:{
extkey:"",
namcn:"",
adrcn:"",
},
},
neg:{
pts:{
extkey:"",
namcn:"",
adrcn:"",
},
},
con:{
pts:{
extkey:"",
namcn:"",
adrcn:"",
},
},
a2b:{
pts:{
extkey:"",
namcn:"",
adrcn:"",
},
},
age:{
pts:{
extkey:"",
namcn:"",
adrcn:"",
},
},
iss:{
pts:{
extkey:"",
},
},
},
olddidgrp:{
cbs:{
nom1:{
cur:"",
amt:"",
},
max:{
cur:"",
amt:"",
},
},
rec:{
nomtop:"",
nomton:"",
expdat:"",
expplc:"",
shpdat:"",
adlcndame:"",
adlcnd:"",
lcrgodame:"",
lcrgod:"",
lcrdocame:"",
lcrdoc:"",
},
},
ditamep:{
engamt:"",
engcur:"",
maxamt:"",
maxcur:"",
},
setmod:{
setfeg:{
fegmod:{
feslst:[],
},
},
setglg:{
glgmod:{
glslst:[],
},
},
doccur:"",
docamt:"",
feemac:"",
setmac:"",
glemod:{
glelst:[],
},
},
trnmod:{
trndoc:{
docmod:{
doclst:[],
},
docpth:"",
doccod:"",
cortyp:"",
},
},
sysmod:{
spt:{
inr:"",
},
},
liaall:{
liaallg:[],
liaccv:{
concur:"",
newamt:"",
cshpct:"",
chgamt:"",
totcovamt:"",
pctresamt:"",
relcshpct:"",
liaccvg:[],
},
},
},
pager:{
"setmod_setfeg_fegmod_feslst":{total:0,curIdx:0},
"setmod_setglg_glgmod_glslst":{total:0,curIdx:0},
"setmod_glemod_glelst":{total:0,curIdx:0},
"trnmod_trndoc_docmod_doclst":{total:0,curIdx:0},
"liaall_liaallg":{total:0,curIdx:0},
"liaall_liaccv_liaccvg":{total:0,curIdx:0},
},
rules:{
"didgrp.rec.ownref":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.rec.nam":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.amedat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.rec.amenbr":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"olddidgrp.rec.nomtop":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"olddidgrp.rec.nomton":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"didgrp.rec.nomtop":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"didgrp.rec.nomton":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"olddidgrp.cbs.nom1.amt":[{type: "number", required: false, message: "输入不合法"}],
"olddidgrp.cbs.max.amt":[{type: "number", required: false, message: "输入不合法"}],
"ditamep.engamt":[{type: "number", required: false, message: "输入不合法"}],
"ditamep.maxamt":[{type: "number", required: false, message: "输入不合法"}],
"didgrp.cbs.nom1.amt":[{type: "number", required: false, message: "输入不合法"}],
"didgrp.cbs.max.amt":[{type: "number", required: false, message: "输入不合法"}],
"olddidgrp.rec.expdat":[{type: "date", required: false, message: "输入正确的日期"}],
"olddidgrp.rec.shpdat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.rec.expdat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.rec.shpdat":[{type: "date", required: false, message: "输入正确的日期"}],
"olddidgrp.rec.expplc":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.expplc":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.rejreason":[{type: "string", required: false, len: 60, message: "输入不合法"}],
"didgrp.rec.ownref":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.rec.nam":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.apl.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.rec.accusr":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"didgrp.apl.pts.namcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.opndat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.apl.pts.adrcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.cbs.nom1.cur":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"didgrp.cbs.nom1.amt":[{type: "number", required: false, message: "输入不合法"}],
"didgrp.apl.pts.extact":[{type: "string", required: false, len: 32, message: "输入不合法"}],
"didgrp.rec.nomtop":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"didgrp.rec.nomton":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"didgrp.cbs.max.cur":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"didgrp.cbs.max.amt":[{type: "number", required: false, message: "输入不合法"}],
"didgrp.ben.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.ben.pts.namcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.ben.pts.adrcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.ben.pts.extact":[{type: "string", required: false, len: 32, message: "输入不合法"}],
"didgrp.rec.shpdat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.adv.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.rec.tenmaxday":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"didgrp.adv.pts.namcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.expdat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.adv.pts.adrcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.defdet":[{type: "string", required: false, len: 60, message: "输入不合法"}],
"didgrp.a2b.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.age.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.a2b.pts.namcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.age.pts.namcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.a2b.pts.adrcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.age.pts.adrcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.conno":[{type: "string", required: false, len: 35, message: "输入不合法"}],
"didgrp.con.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.rec.concur":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"didgrp.rec.conamt":[{type: "number", required: false, message: "输入不合法"}],
"didgrp.con.pts.namcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.con.pts.adrcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.neg.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.neg.pts.namcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.neg.pts.adrcn":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.tratyp":[{type: "string", required: false, len: 20, message: "输入不合法"}],
"didgrp.rec.trdapt":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.preper":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.shpfro":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.shpto":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.shppro":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"didgrp.rec.expplc":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"olddidgrp.rec.adlcndame":[{type: "string", required: true, len: 100, message: "输入超长"}],
"olddidgrp.rec.adlcnd":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.rec.adlcnd":[{type: "string", required: true, len: 100, message: "输入超长"}],
"olddidgrp.rec.lcrgodame":[{type: "string", required: true, len: 100, message: "输入超长"}],
"olddidgrp.rec.lcrgod":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.rec.lcrgod":[{type: "string", required: true, len: 100, message: "输入超长"}],
"olddidgrp.rec.lcrdocame":[{type: "string", required: true, len: 100, message: "输入超长"}],
"olddidgrp.rec.lcrdoc":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.rec.lcrdoc":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.rec.inr":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"didgrp.rec.lcrgod":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.rec.lcrdoc":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.rec.adlcnd":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.rec.ownusr":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"didgrp.rec.credat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.rec.clsdat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.rec.amedat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.rec.amenbr":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"didgrp.rec.preadvdat":[{type: "date", required: false, message: "输入正确的日期"}],
"didgrp.rec.utlnbr":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"didgrp.rec.ver":[{type: "string", required: false, len: 4, message: "输入不合法"}],
"didgrp.rec.etyextkey":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"didgrp.rec.rejamenbr":[{type: "string", required: false, len: 2, message: "输入不合法"}],
"didgrp.rec.rejameflg":[{type: "string", required: false, len: 4, message: "输入不合法"}],
"didgrp.rec.usrbch":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"didgrp.rec.adlcndame":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.rec.lcrgodame":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.rec.lcrdocame":[{type: "string", required: true, len: 100, message: "输入超长"}],
"didgrp.ben.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.adv.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.apl.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.a2b.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.iss.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.age.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.neg.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"setmod.docamt":[{type: "number", required: false, message: "输入不合法"}],
"didgrp.con.pts.extkey":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"didgrp.rec.rejreason":[{type: "string", required: false, len: 60, message: "输入不合法"}],
"setmod.feemac":[{type: "string", required: false, len: 200, message: "输入不合法"}],
"didgrp.cbs.ccvamt.amt":[{type: "number", required: false, message: "输入不合法"}],
"setmod.setmac":[{type: "string", required: false, len: 200, message: "输入不合法"}],
"trnmod.trndoc.doccod":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"trnmod.trndoc.cortyp":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"trnmod.trndoc.docpth":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"sysmod.spt.inr":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"liaall.liaccv.newamt":[{type: "number", required: false, message: "输入不合法"}],
"liaall.liaccv.cshpct":[{type: "string", required: false, len: 5, message: "输入不合法"}],
"liaall.liaccv.chgamt":[{type: "number", required: false, message: "输入不合法"}],
"liaall.liaccv.relcshpct":[{type: "string", required: false, len: 5, message: "输入不合法"}],
"liaall.liaccv.pctresamt":[{type: "number", required: false, message: "输入不合法"}],
"liaall.liaccv.totcovamt":[{type: "number", required: false, message: "输入不合法"}],
}
}
},
methods:{
onGetref(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/getref",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onAplpSel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/aplp_sel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onAplpPtysel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/aplp_ptysel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onBenpSel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/benp_sel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onBenpPtysel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/benp_ptysel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onAdvpSel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/advp_sel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onAdvpPtysel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/advp_ptysel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onA2bpSel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/a2bp_sel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onA2bpPtysel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/a2bp_ptysel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onAgepSel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/agep_sel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onAgepPtysel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/agep_ptysel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onConpSel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/conp_sel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onConpPtysel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/conp_ptysel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onNegpSel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/negp_sel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onNegpPtysel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/negp_ptysel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSav(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/sav",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onChk(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/chk",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onPed(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/ped",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onExi(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/exi",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSetmodFeedet(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/setmod_feedet",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSetmodAst(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/setmod_ast",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSetmodRecal(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/setmod_recal",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onGlemodRebook(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/glemod_rebook",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onTrndocReldoc(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/trndoc_reldoc",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onTrndocButshw(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/trndoc_butshw",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLiaallAstlia(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/liaall_astlia",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLiaccvRecalccv(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditame/liaccv_recalccv",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
},
created:async function(){
console.log("进入ditame交易");
let rtnmsg = await Api.post("ditame/init",{params:{}})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
This source diff could not be displayed because it is too large. You can view the blob instead.
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<el-col :span="12">
<el-form-item label="待办类型">
<el-select v-model="model.offp.todotyp" style="width:100%" placeholder="请选择待办类型">
<el-option
v-for="item in codes.todo"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onOffpTodo">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="">
<el-select v-model="model.offp.selten" style="width:100%" placeholder="请选择">
<el-option
v-for="item in codes.selten"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.offp.todolst"
style="width: 100%"
>
<el-table-column
prop="typ"
label="操作类型"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.oratyp.find(item=>item.value==scope.row.typ).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="inifrm"
label="交易码"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="nam"
label="概要描述"
sortable
width="100">
</el-table-column>
<el-table-column
prop="usr"
label="经办柜员"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="objtyp"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="objinr"
label=""
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.offp_todolst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onOffpTstcal">
接口测试
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="用户ID">
<el-input v-model="model.sysmod.usr.nam" maxlength="8" placeholder="请输入用户ID"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="用户名称">
<el-input v-model="model.sysmod.usr.dspnam" maxlength="40" placeholder="请输入用户名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="机构编码">
<el-input v-model="model.sysmod.bch.branch" maxlength="8" placeholder="请输入机构编码"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="中文名称">
<el-input v-model="model.sysmod.bch.namcn" maxlength="40" placeholder="请输入中文名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.offp.xrtlst"
style="width: 100%"
>
<el-table-column
prop="cur"
label="币种"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.curtxt.find(item=>item.value==scope.row.cur).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="buyrat"
label="买入价"
sortable
width="100">
</el-table-column>
<el-table-column
prop="midrat"
label="中间价"
sortable
width="100">
</el-table-column>
<el-table-column
prop="selrat"
label="卖出价"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.offp_xrtlst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.offp.iralst"
style="width: 100%"
>
<el-table-column
prop="cur"
label="币种"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.relflg.find(item=>item.value==scope.row.cur).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="iratyp"
label="类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="due"
label="期限"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.dbfmethod.find(item=>item.value==scope.row.due).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="basrat"
label="利率"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.offp_iralst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-form-item label="原密码">
<el-input type="password" v-model="model.offp.oldpwd" maxlength="100" placeholder="请输入原密码"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="交易代码">
<el-input v-model="model.trncod" maxlength="6" placeholder="请输入交易代码"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onLaunch">
跳转
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="新密码">
<el-input type="password" v-model="model.offp.newpwd" maxlength="100" placeholder="请输入新密码"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="确认新密码">
<el-input type="password" v-model="model.offp.newpwdcom" maxlength="100" placeholder="请输入确认新密码"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onOffpChgpaswod">
密码修改
</el-button>
</el-col>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
export default {
data(){
return {
codes:{
dsp:CodeTable.dsp,
busflg:CodeTable.busflg,
actiontype:CodeTable.actiontype,
cur:CodeTable.cur,
ptytyp:CodeTable.ptytyp,
staflg:CodeTable.staflg,
paytyp:CodeTable.paytyp,
payattr:CodeTable.payattr,
balancemode:CodeTable.balancemode,
bopcustype:CodeTable.bopcustype,
payeeattr:CodeTable.payeeattr,
boppaytype:CodeTable.boppaytype,
debcdtflg:CodeTable.debcdtflg,
acttyp:CodeTable.acttyp,
payflg:CodeTable.payflg,
buscod:CodeTable.buscod,
datsrc:CodeTable.datsrc,
sndselflg:CodeTable.sndselflg,
relflg:CodeTable.relflg,
payacttyp:CodeTable.payacttyp,
curtxt:CodeTable.curtxt,
dbfmethod:CodeTable.dbfmethod,
bustyp:CodeTable.bustyp,
todo:CodeTable.todo,
swftyp:CodeTable.swftyp,
payeraccttype:CodeTable.payeraccttype,
oratyp:CodeTable.oratyp,
chato:CodeTable.chato,
opertype:CodeTable.opertype,
bopyesno:CodeTable.bopyesno,
custyp:CodeTable.custyp,
selten:CodeTable.selten,
dsp2:CodeTable.dsp2,
liqtyp:CodeTable.liqtyp,
},
model:{
offp:{
todotyp:"", // 待办类型 .offp.todotyp
todolst:[], // .offp.todolst
selten:"", // .offp.selten
xrtlst:[], // .offp.xrtlst
iralst:[], // .offp.iralst
oldpwd:"", // 原密码 .offp.oldpwd
newpwd:"", // 新密码 .offp.newpwd
newpwdcom:"", // 确认新密码 .offp.newpwdcom
},
sysmod:{
usr:{
dspnam:"", // 用户名称 .sysmod.usr.dspnam
nam:"", // 用户ID .sysmod.usr.nam
},
bch:{
branch:"", // 机构编码 .sysmod.bch.branch
namcn:"", // 中文名称 .sysmod.bch.namcn
},
},
trncod:"", // 交易代码 .trncod
},
pager:{
"offp_todolst":{total:0,curIdx:0},
"offp_xrtlst":{total:0,curIdx:0},
"offp_iralst":{total:0,curIdx:0},
},
rules:{
"sysmod.usr.nam":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"sysmod.usr.dspnam":[{type: "string", required: false, len: 40, message: "输入不合法"}],
"sysmod.bch.branch":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"sysmod.bch.namcn":[{type: "string", required: false, len: 40, message: "输入不合法"}],
"offp.oldpwd":[{type: "string", required: true, len: 100, message: "输入不合法"}],
"trncod":[{type: "string", required: false, len: 6, message: "输入不合法"}],
"offp.newpwd":[{type: "string", required: true, len: 100, message: "输入不合法"}],
"offp.newpwdcom":[{type: "string", required: true, len: 100, message: "输入不合法"}],
}
}
},
methods:{
onOffpTodo(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("office/offp_todo",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onOffpTstcal(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("office/offp_tstcal",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLaunch(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("office/launch",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onOffpChgpaswod(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("office/offp_chgpaswod",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
},
created:async function(){
console.log("进入office交易");
let rtnmsg = await Api.post("office/init",{params:{}})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.sptp.lst"
style="width: 100%"
>
<el-table-column
prop="frm"
label="交易名"
sortable
width="100">
</el-table-column>
<el-table-column
prop="credattim"
label="创建时间"
sortable
width="100">
</el-table-column>
<el-table-column
prop="objtyp"
label="对象类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="objnam"
label="关联名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="objref"
label="参考号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="sta"
label="状态"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.sptsta.find(item=>item.value==scope.row.sta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="creusr"
label="经办柜员"
sortable
width="100">
</el-table-column>
<el-table-column
prop="relcur"
label="币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="relamt"
label="金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownbchkey"
label="所属机构"
sortable
width="100">
</el-table-column>
<el-table-column
prop="smhinr"
label=""
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.sptp_lst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-form-item label="交易">
<el-input v-model="model.sptp.frm" maxlength="6" placeholder="请输入交易"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="对象类型">
<el-input v-model="model.sptp.objtyp" maxlength="6" placeholder="请输入对象类型"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="操作员">
<el-input v-model="model.sptp.usr" maxlength="20" placeholder="请输入操作员"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="类型">
<el-select v-model="model.sptp.sta" style="width:100%" placeholder="请选择类型">
<el-option
v-for="item in codes.sptsta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="起始日期">
<el-date-picker type="date" v-model="model.sptp.datsta" style="width:100%" placeholder="请选择起始日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="至">
<el-date-picker type="date" v-model="model.sptp.datend" style="width:100%" placeholder="请选择至"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="业务编号">
<el-input v-model="model.sptp.objref" maxlength="20" placeholder="请输入业务编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" icon="el-icon-search" @click="onSel">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onReset">
重置
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" icon="el-icon-delete" @click="onSptpDel">
删除
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onInc">
报文显示
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="NewField">
<el-input v-model="model.mtabut.cortyp" maxlength="3" placeholder="请输入NewField"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Message Type Optional">
<el-input v-model="model.mtabut.msgtyp" maxlength="100" placeholder="请输入Message Type Optional"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="报文信息">
<el-input type="textarea" v-model="model.mtabut.docinf" maxlength="200" show-word-limit placeholder="请输入报文信息" ></el-input>
</el-form-item>
</el-col>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
export default {
data(){
return {
codes:{
dsp:CodeTable.dsp,
busflg:CodeTable.busflg,
actiontype:CodeTable.actiontype,
cur:CodeTable.cur,
ptytyp:CodeTable.ptytyp,
staflg:CodeTable.staflg,
paytyp:CodeTable.paytyp,
payattr:CodeTable.payattr,
balancemode:CodeTable.balancemode,
bopcustype:CodeTable.bopcustype,
payeeattr:CodeTable.payeeattr,
boppaytype:CodeTable.boppaytype,
debcdtflg:CodeTable.debcdtflg,
acttyp:CodeTable.acttyp,
payflg:CodeTable.payflg,
sptsta:CodeTable.sptsta,
buscod:CodeTable.buscod,
datsrc:CodeTable.datsrc,
sndselflg:CodeTable.sndselflg,
relflg:CodeTable.relflg,
payacttyp:CodeTable.payacttyp,
curtxt:CodeTable.curtxt,
dbfmethod:CodeTable.dbfmethod,
bustyp:CodeTable.bustyp,
todo:CodeTable.todo,
swftyp:CodeTable.swftyp,
payeraccttype:CodeTable.payeraccttype,
oratyp:CodeTable.oratyp,
chato:CodeTable.chato,
opertype:CodeTable.opertype,
bopyesno:CodeTable.bopyesno,
custyp:CodeTable.custyp,
selten:CodeTable.selten,
dsp2:CodeTable.dsp2,
liqtyp:CodeTable.liqtyp,
},
model:{
sptp:{
frm:"", // 交易 .sptp.frm
objtyp:"", // 对象类型 .sptp.objtyp
usr:"", // 操作员 .sptp.usr
sta:"", // 类型 .sptp.sta
datsta:"", // 起始日期 .sptp.datsta
datend:"", // 至 .sptp.datend
objref:"", // 业务编号 .sptp.objref
lst:[], // .sptp.lst
},
mtabut:{
cortyp:"", // NewField .mtabut.cortyp
msgtyp:"", // Message Type Optional .mtabut.msgtyp
docinf:"", // 报文信息 .mtabut.docinf
},
},
pager:{
"sptp_lst":{total:0,curIdx:0},
},
rules:{
"sptp.frm":[{type: "string", required: false, len: 6, message: "输入不合法"}],
"sptp.objtyp":[{type: "string", required: false, len: 6, message: "输入不合法"}],
"sptp.usr":[{type: "string", required: false, len: 20, message: "输入不合法"}],
"sptp.datsta":[{type: "date", required: false, message: "输入正确的日期"}],
"sptp.datend":[{type: "date", required: false, message: "输入正确的日期"}],
"sptp.objref":[{type: "string", required: false, len: 20, message: "输入不合法"}],
"mtabut.cortyp":[{type: "string", required: false, len: 3, message: "输入不合法"}],
"mtabut.msgtyp":[{type: "string", required: false, len: 100, message: "输入不合法"}],
"mtabut.docinf":[{type: "string", required: true, len: 200, message: "输入超长"}],
}
}
},
methods:{
onSel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/sel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onReset(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/reset",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSptpDel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/sptp_del",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onInc(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/inc",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
},
created:async function(){
console.log("进入sptsel交易");
let rtnmsg = await Api.post("sptsel/init",{params:{}})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<el-col :span="12">
<el-button size="small" type="primary" @click="onSearow">
查询
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="Userid entering the Transaction">
<el-input v-model="model.trncorco.iniusr" maxlength="8" placeholder="请输入Userid entering the Transaction"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="业务编号">
<el-input v-model="model.trncorco.ownref" maxlength="16" placeholder="请输入业务编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onDsp">
明细
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="Transaction ID">
<el-input v-model="model.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="交易名">
<el-input v-model="model.atptxt" maxlength="37" placeholder="请输入交易名"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="查询区间">
<el-date-picker type="date" v-model="model.trncorco.inidatfro" style="width:100%" placeholder="请选择查询区间"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Date of entry of Transaction until">
<el-date-picker type="date" v-model="model.trncorco.inidattil" style="width:100%" placeholder="请选择Date of entry of Transaction until"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="复核状态">
<el-select v-model="model.trncorco.relflg" style="width:100%" placeholder="请选择复核状态">
<el-option
v-for="item in codes.relflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.recpan.trnlst"
style="width: 100%"
>
<el-table-column
prop="ininam"
label="交易名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="iniusr"
label="经办柜员"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reloricur"
label="币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reloriamt"
label="金额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="inidattim"
label="创建时间"
sortable
width="100">
</el-table-column>
<el-table-column
prop="relreq"
label="授权类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="relres"
label="授权进度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="relflg"
label="状态"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.relflg.find(item=>item.value==scope.row.relflg).label }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_trnlst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRelrow">
复核
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onReprow">
退回更正
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onExi">
退出
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="业务参考号">
<el-input v-model="model.trn.ownref" maxlength="16" placeholder="请输入业务参考号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="索引">
<el-input v-model="model.trn.inr" maxlength="8" placeholder="请输入索引"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="交易描述">
<el-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入交易描述"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanDet">
明细
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="交易编码">
<el-input v-model="model.trn.inifrm" maxlength="6" placeholder="请输入交易编码"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="业务币种金额">
<el-select v-model="model.trn.reloricur" style="width:100%" placeholder="请选择业务币种金额">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="换算金额">
<el-input v-model="model.trn.reloriamt" placeholder="请输入换算金额"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="交易状态">
<el-select v-model="model.trn.relflg" style="width:100%" placeholder="请选择交易状态">
<el-option
v-for="item in codes.relflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="经办柜员">
<el-input v-model="model.trn.usr" maxlength="8" placeholder="请输入经办柜员"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="用户组">
<el-input v-model="model.trn.usg" maxlength="6" placeholder="请输入用户组"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanButshw">
面函展示
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="前手流水号">
<el-input v-model="model.trn.cortrninr" maxlength="8" placeholder="请输入前手流水号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="执行日期">
<el-date-picker type="date" v-model="model.trn.exedat" style="width:100%" placeholder="请选择执行日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="提交柜员">
<el-input v-model="model.recpan.cretrs.usr" maxlength="8" placeholder="请输入提交柜员"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="提交时间">
<el-input v-model="model.recpan.cretrs.dattim" placeholder="请输入提交时间"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanInc">
来报
</el-button>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.recpan.smhlst"
style="width: 100%"
>
<el-table-column
prop="cortyp"
label="传送方式"
sortable
width="100">
</el-table-column>
<el-table-column
prop="extkey"
label="面函/报文"
sortable
width="120">
</el-table-column>
<el-table-column
prop="nam"
label="面函/报文名称"
sortable
width="200">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_smhlst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanIncall">
Show all inc
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanButord">
订单信息
</el-button>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanButspt">
Pending item
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="意见">
<el-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入意见" ></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.recpan.trslst"
style="width: 100%"
>
<el-table-column
prop="sigidx"
label="签名顺序"
sortable
width="100">
</el-table-column>
<el-table-column
prop="usr"
label="柜员"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dattim"
label="日期/时间"
sortable
width="100">
</el-table-column>
<el-table-column
prop="flg"
label="操作"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.flg.find(item=>item.value==scope.row.flg).label }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_trslst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-form-item label="报文信息">
<el-input type="textarea" v-model="model.recpan.docinf" maxlength="200" show-word-limit placeholder="请输入报文信息" ></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.recpan.wfelst"
style="width: 100%"
>
<el-table-column
prop="srv"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="srvsub"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="sta"
label=""
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.sta.find(item=>item.value==scope.row.sta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="srvnam"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="rtycnt"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="lev"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="txt"
label=""
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_wfelst.total">
</el-pagination>
</div>
</el-col>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
export default {
data(){
return {
codes:{
dsp:CodeTable.dsp,
busflg:CodeTable.busflg,
actiontype:CodeTable.actiontype,
cur:CodeTable.cur,
ptytyp:CodeTable.ptytyp,
staflg:CodeTable.staflg,
paytyp:CodeTable.paytyp,
payattr:CodeTable.payattr,
balancemode:CodeTable.balancemode,
bopcustype:CodeTable.bopcustype,
payeeattr:CodeTable.payeeattr,
boppaytype:CodeTable.boppaytype,
debcdtflg:CodeTable.debcdtflg,
acttyp:CodeTable.acttyp,
payflg:CodeTable.payflg,
sptsta:CodeTable.sptsta,
buscod:CodeTable.buscod,
datsrc:CodeTable.datsrc,
sndselflg:CodeTable.sndselflg,
flg:CodeTable.flg,
sta:CodeTable.sta,
relflg:CodeTable.relflg,
payacttyp:CodeTable.payacttyp,
curtxt:CodeTable.curtxt,
dbfmethod:CodeTable.dbfmethod,
bustyp:CodeTable.bustyp,
todo:CodeTable.todo,
swftyp:CodeTable.swftyp,
payeraccttype:CodeTable.payeraccttype,
oratyp:CodeTable.oratyp,
chato:CodeTable.chato,
opertype:CodeTable.opertype,
bopyesno:CodeTable.bopyesno,
custyp:CodeTable.custyp,
selten:CodeTable.selten,
dsp2:CodeTable.dsp2,
liqtyp:CodeTable.liqtyp,
},
model:{
trncorco:{
inidatfro:"", // 查询区间 .trncorco.inidatfro
inidattil:"", // Date of entry of Transaction until .trncorco.inidattil
ownref:"", // 业务编号 .trncorco.ownref
relflg:"", // 复核状态 .trncorco.relflg
iniusr:"", // Userid entering the Transaction .trncorco.iniusr
},
atp:{
cod:"", // Transaction ID .atp.cod
},
atptxt:"", // 交易名 .atptxt
recpan:{
trnlst:[], // .recpan.trnlst
cretrs:{
usr:"", // 提交柜员 .recpan.cretrs.usr
dattim:"", // 提交时间 .recpan.cretrs.dattim
},
smhlst:[], // .recpan.smhlst
trslst:[], // .recpan.trslst
wfelst:[], // .recpan.wfelst
docinf:"", // 报文信息 .recpan.docinf
},
trn:{
ownref:"", // 业务参考号 .trn.ownref
inr:"", // 索引 .trn.inr
objnam:"", // 交易描述 .trn.objnam
reloricur:"", // 业务币种金额 .trn.reloricur
reloriamt:"", // 换算金额 .trn.reloriamt
relflg:"", // 交易状态 .trn.relflg
usr:"", // 经办柜员 .trn.usr
usg:"", // 用户组 .trn.usg
cortrninr:"", // 前手流水号 .trn.cortrninr
exedat:"", // 执行日期 .trn.exedat
inftxt:"", // 意见 .trn.inftxt
inifrm:"", // 交易编码 .trn.inifrm
},
},
pager:{
"recpan_trnlst":{total:0,curIdx:0},
"recpan_smhlst":{total:0,curIdx:0},
"recpan_trslst":{total:0,curIdx:0},
"recpan_wfelst":{total:0,curIdx:0},
},
rules:{
"trncorco.iniusr":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"trncorco.ownref":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"atp.cod":[{type: "string", required: false, len: 6, message: "输入不合法"}],
"atptxt":[{type: "string", required: false, len: 37, message: "输入不合法"}],
"trncorco.inidatfro":[{type: "date", required: false, message: "输入正确的日期"}],
"trncorco.inidattil":[{type: "date", required: false, message: "输入正确的日期"}],
"trn.ownref":[{type: "string", required: false, len: 16, message: "输入不合法"}],
"trn.inr":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"trn.objnam":[{type: "string", required: false, len: 40, message: "输入不合法"}],
"trn.inifrm":[{type: "string", required: false, len: 6, message: "输入不合法"}],
"trn.reloriamt":[{type: "number", required: false, message: "输入不合法"}],
"trn.usr":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"trn.usg":[{type: "string", required: false, len: 6, message: "输入不合法"}],
"trn.cortrninr":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"trn.exedat":[{type: "date", required: false, message: "输入正确的日期"}],
"recpan.cretrs.usr":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"recpan.cretrs.dattim":[{type: "string", required: false, len: 8, message: "输入不合法"}],
"trn.inftxt":[{type: "string", required: true, len: 65, message: "输入超长"}],
"recpan.docinf":[{type: "string", required: true, len: 200, message: "输入超长"}],
}
}
},
methods:{
onSearow(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/searow",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDsp(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/dsp",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRelrow(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/relrow",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onReprow(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/reprow",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onExi(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/exi",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanDet(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanButshw(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butshw",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanInc(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_inc",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanIncall(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_incall",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanButord(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butord",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanButspt(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butspt",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
},
created:async function(){
console.log("进入trnrel交易");
let rtnmsg = await Api.post("trnrel/init",{params:{}})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<el-form-item label="业务编号">
<el-input v-model="model.val" />
</el-form-item>
</template>
<script>
export default {
props:['model']
}
</script>
\ No newline at end of file
<template>
<el-form-item label="业务编号">
<el-input v-model="model.val" />
</el-form-item>
</template>
<script>
export default {
props:['model']
}
</script>
\ No newline at end of file
<template>
<el-form-item label="业务编号">
<el-input v-model="model.val" />
</el-form-item>
</template>
<script>
export default {
data(){
return {model:{val:"C"}}
}
}
</script>
\ No newline at end of file
<template>
<div>
<el-form>
<compa v-bind:model="model.a" />
<compb v-bind:model="model.b" />
<compc ref="compc"/>
</el-form>
<p>
{{model.a.val+"||"+model.b.val}}
</p>
<el-button @click="getcompc">按钮</el-button>
</div>
</template>
<script>
import CompA from './CompA'
import CompB from './CompB'
import CompC from "./CompC"
export default {
components:{
compa:CompA,
compb:CompB,
compc:CompC
},
data(){
return {
model:{
a:{val:'a'},
b:{val:'b'}
}
}
},
methods:{
getcompc:function(){
console.log(JSON.stringify(this.$refs.compc.model))
console.log(123456);
}
}
}
</script>
\ No newline at end of file
<template>
<div id="business_container">
<router-view></router-view>
</div>
</template>
<script>
export default {
created:()=>{
console.log("进入业务交易界面")
}
}
</script>
<style>
#business_container{
height: 100%;
position: absolute;
width: 100%;
}
</style>
<template>
<div class="display">
<p>快照模式</p>
<businessContainer></businessContainer>
</div>
</template>
<script>
import businessContainer from "../Business"
export default {
components:{
businessContainer //复用业务容器
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="self-header">
<h2 class="self_header_label">新一代邮储银行国际结算系统</h2>
</div>
</template>
<script>
export default {
}
</script>
<style>
.self-header{
height: 100%;
/* background-color: #eeeeee; */
/* margin-bottom: 5px; */
background-image: url("../../assets/head_bg.png");
}
.self-header h2{
margin: 0;
padding: 0;
}
.self_header_label{
color: antiquewhite;
/* margin-top: 10px !important; */
position: relative;
top:15px;
left:2em;
}
</style>
\ No newline at end of file
<template>
<el-row>
<el-col :span="24">
<img src="../../assets/menu_bottom.png" style="position: fixed; width: 200px; bottom: 0;" />
<el-menu
default-active="2"
class="el-menu-vertical-demo"
v-bind:router="true"
@open="handleOpen"
@close="handleClose">
<el-menu-item index="/business/office">
<i class="el-icon-menu"></i>
<span slot="title">Home</span>
</el-menu-item>
<el-menu-item index="/business/tstopn">
<i class="el-icon-document"></i>
<span slot="title">测试页</span>
</el-menu-item>
<el-menu-item index="/business/cptopn">
<i class="el-icon-document"></i>
<span slot="title">汇出汇款</span>
</el-menu-item>
<el-menu-item index="/business/sptsel">
<i class="el-icon-document"></i>
<span slot="title">待办任务</span>
</el-menu-item>
<el-submenu index="1">
<template slot="title">
<span>国内证</span>
</template>
<el-menu-item index="/business/ditopn">买方信用证开立</el-menu-item>
<el-menu-item index="/business/ditame">信用证修改</el-menu-item>
</el-submenu>
<el-menu-item index="4">
<i class="el-icon-setting"></i>
<span slot="title">导航四</span>
</el-menu-item>
</el-menu>
</el-col>
</el-row>
</template>
<script>
export default {
methods: {
handleOpen(key, keyPath) {
console.log(key, keyPath);
},
handleClose(key, keyPath) {
console.log(key, keyPath);
}
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<el-container style="background-color:#e8e8e8;margin:0;">
<el-header style="padding:0;" >
<headerCom></headerCom>
</el-header>
<div style="height:8px;"></div>
<el-container>
<el-aside width="200px" style="background-color:white;">
<sideMenu></sideMenu>
</el-aside>
<div style="width:8px;"></div>
<el-main style="padding:0;background-color:white;position:relative;">
<business></business>
</el-main>
</el-container>
</el-container>
</template>
<script>
import headerCom from "./Header"
import sideMenu from "./SideMenu"
import business from "../Business"
export default {
components:{headerCom,sideMenu,business}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="loginContainer">
<div id="loginForamWrapper">
<h2>欢迎邮储银行国际结算系统</h2>
<div id="loginForm">
<p style="text-align:left;font-size:1.2em;color:#888">用户登录 / LOGIN IN</p>
<el-form :model="loginForm" status-icon :rules="rules" ref="loginForm" size="small" >
<el-form-item prop="username" >
<el-input prefix-icon="el-icon-user" placeholder="请输入登录名" v-model="loginForm.username"></el-input>
</el-form-item>
<el-form-item prop="password" >
<el-input prefix-icon="el-icon-lock" placeholder="请输入密码" type="password" v-model="loginForm.password" autocomplete="off"></el-input>
</el-form-item>
<el-form-item>
<el-button style="width:100%;margin-top:1em;" type="primary" @click="submitForm('loginForm')">登录</el-button>
</el-form-item>
</el-form>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
loginForm: {
password: '',
username: ''
},
rules:{
username:[
{type: "string", required: true, message: "请填写用户名"}
],
password:[
{type: "string", required: true, message: "请填写密码"}
]
}
};
},
methods: {
submitForm(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
this.$router.push("/business/office");
} else {
console.log('error submit!!');
return false;
}
});
},
resetForm(formName) {
this.$refs[formName].resetFields();
}
}
}
</script>
<style>
.loginContainer{
flex: 1;
background-image: url("../../assets/login_bg.png");
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
#loginForamWrapper{
width: 340px;
/* height:280px; */
}
#loginForm{
background-color: white;
padding:1em 2em;
border: 1px solid #d9d9d9;
box-shadow: 5px 5px 5px 0px #d9d9d9;
border-radius: 3px;
}
#loginForamWrapper h2{
color:#d9d9d9;
font-family: 宋体;
}
</style>
\ No newline at end of file
const resolve = require('path').resolve
const webpack = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const url = require('url')
const publicPath = ''
module.exports = (options = {}) => ({
entry: {
vendor: './src/vendor',
index: './src/main.js'
},
output: {
path: resolve(__dirname, 'dist'),
filename: options.dev ? '[name].js' : '[name].js?[chunkhash]',
chunkFilename: '[id].js?[chunkhash]',
publicPath: options.dev ? '/assets/' : publicPath
},
module: {
rules: [{
test: /\.vue$/,
use: ['vue-loader']
},
{
test: /\.js$/,
use: ['babel-loader'],
exclude: /node_modules/
},
{
test: /\.css$/,
use: ['style-loader', 'css-loader', 'postcss-loader']
},
{
test: /\.(png|jpg|jpeg|gif|eot|ttf|woff|woff2|svg|svgz)(\?.+)?$/,
use: [{
loader: 'url-loader',
options: {
limit: 10000
}
}]
}
]
},
plugins: [
new webpack.optimize.CommonsChunkPlugin({
names: ['vendor', 'manifest']
}),
new HtmlWebpackPlugin({
template: 'src/index.html'
})
],
resolve: {
alias: {
'~': resolve(__dirname, 'src')
},
extensions: ['.js', '.vue', '.json', '.css']
},
devServer: {
host: '127.0.0.1',
port: 8010,
proxy: {
'/api/': {
target: 'http://127.0.0.1:8080',
changeOrigin: true,
pathRewrite: {
'^/api': ''
}
}
},
historyApiFallback: {
index: url.parse(options.dev ? '/assets/' : publicPath).pathname
}
},
devtool: options.dev ? '#eval-source-map' : '#source-map'
})
This source diff could not be displayed because it is too large. You can view the blob instead.
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