Commit 2b01c064 by hulei
parents 59fd7fb9 c6ede4f6
......@@ -137,7 +137,12 @@ export default {
return
const loading = this.loading("快照数据加载中")
let data = await Api.post("display/" + inr)
Utils.copyValueFromVO(this.model, JSON.parse(data.data))
if(data.data)
{
Utils.copyValueFromVO(this.model, JSON.parse(data.data))
}else{
this.$notify.error({title: '错误',message: '快照文件加载失败!'});
}
loading.close()
},
async executeNotify(params) {
......
......@@ -388,6 +388,9 @@ export default {
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
// })
// }
if(this.model.trncorco.relflg == ''){
this.model.trncorco.relflg = '0';
}
const res = await this.executeRule("inftrnps,searow")
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
this.model.trncorco.trnstm = res.data.trncorco_trnstm;
......@@ -404,6 +407,9 @@ export default {
},
async trnfndhandleSearch() {
const that = this.root;
if(this.model.trncorco.relflg == ''){
this.model.trncorco.relflg = '1';
}
const res = await this.executeRule("inftrnps,searow")
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
this.model.trncorco.trnstm = res.data.trncorco_trnstm;
......
......@@ -703,7 +703,7 @@ export default {
computed: {
crefinflg: {
get() {
return this.model.trtcre.crefinflg == 'X' || this.model.trtcre.crefinflg == 'O'
return this.model.trtcre.crefinflg != ''
},
set(val) {
this.model.trtcre.crefinflg = val ? "X" : ""
......@@ -711,7 +711,7 @@ export default {
},
clsflg: {
get() {
return this.model.mtabut.clsflg == 'X' || this.model.mtabut.clsflg == 'O'
return this.model.mtabut.clsflg != ''
},
set(val) {
this.model.mtabut.clsflg = val ? "X" : ""
......@@ -719,7 +719,7 @@ export default {
},
paypsb: {
get() {
return this.model.paypsb == 'X' || this.model.paypsb == 'O'
return this.model.paypsb != ''
},
set(val) {
this.model.paypsb = val ? "X" : ""
......@@ -727,7 +727,7 @@ export default {
},
frepayflg: {
get() {
return this.model.bddgrp.rec.frepayflg == 'X' || this.model.bddgrp.rec.frepayflg == 'O'
return this.model.bddgrp.rec.frepayflg != ''
},
set(val) {
this.model.bddgrp.rec.frepayflg = val ? "X" : ""
......@@ -735,7 +735,7 @@ export default {
},
dfflag: {
get() {
return this.model.dftcre.dfflag == 'X' || this.model.dftcre.dfflag == 'O'
return this.model.dftcre.dfflag != ''
},
set(val) {
this.model.dftcre.dfflag = val ? "X" : ""
......
......@@ -546,14 +546,18 @@ export default {
columns: [
'10 1 "交易代码" 80',
'11 2 "业务编号" 150',
'11 3 "摘要信息" 150',
'17 3 "摘要信息" 300',
'12 4 "币种" 50',
'13 5 "金额" 100',
'14 6 "创建时间" 170',
'9 7 "签名要求" 70',
'2 8 "签名状态" 70',
'16 9 "经办柜员" 70',
'0 10 "业务状态" 80',
// '0 10 "业务状态" 80',
{index:0,position:10,width:80,pattern:'code',label:'业务状态',code:[{label: "Waiting", value: "W"},
{ label: "Correct", value: "C" },
{ label: "Picked up", value: "P" },
{ label: "Rejected", value: "N" },]},
'15 11 "业务机构" 120',
],
data: [],
......
......@@ -293,16 +293,18 @@
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="show(scope.$index,scope.row)"
>
Show
显示
</c-button>
<!-- <c-button
<c-button
style="margin-left: 0"
size="small"
type="primary"
>
生成PDF
</c-button> -->
打印
</c-button>
</template>
</el-table-column>
</c-istream-table>
......
......@@ -493,14 +493,17 @@ export default {
columns: [
'10 1 "交易代码" 80',
'11 2 "业务编号" 170',
'12 3 "币种" 70',
'13 4 "金额" 100',
'14 5 "创建时间" 170',
'9 6 "签名要求" 80',
'2 7 "签名状态" 80',
'16 8 "经办柜员" 80',
'0 9 "业务状态" 80',
'15 10 "业务机构" 200',
'17 3 "摘要信息" 300',
'12 4 "币种" 70',
'13 5 "金额" 100',
'14 6 "创建时间" 170',
'9 7 "签名要求" 80',
'2 8 "签名状态" 80',
'16 9 "经办柜员" 80',
// '0 10 "业务状态" 80',
{index:0,position:10,width:80,pattern:'code',label:'业务状态',code:[{ label: "Final", value: "F" },
{ label: "Released", value: "R" },]},
'15 11 "业务机构" 200',
],
data: [],
},
......
......@@ -2,7 +2,7 @@
<c-page title="">
<!-- <div class="eContainer"> -->
<c-content :height="120">
<div class="eibs-tab" style="margin-left:9px;padding:5px 5px 5px 5px">
<div class="eibs-tab">
<!-- <c-col :span="23">
<div style="float:right;margin-bottom:10px">
<el-button size="small">交易快照</el-button>
......@@ -26,8 +26,8 @@
size="small"
>
<c-content>
<c-col :span="23" style="margin:0 0 5px 0">
<c-col :span="13" style="height:24px;">
<!-- <c-col :span="23" style="margin:0 0 5px 0"> -->
<c-col :span="12" style="height:24px;">
<el-form-item label="基本信息" class="messageLabel">
</el-form-item>
</c-col>
......@@ -36,7 +36,7 @@
<c-button size="small" type="primary" style="margin-left:0">智能提示</c-button>
<c-button size="small" @click="exit" type="primary" style="margin-left:0">返回</c-button>
</c-col>
</c-col>
<!-- </c-col> -->
<c-col :span="23" style="height: 10px;margin-bottom:10px">
<el-divider></el-divider>
</c-col>
......@@ -293,16 +293,18 @@
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="show(scope.$index,scope.row)"
>
Show
显示
</c-button>
<!-- <c-button
<c-button
style="margin-left: 0"
size="small"
type="primary"
>
生成PDF
</c-button> -->
打印
</c-button>
</template>
</el-table-column>
</c-istream-table>
......
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