Commit 007d0b17 by fukai

Merge remote-tracking branch 'origin/develop' into develop

parents 67c711f8 d5dcbfb6
......@@ -45,7 +45,7 @@ const COMMON_NODE_ARR = [
// {key:"rmbbopSh",buildFunc:"buildRmbbop",postFunc:"query2101xid"},
{key:"usrmd",buildFunc:"buildUsrmd",postFunc:"processUsrmd"},
{key:"entmod",buildFunc:"buildEntmod",postFunc:"processEntmod"},
{key:"forexmod",buildFunc:"buildForexmod",postFunc:"processForexmod"},
// {key:"forexmod",buildFunc:"buildForexmod",postFunc:"processForexmod"},
{key:"rmbbop",buildFunc:"buildRmbbop",postFunc:"initRmbbop"},
{key:"cfabop",buildFunc:"buildCfabop",postFunc:"initCfabop"},
{key:"jshmod",buildFunc:"buildJshmod",postFunc:"initJshmod"},
......
......@@ -225,6 +225,8 @@ const Comsel = () => import("./Comsel/views");
const Comcal = () => import("./Comcal/views");
const Infswf = () => import("./Infswf/views");
const Rptsel = () => import("./Rptsel/views");
const Glesel = () => import("./Glesel/views");
const Sgnswt = () => import("./Sgnswt/views");
const Feecon = () => import("./Feecon/views");
const Eafadd = () => import("./Cfa/Eafadd/views/");
const Eafall = () => import("./Cfa/Eafall/views/");
......@@ -569,6 +571,8 @@ const BusRouter = [
{ path: 'comcal', component: Comcal, name: 'Comcal', meta: { keepAlive: true, title: '保函预期收益测算' } },
{ path: 'infswf', component: Infswf, name: 'Infswf', meta: { keepAlive: true, title: '清算来报' } },
{ path: 'rptsel', component: Rptsel, name: 'Rptsel', meta: { keepAlive: true, title: '报表查询' } },
{ path: 'glesel', component: Glesel, name: 'Glesel', meta: { keepAlive: true, title: '账务明细查询' } },
{ path: 'sgnswt', component: Sgnswt, name: 'Sgnswt', meta: { keepAlive: true, title: '手工拟报' } },
{ path: 'feecon', component: Feecon, name: 'Feecon', meta: { keepAlive: true, title: '收费优惠明细查询' } },
{ path: 'fcnopn', component: Fcnopn, name: 'Fcnopn', meta: { keepAlive: true, title: '分离式保函协议签署' } },
{ path: 'fcncan', component: Fcncan, name: 'Fcncan', meta: { keepAlive: true, title: '分离式保函协议注销' } },
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="formSubmit">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small" :model="model">
<el-row>
<c-col :span="8">
<el-form-item :label="$t('statics.账户类型')">
<c-select v-model="model.eastinf" placeholder="请输入账户类型" :isShowKeyAndLabel="true" dbCode="DSPTRM" :isCache="false" style="width: 100%">
<!-- <el-option value="0" label="待核查帐户" />
<el-option value="1" label="国结专户" />
<el-option value="2" label="暂收款项账" />:filterKey="['L','G','C','O']"
<el-option value="3" label="通过Nostro付款" />
<el-option value="4" label="国际结算临时账" /> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('statics.客户号')">
<c-input v-model.trim="model.cliextkey" maxlength="16" :placeholder="$t('other.请输入') + $t('bus.客户号')"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('statics.机构号')">
<c-input v-model.trim="model.branch" maxlength="16" :placeholder="$t('other.请输入') + $t('bus.机构号')"></c-input>
</el-form-item>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<!-- <c-col :span="8">
<el-form-item :label="$t('statics.借贷记方向')">
<c-select v-model="model.dbtcdt" placeholder="请输入借贷记方向" :isShowKeyAndLabel="true" dbCode="DBTCDF" :isCache="false" style="width: 100%">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="8">
<el-form-item :label="$t('components.记账日期')" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.dat1" style="width: 100%" :placeholder="$t('other.请选择') + $t('bus.起始日期')" value-format="yyyy-MM-dd"></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.dat2" style="width: 100%" value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('lc.金额区间')" style="width: 100%">
<c-col :span="11">
<c-input v-model="model.amt1" :placeholder="$t('lc.请输入金额下限')" style="width: 100%"></c-input>
</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-input v-model="model.amt2" :placeholder="$t('lc.请输入金额上限')" style="width: 100%"></c-input>
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<c-col :span="24">
<el-table id='infgidBSTableRef' v-loading="load" :data="tableData" style="width:100%" size="small" height="500px" :highlight-current-row="true" :border="true">
<el-table-column :label="$t('bus.账户类型')" prop="eastinf" width="200" fixed="left" align="left">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.eastinf" dbCode="DSPTRM"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column :label="$t('bus.关联业务编号')" prop="ownref" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.币种')" prop="cur" align="left" width="100">
</el-table-column>
<el-table-column :label="$t('bus.金额')" prop="amt" align="left" width="100">
<template slot-scope="scope">
<span> {{moneyFormat(scope.row.amt, scope.row.cur) }}
</span>
</template>
</el-table-column>
<el-table-column :label="$t('bus.记账时间')" prop="bucdat" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.客户号')" prop="cliextkey" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.客户名称')" prop="nam" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.机构号')" prop="branch" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.机构名称')" prop="bchname" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.借贷记方向')" prop="dbtcdt" align="left">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.dbtcdt" dbCode="DBTCDF"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column :label="$t('bus.账号')" prop="peeact" align="left" width="200">
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" :page-size="pagination.pageSize" :current-page="pagination.pageNum" @size-change="handleSizeChange" @current-change="currentChange">
</el-pagination>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from '~/service/Api';
import Utils from "~/utils"
export default {
data() {
return {
activeTab: 'bs',
load: false,
pagination: {
pageNum: 1,
pageSize: 10,
total: 0
},
model: {
cod: null
},
tableData: []
};
},
created() {
// this.handleSearch()
},
methods: {
//查询列表
async handleSearch() {
//查询接口
this.load = true;
const res = await Api.post('/webapi/public/glesel/list', this.model);
if (res.respCode === SUCCESS) {
this.tableData = res.data.list;
this.pagination.total = parseInt(res.data.total) || 0;
}
this.load = false;
},
formSubmit() {
this.handleSearch();
},
handleReset() {
this.model.seaownref = ""
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
async currentChange(num) {
this.pagination.pageNum = num;
this.handleSearch();
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="$t('statics.账务明细查询')">
<el-form ref="modelForm" label-width="120px" label-position="right" size="small">
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane :label="$t('statics.查询')" name="infsea">
<c-content>
<m-infsea ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "Glesel",
components: {
"m-infsea": Infsea,
},
data() {
return {
tabVal: "infsea",
};
},
};
</script>
<style></style>
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import operationFunc from '../../../../mixin/operationFunc';
export default {
mixins: [commonFunctions, operationFunc],
methods: {
formSubmit() {
this.handleSearch();
},
currentChange(num) {
this.pagination.pageNum = num;
this.formSubmit();
},
handleSearch() {
// 前端检验
this.$refs["limp0Form"].validate((valid) => {
if (valid) {
const loading = this.loading();
Api.post("/webapi/business/inflsb/queryInflsb", {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize
}).then(rtnmsg => {
loading.close();
if (rtnmsg.respCode == SUCCESS) {
this.feptableData = rtnmsg.data;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
}
})
} else {
// 前端校验失败
this.$notify({
title: this.$t('bus.失败'),
message: this.$t('bus.校验失败'),
type: 'error',
});
return false;
}
});
},
async handleSearch1() {
// 前端检验
this.$refs["limp1Form"].validate((valid) => {
if (valid) {
const loading = this.loading();
Api.post("/webapi/business/inflsb/queryInflsb1", {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize
}).then(rtnmsg => {
loading.close();
if (rtnmsg.respCode == SUCCESS) {
this.feptableData1 = rtnmsg.data;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
}
})
} else {
// 前端校验失败
this.$notify({
title: this.$t('bus.失败'),
message: this.$t('bus.校验失败'),
type: 'error',
});
return false;
}
});
},
async handleSearch2() {
const loading = this.loading();
let rtnmsg = await Api.post("/webapi/business/inflsb/queryInflsb2", {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize
});
if (rtnmsg.respCode == SUCCESS) {
this.feptableData2 = rtnmsg.data;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
}
loading.close();
},
// 获取记账机构下拉列表
async queryOrgList() {
const loading = this.loading();
let res = await Api.post('/webapi/business/userinfo/user/getAccBchList', {
bchkeyinr: this.model.limpan.branch
});
loading.close();
if (res.respCode === SUCCESS) {
this.model.markOrgList = res.data;
if (this.model.markOrgList.length == 1) {
this.model.limpan.branch = this.model.markOrgList[0].inr;
}
}
},
onLimsta(){
let modifyList = this.model.limpan.modifySet
if (!modifyList || (!!modifyList && !modifyList.includes('limpan.limsta'))) {
this.model.limpan.limsta = '01'
}
},
onPtytyp(){
if(this.model.limpan.ptytyp == '1'){
this.model.limpan.swiftno=""
}
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.branch']);
})
},
onPtynam(){
const loading = this.loading();
Api.post("/webapi/business/inflsb/queryNam", {...this.model}).then(rtnmsg => {
loading.close();
if (rtnmsg.respCode == SUCCESS) {
this.model.limpan.ptyname = rtnmsg.data;
}
})
},
onExtkey(){
this.onPtynam(),
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.ownref','limpan.swiftno']);
})
},
onOwnref(){
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.extkey','limpan.swiftno']);
})
},
onSwifino(){
this.onPtynam(),
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.extkey','limpan.ownref']);
})
}
}
};
/**
* inflsb Check规则
*/
export default {
data(){
return {
rules:{
"limpan.gjownref": [
{ required: true, message: this.$t('bus.必输项') }
],
"limpan.ptytyp": [
{ required: true, message: this.$t('bus.必输项') }
],
"limpan.nonrevflg": [
{ required: true, message: this.$t('bus.必输项') }
],
"limpan.branch": [
{
validator: (rule, value, callback) => {
if (this.model.limpan.ptytyp=='1') {
if (!this.model.limpan.branch) {
callback(new Error('必输项'))
} else {
callback()
}
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
"limpan.extkey": [
{
validator: (rule, value, callback) => {
if ((this.model.limpan.ptytyp == '1' && !this.model.limpan.extkey && !this.model.limpan.ownref) || (this.model.limpan.ptytyp == '2' && !this.model.limpan.extkey && !this.model.limpan.ownref && !this.model.limpan.swiftno)) {
callback(new Error('必输项'))
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
"limpan.swiftno": [
{
validator: (rule, value, callback) => {
if (this.model.limpan.ptytyp == '2' && !this.model.limpan.extkey && !this.model.limpan.ownref && !this.model.limpan.swiftno) {
callback(new Error('必输项'))
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
"limpan.ownref": [
{
validator: (rule, value, callback) => {
if (!!this.model.limpan.ptytyp && !this.model.limpan.extkey && !this.model.limpan.ownref && !this.model.limpan.swiftno) {
callback(new Error('必输项'))
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
}
}
}
}
export default class Sgnswt {
constructor() {
this.data = {
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<iframe style="width: 100%;min-height: 700px;height: 98%;" src="http://114.115.138.98:8334/swifteditor#/entry/admin" frameborder="0"></iframe>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [event],
data() {
return {
}
},
computed: {
},
methods: {
},
mounted() {
},
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page :title="$t('bus.手工拟报')">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :label="$t('bus.手工拟报')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Sgnswt from "../model";
import Ovwp from "./Ovwp";
import event from "../event";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
export default {
name: "sgnswt",
components: {
"m-ovwp": Ovwp,
},
provide() {
return {
root: this,
activeNames: ["ovwp"]
};
},
mixins: [operationFunc, event, commonDepend],
data() {
return {
tabVal: "ovwp",
trnName: "sgnswt",
model: new Sgnswt().data,
codes: {
...CodeTable
},
};
},
methods:{
},
};
</script>
<style scoped>
.eContainer {
padding-top: 20px !important;
}
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Utils from "~/utils"
/**
* Batchg Check规则
*/
let checkObj = {
"batp.refback" :null,
"batp.ptpmod.pty.extkey" :null,
"batp.ref" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Batchg Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSel(){
let rtnmsg = await this.executeRule("sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onReset(){
let rtnmsg = await this.executeRule("reset")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBatpJmpbat(){
let rtnmsg = await this.executeRule("batp.jmpbat")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBatpAllcck(){
let rtnmsg = await this.executeRule("batp.allcck")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBatpClrchk(){
let rtnmsg = await this.executeRule("batp.clrchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"batp.dat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"batp.datd":[
{type: "date", required: false, message: "输入正确的日期"}
],
"batp.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"batp.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"batp.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"batp.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"batp.refback":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"batp.inf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
<template>
<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">
<!--batp PD000000 批量记账主面板 -->
<el-tab-pane :label="$t('batp.PD000000')" name="batmainp">
<m-batmainp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-batmainp :model="model" :codes="codes" ref="batmainp"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Batchg from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Batmainp from "./Batmainp"
import CodeTable from "~/config/CodeTable";
import Batchg from "../model";
import event from "../event"
import Batmainp from "./Batmainp.vue"
export default {
name: "Batchg",
components:{
"m-batmainp" : Batmainp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "batmainp",
trnName: "batchg",
trnType: "",
model: new Batchg().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
codes:{...CodeTable},
};
},
created:async function(){
console.log("进入batchg交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
methods:{},
created:async function() {},
};
</script>
<style>
<style scoped>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Utils from "~/utils"
/**
* Oftame Check规则
*/
let checkObj = {
"oftp.ptpmod.pty.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Oftame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpSer1(){
let rtnmsg = await this.executeRule("oftp.ser1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpClr(){
let rtnmsg = await this.executeRule("oftp.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpCalsub(){
let rtnmsg = await this.executeRule("oftp.calsub")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpMankpa(){
let rtnmsg = await this.executeRule("oftp.mankpa")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpBatchacc(){
let rtnmsg = await this.executeRule("oftp.batchacc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpPagechk(){
let rtnmsg = await this.executeRule("oftp.pagechk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpCalchk(){
let rtnmsg = await this.executeRule("oftp.calchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"oftp.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.valdats":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.valdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.amtu":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.othref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.inf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.offdatbeg":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.offdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.opusr":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.offrsn":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
<template>
<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">
<!--oftp PD000058 人工勾销修改页面oftame -->
<el-tab-pane :label="$t('oftp.PD000058')" name="oftp2">
<m-oftp2 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-oftp2 :model="model" :codes="codes" ref="oftp2"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Oftame from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Oftp2 from "./Oftp2"
import CodeTable from "~/config/CodeTable";
import Oftame from "../model";
import event from "../event"
import Oftp2 from "./Oftp2.vue"
export default {
name: "Oftame",
components:{
"m-oftp2" : Oftp2,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "oftp2",
trnName: "oftame",
trnType: "",
model: new Oftame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
kpatyp:CodeTable.kpatyp,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
gpicod:CodeTable.gpicod,
offtyp:CodeTable.offtyp,
fmssta:CodeTable.fmssta,
clrsys:CodeTable.clrsys,
stacod:CodeTable.stacod,
recsta:CodeTable.recsta,
bnksta:CodeTable.bnksta,
gpista:CodeTable.gpista,
kpadir:CodeTable.kpadir,
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
rspsta:CodeTable.rspsta,
sta:CodeTable.sta,
actsta:CodeTable.actsta,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
dircod:CodeTable.dircod,
kpstyp:CodeTable.kpstyp,
dcflg:CodeTable.dcflg,
msgtyp:CodeTable.msgtyp,
chncod:CodeTable.chncod,
msgsta:CodeTable.msgsta,
usratr:CodeTable.usratr,
msgchksta:CodeTable.msgchksta,
setmth:CodeTable.setmth,
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
codes:{...CodeTable},
};
},
created:async function(){
console.log("进入oftame交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
methods:{},
created:async function() {},
};
</script>
<style>
<style scoped>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Utils from "~/utils"
/**
* Smdsel Check规则
*/
let checkObj = {
"smdp.smdsup.ptpmod.pty.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Smdsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRtn(){
let rtnmsg = await this.executeRule("rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupAllchk(){
let rtnmsg = await this.executeRule("smdsup.allchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupOpp(){
let rtnmsg = await this.executeRule("smdsup.opp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupPaglok(){
let rtnmsg = await this.executeRule("smdsup.paglok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupMsglok(){
let rtnmsg = await this.executeRule("smdsup.msglok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupSel(){
let rtnmsg = await this.executeRule("smdsup.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupClr(){
let rtnmsg = await this.executeRule("smdsup.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"smdp.smdsup.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.ptpmod.pty.chnnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.act":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.begamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"smdp.smdsup.endamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"smdp.smdsup.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdgrp.smdsub.smd.othref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.begrevdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.endrevdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.begdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.enddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdgrp.smdsub.smd.busflg":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.accdatbeg":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.accdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.inf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
......@@ -11,13 +11,9 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Smdsel from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Smdp01 from "./Smdp01"
......
......@@ -148,7 +148,7 @@
v-model="model.boprem.dbbgrp.dcl.txcode"
label="交易编码"
prop="boprem.dbbgrp.dcl.txcode"
:required="true"
:required="false"
placeholder="请输入交易编码"
></c-business-code>
</c-col>
......
......@@ -100,7 +100,7 @@
v-model="model.boprem.dbbgrp.dcl.txcode"
label="交易编码"
prop="boprem.dbbgrp.dcl.txcode"
:required="true"
:required="false"
placeholder="请输入交易编码"
></c-business-code>
</c-col>
......
......@@ -86,12 +86,12 @@
<el-collapse-item :title="$t('commonCollapse.统一名单')" name="usrmd">
<m-usrmd :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item :title="$t('commonCollapse.企业名录')" name="entmod" v-if="model.entmod.visflg == 'X'">
<!-- <el-collapse-item :title="$t('commonCollapse.企业名录')" name="entmod" v-if="model.entmod.visflg == 'X'">
<m-entmod :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item :title="$t('commonCollapse.外汇展业')" name="forexmod">
<m-forexmod :codes="codes" :model="model" />
</el-collapse-item>
</el-collapse-item> -->
</c-collapse>
</div>
</c-content>
......
......@@ -145,7 +145,7 @@
v-model="model.boprem.dbbgrp.dcl.txcode"
label="交易编码"
prop="boprem.dbbgrp.dcl.txcode"
:required="true"
:required="false"
placeholder="请输入交易编码"
></c-business-code>
</c-col>
......
......@@ -177,7 +177,7 @@
v-model="model.boprem.dbbgrp.dcl.txcode"
label="交易编码"
prop="boprem.dbbgrp.dcl.txcode"
:required="true"
:required="false"
placeholder="请输入交易编码"
></c-business-code>
</c-col>
......
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