Commit c3c76e9f by zenghuan

待对账信息录入

parent c5cb29d9
...@@ -9,19 +9,5 @@ export default { ...@@ -9,19 +9,5 @@ export default {
async handleReset() { 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;
}
}, },
}; };
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
<el-row> <el-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="发报行" prop="msgtyp" style="width: 100%"> <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%" placeholder="请选择货押标识" :code="codes.msgtyp3">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="账户行" prop="rcvdatsta" style="width: 100%"> <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" placeholder="请输入BIC码"/>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -27,141 +27,82 @@ ...@@ -27,141 +27,82 @@
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报行BIC" prop="sndbak" style="width: 100%"> <el-form-item label="报行BIC" prop="sndbak" style="width: 100%">
<c-input v-model="model.rcvp.sndbak" maxlength="40" placeholder="请输入发报行BIC"> <c-input v-model="model.dotp.rcv.pty.extkey" maxlength="40" placeholder="请输入发报行BIC">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="收报行BIC" prop="revbak" style="width: 100%"> <el-form-item label="币种" prop="revbak" style="width: 100%">
<c-input v-model="model.rcvp.revbak" maxlength="40" placeholder="请输入收报行BIC"> <c-input v-model="model.dotgrp.rec.cur" maxlength="40" placeholder="请输入收报行BIC">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="账户行BIC" prop="actbic" style="width: 100%"> <el-form-item label="金额" prop="actbic" style="width: 100%">
<c-input v-model="model.rcvp.actbic" maxlength="40" placeholder="请输入账户行BIC"> <c-input v-model="model.dotgrp.rec.amt" maxlength="40" placeholder="请输入账户行BIC">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="20域编号" prop="ownref" style="width: 100%"> <el-form-item label="起息日" prop="ownref" style="width: 100%">
<c-input v-model="model.rcvp.ownref" maxlength="40" placeholder="请输入20域编号"> <c-date-picker type="date" v-model="model.dotgrp.rec.valdat" style="width:100%" placeholder="请选择起息日"/>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="21域编号" prop="othref" style="width: 100%"> <el-form-item label="收发日期" prop="othref" style="width: 100%">
<c-input v-model="model.rcvp.othref" maxlength="40" placeholder="请输入21域编号"> <c-date-picker type="date" v-model="model.dotgrp.rec.rsptim" style="width:100%" placeholder="请选择起息日"/>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%"> <el-form-item label="相关参考号" prop="cur" style="width: 100%">
<c-select v-model="model.rcvp.cur" style="width: 100%" placeholder="请选择币种" <c-input v-model="model.dotgrp.rec.othref" maxlength="16" placeholder="输入相关参考号"/>
:code="codes.cur">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="账号" prop="act" style="width: 100%"> <el-form-item label="业务标识" prop="act" style="width: 100%">
<c-input v-model="model.rcvp.act" maxlength="40" placeholder="请输入账号"> <c-input v-model="model.dotgrp.rec.busflg" maxlength="4" placeholder="请输入业务标识"/>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="费用明细" prop="dtlchg" style="width: 100%"> <el-form-item label="借贷标记" prop="dtlchg" style="width: 100%">
<c-select v-model="model.rcvp.dtlchg" style="width: 100%" placeholder="请选择费用明细" <c-select v-model="model.dotgrp.rec.dcflg" style="width:100%" placeholder="请选择借贷标记">
:code="codes.dtlchg"> <el-option
v-for="item in codes.dcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="勾销标志" prop="chnipt" style="width: 100%">
:label="$t('lc.金额区间')" <c-select v-model="model.dotgrp.rec.offsta" style="width:100%" :placeholder="请选择勾销标志">
style="width: 100%" <el-option
> v-for="item in codes.offsta"
<c-col :span="11"> :key="item.value"
<c-input :label="item.label"
v-model="model.rcvp.amtmin" :value="item.value">
:placeholder="$t('lc.请输入金额下限')" </el-option>
style="width: 100%" </c-select>
></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.rcvp.amtmax"
:placeholder="$t('lc.请输入金额上限')"
style="width: 100%"
></c-input>
</c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="行内系统" prop="chnipt" style="width: 100%"> <el-form-item label="详细信息" prop="sta" style="width: 100%">
<c-select v-model="model.rcvp.chnipt" style="width: 100%" placeholder="请选择行内系统" <c-input type="textarea" v-model="model.dotgrp.rec.inf" placeholder="请输入详细信息"/>
:code="codes.chnipt">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="处理状态" prop="sta" style="width: 100%">
<c-select v-model="model.rcvp.sta" style="width: 100%" placeholder="请选择处理状态"
:code="codes.sta1">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</el-row> </el-row>
</template> </template>
</c-list-search> </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>
<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.导出Excel') }}
</c-button>
</el-col>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="发报查询" name="sb">
<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>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div> </div>
</template> </template>
<script> <script>
...@@ -175,140 +116,8 @@ export default { ...@@ -175,140 +116,8 @@ export default {
return { return {
activeTab: 'sb', activeTab: 'sb',
load: false, load: false,
subtypCodes: [],
// isFoldDisable: true,
// isRoutingDisable: true,
multipleSelection:[],
stmData: {
columns: [
{
label: "起息日",
prop: "valdat",
width: "180px"
},
{
label: "20域编号",
prop: "ownref",
width: "180px"
},
{
label: "21域名编号",
prop: "othref",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "账号",
prop: "act",
width: "120px"
},
{
label: "费用明细",
prop: "dtlchg",
width: "120px"
},
{
label: "报文类型",
prop: "subtyp",
width: "120px"
},
{
label: "行内系统",
prop: "chnipt",
width: "120px"
},
{
label: "处理状态",
prop: "sta",
width: "120px"
},
{
label: "账户行BIC(53域)",
prop: "actbic",
width: "120px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
width: "250px"
},
{
label: "发报行BIC",
prop: "sndbic",
width: "150px"
},
{
label: "收报行BIC",
prop: "rcvbic",
width: "150px"
},
{
label: "报文标准",
prop: "msgtyp",
width: "150px"
},
{
label: "GPI标识",
prop: "gpi",
width: "150px"
},
{
label: "子系统",
prop: "",
width: "150px"
},
{
label: "接收时间",
prop: "rcvdattim",
width: "150px"
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
}; };
}, },
computed:{
isFoldDisable: function(){
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
return this.multipleSelection.length == 0;
}
},
watch: {
'model.rcvp.msgtyp': {
handler: function (newTyp, oldTyp) {
// 把已经选择的 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;
} else {
this.subtypCodes = codes.subtyp1;
}
},
deep: true
}
},
methods: {}, methods: {},
mounted: function () { mounted: function () {
}, },
......
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