Commit 63203a15 by wangguangchao

汇出汇款、经办查询优化

parent 3a9259e5
......@@ -134,6 +134,7 @@ export default {
.join("\n");
}
it["IDX"] = i;
it['INR'] = items[0];
it.srcStr = d;
arr.push(it);
}
......
......@@ -194,4 +194,29 @@ export default {
}
},
/** 手动添加rule开始 */
async onNom1CurChange() {
let rtnmsg = await this.executeRule("cpdgrp.cbs.nom1.cur")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPayuilChange() {
let rtnmsg = await this.executeRule("cptp.payuil")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
import { split } from "lodash";
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
......@@ -55,7 +56,9 @@ export default {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName;
let viewurl = "/business/ditopn?selsptinr=" + row[0];
debugger;
// let viewurl = "/business/ditopn?selsptinr=" + row[0];
let viewurl = "/business/ditopn?selsptinr=" + row['INR'];
this.$router.push(viewurl);
//}
}
......
......@@ -82,6 +82,7 @@
v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
......@@ -123,6 +124,7 @@
v-model="model.cptp.payuil"
style="width: 100%"
placeholder="请选择汇款语种"
@change="onPayuilChange"
>
<el-option
v-for="item in codes.payuil"
......
......@@ -3,47 +3,47 @@
<c-col :span="2" style="text-align:center;margin-bottom: 16px;">
<el-form-item label="" prop="chkinc">
<c-checkbox v-model="model.chkinc">Incoming</c-checkbox>
<c-checkbox v-model="chkinc">Incoming</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:center;margin-bottom: 16px;">
<el-form-item label="" prop="chkdzt">
<c-checkbox v-model="model.chkdzt">E-Trade</c-checkbox>
<c-checkbox v-model="chkdzt">E-Trade</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:center;margin-bottom: 16px;">
<el-form-item label="" prop="chkpen">
<c-checkbox v-model="model.chkpen">Break</c-checkbox>
<c-checkbox v-model="chkpen">Break</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:center;margin-bottom: 16px;">
<el-form-item label="" prop="chkcor">
<c-checkbox v-model="model.chkcor">Correction</c-checkbox>
<c-checkbox v-model="chkcor">Correction</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:center;margin-bottom: 16px;">
<el-form-item label="" prop="chkaut">
<c-checkbox v-model="model.chkaut">Automatic</c-checkbox>
<c-checkbox v-model="chkaut">Automatic</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:center;margin-bottom: 16px;">
<el-form-item label="" prop="chkdel">
<c-checkbox v-model="model.chkdel">Reject</c-checkbox>
<c-checkbox v-model="chkdel">Reject</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:center;margin-bottom: 16px;">
<el-form-item label="" prop="chktco">
<c-checkbox v-model="model.chktco">网银</c-checkbox>
<c-checkbox v-model="chktco">网银</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:center;margin-bottom: 16px;">
<el-form-item label="" prop="chkcan">
<c-checkbox v-model="model.chkcan">归档</c-checkbox>
<c-checkbox v-model="chkcan">归档</c-checkbox>
</el-form-item>
</c-col>
......@@ -256,6 +256,72 @@ export default {
}
}
},
computed: {
chkinc: {
get() {
return this.model.chkinc === 't';
},
set(val) {
this.model.chkinc = val ? 't' : ''
}
},
chkdzt: {
get() {
return this.model.chkdzt === 't';
},
set(val) {
this.model.chkdzt = val ? 't' : ''
}
},
chkpen: {
get() {
return this.model.chkpen === 't';
},
set(val) {
this.model.chkpen = val ? 't' : ''
}
},
chkcor: {
get() {
return this.model.chkcor === 't';
},
set(val) {
this.model.chkcor = val ? 't' : ''
}
},
chkaut: {
get() {
return this.model.chkaut === 't';
},
set(val) {
this.model.chkaut = val ? 't' : ''
}
},
chkdel: {
get() {
return this.model.chkdel === 't';
},
set(val) {
this.model.chkdel = val ? 't' : ''
}
},
chktco: {
get() {
return this.model.chktco === 't';
},
set(val) {
this.model.chktco = val ? 't' : ''
}
},
chkcan: {
get() {
return this.model.chkcan === 't';
},
set(val) {
this.model.chkcan = val ? 't' : ''
}
}
},
methods:{...Event},
created: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