Commit a365dbf3 by hulei
parents 8e682029 e1ba7d8b
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
class="eContainer-table" class="eContainer-table"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
:row-key="getRowKey" :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" :highlight-current-row="true"
@row-click="rowClick" @row-click="rowClick"
:border="true" :border="true"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
style="width: 100%" style="width: 100%"
class="eContainer-table" class="eContainer-table"
:row-class-name="tableRowClassName" :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"> :border="true">
<el-table-column <el-table-column
v-for="(item, key) in tableColumns" v-for="(item, key) in tableColumns"
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
prefix-icon="el-icon-search" prefix-icon="el-icon-search"
placeholder="全局搜索" placeholder="全局搜索"
v-model="searchContent" v-model="searchContent"
:clearable="true"
@keyup.enter.native="searchEvent" @keyup.enter.native="searchEvent"
@keydown.up.native="preDownEvent" @keydown.up.native="preDownEvent"
@keyup.up.native="preUpEvent" @keyup.up.native="preUpEvent"
...@@ -21,12 +23,16 @@ ...@@ -21,12 +23,16 @@
<ul> <ul>
<li <li
:class="{ 'sug-selected': item.selected }" :class="{ 'sug-selected': item.selected }"
v-for="(item, idx) in searchResultForLis" v-for="(item, idx) in searchResult"
:key="idx" :key="idx"
@mouseover="liOverEvent(idx)" @mouseover="liOverEvent(idx)"
@mouseup.left="searchEvent(item.text)" @mouseup.left="searchEvent(item)"
v-html="item.text" >
></li>
<span style="width:8rem;display:inline-block">{{item.OWNREF}}</span>
<el-divider direction="vertical"></el-divider>
<span>{{item.OBJNAM}}</span>
</li>
</ul> </ul>
</div> </div>
</div> </div>
...@@ -34,9 +40,10 @@ ...@@ -34,9 +40,10 @@
<script> <script>
import debounce from "lodash/debounce"; import debounce from "lodash/debounce";
import commonReport from "~/mixin/commonReport"
export default { export default {
name: "SearchInput", name: "SearchInput",
mixins:[commonReport],
data() { data() {
return { return {
searchContent: "", searchContent: "",
...@@ -58,56 +65,71 @@ export default { ...@@ -58,56 +65,71 @@ export default {
this.resultDisplay = false; this.resultDisplay = false;
return; return;
} }
if (this.searchResult.map((r) => r.text).includes(val)) { if (this.searchResult.map((r) => r.OWNREF).includes(val)) {
return; return;
} }
this.debounceWrapper(); this.debounceWrapper();
}, },
}, },
methods: { methods: {
queryData() { async queryData() {
const testData = [ // const testData = [
{ text: "DD3500210260AA01", url: "" }, // { text: "DD3500210260AA01", url: "" },
{ text: "OC3500190001AA", url: "" }, // { text: "OC3500190001AA", url: "" },
{ text: "KZ3500210313AA", url: "" }, // { text: "KZ3500210313AA", url: "" },
{ text: "KZ3500210312AA", url: "" }, // { text: "KZ3500210312AA", url: "" },
{ text: "DD3500210311AA01", url: "" }, // { text: "DD3500210311AA01", url: "" },
{ text: "DD3500210311AA01", url: "" }, // { text: "DD3500210311AA01", url: "" },
{ text: "KZ3500210311AA", url: "" }, // { text: "KZ3500210311AA", url: "" },
{ text: "CH3500200001AA", url: "" }, // { text: "CH3500200001AA", url: "" },
{ text: "CH3323200001AB", url: "" }, // { text: "CH3323200001AB", url: "" },
{ text: "DV453500210260AA01", url: "" }, // { text: "DV453500210260AA01", url: "" },
{ text: "KZ3500210313AA", url: "" }, // { text: "KZ3500210313AA", url: "" },
{ text: "DD45350029760AA01", url: "" }, // { text: "DD45350029760AA01", url: "" },
{ text: "CH3500343657001AA", url: "" }, // { text: "CH3500343657001AA", url: "" },
{ text: "CH35987567001AA", url: "" }, // { text: "CH35987567001AA", url: "" },
{ text: "CH243534200001AA", url: "" }, // { text: "CH243534200001AA", url: "" },
{ text: "CH350086786001AA", url: "" }, // { text: "CH350086786001AA", url: "" },
{ text: "CH53454001AA", url: "" }, // { text: "CH53454001AA", url: "" },
{ text: "CH65645FG4545AA", url: "" }, // { text: "CH65645FG4545AA", url: "" },
]; // ];
console.log("query data ..." + new Date().toLocaleString()); console.log("query data ..." + new Date().toLocaleString());
// this.shuffle(testData); let rtnmsg = await this.globalSearch(this.searchContent);
// const res = testData; if(rtnmsg.respCode == SUCCESS && rtnmsg.data && rtnmsg.data.length >0){
const res = testData.filter( let srcData = rtnmsg.data;
(d) => d.text.indexOf(this.searchContent) > -1 let searchResult = srcData.map(item=>{
); return item;
if (res && res.length > 0) { })
this.searchResultForLis = res.map((d) => { this.searchResult = searchResult;
const o = Object.assign({}, d);
o.text = d.text.replace(
this.searchContent,
"<em>" + this.searchContent + "</em>"
);
return o;
});
this.searchResult = res;
this.resultDisplay = true; this.resultDisplay = true;
} else { }
else{
this.searchResult = []; this.searchResult = [];
this.searchResultForLis = [];
this.resultDisplay = false; this.resultDisplay = false;
} }
// this.shuffle(testData);
// const res = testData;
// const res = testData.filter(
// (d) => d.text.indexOf(this.searchContent) > -1
// );
// if (res && res.length > 0) {
// this.searchResultForLis = res.map((d) => {
// const o = Object.assign({}, d);
// o.text = d.text.replace(
// this.searchContent,
// "<em>" + this.searchContent + "</em>"
// );
// return o;
// });
// this.searchResult = res;
// this.resultDisplay = true;
// } else {
// this.searchResult = [];
// this.searchResultForLis = [];
// this.resultDisplay = false;
// }
}, },
shuffle(arr) { shuffle(arr) {
let i = arr.length - 1; let i = arr.length - 1;
...@@ -117,13 +139,55 @@ export default { ...@@ -117,13 +139,55 @@ export default {
i--; i--;
} }
}, },
searchEvent(val) { searchEvent(row) {
if (typeof val === "string") { if (typeof row.OWNREF === "string") {
this.searchContent = val; this.searchContent = row.OWNREF;
} }
this.resultDisplay = false; this.resultDisplay = false;
// TODO // TODO
console.log("go to ...");
let link = "";
switch(row.OBJTYP.trim()){
case "DID":
link = "ditsel"
break
case "LID":
link = "litsel"
break;
case "CPD":
link = "cptsel"
break;
case "DED":
link = "detsel"
break;
case "LED":
link = "letsel"
break;
case "BPD":
link = "bptsel"
break;
case "CCD":
link = "cctsel"
break;
case "GED":
link = "getsel"
break;
case "GID":
link = "gitsel"
break;
case "MCD":
link = "mctsel"
break;
case "TRD":
link = "trtsel"
break;
}
console.log("go to ..."+link);
if(!link){
this.$notify.error({title: '错误',message: '未知的objtyp:'+row.OBJTYP+"!"})
return
}
this.$router.push({name:link.toUpperCase().substring(0,1)+link.substring(1),query:{ownref:row.OWNREF.trim()}})
}, },
focusInput() { focusInput() {
if (this.searchResult.length > 0) { if (this.searchResult.length > 0) {
...@@ -223,6 +287,8 @@ export default { ...@@ -223,6 +287,8 @@ export default {
position: absolute; position: absolute;
width: 590px; width: 590px;
top: 28px; top: 28px;
height: 40rem;
overflow: auto;
border-radius: 0 0 10px 10px; border-radius: 0 0 10px 10px;
border: 2px solid #4e71f2; border: 2px solid #4e71f2;
box-shadow: none; box-shadow: none;
......
...@@ -8,7 +8,16 @@ ...@@ -8,7 +8,16 @@
:clearable="clearable" :clearable="clearable"
@click.native="handleClick" @click.native="handleClick"
> >
<template v-if="code.length > 0"> <template v-if="dbCodeList.length > 0">
<el-option
v-for="item in dbCodeList"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</template>
<template v-else-if="code.length > 0">
<el-option <el-option
v-for="item in code" v-for="item in code"
:key="item.value" :key="item.value"
...@@ -22,6 +31,7 @@ ...@@ -22,6 +31,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"
export default { export default {
props: { props: {
value: { value: {
...@@ -46,6 +56,27 @@ export default { ...@@ -46,6 +56,27 @@ export default {
return []; return [];
}, },
}, },
dbCode: {
type: String,
default: undefined,
},
},
data(){
return {
dbCodeList:[],
}
},
watch:{
//动态从服务器上渲染码表
dbCode(){
if(!this.dbCode){
this.dbCodeList=[]
//清理数据
this.model = undefined;
return
}
getDBCode()
}
}, },
computed: { computed: {
model: { model: {
...@@ -84,7 +115,23 @@ export default { ...@@ -84,7 +115,23 @@ export default {
node.parentElement.dispatchEvent(ev); node.parentElement.dispatchEvent(ev);
} }
}, },
getDBCode(){
let args = {tbl:this.dbCode,lang:this.$store.state.I18n.lang.toUpperCase()}
if(args.lang == "ZH"){
args.lang = "CN";
}
Api.post("/getCodetable",args).then(rtnmsg=>{
if(rtnmsg.respCode==SUCCESS){
this.dbCodeList=rtnmsg.data
}
})
}
}, },
mounted(){
if(this.dbCode){
this.getDBCode()
}
}
}; };
</script> </script>
......
...@@ -7,8 +7,9 @@ ...@@ -7,8 +7,9 @@
:index="item.path + '_' + index" :index="item.path + '_' + index"
> >
<template slot="title"> <template slot="title">
<!-- <i :class="item.icon"></i> --> <i class="el-icon-caret-right" v-if="openFlgArr[index]"></i>
<img :src="item.icon" alt=""> <i class="el-icon-caret-bottom" v-else></i>
<!-- <img :src="item.icon" alt=""> -->
<span>{{ item.name }}</span> <span>{{ item.name }}</span>
</template> </template>
<SubMenu :subMenuList="item.children" /> <SubMenu :subMenuList="item.children" />
...@@ -29,7 +30,7 @@ import SubMenu from "./SubMenu.vue"; ...@@ -29,7 +30,7 @@ import SubMenu from "./SubMenu.vue";
export default { export default {
name: "SubMenu", name: "SubMenu",
components: { SubMenu }, components: { SubMenu },
props: ['subMenuList'], props: ['subMenuList','openFlgArr'],
}; };
</script> </script>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
ref="table" ref="table"
style="width: 100%" style="width: 100%"
class="eContainer-table" 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-bind="$attrs"
v-on="tableListeners" v-on="tableListeners"
v-loading="loading" v-loading="loading"
......
import Api from "~/service/Api"
import Utils from "../utils"
export default {
methods: {
globalSearch(key){
return Api.post("report/globalSearch?key="+encodeURI(key));
}
}
}
\ 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
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
> >
<el-row> <el-row>
<c-col :span="23">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="申报编号" prop="errsel.rptno" style="width: 100%"> <el-form-item label="申报编号" prop="errsel.rptno" style="width: 100%">
<c-input <c-input
...@@ -61,6 +62,7 @@ ...@@ -61,6 +62,7 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</el-row> </el-row>
</el-form> </el-form>
</template> </template>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
size="small" size="small"
> >
<el-row> <el-row>
<c-col :span="23">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="申报类型" prop="bopquep.boptyp" style="width: 100%"> <el-form-item label="申报类型" prop="bopquep.boptyp" style="width: 100%">
<c-select <c-select
...@@ -72,11 +73,13 @@ ...@@ -72,11 +73,13 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</el-row> </el-row>
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<c-col :span="23">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="申报号码" prop="bopquep.rptno" style="width: 100%"> <el-form-item label="申报号码" prop="bopquep.rptno" style="width: 100%">
<c-input <c-input
...@@ -113,7 +116,9 @@ ...@@ -113,7 +116,9 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="23">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="客户名称" prop="bopquep.ptynam" style="width: 100%"> <el-form-item label="客户名称" prop="bopquep.ptynam" style="width: 100%">
<c-input <c-input
...@@ -151,7 +156,9 @@ ...@@ -151,7 +156,9 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="23">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="笔数" prop="bopquep.sum" style="width: 100%"> <el-form-item label="笔数" prop="bopquep.sum" style="width: 100%">
<c-input <c-input
...@@ -178,6 +185,7 @@ ...@@ -178,6 +185,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</el-row> </el-row>
</el-form> </el-form>
</template> </template>
......
...@@ -11,12 +11,12 @@ ...@@ -11,12 +11,12 @@
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="接口信息选择" name="selp"> <el-tab-pane label="申报信息" name="selp">
<m-selp :model="model" :codes="codes" /> <m-selp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="接口反馈文件差错返回" name="errp"> <el-tab-pane label="差错反馈" name="errp">
<m-errp :model="model" :codes="codes" /> <m-errp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
...@@ -111,4 +111,8 @@ export default { ...@@ -111,4 +111,8 @@ export default {
}; };
</script> </script>
<style> <style>
.el-tabs .el-tabs__content {
/* background: #fff; */
padding: 5px;
}
</style> </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