Commit e6e600e7 by fukai

check增加模型赋值

parents 5b974928 6b2f0f89
......@@ -27,4 +27,8 @@ export default {
.e-table-wrapper .el-table {
flex:1;
}
.el-input__count{
right: 1px !important;
}
</style>
......@@ -65,6 +65,11 @@ export default {
const fieldErrors = result.fieldErrors;
this.getVM().updateModel(result.data)
Utils.positioningErrorMsg(fieldErrors, fields)
const tab = Utils.positioningErrorMsg(fieldErrors, fields);
if(tab) {
// tab切换之后,需出发tab-click的事件
this.getVM().tabClick(tab);
}
}
},
exit(){
......
......@@ -65,7 +65,6 @@ export default {
const obj = {}
for (let i = 0; i < lines.length; i++) {
let line = lines[i];
line = line.replace(/Quote/g, "\"");
if (etyReg.test(line)) {
const gs = line.match(etyReg)
const columnName = gs[1]
......
<template>
<div class="eContainer-table-block">
<el-table ref="table" :data="tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)"
<el-table
ref="table"
:data="
tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)
"
style="width: 100%"
class="eContainer-table"
@selection-change="handleSelectionChange"
:row-key="getRowKey"
:header-cell-style="{background: 'eef1f6', color: '#606266'}"
:highlight-current-row="true"
:header-cell-style="{ background: 'eef1f6', color: '#606266' }"
:highlight-current-row="true"
@row-click="rowClick"
:border="true">
<el-table-column type="selection" width="55" v-if="showSelection" :reserve-selection="true"></el-table-column>
:border="true"
>
<el-table-column
type="selection"
width="55"
v-if="showSelection"
:reserve-selection="true"
></el-table-column>
<el-table-column
v-for="(item, key) in tableColumns"
:key="key"
:prop="item.prop"
:prop="item.prop"
:label="item.label"
:width="item.width"
>
</el-table-column>
<slot></slot>
</el-table>
<el-pagination
<el-pagination
class="eContainer-pagination"
layout="prev, pager, next, jumper"
:page-sizes="pageSizes"
:page-size="pageSize"
:current-page="currentPage"
:total="tableData.length"
@size-change="sizeChange"
@current-change="currentChange"
@size-change="sizeChange"
@current-change="currentChange"
></el-pagination>
<div class="paginationLable">当前显示第 {{(currentPage - 1) * pageSize + 1}}-{{currentPage * pageSize > tableData.length ? tableData.length : currentPage * pageSize}} 条,共 {{tableData.length}}</div>
<div class="paginationLable">
当前显示第 {{ (currentPage - 1) * pageSize + 1 }}-{{
currentPage * pageSize > tableData.length
? tableData.length
: currentPage * pageSize
}}
条,共 {{ tableData.length }}
</div>
</div>
</template>
......@@ -51,128 +68,130 @@ export default {
},
showSelection: {
type: Boolean,
default: false
}
default: false,
},
},
computed: {
tableColumns() {
const columnArr = []
const columnArr = [];
const lines = this.columns;
const etyReg = /\"([^\"]*)\"/
const obj = {}
const etyReg = /\"([^\"]*)\"/;
const obj = {};
for (let i = 0; i < lines.length; i++) {
const line = lines[i];
if (etyReg.test(line)) {
const gs = line.match(etyReg)
const columnName = gs[1]
const newLine = line.replace(gs[0], "_")
const colPropArr = newLine.split(" ")
const positionArr = colPropArr[1].split(":")
if (!obj[positionArr[0]]) {
obj[positionArr[0]] = []
}
obj[positionArr[0]].push({
idx: colPropArr[0],
prop: columnName,
width: colPropArr[3]
})
const line = lines[i];
if (etyReg.test(line)) {
const gs = line.match(etyReg);
const columnName = gs[1];
const newLine = line.replace(gs[0], "_");
const colPropArr = newLine.split(" ");
const positionArr = colPropArr[1].split(":");
if (!obj[positionArr[0]]) {
obj[positionArr[0]] = [];
}
obj[positionArr[0]].push({
idx: colPropArr[0],
prop: columnName,
width: colPropArr[3] + 'px',
});
}
}
for (const k in obj) {
if (Object.hasOwnProperty.call(obj, k)) {
const o = obj[k];
const tableColumn = o.map(item => item.prop).join("\n")
columnArr.push({
prop: tableColumn,
label: tableColumn,
// width: o[0].width,
width: "auto",
index: k,
children: o
})
}
if (Object.hasOwnProperty.call(obj, k)) {
const o = obj[k];
const tableColumn = o.map((item) => item.prop).join("\n");
columnArr.push({
prop: tableColumn,
label: tableColumn,
// width: o[0].width,
width: "auto",
index: k,
children: o,
});
}
}
return columnArr.sort((a,b) => {
return parseInt(a.index) - parseInt(b.index)
})
return columnArr.sort((a, b) => {
return parseInt(a.index) - parseInt(b.index);
});
},
tableData() {
// return this.list.map((row) => {
// const res = {}
// const res = {}
// const vals = row.split("\t");
// for (let i = 0; i < vals.length; i++) {
// res[`${i}`] = vals[i];
// }
// return res;
// for (let i = 0; i < vals.length; i++) {
// res[`${i}`] = vals[i];
// }
// return res;
// });
const arr = []
const arr = [];
for (let i = 0; i < this.list.length; i++) {
const d = this.list[i];
const items = d.split("\t")
const it = {}
for (let j = 0; j < this.tableColumns.length; j++) {
const column = this.tableColumns[j];
it[column['prop']] = column.children.map(c => items[c['idx']] || " ").join("\n")
}
it['IDX'] = i
arr.push(it)
const d = this.list[i];
const items = d.split("\t");
const it = {};
for (let j = 0; j < this.tableColumns.length; j++) {
const column = this.tableColumns[j];
it[column["prop"]] = column.children
.map((c) => items[c["idx"]] || " ")
.join("\n");
}
it["IDX"] = i;
arr.push(it);
}
return arr
return arr;
},
},
data() {
return {
currentPage: 1,
pageSizes: [5, 10, 20, 30, 40, 50, 100],
pageSize: 5
};
currentPage: 1,
pageSizes: [5, 10, 20, 30, 40, 50, 100],
pageSize: 5,
};
},
methods: {
sizeChange(size) {
this.pageSize = size;
},
currentChange(currentPage) {
this.currentPage = currentPage;
},
sizeChange(size) {
this.pageSize = size;
},
currentChange(currentPage) {
this.currentPage = currentPage;
},
handleSelectionChange(val) {
this.$emit("multipleSelect", this.getSelectedRowIndex(val))
this.$emit("multipleSelect", this.getSelectedRowIndex(val));
},
getRowKey(row) {
return row['IDX']
return row["IDX"];
},
getSelectedRowIndex(val) {
const indexArr = []
const indexArr = [];
for (let j = 0; j < val.length; j++) {
const v = val[j];
for (let i = 0; i < this.tableData.length; i++) {
const data = this.tableData[i];
if (v['IDX'] === data ['IDX']) {
indexArr.push(i)
}
if (v["IDX"] === data["IDX"]) {
indexArr.push(i);
}
}
}
return indexArr
return indexArr;
},
// 行点击,设置高亮
rowClick(row, column, event) {
this.$refs.table.setCurrentRow(row);
this.$emit("chooseRowEvent", row)
}
}
this.$emit("chooseRowEvent", row);
},
},
};
</script>
<style>
.eContainer-table-block{
.eContainer-table-block {
margin-top: 15px;
}
.eContainer-table-block .paginationLable{
font-size: 12px;
color: #808080;
height: 26px;
line-height: 26px;
float:right;
margin-top:20px;
.eContainer-table-block .paginationLable {
font-size: 12px;
color: #808080;
height: 26px;
line-height: 26px;
float: right;
margin-top: 20px;
}
.eContainer-table-block .el-table__body-wrapper {
overflow: auto;
......@@ -184,7 +203,7 @@ export default {
background: #f0f9eb;
}
.eContainer-table-block .el-table .cell{
white-space: pre-wrap;
.eContainer-table-block .el-table .cell {
white-space: pre-wrap;
}
</style>
\ No newline at end of file
import Api from "~/service/Api"
import Utils from "../utils"
export default {
data(){
data() {
return {}
},
mounted(){
mounted() {
//this.restoreDisplay()
},
methods:{
init(params){
return Api.post(this.declareParams.trnName+"/init",{params})
methods: {
init(params) {
return Api.post(this.declareParams.trnName + "/init", { params })
},
save(params){
return Api.post(this.declareParams.trnName+"/saveData", this.wrapper(params))
save(params) {
return Api.post(this.declareParams.trnName + "/saveData", this.wrapper(params))
},
exeuteCheck(rulePath,params){
executeCheck(rulePath,params){
return Api.post(this.declareParams.trnName+"/executeCheck/"+rulePath, this.wrapper(params))
},
executeDefault(rulePath,params)
{
return Api.post(this.declareParams.trnName+"/executeDefault/"+rulePath, this.wrapper(params))
executeDefault(rulePath, params) {
return Api.post(this.declareParams.trnName + "/executeDefault/" + rulePath, this.wrapper(params))
},
executeRule(rulePath,params)
{
return Api.post(this.declareParams.trnName+"/executeRule/"+rulePath, this.wrapper(params))
executeRule(rulePath, params) {
return Api.post(this.declareParams.trnName + "/executeRule/" + rulePath, this.wrapper(params))
},
async checkAll(params){
const res = await Api.post(this.declareParams.trnName+"/checkAll", this.wrapper(params))
async checkAll(params) {
const res = await Api.post(this.declareParams.trnName + "/checkAll", this.wrapper(params))
return res
},
pedding(params){
return Api.post(this.declareParams.trnName+"/pending", this.wrapper(params))
pedding(params) {
return Api.post(this.declareParams.trnName + "/pending", this.wrapper(params))
},
async restoreDisplay()
{
async restoreDisplay() {
let inr = this.$route.query.trn
if(!inr)
if (!inr)
return
let data =await Api.post("display/"+inr)
Utils.copyValueFromVO(this.model,JSON.parse(data.data))
let data = await Api.post("display/" + inr)
Utils.copyValueFromVO(this.model, JSON.parse(data.data))
},
executeNotify(params)
{
return Api.post(this.declareParams.trnName+"/executeNotify", this.wrapper(params))
executeNotify(params) {
return Api.post(this.declareParams.trnName + "/executeNotify", this.wrapper(params))
},
}
}
\ No newline at end of file
}
\ No newline at end of file
......@@ -4,47 +4,45 @@ import Utils from "~/utils"
* Bdtudp Check规则
*/
let checkObj = {
"bddgrp.tag72add" :null,
"bddgrp.acb.adrelc" :null,
"bddgrp.rmb.pts.extkey" :null,
"bddgrp.rec.disdat" :null,
"bdtp.oth.pts.extkey" :null,
"bddgrp.beb.pts.extkey" :null,
"bddgrp.rmb.pts.adrblk" :null,
"bddgrp.beb.pts.adrblk" :null,
"bddgrp.rec.docflg" :null,
"bdtp.furide" :null,
"bddgrp.blk.docdis" :null,
"bddgrp.prb.pts.ref" :null,
"bddgrp.acb.pts.extkey" :null,
"bddgrp.blk.accrmk" :null,
"bddgrp.prb.pts.extkey" :null,
"bddgrp.rec.expdat" :null,
"bddgrp.beb.adrelc" :null,
"bddgrp.shp.namelc" :null,
"aamset.utlamt2" :null,
"bddgrp.acb.pts.adrblk" :null,
"bddgrp.acb.namelc" :null,
"bddgrp.beb.namelc" :null,
"bddgrp.rec.rcvdat" :null,
"bddgrp.shp.pts.adrblk" :null,
"bdtp.acbp.ptsget.sdamod.dadsnd" :null,
"bddgrp.blk.comcon" :null,
"bddgrp.prb.pts.bankno" :null,
"bddgrp.rmb.namelc" :null,
"bdtp.rmbp.ptsget.sdamod.dadsnd" :null,
"bddgrp.rec.reltyp" :null,
"bddgrp.rec.relgodflg" :null,
"bdtp.shpp.ptsget.sdamod.dadsnd" :null,
"bdtp.recget.sdamod.dadsnd" :null,
"bddgrp.shp.adrelc" :null,
"bddgrp.rmb.adrelc" :null,
"setmod.docamt" :null,
"bdtp.bebp.ptsget.sdamod.dadsnd" :null,
"bdtp.oth.pts.bankno" :null,
"bdtp.didget.sdamod.dadsnd" :null,
"bddgrp.shp.pts.extkey" :null,
"bddgrp.rec.trpdocnum" :null,
"bddgrp.tag72add": null,
"liaall.misamt": null,
"liaall.limmod.limpts.oth.pts.extkey": null,
"bddgrp.rec.disdat": null,
"bdtp.oth.pts.extkey": null,
"liaall.limmod.ownref": null,
"liaall.limmod.ecifno": null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd": null,
"bddgrp.rec.docflg": null,
"bdtp.furide": null,
"bddgrp.blk.docdis": null,
"setmod.dspflg": null,
"bddgrp.prb.pts.ref": null,
"bddgrp.blk.accrmk": null,
"bddgrp.prb.pts.extkey": null,
"bddgrp.rec.expdat": null,
"bddgrp.shp.namelc": null,
"liaall.liaccv.totcovamt": null,
"aamset.utlamt2": null,
"bddgrp.rec.rcvdat": null,
"bddgrp.shp.pts.adrblk": null,
"liaall.limmod.limpts.wrk.pts.extkey": null,
"bddgrp.blk.comcon": null,
"bddgrp.prb.pts.bankno": null,
"bddgrp.rec.reltyp": null,
"bddgrp.rec.relgodflg": null,
"bdtp.shpp.ptsget.sdamod.dadsnd": null,
"mtabut.coninf.conexedat": null,
"bdtp.recget.sdamod.dadsnd": null,
"liaall.limmod.limpts.nonrevflg1": null,
"bddgrp.shp.adrelc": null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd": null,
"setmod.docamt": null,
"liaall.liaccv.cshpct": null,
"bdtp.oth.pts.bankno": null,
"bdtp.didget.sdamod.dadsnd": null,
"bddgrp.shp.pts.extkey": null,
"bddgrp.rec.trpdocnum": null,
"liaall.liaccv.relcshpct": null,
}
for (const key in checkObj) {
......
......@@ -6,61 +6,64 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bddgrp.acb.pts.extkey" :Utils.defaultFunction,
"bddgrp.blk.docdisflg" :Utils.defaultFunction,
"bddgrp.blk.docdis" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bddgrp.ben.pts.nam" :Utils.defaultFunction,
"bdtp.oth.pts.extkey" :Utils.defaultFunction,
"bddgrp.prb.pts.extkey" :Utils.defaultFunction,
"bddgrp.rmb.pts.extkey" :Utils.defaultFunction,
"bddgrp.rmb.adrelc" :Utils.defaultFunction,
"bddgrp.rmb.namelc" :Utils.defaultFunction,
"bddgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"bddgrp.shp.pts.extkey" :Utils.defaultFunction,
"bddgrp.shp.adrelc" :Utils.defaultFunction,
"bddgrp.shp.namelc" :Utils.defaultFunction,
"bddgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"bddgrp.rec.stadat" :Utils.defaultFunction,
"bddgrp.beb.pts.extkey" :Utils.defaultFunction,
"bddgrp.acb.adrelc" :Utils.defaultFunction,
"bddgrp.acb.namelc" :Utils.defaultFunction,
"bddgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"sftmt" :Utils.defaultFunction,
"bdtp.cre752flg" :Utils.defaultFunction,
"didgrp.cbs.nom1.cur" :Utils.defaultFunction,
"bddgrp.beb.adrelc" :Utils.defaultFunction,
"bddgrp.beb.namelc" :Utils.defaultFunction,
"bddgrp.beb.dbfadrblkcn" :Utils.defaultFunction,
"bddgrp.rec.docflg" :Utils.defaultFunction,
"didgrp.rec.avbby" :Utils.defaultFunction,
"bddgrp.shp.pts.adrblk" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.rec.rtoaplflg" :Utils.defaultFunction,
"bddgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"bddgrp.beb.pts.adrblk" :Utils.defaultFunction,
"bddgrp.rec.advtyp" :Utils.defaultFunction,
"bddgrp.cbs.max2.amt" :Utils.defaultFunction,
"bddgrp.rec.docprbrol" :Utils.defaultFunction,
"bddgrp.acb.pts.adrblk" :Utils.defaultFunction,
"bddgrp.rec.relgoddat" :Utils.defaultFunction,
"bddgrp.cbs.max.amt" :Utils.defaultFunction,
"bddgrp.rec.predat" :Utils.defaultFunction,
"bddgrp.cbs.max.cur" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.cbs.opn1.amt" :Utils.defaultFunction,
"didgrp.rec.shpdat" :Utils.defaultFunction,
"bddgrp.rec.reltyp" :Utils.defaultFunction,
"bddgrp.apl.pts.nam" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"bddgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"bddgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bddgrp.rec.disdat" :Utils.defaultFunction,
"bddgrp.rec.approvcod" :Utils.defaultFunction,
"bddgrp.rec.payrol" :Utils.defaultFunction,
"bddgrp.prb.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey": Utils.defaultFunction,
"bddgrp.blk.docdisflg": Utils.defaultFunction,
"bddgrp.blk.docdis": Utils.defaultFunction,
"setmod.doccur": Utils.defaultFunction,
"setmod.dspflg": Utils.defaultFunction,
"setmod.docamt": Utils.defaultFunction,
"bddgrp.ben.pts.nam": Utils.defaultFunction,
"mtabut.coninf.usr.extkey": Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey": Utils.defaultFunction,
"bdtp.oth.pts.extkey": Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2": Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1": Utils.defaultFunction,
"bddgrp.prb.pts.extkey": Utils.defaultFunction,
"bddgrp.shp.pts.extkey": Utils.defaultFunction,
"bddgrp.shp.adrelc": Utils.defaultFunction,
"bddgrp.shp.namelc": Utils.defaultFunction,
"bddgrp.shp.dbfadrblkcn": Utils.defaultFunction,
"liaall.liaccv.addinf": Utils.defaultFunction,
"bddgrp.rec.stadat": Utils.defaultFunction,
"liaall.liaccv.totcovamt": Utils.defaultFunction,
"sftmt": Utils.defaultFunction,
"bdtp.cre752flg": Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam": Utils.defaultFunction,
"liaall.liaccv.concur": Utils.defaultFunction,
"bddgrp.rec.docflg": Utils.defaultFunction,
"bddgrp.shp.pts.adrblk": Utils.defaultFunction,
"didgrp.rec.ownref": Utils.defaultFunction,
"bddgrp.rec.rtoaplflg": Utils.defaultFunction,
"bddgrp.rec.ownref": Utils.defaultFunction,
"bddgrp.rec.advtyp": Utils.defaultFunction,
"liaall.limmod.comamt": Utils.defaultFunction,
"liaall.limmod.ccvamt": Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam": Utils.defaultFunction,
"bddgrp.rec.docprbrol": Utils.defaultFunction,
"setmod.glemod.gleshwstm": Utils.defaultFunction,
"bddgrp.rec.relgoddat": Utils.defaultFunction,
"bddgrp.cbs.max.amt": Utils.defaultFunction,
"bddgrp.rec.predat": Utils.defaultFunction,
"bddgrp.cbs.max.cur": Utils.defaultFunction,
"didgrp.rec.expdat": Utils.defaultFunction,
"didgrp.cbs.opn1.amt": Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt": Utils.defaultFunction,
"bddgrp.rec.reltyp": Utils.defaultFunction,
"bddgrp.apl.pts.nam": Utils.defaultFunction,
"aamset.utlamt": Utils.defaultFunction,
"bddgrp.cbs.opn2.cur": Utils.defaultFunction,
"aamset.utlamt2": Utils.defaultFunction,
"bddgrp.cbs.opn1.amt": Utils.defaultFunction,
"liaall.misamt": Utils.defaultFunction,
"bddgrp.rec.disdat": Utils.defaultFunction,
"bddgrp.rec.approvcod": Utils.defaultFunction,
"liaall.liaccv.newamt": Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt": Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev": Utils.defaultFunction,
"mtabut.coninf.conexedat": Utils.defaultFunction,
"bddgrp.rec.payrol": Utils.defaultFunction,
"liaall.liaccv.cshpct": Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev": Utils.defaultFunction,
"bddgrp.prb.pts.nam": Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
import Utils from "~/utils/index"
export default {
async onAcctagButtxmsel(){
let rtnmsg = await this.executeRule("acctag_buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp_det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp_det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp_det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis_buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onShppDet(){
let rtnmsg = await this.executeRule("shpp_det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcctagButtxmsel() {
let rtnmsg = await this.executeRule("acctag.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDocdisButtxmsel() {
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onShppDet() {
let rtnmsg = await this.executeRule("shpp.det")
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 onLiaccvAdd() {
let rtnmsg = await this.executeRule("liaccv.add")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaccvDel() {
let rtnmsg = await this.executeRule("liaccv.del")
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 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: '服务请求失败!' });
}
},
onSeainf() {
console.log('11111111')
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel")
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 {
"bdtp.didget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bdtp.didget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"didgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"didgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bdtp.didget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bdtp.didget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"didgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
"didgrp.rec.expdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"didgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"didgrp.cbs.opn1.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"didgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"didgrp.cbs.opn1.amt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bdtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bdtp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bdtp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bdtp.recget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bddgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bddgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bddgrp.cbs.max.amt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.apl.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bddgrp.cbs.opn1.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bddgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bddgrp.cbs.opn1.amt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bddgrp.apl.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
"bddgrp.rec.rcvdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
"bddgrp.rec.stadat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.ben.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
"bddgrp.rec.matdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bddgrp.rec.tenmaxday": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bddgrp.ben.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.prb.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"bddgrp.prb.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.prb.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
"bddgrp.rec.rcvdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
"bddgrp.rec.predat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.prb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"bddgrp.prb.pts.bankno": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"setmod.docamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.prb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bddgrp.prb.pts.jigomc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"aamset.utlamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"aamset.utlamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.prb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bddgrp.prb.pts.dizhii": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"aamset.utlamt2":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"aamset.utlamt2": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bdtp.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bdtp.oth.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bdtp.oth.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"bdtp.oth.pts.bankno": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"bddgrp.tag72add":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
"bddgrp.tag72add": [
{ type: "string", required: true, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
"bdtp.oth.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bdtp.oth.pts.jigomc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bdtp.oth.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bdtp.oth.pts.dizhii": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bddgrp.blk.nartxt77a":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bddgrp.blk.docdis": [
{ type: "string", required: true, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
"bddgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bddgrp.rec.totdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bddgrp.rec.disdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bddgrp.blk.comcon": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"bddgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bddgrp.blk.accrmk": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"bddgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bdtp.connum": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bdtp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.rec.relgoddat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.rec.expdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bdtp.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bddgrp.blk.carnam": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bddgrp.rmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bddgrp.rec.blnum": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"bddgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bddgrp.rec.trpdocnum": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bddgrp.rec.tradat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.rmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"bddgrp.blk.relstoadr": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bdtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.blk.vesnam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.blk.pordis": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bdtp.shpp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bdtp.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.blk.delplc": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.shp.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bdtp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bdtp.shpp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bddgrp.beb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"bddgrp.shp.namelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bddgrp.blk.roggod": [
{ type: "string", required: true, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.shp.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bdtp.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"bddgrp.shp.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bddgrp.shp.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bddgrp.blk.notpty": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"bddgrp.blk.porlod": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.blk.voynum": [
{ type: "string", required: false, message: "必输项" },
{ max: 30, message: "长度不能超过30" }
],
"bddgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.outamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.beb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.outpct": [
{ type: "string", required: false, message: "必输项" },
{ max: 6, message: "长度不能超过6" }
],
"bddgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.concur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bddgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.misamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.beb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.exttotoldamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.beb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.liaccv.concur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bddgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.liaccv.newamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.beb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.liaccv.cshpct": [
{ type: "string", required: false, message: "必输项" },
{ max: 5, message: "长度不能超过5" }
],
"bddgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
"liaall.liaccv.newresamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
"liaall.liaccv.relcshpct": [
{ type: "string", required: false, message: "必输项" },
{ max: 5, message: "长度不能超过5" }
],
"liaall.liaccv.pctresamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
"liaall.liaccv.totcovamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
"liaall.liaccv.addinf": [
{ type: "string", required: true, message: "必输项" },
{ max: 70, message: "长度不能超过70" }
],
"setmod.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.blk.accrmk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
"setmod.zmqacc": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"bdtp.connum":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"setmod.glemod.gleshwstm": [
{ type: "string", required: false, message: "必输项" },
{ max: 1, message: "长度不能超过1" }
],
"bddgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"}
"mtabut.coninf.oitinf.oit.inftxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 60, message: "长度不能超过60" }
],
"bddgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.blk.carnam":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"mtabut.coninf.oitset.oit.inftxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 60, message: "长度不能超过60" }
],
"bddgrp.rec.blnum":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"mtabut.coninf.conexedat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bddgrp.rec.trpdocnum":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"mtabut.coninf.usr.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"bddgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"}
"trnmod.trndoc.advnam": [
{ type: "string", required: false, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
"bddgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"trnmod.trndoc.amdapl": [
{ type: "string", required: true, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
"bddgrp.blk.vesnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"trnmod.trndoc.advdoc": [
{ type: "string", required: false, message: "必输项" },
{ max: 1, message: "长度不能超过1" }
],
"bddgrp.blk.pordis":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"liaall.limmod.ecifno": [
{ type: "string", required: false, message: "必输项" },
{ max: 22, message: "长度不能超过22" }
],
"bdtp.shpp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.blk.delplc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"liaall.limmod.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.shp.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bdtp.shpp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
"liaall.limmod.othp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.shp.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.limmod.limpts.wrk.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.blk.roggod":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"liaall.limmod.wrkp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bddgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.limmod.limpts.oth.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bddgrp.shp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.limmod.othp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bddgrp.shp.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.limmod.comamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.blk.notpty":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"liaall.limmod.limpts.wrk.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.blk.porlod":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
"liaall.limmod.limpts.oth.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bddgrp.blk.voynum":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
"liaall.limmod.ccvamt": [
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"didgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"didgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"didgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"didgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"didgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
"liaall.limmod.limpts.pfcod1": [
{ type: "string", required: false, message: "必输项" },
{ max: 14, message: "长度不能超过14" }
],
"didgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
"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 Bdtudp{
constructor () {
this.data = {
bddgrp:{
rec:{
docflg:"", // 单据类型 .bddgrp.rec.docflg
rcvdat:"", // 到单日期 .bddgrp.rec.rcvdat
predat:"", // 到单日期 .bddgrp.rec.predat
docprbrol:"", // 单据类型 .bddgrp.rec.docprbrol
payrol:"", // 发送承付电 .bddgrp.rec.payrol
ownref:"", // 单据参考号 .bddgrp.rec.ownref
nam:"", // Name of Bill Contract .bddgrp.rec.nam
docsta:"", // 单据状态 .bddgrp.rec.docsta
matdat:"", // Maturity Date .bddgrp.rec.matdat
tenmaxday:"", // 单据到期日 .bddgrp.rec.tenmaxday
stadat:"", // Start Date .bddgrp.rec.stadat
totcur:"", // Total Amount Claimed .bddgrp.rec.totcur
totamt:"", // Total Amount to be Paid .bddgrp.rec.totamt
totdat:"", // 付款日期 .bddgrp.rec.totdat
igndisflg:"", // Ignore Discrepancies .bddgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .bddgrp.rec.advtyp
disdat:"", // 不符点通知日期 .bddgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .bddgrp.rec.approvcod
relgodflg:"", // Release of Goods .bddgrp.rec.relgodflg
reltyp:"", // Release Type .bddgrp.rec.reltyp
relgoddat:"", // issue date .bddgrp.rec.relgoddat
expdat:"", // Expiry Date of Shipping Guarantee .bddgrp.rec.expdat
trpdoctyp:"", // Transport Doc. Type .bddgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. No. .bddgrp.rec.trpdocnum
tradat:"", // shipment date .bddgrp.rec.tradat
tramod:"", // Mode of Transport .bddgrp.rec.tramod
rtoaplflg:"", // Release Goods to Applicant ? .bddgrp.rec.rtoaplflg
ngrcod:"", // Goods code .bddgrp.rec.ngrcod
blnum:"", // B/L Number .bddgrp.rec.blnum
},
cbs:{
opn2:{
cur:"", // 附加金额 .bddgrp.cbs.opn2.cur
},
max:{
cur:"", // 单据金额 .bddgrp.cbs.max.cur
amt:"", // Balance .bddgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bddgrp.cbs.opn1.cur
amt:"", // Balance .bddgrp.cbs.opn1.amt
},
max2:{
amt:"", // 附加金额 .bddgrp.cbs.max2.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
},
tag72add:"", // TAG72 .bddgrp.tag72add
blk:{
chaded:"", // Charges Deducted .bddgrp.blk.chaded
chaadd:"", // Charges .bddgrp.blk.chaadd
nartxt77a:"", // Narrative TAG 77A of MT754 .bddgrp.blk.nartxt77a
docdis:"", // Discrepancies .bddgrp.blk.docdis
docdisflg:"", // discrepancies modified .bddgrp.blk.docdisflg
comcon:"", // Comments and Conclusions .bddgrp.blk.comcon
accrmk:"", // 到期付款确认备注 .bddgrp.blk.accrmk
vesnam:"", // Vessel Name .bddgrp.blk.vesnam
pordis:"", // Port of Discharge .bddgrp.blk.pordis
delplc:"", // Place of Delivery .bddgrp.blk.delplc
roggod:"", // Covered Goods .bddgrp.blk.roggod
relstoadr:"", // Release to Address .bddgrp.blk.relstoadr
porlod:"", // Port of loading .bddgrp.blk.porlod
voynum:"", // Voyage numer .bddgrp.blk.voynum
notpty:"", // Notify Party .bddgrp.blk.notpty
carnam:"", // Carrier .bddgrp.blk.carnam
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.rmb.namelc
adrelc:"", // 地址 .bddgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.rmb.dbfadrblkcn
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.acb.namelc
adrelc:"", // 地址 .bddgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.acb.dbfadrblkcn
},
beb:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.beb.namelc
adrelc:"", // 地址 .bddgrp.beb.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.beb.dbfadrblkcn
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.shp.namelc
adrelc:"", // 地址 .bddgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.shp.dbfadrblkcn
},
export default class Bdtudp {
constructor() {
this.data = {
bddgrp: {
rec: {
docflg: "", // 单据类型 .bddgrp.rec.docflg
rcvdat: "", // 到单日期 .bddgrp.rec.rcvdat
predat: "", // 到单日期 .bddgrp.rec.predat
docprbrol: "", // 单据类型 .bddgrp.rec.docprbrol
payrol: "", // 发送承付电 .bddgrp.rec.payrol
ownref: "", // 单据参考号 .bddgrp.rec.ownref
nam: "", // Name of Bill Contract .bddgrp.rec.nam
docsta: "", // 单据状态 .bddgrp.rec.docsta
matdat: "", // Maturity Date .bddgrp.rec.matdat
tenmaxday: "", // 单据到期日 .bddgrp.rec.tenmaxday
stadat: "", // Start Date .bddgrp.rec.stadat
igndisflg: "", // Ignore Discrepancies .bddgrp.rec.igndisflg
advtyp: "", // Type of Advice Received .bddgrp.rec.advtyp
totdat: "", // 付款日期 .bddgrp.rec.totdat
disdat: "", // 不符点通知日期 .bddgrp.rec.disdat
approvcod: "", // Documents on Approval Basis .bddgrp.rec.approvcod
relgodflg: "", // Release of Goods .bddgrp.rec.relgodflg
reltyp: "", // Release Type .bddgrp.rec.reltyp
relgoddat: "", // issue date .bddgrp.rec.relgoddat
expdat: "", // Expiry Date of Shipping Guarantee .bddgrp.rec.expdat
trpdoctyp: "", // Transport Doc. Type .bddgrp.rec.trpdoctyp
trpdocnum: "", // Transport Doc. No. .bddgrp.rec.trpdocnum
tradat: "", // shipment date .bddgrp.rec.tradat
tramod: "", // Mode of Transport .bddgrp.rec.tramod
rtoaplflg: "", // Release Goods to Applicant ? .bddgrp.rec.rtoaplflg
ngrcod: "", // Goods code .bddgrp.rec.ngrcod
blnum: "", // B/L Number .bddgrp.rec.blnum
},
cbs: {
opn2: {
cur: "", // 附加金额 .bddgrp.cbs.opn2.cur
},
max: {
cur: "", // 单据金额 .bddgrp.cbs.max.cur
amt: "", // 单据金额 .bddgrp.cbs.max.amt
},
opn1: {
cur: "", // 单据余额 .bddgrp.cbs.opn1.cur
amt: "", // Balance .bddgrp.cbs.opn1.amt
},
},
apl: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
prb: {
pts: new Pts().data,
},
tag72add: "", // TAG72 .bddgrp.tag72add
blk: {
comcon: "", // Comments and Conclusions .bddgrp.blk.comcon
docdis: "", // Discrepancies .bddgrp.blk.docdis
docdisflg: "", // discrepancies modified .bddgrp.blk.docdisflg
accrmk: "", // 到期付款确认备注 .bddgrp.blk.accrmk
vesnam: "", // Vessel Name .bddgrp.blk.vesnam
pordis: "", // Port of Discharge .bddgrp.blk.pordis
delplc: "", // Place of Delivery .bddgrp.blk.delplc
roggod: "", // Covered Goods .bddgrp.blk.roggod
relstoadr: "", // Release to Address .bddgrp.blk.relstoadr
porlod: "", // Port of loading .bddgrp.blk.porlod
voynum: "", // Voyage numer .bddgrp.blk.voynum
notpty: "", // Notify Party .bddgrp.blk.notpty
carnam: "", // Carrier .bddgrp.blk.carnam
},
shp: {
pts: new Pts().data,
namelc: "", // 名称 .bddgrp.shp.namelc
adrelc: "", // 地址 .bddgrp.shp.adrelc
dbfadrblkcn: "", // Chinese address .bddgrp.shp.dbfadrblkcn
},
},
aamset: {
utlamt: "", // 单据金额 .aamset.utlamt
utlamt2: "", // 附加金额 .aamset.utlamt2
},
setmod: {
docamt: "", // document amount .setmod.docamt
doccur: "", // document currency .setmod.doccur
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
},
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
glemod: {
gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
didgrp: {
rec: {
ownref: "", // 信用证参考号 .didgrp.rec.ownref
expdat: "", // Date of Expiry .didgrp.rec.expdat
},
cbs: {
opn1: {
cur: "", // Currency .didgrp.cbs.opn1.cur
amt: "", // Balance .didgrp.cbs.opn1.amt
},
},
},
bdtp: {
didget: {
sdamod: {
seainf: "", // .bdtp.didget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd
},
},
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd
seainf: "", // .bdtp.recget.sdamod.seainf
},
},
matp: {
mattxtlab: "", // Label for MATTXT .bdtp.matp.mattxtlab
},
oth: {
pts: new Pts().data,
},
docgrdm: {
docdsclab: "", // Label of document description .bdtp.docgrdm.docdsclab
docgrd: [],
},
cre752flg: "", // Create 752 .bdtp.cre752flg
furide: "", // Further Identification .bdtp.furide
cre732flg: "", // Create MT 732 .bdtp.cre732flg
shpp: {
ptsget: {
sdamod: {
seainf: "", // .bdtp.shpp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bdtp.shpp.ptsget.sdamod.dadsnd
},
aamset:{
utlamt:"", // 单据金额 .aamset.utlamt
utlamt2:"", // 附加金额 .aamset.utlamt2
},
},
connum: "", // Contract Number .bdtp.connum
},
sftmt: "", // Which MT .sftmt
liaall: {
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
liaccv: {
newamt: "", // 合同金额 .liaall.liaccv.newamt
concur: "", // 应付保证金金额 .liaall.liaccv.concur
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt
addinf: "", // Additional Information .liaall.liaccv.addinf
cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: "", // Create gle flag .liaall.liaccv.gleflg
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
},
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,
},
setmod:{
docamt:"", // 承兑金额 .setmod.docamt
doccur:"", // 承兑金额 .setmod.doccur
oth: {
pts: new Pts().data,
},
didgrp:{
rec:{
ownref:"", // 参考号 .didgrp.rec.ownref
expdat:"", // 到期日/到期地点 .didgrp.rec.expdat
nam:"", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam
avbby:"", // 兑付方式 .didgrp.rec.avbby
opndat:"", // 开证日期 .didgrp.rec.opndat
shpdat:"", // Shipment Date .didgrp.rec.shpdat
lcrtyp:"", // 信用证类型 .didgrp.rec.lcrtyp
expplc:"", // 到期日/到期地点 .didgrp.rec.expplc
},
cbs:{
opn1:{
cur:"", // 单据余额 .didgrp.cbs.opn1.cur
amt:"", // Balance .didgrp.cbs.opn1.amt
},
nom1:{
cur:"", // 信用证金额 .didgrp.cbs.nom1.cur
amt:"", // 信用证金额 .didgrp.cbs.nom1.amt
},
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
},
avbnam:"", // 指定银行 .didgrp.avbnam
},
bdtp:{
didget:{
sdamod:{
seainf:"", // .bdtp.didget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd
seainf:"", // .bdtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .bdtp.matp.mattxtlab
},
oth:{
pts:new Pts().data,
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .bdtp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.rmbp.ptsget.sdamod.dadsnd
},
},
},
acbp:{
ptsget:{
sdamod:{
seainf:"", // .bdtp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.acbp.ptsget.sdamod.dadsnd
},
},
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .bdtp.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.bebp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{
docdsclab:"", // Label of document description .bdtp.docgrdm.docdsclab
},
cre752flg:"", // Create 752 .bdtp.cre752flg
furide:"", // Further Identification .bdtp.furide
cre732flg:"", // Create MT 732 .bdtp.cre732flg
shpp:{
ptsget:{
sdamod:{
seainf:"", // .bdtp.shpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.shpp.ptsget.sdamod.dadsnd
},
},
},
connum:"", // Contract Number .bdtp.connum
zchday:"", // 最迟装运/服务提供日 .bdtp.zchday
},
sftmt:"", // Which MT .sftmt
}
}
},
ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
},
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.
doceot: [],
},
},
}
}
}
\ No newline at end of file
......@@ -152,7 +152,7 @@ function checkDidgrpAplPtsYouzbmN100(rule, value, callback) {
*/
function checkAmeadvrmkN100(rule, value, callback) {
const that = this;
that.exeuteCheck("ameadvrmk").then(res => {
that.executeCheck("ameadvrmk").then(res => {
callback()
})
}
......@@ -169,7 +169,7 @@ function checkLiaallLimmodOwnrefN100(rule, value, callback) {
*/
function checkDidgrpRecExpplcN900(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.rec.expplc").then(res => {
that.executeCheck("didgrp.rec.expplc").then(res => {
//TODO
callback()
})
......@@ -194,7 +194,7 @@ function checkDidgrpAdvPtsBanknoN100(rule, value, callback) {
*/
function checkDidgrpRecTratypN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.rec.tratyp").then(res => {
that.executeCheck("didgrp.rec.tratyp").then(res => {
//TODO
callback()
})
......@@ -247,7 +247,7 @@ function checkDidgrpRecSdsrfsN100(rule, value, callback) {
*/
function checkDidgrpIssPtsYouzbmN1001(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.iss.pts.youzbm").then(res => {
that.executeCheck("didgrp.iss.pts.youzbm").then(res => {
//TODO
callback()
})
......@@ -293,7 +293,7 @@ function checkDidgrpRecShptoN100(rule, value, callback) {
*/
function checkDidgrpBenNamelcN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.ben.namelc").then(res => {
that.executeCheck("didgrp.ben.namelc").then(res => {
//TODO
callback()
})
......@@ -311,7 +311,7 @@ function checkDidgrpCmbPtsBanknoN100(rule, value, callback) {
*/
function checkDidgrpRecShpparN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.rec.shppar").then(res => {
that.executeCheck("didgrp.rec.shppar").then(res => {
//TODO
callback()
})
......@@ -336,7 +336,7 @@ function checkDidgrpRmbAdrelcN100(rule, value, callback) {
*/
function checkDidgrpAplPtsExtkeyN950(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.apl.pts.extkey").then(res => {
that.executeCheck("didgrp.apl.pts.extkey").then(res => {
//TODO
callback()
})
......@@ -431,7 +431,7 @@ function checkDidgrpRmbPtsBanknoN100(rule, value, callback) {
*/
function checkDidgrpBenAdrelcN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.ben.adrelc").then(res => {
that.executeCheck("didgrp.ben.adrelc").then(res => {
//TODO
callback()
})
......@@ -456,7 +456,7 @@ function checkDidgrpAplPtsDihdigN100(rule, value, callback) {
*/
function checkDidgrpRecConnoN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.rec.conno").then(res => {
that.executeCheck("didgrp.rec.conno").then(res => {
//TODO
callback()
})
......@@ -562,7 +562,7 @@ function checkDidgrpIssPtsBanknoN100(rule, value, callback) {
*/
function checkDidgrpBlkLcrgodN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.blk.lcrgod").then(res => {
that.executeCheck("didgrp.blk.lcrgod").then(res => {
that.model.didgrp.blk.lcrgod = res.data.didgrp_blk_lcrgod;
callback()
})
......@@ -593,7 +593,7 @@ function checkDidgrpRecIdcodeN100(rule, value, callback) {
*/
function checkDidgrpRecFenctgN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.rec.fenctg").then(res => {
that.executeCheck("didgrp.rec.fenctg").then(res => {
//TODO
callback()
})
......@@ -666,7 +666,7 @@ function checkDidgrpCbsNom1CurN100(rule, value, callback) {
*/
function checkDidgrpIssPtsDihdigN1001(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.iss.pts.dihdig").then(res => {
that.executeCheck("didgrp.iss.pts.dihdig").then(res => {
//TODO
callback()
})
......@@ -677,7 +677,7 @@ function checkDidgrpIssPtsDihdigN1001(rule, value, callback) {
*/
function checkDidgrpAplNamelcN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.apl.namelc").then(res => {
that.executeCheck("didgrp.apl.namelc").then(res => {
//TODO
callback()
})
......@@ -709,7 +709,7 @@ function checkMtabutConinfConexedatN100(rule, value, callback) {
*/
function checkDidgrpAdvPtsYouzbmN1003(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.adv.pts.youzbm").then(res => {
that.executeCheck("didgrp.adv.pts.youzbm").then(res => {
//TODO
callback()
})
......@@ -769,7 +769,7 @@ function checkDidgrpRecOpndatN950(rule, value, callback) {
*/
function checkDidgrpRecAvbbyN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.rec.avbby").then(res => {
that.executeCheck("didgrp.rec.avbby").then(res => {
//TODO
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(that.model, res.data);
......@@ -823,7 +823,7 @@ function checkDidgrpApcPtsDihdigN1002(rule, value, callback) {
*/
function checkDidgrpAdvPtsExtkeyN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.adv.pts.extkey").then(res => {
that.executeCheck("didgrp.adv.pts.extkey").then(res => {
//TODO
callback()
})
......@@ -869,7 +869,7 @@ function checkSetmodDocamtN15000(rule, value, callback) {
*/
function checkDidgrpAdvPtsDihdigN1003(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.adv.pts.dihdig").then(res => {
that.executeCheck("didgrp.adv.pts.dihdig").then(res => {
//TODO
callback()
})
......@@ -894,7 +894,7 @@ function checkDidgrpRecExpdatN100(rule, value, callback) {
*/
function checkDidgrpBenPtsExtkeyN950(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.ben.pts.extkey").then(res => {
that.executeCheck("didgrp.ben.pts.extkey").then(res => {
//TODO
callback()
})
......@@ -933,7 +933,7 @@ function checkDidgrpRecAvbwthN900(rule, value, callback) {
*/
function checkDidgrpBlkLcrdocN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.blk.lcrdoc").then(res => {
that.executeCheck("didgrp.blk.lcrdoc").then(res => {
that.model.didgrp.blk.lcrdoc = res.data.didgrp_blk_lcrdoc;
callback()
})
......@@ -957,7 +957,7 @@ function checkDidgrpBlkLcrdocN1001(rule, value, callback) {
*/
function checkDidgrpRecTenmaxdayN1000(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.rec.tenmaxday").then(res => {
that.executeCheck("didgrp.rec.tenmaxday").then(res => {
//TODO
Utils.copyValueFromVO(this.model, res.data)
callback()
......@@ -997,7 +997,7 @@ function checkDidgrpBlkPreperN100(rule, value, callback) {
*/
function checkDidgrpAplAdrelcN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.apl.adrelc").then(res => {
that.executeCheck("didgrp.apl.adrelc").then(res => {
callback()
})
}
......@@ -1035,7 +1035,7 @@ function checkDidgrpBlkAdlcndN100(rule, value, callback) {
*/
function checkLitameadvN100(rule, value, callback) {
const that = this;
that.exeuteCheck("litameadv").then(res => {
that.executeCheck("litameadv").then(res => {
callback()
})
this.model.ameadvrmk = ""
......
......@@ -152,10 +152,11 @@ export default class Utils {
static positioningErrorMsg(fieldErrors, formFields) {
let firstErrorItem = null
// 顺序
for (let i = 0; i < formFields.length; i++) {
const field = formFields[i];
for (const key in fieldErrors) {
if (Object.hasOwnProperty.call(fieldErrors, key)) {
if (Object.hasOwnProperty.call(fieldErrors, key)) {
if (field.prop === key) {
const fieldError = fieldErrors[key];
field.validateState = 'error';
......@@ -168,8 +169,8 @@ export default class Utils {
}
}
}
let firstErrorTab = null
if (firstErrorItem) {
let firstErrorTab = null
let parentVC = firstErrorItem
while(!firstErrorTab) {
const tag = parentVC.$vnode.tag
......@@ -199,6 +200,7 @@ export default class Utils {
})
}, 0)
}
return firstErrorTab;
}
static defaultFunction(rule, value, callback){
......@@ -214,7 +216,7 @@ export default class Utils {
static reflectCheck(key){
return async function(rule, value, callback){
//调用具体的check
const res = await this.exeuteCheck(key)
const res = await this.executeCheck(key)
// if (res.respCode == SUCCESS){
// }
......
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="信用证概要" prop="didgrp.rec.nam">
<c-input
v-model="model.didgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select v-model="model.didgrp.cbs.nom1.cur" placeholder="币种">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item
label=""
label-width="-20px !important"
prop="didgrp.cbs.nom1.amt"
>
<c-input
v-model="model.didgrp.cbs.nom1.amt"
placeholder="请输入信用证金额"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="指定银行" prop="didgrp.avbnam">
<c-input
v-model="model.didgrp.avbnam"
maxlength="40"
placeholder="请输入指定银行"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="兑付方式" prop="didgrp.rec.avbby">
<c-select
v-model="model.didgrp.rec.avbby"
style="width: 100%"
placeholder="请选择兑付方式"
>
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<span v-text="model.bdtp.zchday" data-path=".bdtp.zchday"> </span>
</el-col>
<el-col :span="12">
<el-form-item label="Shipment Date" prop="didgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipment Date"
></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.opndat"
style="width: 100%"
placeholder="请选择开证日期"
></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="到期日/到期地点">
<c-input
type="textarea"
v-model="model.didgrp.rec.expplc"
maxlength="35"
show-word-limit
placeholder="请输入到期日/到期地点"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp">
<c-select
v-model="model.didgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择信用证类型"
>
</c-select>
</el-form-item>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtudp/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="应付保证金金额" prop="liaall.liaccv.concur">
<c-input v-model="model.liaall.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.newamt">
<c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例" style="marginLeft:-200px !important" prop="liaall.liaccv.cshpct">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<c-input v-model="model.liaall.liaccv.newresamt" placeholder="请输入Reserved Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct">
<c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.gleflg">Create gle flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="reserve amount based percent" prop="liaall.liaccv.pctresamt">
<c-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入reserve amount based percent"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.chgcurflg">Change currency flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaccvAdd">
Add
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="金额总和" prop="liaall.liaccv.totcovamt">
<c-input v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information " prop="liaall.liaccv.addinf">
<c-input type="textarea" v-model="model.liaall.liaccv.addinf" maxlength="70" show-word-limit placeholder="请输入Additional Information " ></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/Bdtudp/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/Bdtudp/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="Discrepancies">
<c-input type="textarea" v-model="model.bddgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
<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>
</el-col>
</c-col>
<el-col :span="12">
<c-checkbox v-model="model.bddgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</el-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>
......
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="6">
<c-checkbox v-model="model.bddgrp.rec.igndisflg"
>Ignore Discrepancies</c-checkbox
>
</c-col>
<c-col :span="12">
<c-row>
<c-col :span="24">
<el-form-item label="不符点">
<c-input
type="textarea"
:rows="6"
v-model="model.bddgrp.blk.docdis"
maxlength="65"
show-word-limit
placeholder="请输入不符点"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.bddgrp.rec.approvcod"
>Documents on Approval Basis</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="解释和结论">
<c-input
type="textarea"
:rows="4"
v-model="model.bddgrp.blk.comcon"
maxlength="65"
show-word-limit
placeholder="请输入解释和结论"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.bdtp.cre752flg">Create 752</c-checkbox>
<c-col :span="24">
<el-form-item label="到期付款确认备注">
<c-input
type="textarea"
:rows="2"
resize="none"
v-model="model.bddgrp.blk.accrmk"
maxlength="65"
show-word-limit
placeholder="请输入到期付款确认备注"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-istream-table
:list="model.bdtp.docgrdm.docgrd"
:columns="columns"
>
</c-istream-table>
</c-col>
</c-row>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.bdtp.cre732flg">Create MT 732</c-checkbox>
</c-col>
<c-col :span="12">
<c-row>
<c-col :span="24">
<div class="c-checkbox">
<c-checkbox v-model="model.bddgrp.rec.igndisflg"
>忽略不符点</c-checkbox
>
</div>
</c-col>
<c-col :span="24">
<div class="c-checkbox">
<c-checkbox v-model="model.bddgrp.blk.docdisflg"
>录入不符点</c-checkbox
>
</div>
</c-col>
<!-- <c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDocdisButtxmsel"
>
...
</c-button>
</c-col> -->
<c-col :span="24">
<el-form-item label="收到的通知类型" prop="bddgrp.rec.advtyp">
<c-select
v-model="model.bddgrp.rec.advtyp"
style="width: 100%"
placeholder="请选择收到的通知类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of Advice Received" prop="bddgrp.rec.advtyp">
<c-select
v-model="model.bddgrp.rec.advtyp"
style="width: 100%"
placeholder="请选择Type of Advice Received"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="bddgrp.rec.totdat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.totdat"
style="width: 100%"
placeholder="请选择付款日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="不符点通知日期" prop="bddgrp.rec.disdat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.disdat"
style="width: 100%"
placeholder="请选择不符点通知日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点通知日期" prop="bddgrp.rec.disdat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.disdat"
style="width: 100%"
placeholder="请选择不符点通知日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Comments and Conclusions">
<c-input
type="textarea"
v-model="model.bddgrp.blk.comcon"
maxlength="65"
show-word-limit
placeholder="请输入Comments and Conclusions"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<div class="c-checkbox">
<c-checkbox v-model="model.bddgrp.rec.approvcod"
>议付行担保议付</c-checkbox
>
</div>
</c-col>
<c-col :span="12">
<span
v-text="model.bdtp.docgrdm.docdsclab"
data-path=".bdtp.docgrdm.docdsclab"
>
</span>
</c-col>
<c-col :span="24">
<div class="c-checkbox">
<c-checkbox v-model="model.bdtp.cre752flg"
>Create MT 752</c-checkbox
>
</div>
</c-col>
<c-col :span="12">
<el-form-item label="到期付款确认备注">
<c-input
type="textarea"
v-model="model.bddgrp.blk.accrmk"
maxlength="65"
show-word-limit
placeholder="请输入到期付款确认备注"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Further Identification" prop="bdtp.furide">
<c-select
v-model="model.bdtp.furide"
style="width: 100%"
placeholder="请选择Further Identification"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Further Identification" prop="bdtp.furide">
<c-select
v-model="model.bdtp.furide"
style="width: 100%"
placeholder="请选择Further Identification"
>
</c-select>
</el-form-item>
<c-col :span="24">
<div class="c-checkbox">
<c-checkbox v-model="model.bdtp.cre732flg"
>Create MT 732</c-checkbox
>
</div>
</c-col>
</c-row>
</c-col>
</c-row>
</div>
......@@ -110,11 +152,22 @@ export default {
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
return {
columns: [
"0 0 \"lst1\" 50 ",
"1 1 \"lst2\" 50",
"2 2 \"document\" 200",
],
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
.c-checkbox {
text-align: center;
margin: 10px;
font-size: 16px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></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/Bdtudp/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
</div>
<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"
......
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="12">
<c-col :span="18">
<el-form-item
label="国内信用证项下开证授信额度:"
prop="liaall.limmod.limpts.wrk.pts.extkey"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
:disabled="true"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<div class="button_contains">
<c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
>
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"
>
Details
</c-button>
</div>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 90%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg1Change"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<div class="button_contains">
<c-button size="small" type="primary" @click="onLimptsGet1">
查询
</c-button>
</div>
</c-col>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 55%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table style="text-align: center" :data="tableData" :border="true">
<el-table-column label="可否串用" width="auto"> </el-table-column>
-->
<el-table-column label="序号" width="auto"> </el-table-column>
<el-table-column label="额度类型" width="auto"> </el-table-column>
<el-table-column label="入账机构" width="auto"> </el-table-column>
<el-table-column label="额度编号" width="auto"> </el-table-column>
<el-table-column label="额度明细编号" width="auto"> </el-table-column>
<el-table-column label="额度品种代码" width="auto"> </el-table-column>
<el-table-column label="品种代码描述" width="auto"> </el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtudp/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
tableData: {},
};
},
methods: {
...Event,
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = "";
}
},
},
created: function () {},
};
</script>
<style>
.button_contains {
display: flex;
text-align: center;
}
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="12">
<el-form-item label="Narrative TAG 77A of MT754">
<c-input
type="textarea"
v-model="model.bddgrp.blk.nartxt77a"
maxlength="35"
show-word-limit
placeholder="请输入Narrative TAG 77A of MT754"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur">
<c-select
v-model="model.bddgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bddgrp.cbs.max2.amt">
<c-input
v-model="model.bddgrp.cbs.max2.amt"
placeholder="请输入附加金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Deducted">
<c-input
type="textarea"
v-model="model.bddgrp.blk.chaded"
maxlength="35"
show-word-limit
placeholder="请输入Charges Deducted"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges">
<c-input
type="textarea"
v-model="model.bddgrp.blk.chaadd"
maxlength="35"
show-word-limit
placeholder="请输入Charges"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="bddgrp.rec.totcur">
<c-input
v-model="model.bddgrp.rec.totcur"
maxlength="3"
placeholder="请输入Total Amount Claimed"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount to be Paid" prop="bddgrp.rec.totamt">
<c-input
v-model="model.bddgrp.rec.totamt"
placeholder="请输入Total Amount to be Paid"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="bdtp.rmbp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.bdtp.rmbp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="bddgrp.rmb.pts.extkey"
>
<c-input
v-model="model.bddgrp.rmb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bdtp.rmbp.ptsget.sdamod.seainf">
<c-input
v-model="model.bdtp.rmbp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称">
<c-input
type="textarea"
v-model="model.bddgrp.rmb.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block">
<c-input
type="textarea"
v-model="model.bddgrp.rmb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address">
<c-input
type="textarea"
v-model="model.bddgrp.rmb.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址">
<c-input
type="textarea"
v-model="model.bddgrp.rmb.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="bdtp.acbp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.bdtp.acbp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="bdtp.bebp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.bdtp.bebp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="bddgrp.acb.pts.extkey"
>
<c-input
v-model="model.bddgrp.acb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bdtp.acbp.ptsget.sdamod.seainf">
<c-input
v-model="model.bdtp.acbp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAcbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="bddgrp.beb.pts.extkey"
>
<c-input
v-model="model.bddgrp.beb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bdtp.bebp.ptsget.sdamod.seainf">
<c-input
v-model="model.bdtp.bebp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称">
<c-input
type="textarea"
v-model="model.bddgrp.acb.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称">
<c-input
type="textarea"
v-model="model.bddgrp.beb.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block">
<c-input
type="textarea"
v-model="model.bddgrp.acb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address">
<c-input
type="textarea"
v-model="model.bddgrp.acb.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block">
<c-input
type="textarea"
v-model="model.bddgrp.beb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address">
<c-input
type="textarea"
v-model="model.bddgrp.beb.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址">
<c-input
type="textarea"
v-model="model.bddgrp.acb.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址">
<c-input
type="textarea"
v-model="model.bddgrp.beb.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款日期" prop="bddgrp.rec.totdat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.totdat"
style="width: 100%"
placeholder="请选择付款日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtudp/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -3,19 +3,7 @@
<c-row>
<!-- <c-col :span="22" :offset="1"> -->
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="bdtp.didget.sdamod.dadsnd"
>
<c-input
v-model="model.bdtp.didget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="参考号" prop="didgrp.rec.ownref">
<el-form-item label="信用证参考号" prop="didgrp.rec.ownref">
<c-input
v-model="model.didgrp.rec.ownref"
maxlength="16"
......@@ -25,54 +13,38 @@
</c-col>
<c-col :span="12">
<el-form-item label="到期地点" prop="bdtp.didget.sdamod.seainf">
<c-input
v-model="model.bdtp.didget.sdamod.seainf"
placeholder="请输入到期地点"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到期日" prop="didgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.expdat"
style="width: 100%"
placeholder="请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据余额" prop="didgrp.cbs.opn1.cur">
<c-input
v-model="model.didgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入单据余额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="didgrp.cbs.opn1.amt">
<c-input
v-model="model.didgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="bdtp.recget.sdamod.dadsnd"
>
<c-input
v-model="model.bdtp.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
<c-col :span="12">
<el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.didgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
>
<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
label=""
style="margin-left: -230px !important"
prop="didgrp.cbs.opn1.amt"
>
<c-input
v-model="model.didgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证余额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
......@@ -86,427 +58,314 @@
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bdtp.recget.sdamod.seainf">
<c-input
v-model="model.bdtp.recget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Bill Contract" prop="bddgrp.rec.nam">
<el-form-item label="摘要" prop="bddgrp.rec.nam">
<c-input
v-model="model.bddgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select
v-model="model.bddgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择单据金额"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="bddgrp.cbs.max.amt">
<c-input
v-model="model.bddgrp.cbs.max.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申请人" prop="bddgrp.apl.pts.ref">
<c-input
v-model="model.bddgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
<c-input
v-model="model.bddgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入单据余额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="bddgrp.cbs.opn1.amt">
<c-input
v-model="model.bddgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bddgrp.apl.pts.nam">
<c-input
v-model="model.bddgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Start Date" prop="bddgrp.rec.stadat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.stadat"
style="width: 100%"
placeholder="请选择Start Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="受益人" prop="bddgrp.ben.pts.ref">
<c-input
v-model="model.bddgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span
v-text="model.bdtp.matp.mattxtlab"
data-path=".bdtp.matp.mattxtlab"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bddgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.matdat"
style="width: 100%"
placeholder="请选择Maturity Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据到期日" prop="bddgrp.rec.tenmaxday">
<c-input
v-model="model.bddgrp.rec.tenmaxday"
placeholder="请输入单据到期日"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bddgrp.ben.pts.nam">
<c-input
v-model="model.bddgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select
v-model="model.bddgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单行" prop="bddgrp.prb.pts.ref">
<c-input
v-model="model.bddgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入交单行"
placeholder="请输入摘要"
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<el-form-item label="单据状态" prop="bddgrp.rec.docsta">
<c-select
v-model="model.bddgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bddgrp.prb.pts.nam">
<c-input
v-model="model.bddgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="bddgrp.rec.docprbrol">
<c-select
v-model="model.bddgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择单据类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select
v-model="model.bddgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="bddgrp.prb.pts.extkey"
>
<c-input
v-model="model.bddgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.rcvdat"
style="width: 50%"
placeholder="请选择到单日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到单日期" prop="bddgrp.rec.predat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.predat"
style="width: 50%"
placeholder="请选择到单日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="bddgrp.prb.pts.bankno">
<c-input
v-model="model.bddgrp.prb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="承兑金额" prop="setmod.doccur">
<c-select
v-model="model.setmod.doccur"
style="width: 100%"
placeholder="请选择承兑金额"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="承兑金额" prop="setmod.docamt">
<c-input
v-model="model.setmod.docamt"
placeholder="请输入承兑金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur">
<c-select
v-model="model.bddgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="aamset.utlamt">
<c-input
v-model="model.aamset.utlamt"
placeholder="请输入单据金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址 电证用">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="aamset.utlamt2">
<c-input
v-model="model.aamset.utlamt2"
placeholder="请输入附加金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="发送承付电" prop="bddgrp.rec.payrol">
<c-select
v-model="model.bddgrp.rec.payrol"
style="width: 100%"
placeholder="请选择发送承付电"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="bdtp.oth.pts.extkey"
>
<c-input
v-model="model.bdtp.oth.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
<c-row>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select
v-model="model.bddgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择单据币种"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="margin-left: -230px !important"
prop="bddgrp.cbs.max.amt"
>
<c-input
v-model="model.bddgrp.cbs.max.amt"
placeholder="请输入单据金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
<c-select
v-model="model.bddgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请选择单据余额"
></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="margin-left: -230px !important"
prop="bddgrp.cbs.opn1.amt"
>
<c-input
v-model="model.bddgrp.cbs.opn1.amt"
placeholder="请输入单据余额"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<m-ptsmsg
:model="model"
:argadr="{ title: '申请人', url: 'bddgrp.apl.pts' }"
></m-ptsmsg>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<el-form-item label="Which MT" prop="sftmt">
<c-select
v-model="model.sftmt"
style="width: 100%"
placeholder="请选择Which MT"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="Number of bank" prop="bdtp.oth.pts.bankno">
<c-input
v-model="model.bdtp.oth.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
style="margin-left: -20px"
size="small"
type="primary"
icon="el-icon-search"
@click="onAcctagButtxmsel"
>
搜索
</c-button>
<c-row>
<c-col :span="24">
<el-form-item label="单据到期日" prop="bddgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.matdat"
style="width: 100%"
placeholder="请选择单据到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到期日" prop="didgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.expdat"
style="width: 100%"
placeholder="请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<m-ptsmsg
:model="model"
:argadr="{ title: '受益人', url: 'bddgrp.ben.pts' }"
></m-ptsmsg>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<el-form-item label="TAG72">
<c-input
type="textarea"
v-model="model.bddgrp.tag72add"
maxlength="50"
show-word-limit
placeholder="请输入TAG72"
></c-input>
</el-form-item>
<c-row>
<c-col :span="24">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select
v-model="model.bddgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="bddgrp.rec.docsta">
<c-select
v-model="model.bddgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
>
</c-select>
</el-form-item>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<m-ptsmsg
:model="model"
:argadr="{ title: '交单行', url: 'bddgrp.prb.pts' }"
></m-ptsmsg>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<el-form-item label="联行名称 电证用">
<c-input
type="textarea"
v-model="model.bdtp.oth.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<c-row>
<c-col :span="24">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select
v-model="model.bddgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单日期" prop="bddgrp.rec.predat">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.predat"
style="width: 100%"
placeholder="请选择交单日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="承兑金额" prop="setmod.doccur">
<c-select
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请选择承兑币种"
></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="margin-left: -230px !important"
prop="setmod.docamt"
>
<c-input
v-model="model.setmod.docamt"
placeholder="请输入承兑金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据金额" prop="bddgrp.cbs.opn2.cur">
<c-select
v-model="model.bddgrp.cbs.opn2.cur"
maxlength="3"
placeholder="请选择单据币种"
></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="margin-left: -230px !important"
prop="aamset.utlamt"
>
<c-input
v-model="model.aamset.utlamt"
placeholder="请输入单据金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<m-ptsadr
:model="model"
:argadr="{
title: '交单行',
url: 'bddgrp.prb.pts',
rol: 'bddgrp.rec.docprbrol',
}"
></m-ptsadr>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<el-form-item label="地址 电证用">
<c-input
type="textarea"
v-model="model.bdtp.oth.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item>
<c-row>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur">
<c-select
v-model="model.bddgrp.cbs.opn2.cur"
maxlength="3"
placeholder="请选择附加金额币种"
></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="margin-left: -230px !important"
prop="aamset.utlamt2"
>
<c-input
v-model="model.aamset.utlamt2"
placeholder="请输入附加金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="发送承付电" prop="sftmt">
<c-select
v-model="model.sftmt"
style="width: 100%"
placeholder="请选择发送承付电"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TAG72">
<c-input
type="textarea"
:rows='5'
v-model="model.bddgrp.tag72add"
maxlength="50"
show-word-limit
placeholder="请输入TAG72"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<m-ptsadr
:model="model"
:argadr="{
title: '付款人',
url: 'bdtp.oth.pts',
rol: 'bddgrp.rec.payrol',
}"
></m-ptsadr>
</c-col>
<!-- </c-col> -->
</c-row>
</div>
</template>
......@@ -515,15 +374,31 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtudp/Event";
import Col from "../../../components/Col.vue";
import Ptsmsg from "~/views/Public/Ptsmsg";
import Ptsadr from "~/views/Public/Ptsadr";
export default {
components: {
"m-ptsmsg": Ptsmsg,
"m-ptsadr": Ptsadr,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
methods: {
...Event,
nom1CurEvent() {
this.executeDefault("didgrp.cbs.opn1.cur").then((res) => {
if ((res.respCode = SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
};
</script>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bdtudp/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -20,40 +20,40 @@
<m-payp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000147 -->
<!-- <el-tab-pane label="PD000147" name="mt754p">
<m-mt754p :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000062 -->
<el-tab-pane label="单据详情" name="docpre">
<m-docpre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000139 -->
<!-- <el-tab-pane label="PD000139" name="mt750p">
<m-mt750p :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" :event="Event" />
</el-tab-pane>
<!--PD000137 -->
<!-- <el-tab-pane label="PD000137" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" :event="Event" />
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane label="不符点" name="docpre">
<m-docpre :model="model" :codes="codes" />
<el-tab-pane label="帐务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000079 -->
<el-tab-pane label="明细" name="shpdet">
<m-shpdet :model="model" :codes="codes" />
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<!--PD000168 -->
<el-tab-pane label="信用证内容" name="brlip">
<m-brlip :model="model" :codes="codes" />
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000213 -->
<!-- <el-tab-pane label="PD000213" name="othadvtypp">
<m-othadvtypp :model="model" :codes="codes" />
</el-tab-pane> -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
<c-bus-button :$pntvm="this"></c-bus-button>
</el-form>
......@@ -62,29 +62,44 @@
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Default from "~/model/Ditopn/Default";
import Bdtudp from "~/model/Bdtudp";
import CommonProcess from "~/mixin/CommonProcess";
import Pattern from "~/model/Bdtudp/Pattern";
import Payp from "./Payp";
//import Mt754p from "./Mt754p";
//import Mt750p from "./Mt750p";
//import Ovwp from "./Ovwp";
import Ovwp from "./Ovwp";
import Docpre from "./Docpre";
import Shpdet from "./Shpdet";
import Brlip from "./Brlip";
//import Othadvtypp from "./Othadvtypp";
//import Engp from "./Engp";
//import Ccvpan from "./Ccvpan";
//import Coninfp from "./Coninfp";
import Limitbody from "./Limitbody";
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
import Event from "~/model/bdtudp/Event";
export default {
components: {
"m-payp": Payp,
//"m-mt754p": Mt754p,
//"m-mt750p": Mt750p,
//"m-ovwp": Ovwp,
"m-payp": Payp,
"m-ovwp": Ovwp,
"m-docpre": Docpre,
"m-shpdet": Shpdet,
"m-brlip": Brlip,
//"m-othadvtypp": Othadvtypp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-limitbody": Limitbody,
},
provide() {
return {
......@@ -95,11 +110,12 @@ export default {
data() {
return {
initPane: "payp",
trnName: "bdtudp",
model: new Bdtudp().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
defaultRule: Default,
rules: Pattern,
codes: {},
Event: { ...Event },
codes: { ...CodeTable },
};
},
methods: {
......@@ -108,8 +124,12 @@ export default {
created: async function () {
console.log("进入bdtudp交易");
let rtnmsg = await Api.post("bdtudp/init", { params: {} });
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -172,15 +172,13 @@ export default {
},
methods:{
},
mounted:async function(){
created:async function(){
console.log("进入ditopn交易");
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
console.log(rtnmsg)
Utils.copyValueFromVO(this.model,rtnmsg.data)
console.log(this.model);
if(this.isInDisplay){
this.restoreDisplay()
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.concur">
<c-row :gutter="20">
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<c-row>
<c-col :span="8">
<c-input v-model="model.liaall.liaccv.cshpct"></c-input>
</c-col>
<c-col :span="12" style="margin-left: 20px">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<c-row :gutter="20">
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.newresamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.misamt">
<c-row>
<c-col :span="8">
<c-input :readonly="true" v-model="model.liaall.misamt"></c-input>
</c-col>
<c-col :span="12" style="margin-left: 20px">
<span>%</span>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<c-row :gutter="20">
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input
:readonly="true"
v-model="model.liaall.liaccv.pctresamt"
></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right">
<c-row>
<c-col :span="2" :offset="19">
<c-button size="small" type="primary" @click="event.onLiaccvAdd">
Add
</c-button>
<el-dialog
:visible.sync="dialogTableVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
>
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="event.pickDepItem(scope.row)"
>选择</a
>
</template>
</el-table-column>
</c-istream-table>
</el-dialog>
</c-col>
<c-col :span="2">
<c-button size="small" icon="el-icon-delete" @click="event.onLiaccvDel">
Del
</c-button>
</c-col>
</c-row>
</c-col>
<c-col :span="24"><div style="height: 10px"></div></c-col>
<c-col :span="22" :offset="1">
<c-table
:border="true"
:list="model.liaall.liaccv.liaccvg"
style="width:80%,text-align:center"
>
<el-table-column prop="ccdflg" label="CFO" width="auto">
</el-table-column>
<el-table-column prop="ownref" label="保证金编号" width="auto">
</el-table-column>
<el-table-column prop="cur" label="币种" width="auto">
</el-table-column>
<el-table-column prop="oldamt" label="余额" width="auto">
</el-table-column>
<el-table-column prop="amt" label="变动金额" width="auto">
</el-table-column>
<el-table-column prop="acc" label="保证金账号" width="auto">
</el-table-column>
<el-table-column prop="rat" label="汇率" width="auto">
</el-table-column>
<el-table-column prop="concur" label="币种" width="auto">
</el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="auto">
</el-table-column>
</c-table>
</c-col>
<c-col :span="24">
<el-form-item label="金额总和">
<c-col :span="8">
<c-input
style="width: 50%"
v-model="model.liaall.liaccv.totcovamt"
placeholder="请输入金额总和"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information ">
<c-input
type="textarea"
rows="5"
v-model="model.liaall.liaccv.addinf"
maxlength="200"
show-word-limit
placeholder="请输入Additional Information "
></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";
export default {
inject: ["root"],
props: ["model", "codes","event"],
mixins: [CommonProcess],
data() {
return {
dialogTableVisible: false,
stmData: {
columns: [
'1 1:1 "Ref." 120',
'2 2:1 "User" 80',
'3 3:1 "Applicant" 196',
'4 4:1 "Account" 120',
'5 5:1 "Cur" 50',
'6 6:1 "Amount" 80 2 0 1 18.3',
'7 7:1 "Open date" 80 4 7',
'8 8:1 "flg" 40',
'9 9:1 "Remarks" 180',
"P COLORED TRUE",
"P VERTLINES TRUE",
"P HORZLINES TRUE",
"P MULTISELECT FALSE",
"P COLUMNSIZING TRUE",
],
data: [],
},
relrowDisabled: true,
};
},
//methods: { ...this.event },
created: function () {
},
};
</script>
<style>
</style>
<template>
<c-row>
<c-col :span="24">
<c-col :span="12">
<el-form-item
style="height=200px;"
label="General"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<c-input
type="textarea"
:rows="6"
@input="infChanged($event, 'mtabut.coninf.oitinf.oit.inflev')"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="60"
:autosize="{ minRows: 4, maxRows: 6 }"
resize="none"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
style="width: 50%"
:disabled="model.mtabut.coninf.oitinf.oit.inftxt ? false : true"
placeholder="请选择Infotext Level"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input
type="textarea"
@input="infChanged($event, 'mtabut.coninf.oitset.oit.inflev')"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="60"
resize="none"
:autosize="{ minRows: 4, maxRows: 6 }"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 50%"
:disabled="model.mtabut.coninf.oitset.oit.inftxt ? false : true"
placeholder="请选择Infotext Level"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<el-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 40%"
placeholder="请选择执行日期"
></el-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey">
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
style="width: 40%"
disabled="disabled"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-row>
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: {
infChanged(e, type) {
if (!e) {
this.model[type] = "";
console.log("1111", this.model[type]);
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab" style="margin: 0 10px">
<c-col :span="24" style="margin-bottom: 1px"> Liability </c-col>
<c-col :span="24" >
<c-table
:list="model.liaall.liaallg"
style="width:80%,text-align:center,margin-bottom:18px"
:border="true"
>
<el-table-column prop="cbtpfx" label="Type" width="auto">
</el-table-column>
<el-table-column prop="matdat" label="Maturity" width="auto">
</el-table-column>
<el-table-column prop="tenday" label="Tenor" width="auto">
</el-table-column>
<el-table-column prop="rol" label="Dbt." width="auto">
</el-table-column>
<el-table-column prop="nam" label="Name" width="auto">
</el-table-column>
<el-table-column prop="cdtrol" label="Cdt." width="auto">
</el-table-column>
<el-table-column prop="cur" label="Cur" width="auto"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="auto">
<template slot-scope="scope">
{{ moneyFormat(scope.row.oldamt) }}
</template>
</el-table-column>
<el-table-column prop="amt" label="Booking Amo" width="auto">
<template slot-scope="scope">
{{ moneyFormat(scope.row.amt) }}
</template>
</el-table-column>
<el-table-column prop="tenpct" label="%" width="auto">
</el-table-column>
<el-table-column prop="acc" label="Account" width="auto">
</el-table-column>
<el-table-column prop="valdat" label="Value Date" width="auto">
<template slot-scope="scope">
{{ dateFormat(scope.row.valdat) }}
</template>
</el-table-column>
</c-table>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned">
<c-input
style="width: 20%"
disabled
v-model="model.liaall.concur"
maxlength="3"
placeholder="请输入External Booking Amount"
></c-input>
<c-input
style="width: 50%"
disabled
v-model="model.liaall.misamt"
placeholder="请输入Amount not yet assigned"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-button
size="small"
disabled
type="primary"
@click="event.onLiaallButmisamt"
>
Add to Current Line
</c-button>
</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/Ditopn/Event";
export default {
inject: ["root"],
mixins: [CommonProcess],
props: ["model", "codes", "event"],
data() {
return {};
},
//methods: { ...this.event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item :label="argadr.title" :prop="argadr.rol">
<c-input
v-model="model[argadr.rol]"
:placeholder="'请输入' + argadr.title + '角色'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="BIC" :prop="argadr.url + 'extkey'">
<c-input
v-model="model[argadr.url + 'extkey']"
maxlength="16"
:placeholder="'请输入' + argadr.title + 'BIC'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行行号" :prop="argadr.url + 'bankno'">
<c-input
v-model="model[argadr.url + 'bankno']"
maxlength="20"
placeholder="请输入联行行号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行行名" :prop="argadr.url + 'jigomc'">
<c-input
v-model="model[argadr.url + 'jigomc']"
maxlength="35"
placeholder="请输入联行行名"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行地址" :prop="argadr.url + 'dizhii'">
<c-input
type="textarea"
v-model="model[argadr.url + 'dizhii']"
maxlength="35"
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";
export default {
inject: ["root"],
mixins: [CommonProcess],
props: ["model", "codes", "argadr"],
data() {
return {
data: [],
};
},
watch: {},
//methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item :label="argadr.title + '编号'" :prop="argadr.url + 'ref'">
<c-input
v-model="model[argadr.url + 'ref']"
maxlength="16"
:placeholder="'请输入' + argadr.title + '编号'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="argadr.title + '名称'" :prop="argadr.url + 'nam'">
<c-input
v-model="model[argadr.url + 'nam']"
maxlength="40"
:placeholder="'请输入' + argadr.title + '名称'"
></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";
export default {
inject: ["root"],
mixins: [CommonProcess],
props: ["model", "codes", "argadr"],
data() {
return {
data: [],
};
},
watch: {},
// methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -169,56 +169,71 @@
</c-col>
<c-col>
<el-dialog :visible.sync="dialogVisible" center>
<el-form :model="dialog">
<el-form-item label="收款人">
<el-select v-model="dialog.ptypay">
<el-option
v-for="item in codes.ptypay"
:key="item.value"
:labelF="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="收款人摘要"
><c-input v-model="dialog.txtpay" />
</el-form-item>
<el-form-item label="付款人">
<el-select v-model="dialog.ptydbt">
<el-option
v-for="item in codes.ptydbt"
:key="item.value"
:labelF="item.label"
:value="item.value"
/> </el-select
></el-form-item>
<el-form-item label="付款人摘要"
><c-input v-model="dialog.txtdbp" />
</el-form-item>
<el-form-item label="费用"
><c-select v-model="dialog.cur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:labelF="item.label"
:value="item.value"
/>
</c-select>
<c-input v-model="dialog.amt" style="width: 200px"
/></el-form-item>
<el-form-item label-width="10em">
<c-checkbox v-model="dialog.forflg"
>CG00005</c-checkbox
>
</el-form-item>
</el-form>
<c-col>
<el-form :model="dialog" label-width="200px">
<c-col :span="16" >
<el-form-item label="收款人">
<el-select v-model="dialog.ptypay" style="width: 100%">
<el-option
v-for="item in codes.payee"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="收款人摘要">
<c-input v-model="dialog.txtpay" style="width: 100%"/>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="付款人">
<el-select v-model="dialog.ptydbt" style="width: 100%">
<el-option
v-for="item in codes.ptydbt"
:key="item.value"
:labelF="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="付款人摘要">
<c-input v-model="dialog.txtdbp" style="width: 100%"/>
</el-form-item>
</c-col>
<c-col :span="16">
<c-col :span="18">
<el-form-item label="费用">
<c-select v-model="dialog.cur" style="width: 100%">
<el-option
v-for="item in codes.cur"
:key="item.value"
:labelF="item.label"
:value="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" label-width="20px">
<c-input v-model="dialog.amt" style="width: 100%"/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="16">
<el-form-item>
<c-checkbox v-model="dialog.forflg">CG00005</c-checkbox>
</el-form-item>
</c-col>
</el-form>
</c-col>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="saveDialog"
>确 定</el-button
>
<el-button type="primary" @click="saveDialog">确 定</el-button>
<el-button @click="dialogVisible = false">取 消</el-button>
</span>
</el-dialog>
</c-col>
......@@ -292,7 +307,7 @@
</el-table-column>
</c-table>
</c-col>
<setpan-dialog v-if="dialogVisible2" :visible="dialogVisible2" :model="model" :idx="index" :codes="codes"/>
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes"/>
<c-col :span="24" style="text-align: left">
<el-form-item label="Settlement:" label-width="100px">
</el-form-item>
......@@ -403,7 +418,6 @@ export default {
data() {
return {
dialogVisible: false,
dialogVisible2: false,
dialog: {
payee: "",
ptydbt: "",
......@@ -449,10 +463,12 @@ export default {
},
// 第三个表格
detail2(index, row) {
this.executeRule("det").then(res=>{
this.dialogVisible2 = true;
this.index = index;
this.dialog2 = row
const that = this;
that.executeRule("det").then(res=>{
that.$refs.setpanDialog.visiable = true;
that.$refs.setpanDialog.formData = Object.assign({}, that.model.setmod.setfeg.setfel[index]);
that.index = index;
that.dialog2 = row
})
},
},
......
<template>
<el-dialog :visible.sync="visiable" center fullscreen destroy-on-close><c-col>
<el-form v-model="model.setmod.setfeg.setfel[idx]" inline>
<el-dialog
v-if="visiable"
:visible.sync="visiable"
center
fullscreen
destroy-on-close
:before-close="beforeClose"
>
<c-col>
<el-form v-model="formData" inline>
<c-col>
<c-col :span="8">
<el-form-item label="费用代码">
<c-input v-model="formData.feecod" disabled />
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="中文描述">
<c-input v-model="formData.feetxt" style="width: 350px" />
<c-input
v-model="formData.modflg"
disabled
style="width: 350px; margin-left: 100px"
/>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="6">
<el-form-item label="详细信息">
<c-input v-model="formData.feetxtinf" />
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="起算时间">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker
type="date"
v-model="formData.dat1"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择起算时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="结束时间">
<c-date-picker
type="date"
v-model="formData.dat2"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择结束时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="收取份数">
<c-input v-model="formData.unt" />
</el-form-item>
</c-col>
</c-col>
<c-col>
<el-form-item label="费用换算">
<c-select v-model="formData.usrcur">
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<c-input
v-model="formData.usramt"
style="width: 200px; margin-left: 50px"
/>
</el-form-item>
</c-col>
<c-col>
<c-col :span="8">
<el-form-item label="应收费用">
<c-input
v-model="formData.cur"
disabled
style="width: 100px; margin-right: 10px"
/>
<c-input
v-model="formData.ogiamt"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠百分比">
<c-input v-model="formData.dctrat">
<template #append>%</template>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Period calculation starting at">
<c-input v-model="formData.datrefbeg" disabled />
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="8">
<el-form-item label="付款方">
<c-select v-model="formData.rol">
<el-option
v-for="item in codes.setfelRol"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠金额">
<c-input v-model="formData.dctamt" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠后实收费用金额">
<c-input v-model="formData.amt" />
</el-form-item>
</c-col>
</c-col>
<c-col>
<el-form-item
:label="
idx == 0
? 'Per mile fee depending on duration'
: 'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.'
"
/>
</c-col>
<c-col :span="12">
<c-col v-if="idx == 0">
<c-col>
<c-col :span="8">
<el-form-item label="费用代码">
<c-input
v-model="model.setmod.setfeg.setfel[idx].feecod"
disabled/>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="中文描述">
<c-input
v-model="model.setmod.setfeg.setfel[idx].feetxt"
style="width: 350px"/>
<c-input
v-model="model.setmod.setfeg.setfel[idx].modflg"
disabled
style="width: 350px; margin-left: 100px"/>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="6">
<el-form-item label="详细信息">
<c-input
v-model="model.setmod.setfeg.setfel[idx].feetxtinf"
/>
</el-form-item
>
</c-col>
<c-col :span="6">
<el-form-item label="起算时间">
<c-input
v-model="model.setmod.setfeg.setfel[idx].dat1"
type="date"
/>
</el-form-item
>
</c-col>
<c-col :span="6">
<el-form-item label="结束时间">
<c-input
v-model="
model.setmod.setfeg.setfel[idx].dat2
"
type="date"
/>
</el-form-item
>
</c-col>
<c-col :span="6">
<el-form-item label="收取份数">
<c-input
v-model="model.setmod.setfeg.setfel[idx].unt"
/>
</el-form-item
>
</c-col>
</c-col>
<c-col>
<el-form-item label="费用换算">
<c-select
v-model="model.setmod.setfeg.setfel[idx].usrcur">
<el-option
v-for="item in codes.usrcur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<c-input
v-model="model.setmod.setfeg.setfel[idx].usramt"
style="width: 200px; margin-left: 50px"
/>
</el-form-item>
</c-col>
<c-col>
<c-col :span="8">
<el-form-item label="应收费用"
>
<c-input
v-model="model.setmod.setfeg.setfel[idx].cur"
disabled
style="width: 100px; margin-right: 10px"
/>
<c-input
v-model="model.setmod.setfeg.setfel[idx].ogiamt"
disabled
style="width: 200px"
/>
</el-form-item
>
</c-col>
<c-col :span="8">
<el-form-item label="优惠百分比"
>
<c-input v-model="model.setmod.setfeg.setfel[idx].dctrat" >
<template #append>%</template>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Period calculation starting at">
<c-input
v-model="model.setmod.setfeg.setfel[idx].datrefbeg"
disabled/>
</el-form-item
>
</c-col>
</c-col>
<c-col>
<c-col :span="8">
<el-form-item label="付款方">
<c-select
v-model="model.setmod.setfeg.setfel[idx].rol">
<el-option
v-for="item in codes.rol"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠金额">
<c-input
v-model="model.setmod.setfeg.setfel[idx].dctamt"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠后实收费用金额">
<c-input
v-model="model.setmod.setfeg.setfel[idx].amt"/>
</el-form-item>
</c-col>
</c-col>
<c-col>
<el-form-item
:label="idx==0?'Per mile fee depending on duration':
'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.'"
/>
</c-col>
<c-col :span="12">
<c-col v-if="idx==0">
<c-col>
<el-form-item label="千分率">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.ratcal"
style="width: 200px"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最小值">
<c-select
v-model="model.setmod.setfeg.setfel[idx].fecp1.mincur"
style="width: 200px" >
<el-option
v-for="item in codes.mincur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<!-- v-model="model.setmod.setfeg.setfel[idx].fecp1.fec.minamt" -->
<c-input
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.minamt"
/>
<c-input
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.minfcc"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最大值">
<c-select
v-model="model.setmod.setfeg.setfel[idx].fecp1.maxcur"
style="width: 200px" >
<el-option
v-for="item in codes.maxcur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<c-input
style="width: 200px;"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.maxamt"/>
<c-input
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.maxfcc"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item>
<c-checkbox
label="CG000652"
v-model="model.setmod.setfeg.setfel[idx].fecp1.jnwshx"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-else>
<el-form-item label="Amount">
<c-select v-model="model.setmod.setfeg.setfel[idx].wrkfec.ratcur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-input
style="width:200px;"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.untamt "
>
<el-form-item label="千分率">
<c-input v-model="formData.wrkfec.ratcal" style="width: 200px" />
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最小值">
<c-select v-model="formData.wrkfec.mincur" style="width: 200px">
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<!-- v-model="formData.fecp1.fec.minamt" -->
<c-input
style="width: 200px"
v-model="formData.wrkfec.minamt"
/>
<!-- <c-input
style="width: 200px"
v-model="formData.wrkfec.minfcc"
/> -->
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最大值">
<c-select v-model="formData.wrkfec.maxcur" style="width: 200px">
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="销项税">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.taxrat"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="客户属性">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.custyp"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-if="idx==0" :span="12">
<el-form-item label="Caiculation Base">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.calcbs"
disabled
style="width: 200px"
/>
</el-form-item>
<el-form-item label="Calc.Period">
<c-select
v-model="model.setmod.setfeg.setfel[idx].fecp1.pertyp">
<el-option
v-for="item in codes.pertyp"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
<el-form-item label="Min.Periods">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.per"
style="width: 200px"
/>
</el-form-item>
<el-form-item label="Rates to Apply per Period Tier"/>
<el-form-item label="from Perimod">
<c-input
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perbegtr2"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perrattr2"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perbegtr3"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perrattr3"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perbegtr4"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perrattr4"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perbegtr5"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perrattr5"
/>
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
<c-col :span="18" :offset="6">
<el-form-item label="收费的说明信息" >
<c-input
v-model="model.setmod.setfeg.setfel[idx].inftxt"
disabled
rows="10"
type="textarea"
style="width: 500px;"
/>
</el-form-item>
</c-col>
</el-form>
<c-col :span="4" :offset="8">
<c-button type="primary" @click="saveDialog">
确 定
</c-button>
</c-col>
<c-col :span="6" >
<c-button @click="visiable = false">取 消</c-button>
<c-input
style="width: 200px;"
v-model="formData.wrkfec.maxamt"
/>
<!-- <c-input
style="width: 200px"
v-model="formData.wrkfec.maxfcc"
/> -->
</el-form-item>
</c-col>
<c-col>
<el-form-item>
<c-checkbox label="CG000652" v-model="formData.fecp1.jnwshx" />
</el-form-item>
</c-col>
</c-col>
<c-col v-else>
<el-form-item label="Amount">
<c-select v-model="formData.wrkfec.ratcur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-input style="width:200px;" v-model="formData.wrkfec.untamt">
</c-input>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="销项税">
<c-input
v-model="formData.fecp1.taxrat"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="客户属性">
<c-input
v-model="formData.fecp1.custyp"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
</c-col>
</el-dialog>
<c-col v-if="idx == 0" :span="12">
<el-form-item label="Caiculation Base">
<c-input
v-model="formData.wrkfec.calcbs"
disabled
style="width: 200px"
/>
</el-form-item>
<br />
<el-form-item label="Calc.Period">
<c-select v-model="formData.wrkfec.pertyp">
<el-option
v-for="item in codes.pertyp"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
<br />
<el-form-item label="Min.Periods">
<c-input v-model="formData.wrkfec.permin" style="width: 200px" />
</el-form-item>
<br />
<el-form-item label="Rates to Apply per Period Tier" />
<br />
<el-form-item label="from Perimod">
<c-input style="width: 200px" v-model="formData.wrkfec.perbegtr2" />
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="formData.wrkfec.perrattr2"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="formData.wrkfec.perbegtr3"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="formData.wrkfec.perrattr3"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="formData.wrkfec.perbegtr4"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="formData.wrkfec.perrattr4"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="formData.wrkfec.perbegtr5"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="formData.wrkfec.perrattr5"
/>
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
<c-col :span="18" :offset="6">
<el-form-item label="收费的说明信息">
<c-input
v-model="formData.inftxt"
disabled
rows="10"
type="textarea"
style="width: 500px;"
/>
</el-form-item>
</c-col>
</el-form>
<c-col :span="4" :offset="8">
<c-button type="primary" @click="saveDialog">
确 定
</c-button>
</c-col>
<c-col :span="6">
<c-button @click="visiable = false">取 消</c-button>
</c-col>
<c-col>&nbsp;</c-col>
</c-col>
</el-dialog>
</template>
<script>
export default {
props: {
visible: Boolean,
model: Object,
idx: Number,
codes:Object,
},
methods: {
saveDialog() {
this.visiable = false;
},
props: {
model: Object,
idx: Number,
codes: Object,
},
data() {
return {
formData: {},
visiable: false,
};
},
methods: {
saveDialog() {
this.model.setmod.setfeg.setfel[this.idx] = this.formData;
this.visiable = false;
},
computed:{
visiable:{
get:function () {return this.visible;},
set:function (value) {
this.$parent.$parent.dialogVisible2 =value;
}
}
beforeClose(done) {
this.visiable = false;
done()
}
},
};
</script>
<style>
</style>
<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