Commit 57cab7b1 by fukai
parents 3d8c0c99 df9aed9e
<template>
<div class="bus-button">
<c-button type="primary" v-on:click="save">提交</c-button>
<c-button type="primary" v-on:click="pedding">暂存</c-button>
<c-button type="primary" v-on:click="check">校核</c-button>
<c-button v-on:click="exit">退出</c-button>
<c-button type="primary" v-on:click="save">{{ $t('buttons.submit') }}</c-button>
<c-button type="primary" v-on:click="pedding">{{ $t('buttons.stash') }}</c-button>
<c-button type="primary" v-on:click="check">{{ $t('buttons.check') }}</c-button>
<c-button v-on:click="exit">{{ $t('buttons.quit') }}</c-button>
</div>
</template>
<script>
......@@ -79,7 +79,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(()=>{
this.$router.history.push("/business/office")
this.$router.history.push("/home")
})
},
getVM(){
......
<template>
<el-form-item
:label="getL18nLabel()"
:prop="prop"
v-bind="$attrs"
v-on="$listeners"
>
<c-highlight-content
:id="previewLabel || label || prop"
:path="preProp ? preProp + '.' + prop : prop"
v-if="prop"
>
<slot></slot>
</c-highlight-content>
<slot v-else></slot>
</el-form-item>
</template>
<script>
export default {
props: ["label", "prop", "previewLabel", "preProp"],
methods: {
getL18nLabel() {
if (!this.label || this.label.trim() === "") {
return "";
}
// 默认中文作 key
if (this.$store.state.I18n.lang === "zh") {
return this.label;
}
let vm = this,
root = null;
while (true) {
if (vm.root) {
root = vm.root;
break;
}
if (vm.$vnode.componentOptions.tag === "el-form") {
break;
}
vm = vm.$parent;
}
// 若找到了root,表明该form-item是在交易下的
if (root) {
const opts = root.$vnode.componentOptions
const name = opts.Ctor.options.name || opts.tag
// const key = `tx.${root.trnName}.${this.label}`;
const key = `tx.${name}.${this.label}`;
const tVal = this.$t(key);
return tVal === key ? this.label : tVal;
}
return this.label;
},
},
};
</script>
<style></style>
......@@ -5,10 +5,10 @@
<template>
<div class="m-Btn-eContainer" v-if="!buttonHide && ((!isReview && !funcBtnHide) || showSetBtn)">
<div class="m-funcBtn-eContainer" v-if="!isReview && !buttonHide && !funcBtnHide">
<el-button type="primary" size="small" @click="start" :loading="$store.state.Status.loading.submit">提交</el-button>
<el-button size="small" @click="check" :loading="$store.state.Status.loading.check">检核</el-button>
<el-button size="small" @click="save" :loading="$store.state.Status.loading.stash">暂存</el-button>
<el-button size="small" @click="handleCancel">退出</el-button>
<el-button type="primary" size="small" @click="start" :loading="$store.state.Status.loading.submit">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" @click="check" :loading="$store.state.Status.loading.check">{{ $t('buttons.check') }}</el-button>
<el-button size="small" @click="save" :loading="$store.state.Status.loading.stash">{{ $t('buttons.stash') }}</el-button>
<el-button size="small" @click="handleCancel">{{ $t('buttons.quit') }}</el-button>
</div>
<div class="m-zhanWei-forfuncBtn" v-if="!buttonHide && showSetBtn && (funcBtnHide || isReview)"></div>
<div class="m-openleft" v-if="!buttonHide && showSetBtn">
......@@ -19,7 +19,8 @@
class="m-setting-btn"
v-show="!openflag"
@click="open"
>展开
>
{{ $t('buttons.unfold') }}
<i class="el-icon-setting" size="mini"></i>
</el-button>
<el-button
......@@ -29,7 +30,8 @@
class="m-setting-btn"
v-show="openflag"
@click="close"
>收起
>
{{ $t('buttons.fold') }}
<i class="el-icon-setting" size="mini"></i>
</el-button>
<div class="m-openleft-item" v-show="openflag">
......@@ -103,7 +105,7 @@ export default {
}, 500)
} else {
setTimeout(() => {
this.$router.push('/business/office')
this.$router.push('/home')
}, 500)
}
})
......@@ -125,8 +127,8 @@ export default {
flex-wrap: nowrap;
justify-content: space-between;
align-items: flex-start;
height: 29px;
/* margin-bottom: 1px; */
height: 24px;
margin-bottom: 5px;
}
.m-funcBtn-eContainer {
order: 1;
......
......@@ -9,7 +9,7 @@
class="eContainer-table"
@selection-change="handleSelectionChange"
:row-key="getRowKey"
:header-cell-style="{ background: 'eef1f6', color: '#606266' }"
:header-cell-style="{ background: 'rgb(235, 235, 235)', color: 'rgb(51, 51, 51)' }"
:highlight-current-row="true"
@row-click="rowClick"
:border="true"
......
......@@ -5,7 +5,7 @@
style="width: 100%"
class="eContainer-table"
:row-class-name="tableRowClassName"
:header-cell-style="{background: 'eef1f6', color: '#606266'}"
:header-cell-style="{background: 'rgb(235, 235, 235)', color: 'rgb(51, 51, 51)'}"
:border="true">
<el-table-column
v-for="(item, key) in tableColumns"
......
......@@ -2,16 +2,16 @@
<div class="m-table-search">
<slot v-bind:searchToggle="searchToggle"></slot>
<div v-if="formCount>3" :class="searchToggle? (formCount%3 == 0?'m-table-search-operation':'m-table-search-operation-bottom'): 'm-table-search-operation-top'" >
<el-button size="small" @click="handleReset">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">查询</el-button>
<el-button size="small" @click="handleReset">{{ $t('buttons.reset') }}</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">{{ $t('buttons.query') }}</el-button>
<el-button type="text" @click="handleToggleSearch">
{{searchToggle?'收起': '展开'}}
{{searchToggle? $t('buttons.fold') : $t('buttons.unfold') }}
<i :class="searchToggle? 'el-icon-arrow-up': 'el-icon-arrow-down'"></i>
</el-button>
</div>
<div v-if="formCount <= 3" :class="formCount == 3? 'm-table-search-operation': 'm-table-search-operation-top'">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">查询</el-button>
<el-button size="small" @click="handleReset">{{ $t('buttons.reset') }}</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">{{ $t('buttons.query') }}</el-button>
</div>
</div>
</template>
......
......@@ -7,8 +7,9 @@
:index="item.path + '_' + index"
>
<template slot="title">
<!-- <i :class="item.icon"></i> -->
<img :src="item.icon" alt="">
<i class="el-icon-caret-right" v-if="openFlgArr[index]"></i>
<i class="el-icon-caret-bottom" v-else></i>
<!-- <img :src="item.icon" alt=""> -->
<span>{{ item.name }}</span>
</template>
<SubMenu :subMenuList="item.children" />
......@@ -29,7 +30,7 @@ import SubMenu from "./SubMenu.vue";
export default {
name: "SubMenu",
components: { SubMenu },
props: ['subMenuList'],
props: ['subMenuList','openFlgArr'],
};
</script>
......
......@@ -6,7 +6,7 @@
ref="table"
style="width: 100%"
class="eContainer-table"
:header-cell-style="{ background: 'eef1f6', color: '#606266' }"
:header-cell-style="{ background: 'rgb(235, 235, 235)', color: 'rgb(51, 51, 51)' }"
v-bind="$attrs"
v-on="tableListeners"
v-loading="loading"
......
<template>
<el-table-column :label="generateI18nLabel()" v-bind="$attrs" v-on="$listeners">
<slot />
</el-table-column>
</template>
<script>
export default {
prop: {
label: {
type: String
}
},
methods: {
/**
* 以英文为主
* 若 lang 为中文 zh ,则列 label 不变
* 若 lang 为英文 en ,则需将中文翻译为英文(得提前配置好表格头的国际化:中 --> 英)
*/
generateI18nLabel() {
const lang = this.$store.state.I18n.lang
if (lang === "zh") {
return this.label;
}
return this.$t(this.label)
}
}
};
</script>
<style></style>
......@@ -30,6 +30,8 @@ import List from "./List"
import ListSearch from "./ListSearch"
import HighlightContent from "./HighlightContent"
import SearchInput from "./SearchInput.vue"
import FormItem from "./FormItem.vue"
import TableColumnItem from "./TableColumnItem.vue"
// 循环组件
import MessageArea from '~/widget/SwfMessage/MessageArea'
import CycList from '~/widget/SwfMessage/CycList'
......@@ -85,6 +87,8 @@ export default {
Vue.component("c-cascader", Cascader)
Vue.component("c-highlight-content", HighlightContent)
Vue.component("c-search-input", SearchInput)
Vue.component("c-form-item", FormItem)
Vue.component("c-table-column", TableColumnItem)
Vue.component("c-paged-select", PagedSelect)
Vue.component("c-function-btn", FunctionBtn)
Vue.component("c-bus-button", BusinessButon)
......
/**
* 交易中的公共模块
* 码表值
*/
export default {
}
\ No newline at end of file
/**
* 页面中的公共部分(顶部、左侧菜单栏、页签等)
*/
export default {
router: {
},
header: {
},
tagsView: {
refresh: "Refresh",
close: "Close",
closeOthers: "Close Others",
closeAll: "Close All",
},
login: {
namePlaceholder: "Please enter username",
pwdPlaceholder: "Please enter password",
loginBtn: "Login"
},
sideMenu: {
},
home: {
},
buttons: {
add: "Add",
delete: "Delete",
query: "Query",
edit: "Edit",
update: "Update",
details: "Details",
submit: "Submit",
check: "Check",
stash: "Stash",
quit: "Quit",
cancel: "Cancel",
fold: "Fold",
unfold: "Unfold",
reset: "Reset",
toolBar: "ToolBar"
}
};
import codeTable from "./codeTable";
import common from "./common";
import tx from "./tx";
export default {
tagsView: {
refresh: "Refresh",
close: "Close",
closeOthers: "Close Others",
closeAll: "Close All",
},
...common,
codeTable,
tx,
};
const modulesFiles = require.context('./modules', true, /\.js$/)
const modules = modulesFiles.keys().reduce((modules, modulePath) => {
const moduleName = modulePath.replace(/^\.\/(.*)\.\w+$/, '$1')
const value = modulesFiles(modulePath)
modules[moduleName] = value.default
return modules
}, {})
/**
* 交易模块
*/
export default {
...modules
}
\ No newline at end of file
import Setpan from "../public/Setpan"
export default {
"电话": "Tel",
"邮编": "Email",
...Setpan
}
\ No newline at end of file
/**
* 对应交易中的公共组件(Setpan.vue)
*/
export default {
}
\ No newline at end of file
......@@ -2,19 +2,44 @@
* 页面中的公共部分(顶部、左侧菜单栏、页签等)
*/
export default {
router: {
},
header: {
},
tagsView: {
refresh: "刷新",
close: "关闭",
closeOthers: "关闭其",
closeOthers: "关闭其",
closeAll: "关闭所有",
},
login: {
namePlaceholder: "请输入登录名",
pwdPlaceholder: "请输入密码",
loginBtn: "登录"
},
sideMenu: {
},
home: {
}
},
buttons: {
add: "添加",
delete: "删除",
query: "查询",
edit: "编辑",
update: "更新",
details: "详情",
submit: "提交",
check: "检核",
stash: "暂存",
quit: "退出",
cancel: "取消",
fold: "收起",
unfold: "展开",
reset: "重置",
toolBar: "工具条"
}
};
const modulesFiles = require.context('./', true, /\.js$/)
const modulesFiles = require.context('./modules', true, /\.js$/)
const modules = modulesFiles.keys().reduce((modules, modulePath) => {
const moduleName = modulePath.replace(/^\.\/(.*)\.\w+$/, '$1')
const value = modulesFiles(modulePath)
......
import Setpan from "../public/Setpan"
export default {
...Setpan
}
\ No newline at end of file
/**
* 对应交易中的公共组件(Setpan.vue)
*/
export default {
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Botame Check规则
*/
let checkObj = {
"bodgrp.blk.setinsbo" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null,
"trnmod.swiadd.newamt" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null,
"bodgrp.rec.matdat" :null,
"setmod.dspflg" :null,
"botp.colp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null,
"botp.drrp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.pts.extkey" :null,
"bodgrp.blk.dftins" :null,
"botp.usr.extkey" :null,
"bodgrp.blk.delins" :null,
"botamep.recget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"bodgrp.rec.stacty" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null,
"botp.drep.ptsget.sdamod.dadsnd" :null,
"bodgrp.blk.colins" :null,
"setmod.docamt" :null,
"bodgrp.drr.namelc" :null,
"bodgrp.dre.pts.adrblk" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"trnmod.swiadd.newmatdat" :null,
"bodgrp.rec.invtyp" :null,
"bodgrp.drr.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Botame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.swiadd.newmatpercnt" :Utils.defaultFunction,
"trnmod.swiadd.newmatpertyp" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"trnmod.swiadd.newmatdat" :Utils.defaultFunction,
"trnmod.swiadd.newmatperbeg" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"oldbodgrp.cbs.max.amt" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"oldbodgrp.rec.matdat" :Utils.defaultFunction,
"bodgrp.rec.shpdat" :Utils.defaultFunction,
"botp.usr.extkey" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"bodgrp.blk.bogdet" :Utils.defaultFunction,
"bodgrp.blk.goddes" :Utils.defaultFunction,
"bodgrp.blk.delins" :Utils.defaultFunction,
"bodgrp.blk.dftins" :Utils.defaultFunction,
"bodgrp.blk.proins" :Utils.defaultFunction,
"bodgrp.blk.colins" :Utils.defaultFunction,
"bodgrp.blk.intins" :Utils.defaultFunction,
"bodgrp.blk.chgtxt" :Utils.defaultFunction,
"bodgrp.drr.pts.ref" :Utils.defaultFunction,
"bodgrp.rec.shpfro" :Utils.defaultFunction,
"bodgrp.rec.chato" :Utils.defaultFunction,
"bodgrp.rec.shpto" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"oldbodgrp.rec.matpertyp" :Utils.defaultFunction,
"botamep.amedat" :Utils.defaultFunction,
"bodgrp.rec.resflg" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"oldbodgrp.rec.matpercnt" :Utils.defaultFunction,
"oldbodgrp.rec.matperbeg" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.rec.stacty" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBotpButgetref(){
let rtnmsg = await this.executeRule("botp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrrpDet(){
let rtnmsg = await this.executeRule("drrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColpDet(){
let rtnmsg = await this.executeRule("colp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrepDet(){
let rtnmsg = await this.executeRule("drep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColinsButtxmsel(){
let rtnmsg = await this.executeRule("colins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftinsButtxmsel(){
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onProinsButtxmsel(){
let rtnmsg = await this.executeRule("proins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthins1Buttxmsel(){
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWhinsButtxmsel(){
let rtnmsg = await this.executeRule("whins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinsButtxmsel(){
let rtnmsg = await this.executeRule("setins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Botame{
constructor () {
this.data = {
bodgrp:{
rec:{
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
dircolflg:"", // Direct Collection .bodgrp.rec.dircolflg
resflg:"", // Reservated Contract .bodgrp.rec.resflg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
shpdat:"", // Shipment date .bodgrp.rec.shpdat
predat:"", // Presentation Date .bodgrp.rec.predat
advdat:"", // Dispatched on .bodgrp.rec.advdat
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Starting from .bodgrp.rec.matperbeg
stacty:"", // Country Code Risk Country! .bodgrp.rec.stacty
stagod:"", // Goods Code .bodgrp.rec.stagod
invtyp:"", // Maturity Date .bodgrp.rec.invtyp
paydoctyp:"", // Financial Document .bodgrp.rec.paydoctyp
paydocnum:"", // Document Number .bodgrp.rec.paydocnum
issdat:"", // Issued on .bodgrp.rec.issdat
ccdndrflg:"", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg
ccdpurflg:"", // Payment Under Reserve .bodgrp.rec.ccdpurflg
chato:"", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
shpfro:"", // Shipment from .bodgrp.rec.shpfro
shpto:"", // For Transportation to .bodgrp.rec.shpto
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
blk:{
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
intins:"", // Interest Instructions .bodgrp.blk.intins
setinsbo:"", // Settlement insrtrctions .bodgrp.blk.setinsbo
agtaut:"", // Authority of Agent .bodgrp.blk.agtaut
goddes:"", // Description of Goods .bodgrp.blk.goddes
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc
adrelc:"", // 地址 .bodgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn
},
col:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.col.namelc
adrelc:"", // 地址 .bodgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn
},
dre:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.dre.namelc
adrelc:"", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn
},
},
botamep:{
recget:{
sdamod:{
seainf:"", // Reference .botamep.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botamep.recget.sdamod.dadsnd
},
},
amedat:"", // Amendment Date .botamep.amedat
},
oldbodgrp:{
cbs:{
max:{
cur:"", // Original Amount .oldbodgrp.cbs.max.cur
amt:"", // Original Amount .oldbodgrp.cbs.max.amt
},
},
rec:{
matpercnt:"", // Tenor Data .oldbodgrp.rec.matpercnt
matpertyp:"", // Days/Months or Years for Maturity Period .oldbodgrp.rec.matpertyp
matperbeg:"", // Start of Maturity Period MATBEG .oldbodgrp.rec.matperbeg
matdat:"", // Maturity Date .oldbodgrp.rec.matdat
},
},
trnmod:{
swiadd:{
amecur:"", // Amended .trnmod.swiadd.amecur
ameamt:"", // Amended .trnmod.swiadd.ameamt
newcur:"", // New Amount .trnmod.swiadd.newcur
newamt:"", // New Amount .trnmod.swiadd.newamt
newmatpercnt:"", // New Tenor Data .trnmod.swiadd.newmatpercnt
newmatpertyp:"", // Days/Month or Year for Maturity Period .trnmod.swiadd.newmatpertyp
newmatperbeg:"", // Start of Maturity Period .trnmod.swiadd.newmatperbeg
newmatdat:"", // New Maturity Date .trnmod.swiadd.newmatdat
ametxt:"", // Further Amendments .trnmod.swiadd.ametxt
},
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
botp:{
recget:{
sdamod:{
seainf:"", // .botp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // Responsible User .botp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .botp.usrget.sdamod.seainf
},
},
docgrdm:{
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
},
drrp:{
ptsget:{
sdamod:{
seainf:"", // .botp.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .botp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .botp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
},
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Botdav Check规则
*/
let checkObj = {
"bodgrp.rec.matpertyp" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.rec.doctypcod" :null,
"bodgrp.dre.adrelc" :null,
"bodgrp.srm.djuusr" :null,
"cnybop.outflg" :null,
"setmod.dspflg" :null,
"bodgrp.srm.djutyp" :null,
"bodgrp.col.pts.adrblk" :null,
"bodgrp.blk.dftins" :null,
"cnybop.cnyflg" :null,
"bodgrp.blk.delins" :null,
"bodgrp.srm.djuref" :null,
"bodgrp.rec.stacty" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.rec.matpercnt" :null,
"bodgrp.dre.namelc" :null,
"bodgrp.dre.pts.adrblk" :null,
"bodgrp.rec.invtyp" :null,
"bodgrp.drr.pts.extkey" :null,
"bodgrp.blk.setinsbo" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.blk.proins" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.srm.djudat" :null,
"bodgrp.rec.matdat" :null,
"bodgrp.cbs.max.amt" :null,
"cnybop.traflg" :null,
"botp.colp.ptsget.sdamod.dadsnd" :null,
"bodgrp.drr.pts.ref" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.rec.shpdat" :null,
"bodgrp.rec.ownref" :null,
"botp.drrp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.pts.extkey" :null,
"botp.usr.extkey" :null,
"bodgrp.rec.dircolflg" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"cnybop.libflg" :null,
"botp.drep.ptsget.sdamod.dadsnd" :null,
"bodgrp.blk.colins" :null,
"setmod.docamt" :null,
"bodgrp.drr.namelc" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"cnybop.vouflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Botdav Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.rec.shpdat" :Utils.defaultFunction,
"bodgrp.rec.matpercnt" :Utils.defaultFunction,
"bodgrp.rec.matperbeg" :Utils.defaultFunction,
"botp.usr.extkey" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bodgrp.rec.resflg" :Utils.defaultFunction,
"bodgrp.blk.colins" :Utils.defaultFunction,
"bodgrp.blk.colinsflg" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bodgrp.rec.advdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bodgrp.rec.stacty" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBotpButgetref(){
let rtnmsg = await this.executeRule("botp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrrpDet(){
let rtnmsg = await this.executeRule("drrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColpDet(){
let rtnmsg = await this.executeRule("colp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrepDet(){
let rtnmsg = await this.executeRule("drep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColinsButtxmsel(){
let rtnmsg = await this.executeRule("colins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftinsButtxmsel(){
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onProinsButtxmsel(){
let rtnmsg = await this.executeRule("proins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthins1Buttxmsel(){
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWhinsButtxmsel(){
let rtnmsg = await this.executeRule("whins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinsButtxmsel(){
let rtnmsg = await this.executeRule("setins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Botdav{
constructor () {
this.data = {
bodgrp:{
rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
dircolflg:"", // Direct Collection .bodgrp.rec.dircolflg
resflg:"", // Reservated Contract .bodgrp.rec.resflg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
shpdat:"", // Shipment date .bodgrp.rec.shpdat
predat:"", // Presentation Date .bodgrp.rec.predat
advdat:"", // Dispatched on .bodgrp.rec.advdat
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Starting from .bodgrp.rec.matperbeg
stacty:"", // Country Code Risk Country! .bodgrp.rec.stacty
stagod:"", // Goods Code .bodgrp.rec.stagod
invtyp:"", // Maturity Date .bodgrp.rec.invtyp
paydoctyp:"", // Financial Document .bodgrp.rec.paydoctyp
paydocnum:"", // Document Number .bodgrp.rec.paydocnum
issdat:"", // Issued on .bodgrp.rec.issdat
ccdndrflg:"", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg
ccdpurflg:"", // Payment Under Reserve .bodgrp.rec.ccdpurflg
chato:"", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
shpfro:"", // Shipment from .bodgrp.rec.shpfro
shpto:"", // For Transportation to .bodgrp.rec.shpto
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
blk:{
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
intins:"", // Interest Instructions .bodgrp.blk.intins
setinsbo:"", // Settlement insrtrctions .bodgrp.blk.setinsbo
agtaut:"", // Authority of Agent .bodgrp.blk.agtaut
goddes:"", // Description of Goods .bodgrp.blk.goddes
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc
adrelc:"", // 地址 .bodgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn
},
col:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.col.namelc
adrelc:"", // 地址 .bodgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn
},
dre:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.dre.namelc
adrelc:"", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn
},
srm:{
djuusr:"", // 单据出具人 .bodgrp.srm.djuusr
djudat:"", // 单据出具日期 .bodgrp.srm.djudat
djuref:"", // 货权单据编号 .bodgrp.srm.djuref
djutyp:"", // 单据类型 .bodgrp.srm.djutyp
},
},
botp:{
recget:{
sdamod:{
seainf:"", // .botp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // Responsible User .botp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .botp.usrget.sdamod.seainf
},
},
docgrdm:{
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
},
drrp:{
ptsget:{
sdamod:{
seainf:"", // .botp.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .botp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .botp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
},
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
}
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Botdcr Check规则
*/
let checkObj = {
"bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null,
"bodgrp.dre.pts.nam" :null,
"setmod.dspflg" :null,
"botp.colp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null,
"botp.drrp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.pts.extkey" :null,
"bodgrp.blk.dftins" :null,
"bodgrp.blk.delins" :null,
"bodgrp.drr.pts.nam" :null,
"bodgrp.blk.resrej" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null,
"botp.drep.ptsget.sdamod.dadsnd" :null,
"bodgrp.blk.colins" :null,
"setmod.docamt" :null,
"bodgrp.drr.namelc" :null,
"bodgrp.col.pts.nam" :null,
"bodgrp.dre.pts.adrblk" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"bodgrp.drr.pts.extkey" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Botdcr Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"rejtypsel" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bodgrp.drr.pts.nam" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bodgrp.dre.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onResrejButtxmsel(){
let rtnmsg = await this.executeRule("resrej.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColinsButtxmsel(){
let rtnmsg = await this.executeRule("colins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftinsButtxmsel(){
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onProinsButtxmsel(){
let rtnmsg = await this.executeRule("proins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthins1Buttxmsel(){
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWhinsButtxmsel(){
let rtnmsg = await this.executeRule("whins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrrpDet(){
let rtnmsg = await this.executeRule("drrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColpDet(){
let rtnmsg = await this.executeRule("colp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrepDet(){
let rtnmsg = await this.executeRule("drep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"botp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.col.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.dre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.dre.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"rejtypsel":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"bodgrp.blk.resrej":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.blk.colins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.chgtxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.blk.dftins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.proins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.othins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.rec.lescom":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bodgrp.blk.delins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"botp.drrp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.colp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.drr.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.drrp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.col.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.colp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.drr.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"botp.drep.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.dre.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.drep.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.dre.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Botdcr{
constructor () {
this.data = {
bodgrp:{
rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
docsta:"", // Document Set Status .bodgrp.rec.docsta
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat
chato:"", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc
adrelc:"", // 地址 .bodgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn
},
col:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.col.namelc
adrelc:"", // 地址 .bodgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn
},
dre:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.dre.namelc
adrelc:"", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk:{
resrej:"", // Reason for Non-Payment/Non-Acceptance .bodgrp.blk.resrej
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
},
},
botp:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf:"", // .botp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab
},
docgrdm:{
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
},
drrp:{
ptsget:{
sdamod:{
seainf:"", // .botp.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .botp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .botp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
},
rejtypsel:"", // .rejtypsel
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Botset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bodgrp.rec.matpertyp" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.dre.pts.nam" :null,
"setmod.dspflg" :null,
"bodgrp.blk.dftins" :null,
"bodgrp.blk.delins" :null,
"bodgrp.rec.focflg" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.blk.proins" :null,
"liaall.tenstm" :null,
"setmod.redamt" :null,
"bodgrp.drr.pts.nam" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.blk.colins" :null,
"setmod.docamt" :null,
"bodgrp.col.pts.nam" :null,
"bodgrp.blk.othins" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Botset Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.rec.ownref" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.drr.pts.nam" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bodgrp.dre.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onColinsButtxmsel(){
let rtnmsg = await this.executeRule("colins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftinsButtxmsel(){
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onProinsButtxmsel(){
let rtnmsg = await this.executeRule("proins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthins1Buttxmsel(){
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWhinsButtxmsel(){
let rtnmsg = await this.executeRule("whins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"botp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.col.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.dre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.dre.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"liaall.tenstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.blk.colins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.chgtxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.blk.dftins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.proins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.othins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.rec.lescom":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bodgrp.blk.delins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Botset{
constructor () {
this.data = {
liaall:{
tenstm:"", // Tenor Stream .liaall.tenstm
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
},
bodgrp:{
rec:{
focflg:"", // Free of Payment .bodgrp.rec.focflg
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
docsta:"", // Document Set Status .bodgrp.rec.docsta
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat
chato:"", // Our Charges to .bodgrp.rec.chato
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
drr:{
pts:new Pts().data,
},
col:{
pts:new Pts().data,
},
dre:{
pts:new Pts().data,
},
blk:{
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
},
},
botp:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf:"", // .botp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab
},
},
setmod:{
doccur:"", // document currency .setmod.doccur
redamt:"", // Reduction Amt. .setmod.redamt
docamt:"", // document amount .setmod.docamt
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Infdid Check规则
*/
let checkObj = {
"didgrp.cmb.pts.dizhii" :null,
"didgrp.adv.pts.dizhii" :null,
"didgrp.rec.expplc" :null,
"didgrp.rec.fqtime" :null,
"didgrp.apc.pts.dizhii" :null,
"didgrp.adv.pts.bankno" :null,
"didgrp.iss.pts.extkey" :null,
"didgrp.rec.sdsrfs" :null,
"didgrp.rec.fqzytgfw" :null,
"didgrp.rec.conamt" :null,
"didgrp.apc.pts.bankno" :null,
"didgrp.rec.shppro" :null,
"didgrp.rec.shpto" :null,
"didgrp.ben.namelc" :null,
"didgrp.rmb.pts.dizhii" :null,
"didgrp.cmb.pts.bankno" :null,
"didgrp.apl.pts.extkey" :null,
"didgrp.apb.pts.bankno" :null,
"didgrp.avb.pts.bankno" :null,
"didgrp.rmb.pts.bankno" :null,
"recpan.usr.extkey" :null,
"didgrp.ben.adrelc" :null,
"didgrp.rec.conno" :null,
"didgrp.blk.defdet" :null,
"didgrp.blk.insbnk" :null,
"didgrp.beb.pts.bankno" :null,
"didgrp.apl.pts.adrblk" :null,
"didgrp.rec.lcrtyp" :null,
"didgrp.adv.pts.jigomc" :null,
"didgrp.iss.pts.jigomc" :null,
"didgrp.rec.shpfro" :null,
"didgrp.apc.pts.jigomc" :null,
"didgrp.iss.pts.dizhii" :null,
"didgrp.iss.pts.bankno" :null,
"didgrp.blk.lcrgod" :null,
"didgrp.blk.stamet" :null,
"infcon.seaamtto" :null,
"didgrp.apl.namelc" :null,
"mtabut.coninf.conexedat" :null,
"didgrp.ben.pts.adrblk" :null,
"didgrp.beb.pts.jigomc" :null,
"didgrp.rec.opndat" :null,
"didgrp.rmb.pts.jigomc" :null,
"didgrp.rec.mytype" :null,
"didgrp.avb.pts.dizhii" :null,
"didgrp.adv.pts.extkey" :null,
"didgrp.ben.pts.extkey" :null,
"didgrp.rec.avbwth" :null,
"didgrp.blk.lcrdoc" :null,
"didgrp.rec.tenmaxday" :null,
"didgrp.blk.preper" :null,
"didgrp.cmb.pts.jigomc" :null,
"didgrp.apl.adrelc" :null,
"didgrp.apb.pts.jigomc" :null,
"didgrp.blk.adlcnd" :null,
"didgrp.avb.pts.jigomc" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infdid Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"didgrp.apl.namelc" :Utils.defaultFunction,
"didgrp.apl.adrelc" :Utils.defaultFunction,
"infcon.usr.extkey" :Utils.defaultFunction,
"infcon.sptcor" :Utils.defaultFunction,
"infcon.sptreg" :Utils.defaultFunction,
"infcon.sptdel" :Utils.defaultFunction,
"infcon.sptinc" :Utils.defaultFunction,
"infcon.sptpen" :Utils.defaultFunction,
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"didgrp.iss.pts.bankno" :Utils.defaultFunction,
"didgrp.avb.pts.jigomc" :Utils.defaultFunction,
"didgrp.iss.pts.extkey" :Utils.defaultFunction,
"didgrp.apl.pts.extkey" :Utils.defaultFunction,
"didgrp.adv.pts.jigomc" :Utils.defaultFunction,
"didgrp.apl.pts.adrblk" :Utils.defaultFunction,
"didgrp.ben.namelc" :Utils.defaultFunction,
"didgrp.ben.adrelc" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
"infcon.setflg" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"didgrp.rec.avbwth" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction,
"didgrp.cbs.max.amt" :Utils.defaultFunction,
"didgrp.cbs.max.cur" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"didgrp.ben.pts.extkey" :Utils.defaultFunction,
"didgrp.ben.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"didgrp.rec.shppar" :Utils.defaultFunction,
"didgrp.rec.elcflg" :Utils.defaultFunction,
"didgrp.rec.fqzytgfw" :Utils.defaultFunction,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"didgrp.rec.avbby" :Utils.defaultFunction,
"didgrp.cbs.nom1.cur" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.adv.pts.extkey" :Utils.defaultFunction,
"didgrp.rec.shpfro" :Utils.defaultFunction,
"didgrp.rec.shpto" :Utils.defaultFunction,
"didgrp.rec.mytype" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"didgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"didgrp.rec.opndat" :Utils.defaultFunction,
"didgrp.rec.tratyp" :Utils.defaultFunction,
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"didgrp.rec.tenmaxday" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"didgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"infcon.ordstm" :Utils.defaultFunction,
"didgrp.rec.shpdat" :Utils.defaultFunction,
"didgrp.cbs.nom1.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"didgrp.rec.nomtop" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanButgetref(){
let rtnmsg = await this.executeRule("recpan.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDefdetButtxmsel(){
let rtnmsg = await this.executeRule("defdet.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshw(){
let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshword(){
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
},
async handleSearch() {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Letcan Check规则
*/
let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"letp0.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"sndmsg" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"letcanf.strinf" :null,
"setmod.docamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Letcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"letp0.cnftxt" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ledgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCanletButtxmsel(){
let rtnmsg = await this.executeRule("canlet.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"letp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.iss.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"ledgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"letp0.cnftxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"letcanf.strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Letcan{
constructor () {
this.data = {
letp0:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .letp0.recget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .letp0.aammod.addamtflg
},
cnftxt:"", // Confirmation text .letp0.cnftxt
},
ledgrp:{
rec:{
ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
avbby:"", // Available by [AVBBY0] .ledgrp.rec.avbby
redclsflg:"", // Red/Green Clause .ledgrp.rec.redclsflg
opndat:"", // Date Issued .ledgrp.rec.opndat
shpdat:"", // Shipment Date .ledgrp.rec.shpdat
expdat:"", // Date/Place of Expiry .ledgrp.rec.expdat
expplc:"", // Date/Place of Expiry .ledgrp.rec.expplc
lcrtyp:"", // Form of L/C .ledgrp.rec.lcrtyp
revflg:"", // Revolving Flag .ledgrp.rec.revflg
},
cbs:{
nom1:{
cur:"", // L/C Amount .ledgrp.cbs.nom1.cur
amt:"", // Balance .ledgrp.cbs.nom1.amt
},
opn1:{
cur:"", // Open Amount .ledgrp.cbs.opn1.cur
amt:"", // Balance .ledgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
avbnam:"", // Available with .ledgrp.avbnam
},
letcanf:{
strinf:"", // Narrative .letcanf.strinf
},
sndmsg:"", // Send Message .sndmsg
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
liaall:{
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -96,6 +96,33 @@ export default {
//TODO 处理数据逻辑
this.stmData.data = res.data.sptstm.rows;
})
}
},
async sptfndHandleReset() {
this.model.chkinc = "";
this.model.chkdzt = "";
this.model.chkpen = "";
this.model.chkcor = "";
this.model.chkaut = "";
this.model.chkdel = "";
this.model.chktco = "";
this.model.chkcan = "";
this.model.selobj = "";
this.model.seltxt = "";
this.model.usfmod.flt = "";
this.model.inidatfro = "";
this.model.inidattil = "";
this.model.dflg = "1";
this.model.chkypt = "";
this.model.yptinf = "";
},
async sptfndHandleSearch() {
this.model.chkpen = "t";
this.executeDefault("sptstm").then(res => {
//TODO 处理数据逻辑
this.stmData.data = res.data.sptstm.rows;
})
}
}
\ No newline at end of file
......@@ -8,11 +8,18 @@ import { Message } from "element-ui";
router.beforeEach(async (to, from, next) => {
// 限制页签的数量
if (to.path.startsWith("/business")) {
if (store.state.TagsView.visitedViews.length >= store.state.TagsView.visitedViewsMaxVal) {
Message.warning(
`页签数超过最大限制(${store.state.TagsView.visitedViewsMaxVal}),请先关闭其他页签!`
);
return;
const visitedViews = store.state.TagsView.visitedViews;
const visitedViewsMaxVal = store.state.TagsView.visitedViewsMaxVal;
const fullPaths = visitedViews.map((tv) => tv.fullPath);
if (fullPaths.includes(to.fullPath)) {
next();
} else {
if (visitedViews.length >= visitedViewsMaxVal) {
Message.warning(
`页签数超过最大限制(${visitedViewsMaxVal}),请先关闭其他页签!`
);
return;
}
}
}
next();
......
......@@ -15,6 +15,7 @@
>
<el-row>
<c-col :span="23">
<c-col :span="8">
<el-form-item label="申报编号" prop="errsel.rptno" style="width: 100%">
<c-input
......@@ -61,6 +62,7 @@
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form>
</template>
......
......@@ -11,6 +11,7 @@
size="small"
>
<el-row>
<c-col :span="23">
<c-col :span="8">
<el-form-item label="申报类型" prop="bopquep.boptyp" style="width: 100%">
<c-select
......@@ -72,11 +73,13 @@
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<c-col :span="23">
<c-col :span="8">
<el-form-item label="申报号码" prop="bopquep.rptno" style="width: 100%">
<c-input
......@@ -113,7 +116,9 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<c-col :span="8">
<el-form-item label="客户名称" prop="bopquep.ptynam" style="width: 100%">
<c-input
......@@ -151,7 +156,9 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<c-col :span="8">
<el-form-item label="笔数" prop="bopquep.sum" style="width: 100%">
<c-input
......@@ -178,6 +185,7 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form>
</template>
......
......@@ -11,12 +11,12 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000000 -->
<el-tab-pane label="接口信息选择" name="selp">
<el-tab-pane label="申报信息" name="selp">
<m-selp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="接口反馈文件差错返回" name="errp">
<el-tab-pane label="差错反馈" name="errp">
<m-errp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
......@@ -111,4 +111,8 @@ export default {
};
</script>
<style>
.el-tabs .el-tabs__content {
/* background: #fff; */
padding: 5px;
}
</style>
<template>
<c-row>
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item
label="托收号码"
prop="bodgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.bodgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
></c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDitpButgetref"
>
获取
</c-button>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="bodgrp.rec.nam">
<c-input
align="middle"
v-model="model.bodgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Amendment Date" prop="botamep.amedat">
<c-date-picker type="date" v-model="model.botamep.amedat" style="width:100%" placeholder="请选择Amendment Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" >
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount" >
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Original Amount" prop="oldbodgrp.cbs.max.cur">
<c-select
disabled
v-model="model.oldbodgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="oldbodgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.oldbodgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="请选择Original Amount"
@keyup.enter.native="defaultFunction('oldbodgrp.cbs.max.amt', model.oldbodgrp.cbs.max.amt)"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amended" prop="trnmod.swiadd.amecur">
<c-select
disabled
v-model="model.trnmod.swiadd.amecur"
style="width: 100%"
placeholder="请选择Currency"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="trnmod.swiadd.ameamt"
>
<c-input-currency
v-model="model.trnmod.swiadd.ameamt"
style="text-align: left; width: 100%"
placeholder="请输入Amended"
@keyup.enter.native="defaultFunction('trnmod.swiadd.ameamt', model.trnmod.swiadd.ameamt)"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="New Amount" prop="trnmod.swiadd.newcur">
<c-select
disabled
v-model="model.trnmod.swiadd.newcur"
style="width: 100%"
placeholder="请选择Currency"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="trnmod.swiadd.newamt"
>
<c-input-currency
v-model="model.trnmod.swiadd.newamt"
style="text-align: left; width: 100%"
placeholder="请输入New Amount"
@keyup.enter.native="defaultFunction('trnmod.swiadd.newamt', model.trnmod.swiadd.newamt)"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<!-- ====================底部======================= -->
<c-col>
<c-col :span="19">
<c-col :span="24">
<c-col :span="7">
<el-form-item label="New Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="oldbodgrp.rec.matpertyp">
<c-input v-model="model.oldbodgrp.rec.matpertyp" maxlength="1" placeholder="请输入Days/Months or Years for Maturity Period"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="oldbodgrp.rec.matperbeg">
<c-select v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="19">
<c-col :span="24">
<c-col :span="7">
<el-form-item label="Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入New Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp">
<c-input v-model="model.trnmod.swiadd.newmatpertyp" maxlength="1" placeholder="请选择Days/Month or Year for Maturity Period"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="trnmod.swiadd.newmatperbeg">
<c-select v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Maturity Date" prop="oldbodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.oldbodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="New Maturity Date" prop="trnmod.swiadd.newmatdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newmatdat" style="width:100%" placeholder="请选择New Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Further Amendments" prop="trnmod.swiadd.ametxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.ametxt" maxlength="35" show-word-limit placeholder="请输入Further Amendments" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-row>
<!-- ====================左边======================= -->
<c-col :span="14">
<c-col :span="24">
<c-col :span="4">
<el-form-item label="Delivery of Documents ">
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label=" Instructions">
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" >
</c-input>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bodgrp.blk.colinsflg">Collection instructions modified</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Draft Instructions">
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Protest Instructions">
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit placeholder="请输入Protest Instructions" ></c-input>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Other Instructions">
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Delivery instructions" >
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit placeholder="请输入Delivery instructions" ></c-input>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel">
...
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="10">
<c-col :span="24">
<el-form-item label="Our Charges to">
</el-form-item>
</c-col>
<c-col :span="24">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="Charges Text">
</el-form-item>
</c-col>
<c-col :span="24">
<c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="5">
<el-form-item label="Waive Collecting">
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="Bank Charges">
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions">
</c-select>
</c-col>
<c-col :span="24">
<c-col :span="4">
<el-form-item label="Waive Remitting">
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="Bank Charges">
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges">
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="Defer Payment until">
</el-form-item>
</c-col>
<c-col :span="24">
<c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until">
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="less comm">
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Document Amount">
</c-select>
</c-col>
<c-col :span="12">
<c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input>
</c-col>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment