Commit d85ce50e by lsk

待复核列表状态显示全称

parent ab05e049
...@@ -355,7 +355,27 @@ export default { ...@@ -355,7 +355,27 @@ export default {
// }) // })
// } // }
const res = await this.executeRule("searow") const res = await this.executeRule("searow")
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows; const arr=[];
res.data.trncorco_trnstm.rows.forEach(element => {
switch(element.charAt(0)){
case 'W':
arr.push("Waiting"+element.substring(1));
break;
case 'C':
arr.push("Correct"+element.substring(1));
break;
case 'P':
arr.push("Picked up" + element.substring(1)) ;
break;
case 'N':
arr.push("Rejected" + element.substring(1)) ;
break;
default:
arr.push(element);
break;
}
});
that.$refs.inftrnps.stmData.data = arr;
this.model.trncorco.trnstm = res.data.trncorco_trnstm; this.model.trncorco.trnstm = res.data.trncorco_trnstm;
if(res.data.trncorco_trnstm.rows.length == 0){ if(res.data.trncorco_trnstm.rows.length == 0){
this.$notify({ this.$notify({
......
...@@ -526,7 +526,7 @@ ...@@ -526,7 +526,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收款行名称"> <el-form-item label="收款行名称" prop="bddgrp.skh.pts.jigomc">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bddgrp.skh.pts.jigomc" v-model="model.bddgrp.skh.pts.jigomc"
...@@ -602,7 +602,7 @@ ...@@ -602,7 +602,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单行联行名称(电证用)"> <el-form-item label="交单行联行名称(电证用)" prop="bddgrp.prb.pts.jigomc">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bddgrp.prb.pts.jigomc" v-model="model.bddgrp.prb.pts.jigomc"
...@@ -616,7 +616,7 @@ ...@@ -616,7 +616,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单行地址(电证用)"> <el-form-item label="交单行地址(电证用)" prop="bddgrp.prb.pts.dizhii">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bddgrp.prb.pts.dizhii" v-model="model.bddgrp.prb.pts.dizhii"
......
...@@ -408,7 +408,7 @@ export default { ...@@ -408,7 +408,7 @@ export default {
stmData: { stmData: {
columns: [ columns: [
'4 1 "交易代码" 70 ', '4 1 "交易代码" 70 ',
'5 2 "业务编号" 280', '5 2 "业务编号" 300',
'6 3 "交易名称" 140', '6 3 "交易名称" 140',
'1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA', '1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA',
'17 5 "报文类型" 100', '17 5 "报文类型" 100',
......
...@@ -377,8 +377,8 @@ export default { ...@@ -377,8 +377,8 @@ export default {
stmData: { stmData: {
columns: [ columns: [
'4 1 "交易代码" 70 ', '4 1 "交易代码" 70 ',
'5 2 "业务编号" 270', '5 2 "业务编号" 300',
'6 3 "交易名称" 140', '6 3 "交易名称" 180',
'1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA', '1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA',
'17 5 "报文类型" 100', '17 5 "报文类型" 100',
'18 6 "对方银行BIC" 110', '18 6 "对方银行BIC" 110',
......
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