Commit 0ef851dd by 李少勇

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents 1e589693 0302ff7c
......@@ -701,6 +701,3 @@ i.el-select__caret.el-input__icon.el-icon-circle-close {
width: 780px;
}
}
.pl8 {
padding-left: 8px;
}
\ No newline at end of file
......@@ -89,17 +89,6 @@ export default {
},
handleSelectionChange(val){
this.multipleSelection = val;
},
addClick(){
this.addDialogVisiable = true;
},
handleClose(){
this.addDialogVisiable = false;
},
handleOn(){
this.addDialogVisiable = false;
}
},
};
......@@ -6,67 +6,35 @@
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="起始日期" prop="rcvdatsta" style="width: 100%">
<c-date-picker
type="date"
v-model="model.sxfp.stadat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="截止日期" prop="rcvdatsta" style="width: 100%">
<c-date-picker
type="date"
v-model="model.sxfp.enddat"
style="width: 100%"
></c-date-picker>
<el-form-item label="日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.sxfp.stadat" style="width: 100%"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.sxfp.enddat" style="width: 100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> </el-row>
<el-row v-show="searchSlot.searchToggle">
</el-row>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 2px; margin-bottom: 1px">
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0"
type="primary"
@click="addClick()"
>{{ $t("public.新增") }}
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
type="primary" >{{ $t('public.归档') }}
</c-button>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>{{ $t("public.分摊明细") }}
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
style="margin-left: 20" type="primary">ReRouting
</c-button>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>{{ $t("public.文件详情") }}
</c-button>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>
{{ $t("public.导出") }}
</c-button>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>{{ $t("public.单笔分摊明细") }}
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
{{ $t('public.导出Excel') }}
</c-button>
</el-col>
......@@ -75,96 +43,25 @@
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="手续费管理" name="fb">
<el-table
:data="stmData.data"
:columns="stmData.columns"
v-loading="load"
style="width: 100%"
@selection-change="handleSelectionChange"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
>
<!-- <el-table-column type="selection" width="55"> </el-table-column> -->
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
>
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55">
</el-table-column>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width">
</el-table-column>
</el-table>
<el-pagination
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
<el-dialog v-dialogDrag width="20%" height=“30%” title="手续费添加页面" v-if="addDialogVisiable" :visible.sync="addDialogVisiable" :before-close="handleClose">
<div>
<span>
<el-form ref="modelForm" :model="model" :rules="polrules" >
<el-row>
<c-col :span="24">
<el-form-item label="手续费起始日期" prop="rcvdatsta" style="width: 100%">
<!-- <c-date-picker
type="date"
v-model="model.rcvdatsta"
style="width: 50%"
></c-date-picker> -->
<c-input v-model="model.remark"></c-input>
</el-form-item>
</c-col>
</el-row>
<div style="display:inline;margin-top:20px">
<el-form-item label="手续费截止日期" prop="rcvdatsta" >
<!-- <c-date-picker
type="date"
size=“small”
v-model="model.rcvdatsta"
></c-date-picker> -->
<c-input v-model="model.remark"></c-input>
</el-form-item>
</div>
<el-form-item label="金额" prop="remark" style="margin-top:20px">
<c-input v-model="model.remark" placeholder="请输入金额"></c-input>
</el-form-item>
</el-form>
</span>
</div>
<span slot="footer">
<el-button @click="handleClose">取 消</el-button>
<el-button type="primary" @click="handleOn">确 定</el-button>
</span>
</el-dialog>
<!-- -->
<!-- 分摊明细弹出框 -->
<el-dialog :visible.sync="dialogVisible" title="导入日志信息">
<el-table :data="tableData">
<el-table-column label="交易类型" prop="objtyp"></el-table-column>
<el-table-column label="错误行数" prop="linnum"></el-table-column>
<el-table-column label="错误详情" prop="errdet"></el-table-column>
<el-table-column label="导入时间" prop="impdat"></el-table-column>
<el-table-column label="文件名称" prop="filnam"></el-table-column>
</el-table>
<div slot="footer">
<el-button type="primary" @click="modify">确定</el-button>
<el-button @click="closeDialogOpen">返回</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
......@@ -176,39 +73,32 @@ export default {
mixins: [event],
data() {
return {
activeTab: "fb",
activeTab: 'fb',
load: false,
subtypCodes: [],
addDialogVisiable:false,
multipleSelection: [],
multipleSelection:[],
stmData: {
columns: [
{
label: "创建时间",
prop: "sta",
width: "120px",
},
{
label: "金额",
prop: "amt",
width: "120px",
},
{
label: "计费开始日期",
prop: "stadat",
width: "120px",
},
{
label: "计费截止日期",
prop: "enddat",
width: "120px",
},
{
label: "处理状态",
prop: "enddat",
width: "120px",
},
],
{
label: "状态",
prop: "sta",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "手续费创建起始日期",
prop: "stadat",
width: "120px"
},
{
label: "手续费创建截止日期",
prop: "enddat",
width: "120px"
}],
data: [],
},
pagination: {
......@@ -218,18 +108,18 @@ export default {
},
};
},
computed: {
isFoldDisable: function () {
computed:{
isFoldDisable: function(){
return this.multipleSelection.length == 0;
},
isRoutingDisable: function () {
} ,
isRoutingDisable:function(){
return this.multipleSelection.length == 0;
},
}
},
methods: {
},
mounted: function () {},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
......
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onA53pDet(){
let rtnmsg = await this.executeRule("a53p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB53pDet(){
let rtnmsg = await this.executeRule("b53p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInipDet(){
let rtnmsg = await this.executeRule("inip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB56pDet(){
let rtnmsg = await this.executeRule("b56p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRbcpDet(){
let rtnmsg = await this.executeRule("rbcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOwcpDet(){
let rtnmsg = await this.executeRule("owcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onA58pDet(){
let rtnmsg = await this.executeRule("a58p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB58pDet(){
let rtnmsg = await this.executeRule("b58p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api";
export default {
methods: {
},
};
export default {
"ftt320l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
import Utils from "~/utils"
/**
* Fttfcm Check规则
*/
let checkObj = {
"fttp.mt32m.s30x" :null,
"fttp.mt32m.ini.pts.extkey" :null,
"fttp.mt32m.b58.pts.extkey" :null,
"fttp.mt32m.a58.pts.extkey" :null,
"fttp.mt32m.owc.pts.adrblk" :null,
"fttp.mt32m.conref" :null,
"fttp.mt32m.b53.pts.extkey" :null,
"fttp.mt32m.b58.pts.adrblk" :null,
"fttp.mt32m.b56.pts.extkey" :null,
"fttp.mt32m.rbc.pts.adrblk" :null,
"fttp.mt32m.owc.pts.extkey" :null,
"fttp.mt32m.rbc.pts.extkey" :null,
"fttp.mt32m.a53.pts.extkey" :null,
"fttp.mt32m.a58.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"fttp.mt32m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.conno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.rbc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.rbc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.s30x":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fttp.mt32m.a58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.a58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"relref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"narblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftt199l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"ftt299l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
/**
* Fttfcm Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"fttp.mt32m.owc.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a53.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.b53.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.owc.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.rbc.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.ini.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.owc.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.b56.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.rbc.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.a58.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a58.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.rbc.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.b58.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.s22b" :Utils.defaultFunction,
"fttp.mt32m.b58.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a58.pts.extkey" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"fttp.mt32m.b58.pts.extkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
export default {
"ftt320l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"fttp.mt32m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.conno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.rbc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.rbc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.s30x":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fttp.mt32m.a58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.a58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"relref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"narblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftt199l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"ftt299l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfcm{
constructor () {
this.data = {
ftt320l1blk:"", // XMLPanel ftt320l1的内置block .ftt320l1blk
fttp:{
mt32m:{
s22a:"", // MT320 :22A .fttp.mt32m.s22a
s94a:"", // MT320 :94A .fttp.mt32m.s94a
s22b:"", // MT320 :22B .fttp.mt32m.s22b
conref:"", // new datafield .fttp.mt32m.conref
conno:"", // new datafield .fttp.mt32m.conno
s17r:"", // MT320 :17R .fttp.mt32m.s17r
s30x:"", // Next Interest Due Date .fttp.mt32m.s30x
a53:{
pts:new Pts().data,
},
a53p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.a53p.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.a53p.ptsget.sdamod.seainf
},
},
},
ini:{
pts:new Pts().data,
},
inip:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.inip.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.inip.ptsget.sdamod.seainf
},
},
},
rbc:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.rbc.dbfadrblkcn
},
rbcp:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.rbcp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.rbcp.ptsget.sdamod.dadsnd
},
},
},
a58:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.a58.dbfadrblkcn
},
a58p:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.a58p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.a58p.ptsget.sdamod.dadsnd
},
},
},
b53:{
pts:new Pts().data,
},
b53p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b53p.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.b53p.ptsget.sdamod.seainf
},
},
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
opndat:"", // 开立日期 .ftdgrp.rec.opndat
valdat:"", // 起息日 .ftdgrp.rec.valdat
matdat:"", // 到期日 .ftdgrp.rec.matdat
rat:"", // 年利率 .ftdgrp.rec.rat
cntfra:"", // 计息方式 .ftdgrp.rec.cntfra
ownusr:"", // 资金部负责人 .ftdgrp.rec.ownusr
usr:"", // 清算中心负责人 .ftdgrp.rec.usr
bnktyp:"", // Bank Type .ftdgrp.rec.bnktyp
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
b56:{
pts:new Pts().data,
ins:{
cur:"", // 利息金额 .ftdgrp.cbs.ins.cur
amt:"", // Balance .ftdgrp.cbs.ins.amt
},
b56p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b56p.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.b56p.ptsget.sdamod.seainf
},
},
blk:{
remark:"", // 备注 .ftdgrp.blk.remark
},
act:{
pts:new Pts().data,
},
},
fttp:{
trop:{
ptsget:{
sdamod:{
seainf:"", // .fttp.trop.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.trop.ptsget.sdamod.dadsnd
},
},
owc:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.owc.dbfadrblkcn
},
owcp:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.owcp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.owcp.ptsget.sdamod.dadsnd
},
},
trip:{
ptsget:{
sdamod:{
seainf:"", // .fttp.trip.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.trip.ptsget.sdamod.dadsnd
},
},
b58:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.b58.dbfadrblkcn
},
troact:"", // Trade-out Account .fttp.troact
triact:"", // 备注 .fttp.triact
usr:{
extkey:"", // User ID .fttp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .fttp.usrget.sdamod.seainf
},
b58p:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.b58p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b58p.ptsget.sdamod.dadsnd
},
},
msgtyp:"", // 报文类型 .fttp.msgtyp
actp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.actp.ptsget.sdamod.dadsnd
seainf:"", // .fttp.actp.ptsget.sdamod.seainf
},
},
a53act:"", // new datafield .fttp.mt32m.a53act
iniact:"", // new datafield .fttp.mt32m.iniact
rbcact:"", // Contract Number(:21N) .fttp.mt32m.rbcact
a58act:"", // new datafield .fttp.mt32m.a58act
b53act:"", // new datafield .fttp.mt32m.b53act
b56act:"", // new datafield .fttp.mt32m.b56act
b58act:"", // new datafield .fttp.mt32m.b58act
owcact:"", // new datafield .fttp.mt32m.owcact
str300:"", // new datafield .fttp.mt32m.str300
},
},
narblk:"", // Narrative .narblk
ftdgrp:{
rec:{
ownref:"", // Reference .ftdgrp.rec.ownref
},
},
relref:"", // Related Reference .relref
ftt199l1blk:"", // XMLPanel ftt199l1的内置block .ftt199l1blk
ftt299l1blk:"", // XMLPanel ftt299l1的内置block .ftt299l1blk
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
}
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt199l1blk的内容" prop="ftt199l1blk">
<c-input type="textarea" v-model="model.ftt199l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-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 "../event/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">
<c-form-item label="ftt299l1blk的内容" prop="ftt299l1blk">
<c-input type="textarea" v-model="model.ftt299l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-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 "../event/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">
<c-form-item label="ftt320l1blk的内容" prop="ftt320l1blk">
<c-input type="textarea" v-model="model.ftt320l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-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 "../event/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-row>
<c-col :span="24">
<!-- S0000008 : Reference -->
<c-col :span="8">
<c-form-item :label="Reference" prop="ftdgrp.rec.ownref">
<c-input
v-model="model.ftdgrp.rec.ownref"
maxlength="16"
:placeholder="please_enter + Reference"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : Related Reference -->
<c-col :span="8">
<c-form-item :label="相关参考号" prop="relref">
<c-input
v-model="model.relref"
maxlength="16"
:placeholder="请输入相关参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : Narrative -->
<c-col :span="8">
<c-form-item :label="描述" prop="narblk">
<c-input
type="textarea"
v-model="model.narblk"
maxlength="35"
show-word-limit
:placeholder="请进行描述"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000010 : Reference -->
<!-- S0000011 : Related Reference -->
<!-- S0000012 : Narrative -->
<el-row>
<c-col :span="24">
<!-- S0000008 : Reference -->
<c-col :span="8">
<c-form-item :label="参考号" prop="ftdgrp.rec.ownref">
<c-input
v-model="model.ftdgrp.rec.ownref"
maxlength="16"
:placeholder="请输入参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : Related Reference -->
<c-col :span="8">
<c-form-item :label="相关参考号" prop="relref">
<c-input
v-model="model.relref"
maxlength="16"
:placeholder="请输入相关参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : Narrative -->
<c-col :span="8">
<c-form-item :label="描述" prop="narblk">
<c-input
type="textarea"
v-model="model.narblk"
maxlength="35"
show-word-limit
:placeholder="请进行描述"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event/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="24">
<!-- ======================左边====================== -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-form-item :label="$t('fttp.资金调拨业务参考号')" prop="ftdgrp.rec.ownref">
<c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"
:placeholder="$t('other.请输入') + $t('fttp.资金调拨业务参考号')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fttp.资金部负责人')" prop="ftdgrp.rec.ownusr">
<c-input v-model="model.ftdgrp.rec.ownusr" maxlength="8"
:placeholder="$t('other.请输入') + $t('fttp.资金部负责人')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fttp.清算中心负责人')" prop="ftdgrp.rec.usr">
<c-input v-model="model.ftdgrp.rec.usr" maxlength="8"
:placeholder="$t('other.请输入') + $t('fttp.清算中心负责人')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.定存拆借类型')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000009 : 定存拆借金额 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fttp.定存拆借金额')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.定存拆借金额币种')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.max.amt">
<c-input v-model="model.ftdgrp.cbs.max.amt" :placeholder="$t('other.请输入') + $t('fttp.定存拆借金额')"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000016 : 开立日期 -->
<c-col :span="24">
<el-form-item :label="$t('fttp.开立日期')" prop="ftdgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ftdgrp.rec.opndat" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.开立日期')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.起息日')" prop="ftdgrp.rec.valdat">
<c-date-picker type="date" v-model="model.ftdgrp.rec.valdat" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.起息日')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.到期日')" prop="ftdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.ftdgrp.rec.matdat" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.到期日')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fttp.年利率')" prop="ftdgrp.rec.rat">
<c-input v-model="model.ftdgrp.rec.rat" :placeholder="$t('other.请输入') + $t('fttp.年利率')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.计息方式')" prop="ftdgrp.rec.cntfra">
<c-select v-model="model.ftdgrp.rec.cntfra" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.计息方式')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item :label="$t('fttp.利息金额')" prop="ftdgrp.cbs.ins.cur">
<c-select v-model="model.ftdgrp.cbs.ins.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.利息金额')">
</c-select>
</c-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.ins.amt">
<c-input v-model="model.ftdgrp.cbs.ins.amt" :placeholder="$t('other.请输入') + '利息金额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.报文类型')" prop="fttp.msgtyp">
<c-select v-model="model.fttp.msgtyp" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.报文类型')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.银行行类别')" prop="ftdgrp.rec.bnktyp">
<c-select v-model="model.ftdgrp.rec.bnktyp" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.银行行类别')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fttp.备注')" prop="ftdgrp.blk.remark">
<c-input type="textarea" v-model="model.ftdgrp.blk.remark" maxlength="35" show-word-limit
:placeholder="$t('other.请输入') + $t('fttp.备注')"></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-form-item :label="$t('fttp.名称')" prop="ftdgrp.rec.nam">
<c-input v-model="model.ftdgrp.rec.nam" maxlength="40"
:placeholder="$t('other.请输入') + $t('fttp.名称')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-form-item label-width="0" prop="fttp.troact">
<c-select v-model="model.fttp.troact" style="width:100%" :placeholder="$t('other.请输入') + '交易账户'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '资金拆出我方账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-form-item label-width="0" prop="fttp.triact">
<c-select v-model="model.fttp.triact" style="width:100%" :placeholder="$t('other.请输入') + $t('fttp.S0000103')">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="资金拆借/存放">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="概要" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fttfcm PD000001 MT320 -->
<el-tab-pane :label="$t('fttfcm.PD000001')" name="ftt320l1">
<m-ftt320l1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000002 MT320 -->
<el-tab-pane :label="$t('fttfcm.PD000002')" name="mt320">
<m-mt320 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000003 MT199 -->
<el-tab-pane :label="$t('fttfcm.PD000003')" name="mt199">
<m-mt199 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000004 MT299 -->
<el-tab-pane :label="$t('fttfcm.PD000004')" name="mt299">
<m-mt299 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000014 MT199 -->
<el-tab-pane :label="$t('fttfcm.PD000014')" name="ftt199l1">
<m-ftt199l1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fttfcm PD000015 MT299 -->
<el-tab-pane :label="$t('fttfcm.PD000015')" name="ftt299l1">
<m-ftt299l1 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fttfcm from "../model"
import Ovwp from "./Ovwp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Ftt320l1 from "./Ftt320l1"
import Mt320 from "./Mt320"
import Mt199 from "./Mt199"
import Mt299 from "./Mt299"
import Ftt199l1 from "./Ftt199l1"
import Ftt299l1 from "./Ftt299l1"
export default {
name: "Fttfcm",
components: {
"m-ovwp": Ovwp,
"m-setpan": Setpan,
"m-docpan": Docpan,
components:{
"m-ftt320l1" : Ftt320l1,
"m-mt320" : Mt320,
"m-mt199" : Mt199,
"m-mt299" : Mt299,
"m-ftt199l1" : Ftt199l1,
"m-ftt299l1" : Ftt299l1,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
tabVal: "ftt320l1",
trnName: "fttfcm",
trnType: "",
model: new Fttfcm().data,
rules: Check,
codes: { ...CodeTable },
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods: {
myTabClick(tab) {
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
created:async function(){
console.log("进入fttfcm交易");
let rtnmsg = {}; // await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style></style>
<style>
</style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTropDet() {
let rtnmsg = await this.executeRule("trop.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTripDet() {
let rtnmsg = await this.executeRule("trip.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
import Utils from "~/utils"
/**
* Fttfcn Check规则
*/
let checkObj = {
"canamt" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.act.pts.extkey" :null,
"ftdgrp.cbs.max.amt" :null,
"ftdgrp.act.pts.adrblk" :null,
"fttp.usr.extkey" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.tro.pts.extkey" :null,
"ftdgrp.rec.fttyp" :null,
"mtabut.clsflg" :null,
}
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.cbs.opn2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"canamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
/**
* Fttfcn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ftdgrp.tri.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.tro.pts.adrblk" :Utils.defaultFunction,
"fttp.usr.extkey" :Utils.defaultFunction,
"ftdgrp.act.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.act.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.extkey" :Utils.defaultFunction,
"ftdgrp.tro.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"ftdgrp.tro.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.act.pts.extkey" :Utils.defaultFunction,
"ftdgrp.cbs.max.cur" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"ftdgrp.rec.fttyp" :Utils.defaultFunction,
"ftdgrp.cbs.max.amt" :Utils.defaultFunction,
"canamt" :Utils.defaultFunction,
"ftdgrp.cbs.opn2.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,8 +2,20 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
async onTropDet(){
let rtnmsg = await this.executeRule("trop.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTripDet(){
let rtnmsg = await this.executeRule("trip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
export default {
"fxdgrp.rec.ownref":[
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.rec.nam":[
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fxdgrp.apl.pts.ref":[
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fxtp.usr.extkey":[
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fxtp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxtp.aplp.ptsget.sdamod.dadsnd":[
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.apl.pts.extkey":[
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxtp.aplp.ptsget.sdamod.seainf":[
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.apl.pts.adrblk":[
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.apl.dbfadrblkcn":[
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.cbs.opn2.cur":[
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.cbs.opn2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.cbs.opn2.amt":[
"ftdgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cancur":[
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
......@@ -59,36 +61,55 @@ export default {
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fxdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fxtp.actp.ptsget.sdamod.dadsnd":[
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.rec.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.act.pts.extkey":[
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxtp.actp.ptsget.sdamod.seainf":[
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.act.pts.adrblk":[
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.act.dbfadrblkcn":[
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.blk.remark":[
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfcn{
constructor () {
this.data = {
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
opn2:{
cur:"", // 待销账金额 .ftdgrp.cbs.opn2.cur
amt:"", // Balance .ftdgrp.cbs.opn2.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
opn2:{
cur:"", // 待销账金额 .ftdgrp.cbs.opn2.cur
amt:"", // Balance .ftdgrp.cbs.opn2.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
fttp:{
usr:{
extkey:"", // 资金部负责人 .fttp.usr.extkey
......@@ -70,10 +69,7 @@ export default class Fttfcn{
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="资金拆借/存放销账">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fttfcn PD000001 Cancellation -->
<el-tab-pane label="销账" name="canp">
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
</c-page>
</div>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fttfcn PD000001 Cancellation -->
<el-tab-pane :label="$t('fttfcn.PD000001')" name="canp">
<m-canp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fttfcn from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Canp from "./Canp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
export default {
name: "Fttfcn",
components: {
"m-canp": Canp,
"m-setpan": Setpan,
"m-docpan": Docpan,
components:{
"m-canp" : Canp,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn], // 里面包含了Default、Check等的公共处理
data() {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "canp",
trnName: "fttfcn",
trnType: "",
model: new Fttfcn().data,
rules: Check,
codes: { ...CodeTable },
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods: {
myTabClick(tab) {
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
created:async function(){
console.log("进入fttfcn交易");
let rtnmsg = {}; // await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style></style>
<style>
</style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTropDet() {
let rtnmsg = await this.executeRule("trop.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTripDet() {
let rtnmsg = await this.executeRule("trip.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
import Utils from "~/utils"
/**
* Fttfmt Check规则
*/
let checkObj = {
"ftdgrp.act.pts.extkey" :null,
"ftdgrp.cbs.max.amt" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.rec.fttyp" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.act.pts.adrblk" :null,
"fttp.usr.extkey" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.tro.pts.extkey" :null,
"mtabut.clsflg" :null,
}
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ftdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"intamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.gzno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
/**
* Fttfmt Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ftdgrp.tri.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.rec.fttyp" :Utils.defaultFunction,
"ftdgrp.tro.pts.adrblk" :Utils.defaultFunction,
"fttp.usr.extkey" :Utils.defaultFunction,
"ftdgrp.act.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.act.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.extkey" :Utils.defaultFunction,
"ftdgrp.tro.pts.extkey" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"ftdgrp.tro.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.act.pts.extkey" :Utils.defaultFunction,
"ftdgrp.cbs.max.cur" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"ftdgrp.cbs.max.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onTropDet(){
let rtnmsg = await this.executeRule("trop.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTripDet(){
let rtnmsg = await this.executeRule("trip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onActpDet(){
let rtnmsg = await this.executeRule("actp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ftdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"intamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.gzno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfmt{
constructor () {
this.data = {
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
matdat:"", // 到期日 .ftdgrp.rec.matdat
rat:"", // 年利率 .ftdgrp.rec.rat
gzno:"", // 挂账编号 .ftdgrp.rec.gzno
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
matdat:"", // 到期日 .ftdgrp.rec.matdat
rat:"", // 年利率 .ftdgrp.rec.rat
gzno:"", // 挂账编号 .ftdgrp.rec.gzno
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
fttp:{
usr:{
extkey:"", // 资金部负责人 .fttp.usr.extkey
......@@ -70,10 +69,7 @@ export default class Fttfmt{
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="资金拆借/存放到期处理">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fttfmt PD000001 Maturity -->
<el-tab-pane label="到期处理" name="matp">
<c-content>
<m-matp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fttfmt PD000001 Maturity -->
<el-tab-pane :label="$t('fttfmt.PD000001')" name="matp">
<m-matp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fttfmt from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Matp from "./Matp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
export default {
name: "Fttfmt",
components: {
"m-matp": Matp,
"m-setpan": Setpan,
"m-docpan": Docpan,
components:{
"m-matp" : Matp,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn], // 里面包含了Default、Check等的公共处理
data() {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "matp",
trnName: "fttfmt",
trnType: "",
model: new Fttfmt().data,
rules: Check,
codes: { ...CodeTable },
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods: {
myTabClick(tab) {
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
created:async function(){
console.log("进入fttfmt交易");
let rtnmsg = {}; // await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style></style>
<style>
</style>
......@@ -33,8 +33,6 @@ const BusRouter = [
},
{ path: 'fxtssb', component: () => import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: '即期结汇交易' }, module: 'Funds' },
{ path: 'fxtsss', component: () => import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: '即期售汇交易' }, module: 'Funds' },
{ path: 'crtcri', component: () => import("./Crtcri/views"), name: 'Crtcri', meta: { title: '汇入清算' }, module: 'Funds' },
{ path: 'crtcro', component: () => import("./Crtcro/views"), name: 'Crtcro', meta: { title: '汇出清算' }, module: 'Funds' },
{ path: 'fxtsqo', component: () => import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' }, module: 'Funds' },
];
export default BusRouter
......@@ -21,21 +21,16 @@ export default {
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
let ptsptaList = [];
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
cbsMap: {},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
},
},
};
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
methods: {
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Fxtlcn Check规则
*/
let checkObj = {
"canamt" :null,
"fxdgrp.apl.pts.adrblk" :null,
"fxtp.usr.extkey" :null,
"fxdgrp.cbs.opn2.amt" :null,
"fxdgrp.act.pts.adrblk" :null,
"fxdgrp.act.pts.extkey" :null,
"fxdgrp.rec.ownref" :null,
"fxdgrp.apl.pts.extkey" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Fxtlcn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"fxdgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"fxtp.usr.extkey" :Utils.defaultFunction,
"fxdgrp.apl.pts.adrblk" :Utils.defaultFunction,
"fxdgrp.act.pts.extkey" :Utils.defaultFunction,
"fxdgrp.rec.fxtyp" :Utils.defaultFunction,
"fxdgrp.apl.pts.extkey" :Utils.defaultFunction,
"fxdgrp.cbs.opn2.amt" :Utils.defaultFunction,
"fxdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"fxdgrp.rec.ownref" :Utils.defaultFunction,
"fxdgrp.act.dbfadrblkcn" :Utils.defaultFunction,
"fxdgrp.act.pts.adrblk" :Utils.defaultFunction,
"fxdgrp.rec.opndat" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Utils from "~/utils"
/**
* Fxtlcn Check规则
*/
export default {
"fxdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"fxdgrp.apl.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"fxtp.usr.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"fxtp.usrget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"fxtp.aplp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxdgrp.apl.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxtp.aplp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"fxdgrp.apl.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"fxdgrp.apl.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"fxdgrp.cbs.opn2.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"fxdgrp.cbs.opn2.amt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cancur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"canamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fxdgrp.rec.opndat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"fxtp.actp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxdgrp.rec.valdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"fxdgrp.act.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxtp.actp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"fxdgrp.act.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"fxdgrp.act.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"fxdgrp.blk.remark": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
]
}
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fxtlcn{
constructor () {
......@@ -61,7 +62,10 @@ export default class Fxtlcn{
},
canamt:"", // Cancel Amount .canamt
cancur:"", // 实际销账金额 .cancur
pageId: "" // ctx的key
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
}
}
}
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="结售汇平盘销账">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fxtlcn PD000001 Cancellation -->
<el-tab-pane :label="$t('fxtlcn.PD000001')" name="canp">
<el-tab-pane label="概要" name="canp">
<m-canp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fxtlcn from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Canp from "./Canp"
import event from "../event";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import buildFn from "../event/buildCommons.js";
import Check from "../model/check";
import Canp from "./Canp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
export default {
name: "Fxtlcn",
components:{
"m-canp" : Canp,
"m-setpan": Setpan,
"m-docpan": Docpan
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [operationFunc, commonDepend, event, buildFn],
data(){
return {
tabVal: "canp",
trnName: "fxtlcn",
trnType: "",
model: new Fxtlcn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
rules: Check,
codes: { ...CodeTable },
}
},
methods:{
......
......@@ -43,7 +43,7 @@ import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/check.js";
import Check from "../model/Check.js";
export default {
name: "Fxtssb",
components: {
......
......@@ -43,7 +43,7 @@ import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import Check from "../model/check.js";
import Check from "../model/Check.js";
import buildFn from "../event/buildCommons.js";
export default {
name: "Fxtsss",
......
......@@ -146,7 +146,7 @@ module.exports = {
configureWebpack: config => {
if (process.env.NODE_ENV !== 'production') {
// 开发环境下的source map配置
// config.devtool = 'source-map';
config.devtool = 'source-map';
}
if (process.env.NODE_ENV === 'production') {
// 将每个依赖包打包成单独的js文件
......
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