Commit 06a96e6a by zenghuan

待关联报文处理

parent 7aba6a40
import Api from "~/service/Api"; import Api from "~/service/Api";
import moment from "moment"; import moment from "moment";
import Oftopn from '../model';
export default { export default {
methods: { methods: {
async handleSearch() { async handleSearch() {
let rsptims = this.model.oftp.rel.rsptims;
if (!rsptims || rsptims === "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询开始日期必输!"),
});
return;
}
let rsptime = this.model.oftp.rel.rsptime;
if (!rsptime || rsptime === "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询结束日期必输!"),
});
return;
}
this.load = true;
// TODO rewrite url
let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.oftp.rel,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
rsptims: moment(rsptims).format("YYYY-MM-DD"),
rsptime: moment(rsptime).format("YYYY-MM-DD"),
});
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.stmData.data = [];
const {list} = rtnmsg.data;
this.stmData.data = list;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: parseInt(rtnmsg.data.total),
};
} else {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.服务请求失败!"),
});
}
this.load = false;
}, },
async handleReset() { async handleReset() {
this.model = new Oftopn().data;
}, },
// pageSize改变 // pageSize改变
handleSizeChange(val) { handleSizeChange(val) {
......
...@@ -6,29 +6,106 @@ ...@@ -6,29 +6,106 @@
<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="" style="width: 100%"> <el-form-item label="起止日期" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.oftp.rel.rsptims" 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.oftp.rel.rsptime" style="width: 100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文标准" style="width: 100%">
<c-select v-model="model.oftp.rel.msgtyp" style="width: 100%" <c-select v-model="model.oftp.rel.msgtyp" style="width: 100%"
:code="codes.msgtyp3" /> :code="codes.msgtyp3" />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%"> <el-form-item label="报文类型" style="width: 100%">
<el-select v-model="model.oftp.rel.mty" > <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 v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</c-col> </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%" />
</el-form-item>
</c-col>
</c-col> </c-col>
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="发报行BIC" style="width: 100%">
<c-input v-model="model.oftp.rel.sedbak" style="width: 100%" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收报行BIC" style="width: 100%">
<c-input v-model="model.oftp.rel.revbak" style="width: 100%" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="账户行BIC" style="width: 100%">
<c-input v-model="model.oftp.rel.actbic" style="width: 100%" />
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="借贷" style="width: 100%">
<c-select v-model="model.oftp.rel.dcflg" style="width: 100%" :code="codes.dcflg" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" style="width: 100%">
<c-select v-model="model.oftp.rel.cur" style="width: 100%" :code="codes.cur" />
</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.oftp.rel.atmd"
: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.oftp.rel.amtu"
:placeholder="$t('lc.请输入金额上限')"
style="width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="20域编号" style="width: 100%">
<c-input v-model="model.oftp.rel.ref" maxlength="40" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="21域编号" style="width: 100%">
<c-input v-model="model.oftp.rel.relref" maxlength="40" >
</c-input>
</el-form-item>
</c-col>
</c-col>
</el-row> </el-row>
</template> </template>
</c-list-search> </c-list-search>
...@@ -88,32 +165,52 @@ export default { ...@@ -88,32 +165,52 @@ export default {
columns: [ columns: [
{ {
label: "报文种类", label: "报文种类",
prop: "num", prop: "mty",
width: "120px" width: "120px"
}, },
{ {
label: "收发时间", label: "收发时间",
prop: "num", prop: "rsptim",
width: "120px" width: "120px"
}, },
{ {
label: "G渠道", label: "G渠道",
prop: "num", prop: "sweflg",
width: "120px" width: "120px"
}, },
{ {
label: "记账类型", label: "记账类型",
prop: "num", prop: "typ",
width: "120px" width: "120px"
}, },
{ {
label: "收支", label: "收支",
prop: "num", prop: "dcflg",
width: "120px" width: "120px"
}, },
{ {
label: "金额", label: "金额",
prop: "num", prop: "amt",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "关联状态",
prop: "sta",
width: "120px"
},
{
label: "处理状态",
prop: "area",
width: "120px"
},
{
label: "起息日",
prop: "valdat",
width: "120px" width: "120px"
}, },
{ {
...@@ -128,37 +225,42 @@ export default { ...@@ -128,37 +225,42 @@ export default {
}, },
{ {
label: "目标渠道", label: "目标渠道",
prop: "num", prop: "multimsg",
width: "120px" width: "120px"
}, },
{ {
label: "源渠道", label: "源渠道",
prop: "num", prop: "chk",
width: "120px"
},
{
label: "下一渠道",
prop: "kpatyp",
width: "120px" width: "120px"
}, },
{ {
label: "发报行BIC", label: "发报行BIC",
prop: "num", prop: "sedbak",
width: "120px" width: "120px"
}, },
{ {
label: "收报行BIC", label: "收报行BIC",
prop: "num", prop: "revbak",
width: "120px" width: "120px"
}, },
{ {
label: "账户行BIC", label: "账户行BIC",
prop: "num", prop: "actbic",
width: "120px" width: "120px"
}, },
{ {
label: "勾销标识", label: "勾销标识",
prop: "num", prop: "offsta",
width: "120px" width: "120px"
}, },
{ {
label: "最后处理时间", label: "最后处理时间",
prop: "num", prop: "lstdat",
width: "120px" width: "120px"
}], }],
data: [], data: [],
......
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