Commit 22775a40 by zenghuan

码表修改

parent 64754a9b
......@@ -7,8 +7,8 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="BIC 码" prop="msgtyp" style="width: 100%">
<c-select v-model="model.batp.ptpmod.pty.extkey" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
</c-select>
<c-input v-model="model.batp.ptpmod.pty.extkey" style="width: 100%" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
......@@ -25,15 +25,8 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="借 贷" prop="subtype" style="width: 100%">
<c-select v-model="model.batp.dc" style="width:100%" placeholder="请选择借贷">
<el-option
v-for="item in codes.sdcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
<el-form-item label="借贷" prop="subtype" style="width: 100%">
<c-select v-model="model.batp.dc" style="width:100%" :code="codes.dcflg"/>
</el-form-item>
</c-col>
</c-col>
......@@ -42,20 +35,20 @@
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="币 种" prop="sndbak" style="width: 100%">
<c-input v-model="model.batp.cur" maxlength="40" placeholder="请输入发报行BIC">
</c-input>
<el-form-item label="币种" prop="sndbak" style="width: 100%">
<c-select v-model="model.batp.cur" maxlength="40" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额下限" prop="revbak" style="width: 100%">
<c-input v-model="model.batp.amt" maxlength="40" placeholder="请输入收报行BIC">
<c-input v-model="model.batp.amt" maxlength="40">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额上限" prop="actbic" style="width: 100%">
<c-input v-model="model.batp.amtd" maxlength="40" placeholder="请输入账户行BIC">
<c-input v-model="model.batp.amtd" maxlength="40">
</c-input>
</el-form-item>
</c-col>
......@@ -63,7 +56,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="关联状态" prop="ownref" style="width: 100%">
<c-select v-model="model.batp.sta" style="width:100%" placeholder="请输入关联状态">
<c-select v-model="model.batp.sta" style="width:100%">
<el-option
v-for="item in codes.sta"
:key="item.value"
......@@ -75,7 +68,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="勾销状态" prop="othref" style="width: 100%">
<c-select v-model="model.batp.offsta" style="width:100%" placeholder="请输入关联状态">
<c-select v-model="model.batp.offsta" style="width:100%">
<el-option
v-for="item in codes.offsta"
:key="item.value"
......@@ -87,31 +80,24 @@
</c-col>
<c-col :span="8">
<el-form-item label="记帐状态" prop="cur" style="width: 100%">
<c-select v-model="model.batp.offsta" style="width:100%" placeholder="选择记帐状态">
<el-option
v-for="item in codes.offsta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
<c-select v-model="model.batp.offsta" style="width:100%" :code="codes.recsta"/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="参考号/前" prop="act" style="width: 100%">
<c-input v-model="model.batp.ref" maxlength="16" placeholder="请输入参考号/前"/>
<c-input v-model="model.batp.ref" maxlength="16"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="参考号/后" prop="dtlchg" style="width: 100%">
<c-input v-model="model.batp.refback" maxlength="16" placeholder="请输入参考号/后"/>
<c-input v-model="model.batp.refback" maxlength="16"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="详 情" prop="sta" style="width: 100%">
<c-input v-model="model.batp.inf" style="width: 100%" placeholder="请输入详情"/>
<el-form-item label="详情" prop="sta" style="width: 100%">
<c-input v-model="model.batp.inf" style="width: 100%"/>
</el-form-item>
</c-col>
</c-col>
......@@ -120,10 +106,10 @@
</c-list-search>
<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 :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
type="primary">{{ $t('public.归档') }}
</c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
<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">
......@@ -139,14 +125,15 @@
<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 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"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
......@@ -168,7 +155,7 @@ export default {
activeTab: 'sb',
load: false,
subtypCodes: [],
multipleSelection:[],
multipleSelection: [],
stmData: {
columns: [
{
......@@ -257,11 +244,11 @@ export default {
},
};
},
computed:{
isFoldDisable: function(){
computed: {
isFoldDisable: function () {
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
},
isRoutingDisable: function () {
return this.multipleSelection.length == 0;
}
},
......
......@@ -7,20 +7,19 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="BIC" prop="msgtyp" style="width: 100%">
<c-select v-model="model.ktlp.ptpmod.pty.extkey" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
<c-select v-model="model.ktlp.ptpmod.pty.extkey" style="width: 100%" :code="codes.msgtyp3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="借贷" prop="sndbak" style="width: 100%">
<c-input v-model="model.ktlp.ktpno" maxlength="40" placeholder="请输入发报行BIC">
<c-input v-model="model.ktlp.ktpno" maxlength="40" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="subtype" style="width: 100%">
<c-select v-model="model.ktlp.cur" style="width:100%" >
</c-select>
<c-select v-model="model.ktlp.cur" style="width:100%" :code="codes.cur" />
</el-form-item>
</c-col>
</c-col>
......@@ -30,8 +29,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="记账类型" prop="revbak" style="width: 100%">
<c-input v-model="model.ktlp.ktpno" maxlength="40" placeholder="请输入收报行BIC">
</c-input>
<c-input v-model="model.ktlp.ktpno" maxlength="40" />
</el-form-item>
</c-col>
</c-col>
......
......@@ -7,18 +7,18 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="账户行" prop="msgtyp" style="width: 100%">
<c-select v-model="model.ptpmod.pty.extkey" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
<c-select v-model="model.ptpmod.pty.extkey" style="width: 100%" :code="codes.msgtyp3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="BIC码" prop="rcvdatsta" style="width: 100%">
<c-input v-model="model.dotp.snd.pty.extkey" maxlength="24" placeholder="请输入BIC码"/>
<c-input v-model="model.dotp.snd.pty.extkey" maxlength="24"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="账户" prop="subtype" style="width: 100%">
<c-input v-model="model.dotgrp.rec.acc" maxlength="30" placeholder="请输入账户"/>
<c-input v-model="model.dotgrp.rec.acc" maxlength="30"/>
</el-form-item>
</c-col>
</c-col>
......@@ -28,19 +28,19 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="收报行BIC" prop="sndbak" style="width: 100%">
<c-input v-model="model.dotp.rcv.pty.extkey" maxlength="40" placeholder="请输入发报行BIC">
<c-input v-model="model.dotp.rcv.pty.extkey" maxlength="40">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="revbak" style="width: 100%">
<c-input v-model="model.dotgrp.rec.cur" maxlength="40" placeholder="请输入收报行BIC">
</c-input>
<c-select v-model="model.dotgrp.rec.cur" maxlength="40" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额" prop="actbic" style="width: 100%">
<c-input v-model="model.dotgrp.rec.amt" maxlength="40" placeholder="请输入账户行BIC">
<c-input v-model="model.dotgrp.rec.amt" maxlength="40">
</c-input>
</el-form-item>
</c-col>
......@@ -48,55 +48,41 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="起息日" prop="ownref" style="width: 100%">
<c-date-picker type="date" v-model="model.dotgrp.rec.valdat" style="width:100%" placeholder="请选择起息日"/>
<c-date-picker type="date" v-model="model.dotgrp.rec.valdat" style="width:100%"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收发日期" prop="othref" style="width: 100%">
<c-date-picker type="date" v-model="model.dotgrp.rec.rsptim" style="width:100%" placeholder="请选择起息日"/>
<c-date-picker type="date" v-model="model.dotgrp.rec.rsptim" style="width:100%"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="相关参考号" prop="cur" style="width: 100%">
<c-input v-model="model.dotgrp.rec.othref" maxlength="16" placeholder="输入相关参考号"/>
<c-input v-model="model.dotgrp.rec.othref" maxlength="16"/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="业务标识" prop="act" style="width: 100%">
<c-input v-model="model.dotgrp.rec.busflg" maxlength="4" placeholder="请输入业务标识"/>
<c-input v-model="model.dotgrp.rec.busflg" maxlength="4"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="借贷标记" prop="dtlchg" style="width: 100%">
<c-select v-model="model.dotgrp.rec.dcflg" style="width:100%" placeholder="请选择借贷标记">
<el-option
v-for="item in codes.dcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
<c-select v-model="model.dotgrp.rec.dcflg" style="width:100%" :code="codes.dcflg"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="勾销标志" prop="chnipt" style="width: 100%">
<c-select v-model="model.dotgrp.rec.offsta" style="width:100%" :placeholder="请选择勾销标志">
<el-option
v-for="item in codes.offsta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
<c-select v-model="model.dotgrp.rec.offsta" style="width:100%" :code="codes.offsta"/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="详细信息" prop="sta" style="width: 100%">
<c-input type="textarea" v-model="model.dotgrp.rec.inf" placeholder="请输入详细信息"/>
<c-input type="textarea" v-model="model.dotgrp.rec.inf"/>
</el-form-item>
</c-col>
</c-col>
......
......@@ -296,14 +296,14 @@ export default {
// 把已经选择的 subtyp 重置
this.model.sndp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
if (newTyp === 'mt') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.subtyp1;
this.subtypCodes = codes.cipstyp;
}
},
deep: true
......
......@@ -7,19 +7,21 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标准" prop="" style="width: 100%">
<c-select v-model="model.sndp.msgtyp" style="width: 100%" placeholder="请选择报文标准"
:code="codes.msgtyp"/>
<c-select v-model="model.sndp.msgtyp" style="width: 100%"
:code="codes.msgtyp3"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="" style="width: 100%">
<c-select v-model="model.sndp.subtyp" style="width: 100%" placeholder="请选择报文类型"
:code="codes.subtyp"/>
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" >
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="发报行BIC" prop="" style="width: 100%">
<c-input v-model="model.sndp.sndbak" style="width: 100%" placeholder="请输入发报行BIC"/>
<c-input v-model="model.sndp.sndbak" style="width: 100%" />
</el-form-item>
</c-col>
......@@ -193,6 +195,25 @@ export default {
return this.multipleSelection.length == 0;
}
},
watch: {
'model.sndp.msgtyp': {
handler: function (newTyp, oldTyp) {
// 把已经选择的 subtyp 重置
this.model.sndp.subtyp = '';
const { codes } = this;
if (newTyp === 'mt') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.cipstyp;
}
},
deep: true
}
},
methods: {},
mounted: function () {
},
......
......@@ -296,14 +296,14 @@ export default {
// 把已经选择的 subtyp 重置
this.model.sndp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
if (newTyp === 'mt') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.subtyp1;
this.subtypCodes = codes.cipstyp;
}
},
deep: true
......
......@@ -7,7 +7,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标准" prop="" style="width: 100%">
<c-select v-model="model.msgp.typ" style="width: 100%" placeholder="请选择报文标准" :code="codes.typ"/>
<c-select v-model="model.msgp.typ" style="width: 100%" :code="codes.msgtyp3"/>
</el-form-item>
</c-col>
......
......@@ -7,8 +7,8 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="账户行BIC" prop="msgtyp" style="width: 100%">
<c-select v-model="model.oftp.ptpmod.pty.extkey" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
</c-select>
<c-input v-model="model.oftp.ptpmod.pty.extkey" style="width: 100%" :code="codes.msgtyp3">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
......@@ -25,10 +25,10 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="借 贷" prop="subtype" style="width: 100%">
<c-select v-model="model.oftp.dcflg2" style="width:100%" placeholder="选择借贷">
<el-form-item label="借贷" prop="subtype" style="width: 100%">
<c-select v-model="model.oftp.dcflg2" style="width:100%">
<el-option
v-for="item in codes.sdcflg"
v-for="item in codes.dc"
:key="item.value"
:label="item.label"
:value="item.value">
......@@ -43,7 +43,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="币 种" prop="sndbak" style="width: 100%">
<c-select v-model="model.oftp.cur" style="width:100%" placeholder="请选择币种">
<c-select v-model="model.oftp.cur" style="width:100%">
<el-option
v-for="item in codes.cur"
:key="item.value"
......@@ -55,13 +55,13 @@
</c-col>
<c-col :span="8">
<el-form-item label="金额下限" prop="revbak" style="width: 100%">
<c-input v-model="model.oftp.amtd" maxlength="40" placeholder="请输入收报行BIC">
<c-input v-model="model.oftp.amtd" maxlength="40">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额上限" prop="actbic" style="width: 100%">
<c-input v-model="model.oftp.amtu" maxlength="40" placeholder="请输入账户行BIC">
<c-input v-model="model.oftp.amtu" maxlength="40">
</c-input>
</el-form-item>
</c-col>
......@@ -69,26 +69,26 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="参考号/前" prop="ownref" style="width: 100%">
<c-input v-model="model.oftp.ownref" maxlength="40" placeholder="请输入20域编号">
<c-input v-model="model.oftp.ownref" maxlength="40">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="参考号/后" prop="othref" style="width: 100%">
<c-input v-model="model.oftp.othref" maxlength="40" placeholder="请输入21域编号">
<c-input v-model="model.oftp.othref" maxlength="40">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="详细信息" prop="cur" style="width: 100%">
<c-input v-model="model.oftp.inf" maxlength="40" style="width: 100%" placeholder="请选择详细信息"/>
<c-input v-model="model.oftp.inf" maxlength="40" style="width: 100%"/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="记账状态" prop="act" style="width: 100%">
<c-select v-model="model.oftp.recsta" style="width:100%" placeholder="请选择记账状态">
<c-select v-model="model.oftp.recsta" style="width:100%">
<el-option
v-for="item in codes.recsta"
:key="item.value"
......@@ -100,8 +100,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="记账类型" prop="dtlchg" style="width: 100%">
<c-select v-model="model.oftp.kpatyp" style="width:100%" placeholder="请选择记账类型">
</c-select>
<c-select v-model="model.oftp.kpatyp" style="width:100%"/>
</el-form-item>
</c-col>
</c-col>
......@@ -110,10 +109,10 @@
</c-list-search>
<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 :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
type="primary">{{ $t('public.归档') }}
</c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
<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">
......@@ -130,14 +129,15 @@
<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 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"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
......@@ -159,7 +159,7 @@ export default {
activeTab: 'sb',
load: false,
subtypCodes: [],
multipleSelection:[],
multipleSelection: [],
stmData: {
columns: [
{
......@@ -248,11 +248,11 @@ export default {
},
};
},
computed:{
isFoldDisable: function(){
computed: {
isFoldDisable: function () {
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
},
isRoutingDisable: function () {
return this.multipleSelection.length == 0;
}
},
......
......@@ -18,7 +18,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<c-select v-model="model.oftgrp.dot.mty" style="width: 100%" placeholder="请选择报文类型" :code="codes.mty">
<c-select v-model="model.oftgrp.dot.mty" style="width: 100%" placeholder="请选择报文类型" :code="codes.msgtyp3">
</c-select>
</el-form-item>
</c-col>
......
......@@ -7,18 +7,21 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标准" prop="" style="width: 100%">
<c-select v-model="model.oftp.rel.msgtyp" style="width: 100%" placeholder="请选择报文标准"
:code="codes.msgtyp" />
<c-select v-model="model.oftp.rel.msgtyp" style="width: 100%"
:code="codes.msgtyp3" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="" style="width: 100%">
<c-select v-model="model.oftp.rel.mty" style="width: 100%" placeholder="请选择报文类型" :code="codes.mty" />
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.oftp.rel.mty" >
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="发报行BIC" prop="" style="width: 100%">
<c-input v-model="model.oftp.rel.sedbak" style="width: 100%" placeholder="请输入发报行BIC" />
<c-input v-model="model.oftp.rel.sedbak" style="width: 100%" />
</el-form-item>
</c-col>
......@@ -175,6 +178,25 @@ export default {
return this.multipleSelection.length == 0;
}
},
watch: {
'model.sndp.msgtyp': {
handler: function (newTyp, oldTyp) {
// 把已经选择的 subtyp 重置
this.model.sndp.subtyp = '';
const { codes } = this;
if (newTyp === 'mt') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.cipstyp;
}
},
deep: true
}
},
methods: {
},
mounted: function () {
......
......@@ -6,21 +6,24 @@
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标准" prop="" style="width: 100%">
<c-select v-model="model.oftp.rel.msgtyp" style="width: 100%" placeholder="请选择报文标准" :code="codes.msgtyp"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="" style="width: 100%">
<c-select v-model="model.oftp.rel.mty" style="width: 100%" placeholder="请选择报文类型" :code="codes.mty"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="发报行BIC" prop="" style="width: 100%">
<c-input v-model="model.oftp.rel.sedbak" style="width: 100%" placeholder="请输入发报行BIC"/>
</el-form-item>
</c-col>
<el-form-item label="报文标准" prop="" style="width: 100%">
<c-select v-model="model.oftp.rel.msgtyp" style="width: 100%" placeholder="请选择报文标准"
:code="codes.msgtyp3"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.oftp.rel.mty" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="发报行BIC" prop="" style="width: 100%">
<c-input v-model="model.oftp.rel.sedbak" style="width: 100%" placeholder="请输入发报行BIC"/>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
......@@ -30,10 +33,10 @@
</c-list-search>
<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 :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
type="primary">{{ $t('public.归档') }}
</c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
<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">
......@@ -49,7 +52,7 @@
<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 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">
......@@ -57,7 +60,8 @@
</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"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
......@@ -79,84 +83,84 @@ export default {
activeTab: 'fb',
load: false,
subtypCodes: [],
multipleSelection:[],
multipleSelection: [],
stmData: {
columns: [
{
label: "报文种类",
prop: "num",
width: "120px"
},
{
label: "收发时间",
prop: "num",
width: "120px"
},
{
label: "G渠道",
prop: "num",
width: "120px"
},
{
label: "记账类型",
prop: "num",
width: "120px"
},
{
label: "收支",
prop: "num",
width: "120px"
},
{
label: "金额",
prop: "num",
width: "120px"
},
{
label: "20域编号",
prop: "ownref",
width: "120px"
},
{
label: "21域编号",
prop: "othref",
width: "120px"
},
{
label: "目标渠道",
prop: "num",
width: "120px"
},
{
label: "源渠道",
prop: "num",
width: "120px"
},
{
label: "发报行BIC",
prop: "num",
width: "120px"
},
{
label: "收报行BIC",
prop: "num",
width: "120px"
},
{
label: "账户行BIC",
prop: "num",
width: "120px"
},
{
label: "勾销标识",
prop: "num",
width: "120px"
},
{
label: "最后处理时间",
prop: "num",
width: "120px"
}],
{
label: "报文种类",
prop: "num",
width: "120px"
},
{
label: "收发时间",
prop: "num",
width: "120px"
},
{
label: "G渠道",
prop: "num",
width: "120px"
},
{
label: "记账类型",
prop: "num",
width: "120px"
},
{
label: "收支",
prop: "num",
width: "120px"
},
{
label: "金额",
prop: "num",
width: "120px"
},
{
label: "20域编号",
prop: "ownref",
width: "120px"
},
{
label: "21域编号",
prop: "othref",
width: "120px"
},
{
label: "目标渠道",
prop: "num",
width: "120px"
},
{
label: "源渠道",
prop: "num",
width: "120px"
},
{
label: "发报行BIC",
prop: "num",
width: "120px"
},
{
label: "收报行BIC",
prop: "num",
width: "120px"
},
{
label: "账户行BIC",
prop: "num",
width: "120px"
},
{
label: "勾销标识",
prop: "num",
width: "120px"
},
{
label: "最后处理时间",
prop: "num",
width: "120px"
}],
data: [],
},
pagination: {
......@@ -166,16 +170,34 @@ width: "120px"
},
};
},
computed:{
isFoldDisable: function(){
computed: {
isFoldDisable: function () {
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
},
isRoutingDisable: function () {
return this.multipleSelection.length == 0;
}
},
methods: {
watch: {
'model.sndp.msgtyp': {
handler: function (newTyp, oldTyp) {
// 把已经选择的 subtyp 重置
this.model.sndp.subtyp = '';
const { codes } = this;
if (newTyp === 'mt') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.cipstyp;
}
},
deep: true
}
},
methods: {},
mounted: function () {
},
};
......
......@@ -8,7 +8,7 @@
<c-col :span="8">
<el-form-item label="记录类型" prop="qrtp.ljschk">
<c-select v-model="model.qrtp.ljschk" style="width:100%" placeholder="请输入记录类型">
<c-select v-model="model.qrtp.ljschk" style="width:100%" >
<el-option
v-for="item in codes.ljschk"
:key="item.value"
......@@ -21,7 +21,7 @@
<c-col :span="8">
<el-form-item label="记录范围" prop="qrtp.msgrag">
<c-select v-model="model.qrtp.msgrag" style="width:100%" placeholder="">
<c-select v-model="model.qrtp.msgrag" style="width:100%" >
<el-option
v-for="item in codes.msgrng"
:key="item.value"
......@@ -35,7 +35,7 @@
<c-col :span="8">
<el-form-item label="接收方向" prop="qrtp.revdrt">
<c-select v-model="model.qrtp.revdrt" style="width:100%" placeholder="请选择接收方向">
<c-select v-model="model.qrtp.revdrt" style="width:100%" >
<el-option
v-for="item in codes.msgdrt"
:key="item.value"
......@@ -54,19 +54,19 @@
<!-- <c-col :span="24">
<c-col :span="8">
<el-form-item label="发报行BIC" prop="sndbak" style="width: 100%">
<c-input v-model="model.sndp.sndbak" maxlength="40" placeholder="请输入发报行BIC">
<c-input v-model="model.sndp.sndbak" maxlength="40" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收报行BIC" prop="revbak" style="width: 100%">
<c-input v-model="model.sndp.revbak" maxlength="40" placeholder="请输入收报行BIC">
<c-input v-model="model.sndp.revbak" maxlength="40" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="账户行BIC" prop="actbic" style="width: 100%">
<c-input v-model="model.sndp.actbic" maxlength="40" placeholder="请输入账户行BIC">
<c-input v-model="model.sndp.actbic" maxlength="40" >
</c-input>
</el-form-item>
</c-col>
......
......@@ -14,7 +14,7 @@
<c-col :span="8">
<el-form-item label="报文类型" prop="" style="width: 100%">
<c-select v-model="model.qrdgrp.rec.msgtyp" style="width: 100%" placeholder="请选择报文类型"
:code="codes.msgtyp"/>
:code="codes.msgtyp3"/>
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -307,14 +307,14 @@ export default {
// 把已经选择的 subtyp 重置
this.model.rcvp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
if (newTyp === 'mt') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.subtyp1;
this.subtypCodes = codes.cipstyp;
}
},
deep: true
......
......@@ -307,14 +307,14 @@ export default {
// 把已经选择的 subtyp 重置
this.model.rcvp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
if (newTyp === 'mt') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.subtyp1;
this.subtypCodes = codes.cipstyp;
}
},
deep: true
......
......@@ -7,17 +7,17 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="BIC码" prop="msgtyp" style="width: 100%">
<c-input v-model="model.smdp.smdsup.ptpmod.pty.extkey" style="width: 100%" placeholder="请选择BIC码" />
<c-input v-model="model.smdp.smdsup.ptpmod.pty.extkey" style="width: 100%" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="帐号" prop="rcvdatsta" style="width: 100%">
<c-input v-model="model.smdp.smdsup.act" style="width: 100%" placeholder="请选择帐号" />
<c-input v-model="model.smdp.smdsup.act" style="width: 100%" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="subtype" style="width: 100%">
<c-select v-model="model.smdp.smdsup.cur" placeholder="请选择报文类型" :code="codes.cur"/>
<c-select v-model="model.smdp.smdsup.cur" :code="codes.cur"/>
</el-form-item>
</c-col>
</c-col>
......
......@@ -7,7 +7,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="对账单类型" prop="msgtyp" style="width: 100%">
<c-select v-model="model.smtp.smtsup.typ" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
<c-select v-model="model.smtp.smtsup.typ" style="width: 100%" :code="codes.smttyp">
</c-select>
</el-form-item>
</c-col>
......@@ -26,7 +26,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="BIC" prop="subtype" style="width: 100%">
<c-input v-model="model.smtp.smtsup.ptpmod.pty.extkey" maxlength="24" placeholder="请输入报文类型">
<c-input v-model="model.smtp.smtsup.ptpmod.pty.extkey" maxlength="24" >
</c-input>
</el-form-item>
</c-col>
......@@ -37,27 +37,24 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="账户行名称" prop="sndbak" style="width: 100%">
<c-input v-model="model.smtp.smtsup.ptpmod.pty.chnnam" maxlength="40" placeholder="请输入发报行BIC">
</c-input>
<c-input v-model="model.smtp.smtsup.ptpmod.pty.chnnam" maxlength="40" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="帐号" prop="revbak" style="width: 100%">
<c-input v-model="model.smtp.smtsup.act" maxlength="40" placeholder="请输入收报行BIC">
</c-input>
<c-input v-model="model.smtp.smtsup.act" maxlength="40"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="actbic" style="width: 100%">
<c-input v-model="model.smtp.smtsup.cur" maxlength="40" placeholder="请输入账户行BIC">
</c-input>
<c-select v-model="model.smtp.smtsup.cur" maxlength="40" :code="codes.cur" />
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="错误类型" prop="ownref" style="width: 100%">
<c-select v-model="model.smtp.smtsup.errtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('smtsup.LT000215')">
<c-select v-model="model.smtp.smtsup.errtyp" style="width:100%" >
<el-option
v-for="item in codes.errtyp"
:key="item.value"
......@@ -69,13 +66,13 @@
</c-col>
<c-col :span="8">
<el-form-item label="对账单参考号" prop="othref" style="width: 100%">
<c-input v-model="model.smtp.smtsup.ref" maxlength="40" placeholder="请输入21域编号">
<c-input v-model="model.smtp.smtsup.ref" maxlength="40" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="对账单编号" prop="cur" style="width: 100%">
<c-select v-model="model.smtp.smtsup.smtno" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
<c-select v-model="model.smtp.smtsup.smtno" style="width: 100%" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
......@@ -115,7 +112,7 @@
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="发报查询" name="fb">
<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">
......
......@@ -18,6 +18,7 @@ import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Smtp01 from "./Smtp01"
import CodeTable from "@/config/CodeTable";
export default {
......@@ -41,54 +42,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
// msgdrt:CodeTable.msgdrt,
// blksta:CodeTable.blksta,
// kpatyp:CodeTable.kpatyp,
// cur:CodeTable.cur,
// sdcflg:CodeTable.sdcflg,
// smttyp:CodeTable.smttyp,
// gpicod:CodeTable.gpicod,
// mgssta:CodeTable.mgssta,
// ljschk:CodeTable.ljschk,
// offtyp:CodeTable.offtyp,
// msgrng:CodeTable.msgrng,
// fmssta:CodeTable.fmssta,
// clrsys:CodeTable.clrsys,
// errtyp:CodeTable.errtyp,
// stacod:CodeTable.stacod,
// dottyp:CodeTable.dottyp,
// recsta:CodeTable.recsta,
// cassta:CodeTable.cassta,
// 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,
// allmsgcod:CodeTable.allmsgcod,
// dcflg:CodeTable.dcflg,
// cipsstatus:CodeTable.cipsstatus,
// curcod:CodeTable.curcod,
// msgtyp:CodeTable.msgtyp,
// chncod:CodeTable.chncod,
// msgsta:CodeTable.msgsta,
// usratr:CodeTable.usratr,
// msgchksta:CodeTable.msgchksta,
// cipsmsgtype:CodeTable.cipsmsgtype,
// setmth:CodeTable.setmth,
// chniptcod:CodeTable.chniptcod,
// dtlchg:CodeTable.dtlchg,
},
codes:{...CodeTable},
}
},
methods:{
......
......@@ -296,14 +296,14 @@ export default {
// 把已经选择的 subtyp 重置
this.model.sndp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
if (newTyp === 'mt') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.subtyp1;
this.subtypCodes = codes.cipstyp;
}
},
deep: true
......
......@@ -296,14 +296,14 @@ export default {
// 把已经选择的 subtyp 重置
this.model.sndp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
if (newTyp === 'mt') {
this.subtypCodes = codes.mttyp;
} else if (newTyp === 'iso') {
this.subtypCodes = codes.isotyp;
} else if (newTyp === 'fmt') {
this.subtypCodes = codes.fmttyp;
} else {
this.subtypCodes = codes.subtyp1;
this.subtypCodes = codes.cipstyp;
}
},
deep: true
......
......@@ -2,7 +2,7 @@
import business from '@/page/Business/index.vue'
import Display from "~/page/Display";
import BusRouter from "~/page/Business/BusRouter";
// import BusRouter from "~/page/Business/BusRouter";
import FundsRouter from "~/page/Funds/FundsRouter";
......@@ -10,14 +10,14 @@ import ReviewRouter from "~/page/Review/ReviewRouter";
import DisplayRouter from "~/page/Display/DisplayRouter";
import DocRouter from "~/page/Docpan/DocRouter";
import StaticsRouter from "~/page/Statics/StaticsRouter";
import LcRouter from "~/page/Lc/LcRouter";
import DomlcRouter from "~/page/Domlc/DomlcRouter";
import FinRouter from "~/page/Financing/FinRouter";
import RemittanceRouter from "~/page/Remittance/RemittanceRouter";
import CollectionRouter from "~/page/Collection/CollectionRouter";
import DerivativeRouter from "~/page/Derivative/DerivativeRouter";
import InfoRouter from "~/page/Info/InfoRouter";
// import StaticsRouter from "~/page/Statics/StaticsRouter";
// import LcRouter from "~/page/Lc/LcRouter";
// import DomlcRouter from "~/page/Domlc/DomlcRouter";
// import FinRouter from "~/page/Financing/FinRouter";
// import RemittanceRouter from "~/page/Remittance/RemittanceRouter";
// import CollectionRouter from "~/page/Collection/CollectionRouter";
// import DerivativeRouter from "~/page/Derivative/DerivativeRouter";
// import InfoRouter from "~/page/Info/InfoRouter";
import FTRouter from "~/page/Frontend/FTRouter";
import iscOrganization from "@/router/iscOrganization";
......@@ -48,18 +48,18 @@ export default [
component: business,
name: 'business',
children: [
...BusRouter,
...StaticsRouter,
...LcRouter,
...FinRouter,
...DomlcRouter,
...RemittanceRouter,
...CollectionRouter,
...DerivativeRouter,
...InfoRouter,
// ...BusRouter,
// ...StaticsRouter,
// ...LcRouter,
// ...FinRouter,
// ...DomlcRouter,
// ...RemittanceRouter,
// ...CollectionRouter,
// ...DerivativeRouter,
// ...InfoRouter,
...FundsRouter,
...FTRouter,
...FactoringRouter
// ...FactoringRouter
],
meta: {title: '业务相关'}
},
......
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