Commit 6b2f0f89 by zhengxiaokui

public

parent 73f89b65
...@@ -27,4 +27,8 @@ export default { ...@@ -27,4 +27,8 @@ export default {
.e-table-wrapper .el-table { .e-table-wrapper .el-table {
flex:1; flex:1;
} }
.el-input__count{
right: 1px !important;
}
</style> </style>
...@@ -13,7 +13,7 @@ export default { ...@@ -13,7 +13,7 @@ export default {
return Api.post(this.declareParams.trnName + "/init", { params }) return Api.post(this.declareParams.trnName + "/init", { params })
}, },
save(params) { save(params) {
return Api.post(this.declareParams.trnName + "saveData", this.wrapper(params)) return Api.post(this.declareParams.trnName + "/saveData", this.wrapper(params))
}, },
executeCheck(rulePath,params){ executeCheck(rulePath,params){
return Api.post(this.declareParams.trnName+"/executeCheck/"+rulePath, this.wrapper(params)) return Api.post(this.declareParams.trnName+"/executeCheck/"+rulePath, this.wrapper(params))
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils/index"
export default { export default {
async onAcctagButtxmsel() { async onAcctagButtxmsel() {
let rtnmsg = await this.executeRule("acctag.buttxmsel") let rtnmsg = await this.executeRule("acctag.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
...@@ -102,6 +100,21 @@ export default { ...@@ -102,6 +100,21 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); 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() { async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1") let rtnmsg = await this.executeRule("limpts.get1")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
{ max: 3, message: "长度不能超过3" } { max: 3, message: "长度不能超过3" }
], ],
"didgrp.cbs.opn1.amt": [ "didgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
], ],
"bddgrp.cbs.max.amt": [ "bddgrp.cbs.max.amt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
{ max: 3, message: "长度不能超过3" } { max: 3, message: "长度不能超过3" }
], ],
"bddgrp.cbs.opn1.amt": [ "bddgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
], ],
"setmod.docamt": [ "setmod.docamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
], ],
"aamset.utlamt": [ "aamset.utlamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"aamset.utlamt2": [ "aamset.utlamt2": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -278,7 +278,7 @@ export default { ...@@ -278,7 +278,7 @@ export default {
], ],
"liaall.outamt": [ "liaall.outamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -291,19 +291,19 @@ export default { ...@@ -291,19 +291,19 @@ export default {
{ max: 3, message: "长度不能超过3" } { max: 3, message: "长度不能超过3" }
], ],
"liaall.misamt": [ "liaall.misamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.exttotoldamt": [ "liaall.exttotoldamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.exttotamt": [ "liaall.exttotamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -312,7 +312,7 @@ export default { ...@@ -312,7 +312,7 @@ export default {
{ max: 3, message: "长度不能超过3" } { max: 3, message: "长度不能超过3" }
], ],
"liaall.liaccv.newamt": [ "liaall.liaccv.newamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -321,7 +321,7 @@ export default { ...@@ -321,7 +321,7 @@ export default {
{ max: 5, message: "长度不能超过5" } { max: 5, message: "长度不能超过5" }
], ],
"liaall.liaccv.newresamt": [ "liaall.liaccv.newresamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -331,7 +331,7 @@ export default { ...@@ -331,7 +331,7 @@ export default {
], ],
"liaall.liaccv.pctresamt": [ "liaall.liaccv.pctresamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -339,7 +339,7 @@ export default { ...@@ -339,7 +339,7 @@ export default {
"liaall.liaccv.totcovamt": [ "liaall.liaccv.totcovamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -437,7 +437,7 @@ export default { ...@@ -437,7 +437,7 @@ export default {
], ],
"liaall.limmod.comamt": [ "liaall.limmod.comamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -450,7 +450,7 @@ export default { ...@@ -450,7 +450,7 @@ export default {
{ max: 40, message: "长度不能超过40" } { max: 40, message: "长度不能超过40" }
], ],
"liaall.limmod.ccvamt": [ "liaall.limmod.ccvamt": [
{ type: "number", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="ECIFNO" prop="liaall.limmod.ecifno"> <c-col :span="18">
<c-input
v-model="model.liaall.limmod.ecifno"
maxlength="22"
placeholder="请输入ECIFNO"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span
v-text="model.liaall.limmod.limpts.wrklab"
data-path=".liaall.limmod.limpts.wrklab"
>
</span>
</c-col>
<c-col :span="12">
<span
v-text="model.liaall.limmod.limpts.othlab"
data-path=".liaall.limmod.limpts.othlab"
>
</span>
</c-col>
<c-col :span="12">
<span
v-text="model.liaall.limmod.limpts.othlabss"
data-path=".liaall.limmod.limpts.othlabss"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.liaall.limmod.wrkp.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="liaall.limmod.othp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item <el-form-item
label="External Key of Address" label="国内信用证项下开证授信额度:"
prop="liaall.limmod.limpts.wrk.pts.extkey" prop="liaall.limmod.limpts.wrk.pts.extkey"
> >
<c-input <c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey" v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
:disabled="true"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="6">
<el-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf"> <div class="button_contains">
<c-input <c-button size="small" type="primary;width:10%" @click="onSeainf"
v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" >i</c-button
placeholder="请输入" >
></c-input> <c-button
</el-form-item> size="small"
</c-col> type="primary"
icon="el-icon-search"
<c-col :span="12"> @click="onPreperButtxmsel"
<c-button size="small" type="primary" @click="onWrkpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="liaall.limmod.limpts.oth.pts.extkey"
> >
<c-input
v-model="model.liaall.limmod.limpts.oth.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="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input
v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details Details
</c-button> </c-button>
</div>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt"> <el-form-item label="" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Name of Party"
prop="liaall.limmod.limpts.wrk.pts.nam"
>
<c-input <c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam" v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="40" maxlength="16"
placeholder="请输入Name of Party" placeholder=""
></c-input> :disabled="true"
</el-form-item> style="width: 90%"
</c-col>
<c-col :span="12">
<el-form-item
label="Name of Party"
prop="liaall.limmod.limpts.oth.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="18">
<el-form-item <el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
label="Flag to Mark Non-revolving Limits"
prop="liaall.limmod.limpts.nonrevflg1"
>
<c-select <c-select
v-model="model.liaall.limmod.limpts.nonrevflg1" v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%" style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits" 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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="6">
<div class="button_contains">
<c-button size="small" type="primary" @click="onLimptsGet1"> <c-button size="small" type="primary" @click="onLimptsGet1">
查询 查询
</c-button> </c-button>
</div>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item <el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
label="Flag to Mark Non-revolving Limits" <c-input
prop="liaall.limmod.limpts.nonrevflg2" v-model="model.liaall.limmod.limpts.pfcod1"
> maxlength="14"
<c-select placeholder="请输入合同流水号"
v-model="model.liaall.limmod.limpts.nonrevflg2" :disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%" style="width: 55%"
placeholder="请选择Flag to Mark Non-revolving Limits" ></c-input>
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
查询
</c-button>
</c-col> </c-col>
<!-- ========================右边======================= -->
<c-col :span="12"> <c-col :span="12">
<span <c-col :span="24">
v-text="model.liaall.limmod.limpts.lsh" <el-form-item label="业务编号" prop="liaall.limmod.ownref">
data-path=".liaall.limmod.limpts.lsh" <c-input
> v-model="model.liaall.limmod.ownref"
</span> maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1"> <el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input <c-input
v-model="model.liaall.limmod.limpts.pfcod1" v-model="model.liaall.limmod.comamt"
maxlength="14" placeholder="请输入业务余额"
placeholder="请输入合同流�'号" :disabled="true"
style="width: 70%"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2"> <el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input <c-input
v-model="model.liaall.limmod.limpts.pfcod2" v-model="model.liaall.limmod.ccvamt"
maxlength="14" placeholder="请输入保证金余额"
placeholder="请输入合同流�'号" :disabled="true"
style="width: 70%"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="22" :offset="1">
<c-button size="small" type="primary" @click="onLimmodTrycal"> <c-table style="text-align: center" :data="tableData" :border="true">
试算 <el-table-column label="可否串用" width="auto"> </el-table-column>
</c-button> -->
<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> </c-col>
</div> </div>
</template> </template>
...@@ -254,11 +148,24 @@ export default { ...@@ -254,11 +148,24 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
return {}; return {
tableData: {},
};
},
methods: {
...Event,
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = "";
}
},
}, },
methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
<style> <style>
.button_contains {
display: flex;
text-align: center;
}
</style> </style>
...@@ -27,12 +27,12 @@ ...@@ -27,12 +27,12 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" :event="Event" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan"> <el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" /> <m-ccvpan :model="model" :codes="codes" :event="Event" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="帐务" name="setpan"> <el-tab-pane label="帐务" name="setpan">
...@@ -72,14 +72,19 @@ import Payp from "./Payp"; ...@@ -72,14 +72,19 @@ import Payp from "./Payp";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Docpre from "./Docpre"; import Docpre from "./Docpre";
import Shpdet from "./Shpdet"; import Shpdet from "./Shpdet";
import Engp from "./Engp"; //import Engp from "./Engp";
import Ccvpan from "./Ccvpan"; //import Ccvpan from "./Ccvpan";
import Coninfp from "./Coninfp"; //import Coninfp from "./Coninfp";
import Limitbody from "./Limitbody"; import Limitbody from "./Limitbody";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan"; 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 { export default {
components: { components: {
...@@ -105,10 +110,12 @@ export default { ...@@ -105,10 +110,12 @@ export default {
data() { data() {
return { return {
initPane: "payp", initPane: "payp",
trnName: "bdtudp",
model: new Bdtudp().data, model: new Bdtudp().data,
defaultRule: Default, defaultRule: Default,
rules: Pattern, rules: Pattern,
codes: {}, Event: { ...Event },
codes: { ...CodeTable },
}; };
}, },
methods: { methods: {
......
<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>
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
}; };
}, },
watch: {}, watch: {},
methods: { ...Event }, //methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
}; };
}, },
watch: {}, watch: {},
methods: { ...Event }, // methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
......
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