Commit 3060a246 by niewei

优化

parent 4e439c6d
...@@ -2,100 +2,90 @@ import Api from "~/service/Api" ...@@ -2,100 +2,90 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onInfbutSearow(){ async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow") let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
this.$message({
type: 'success',
message: '获取成功!'
});
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutDsp(){ async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp") let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutUserow(){ async onInfbutUserow () {
let rtnmsg = await this.executeRule("infbut.userow") let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutClr(){ async onInfbutClr () {
let rtnmsg = await this.executeRule("infbut.clr") let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutButprt(){ async onInfbutButprt () {
let rtnmsg = await this.executeRule("infbut.butprt") let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutExi(){ async onInfbutExi () {
let rtnmsg = await this.executeRule("infbut.exi") let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfconButshw(){ async onInfconButshw () {
let rtnmsg = await this.executeRule("infcon.butshw") let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfconButshword(){ async onInfconButshword () {
let rtnmsg = await this.executeRule("infcon.butshword") let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
......
...@@ -4,21 +4,21 @@ import Utils from "~/utils" ...@@ -4,21 +4,21 @@ import Utils from "~/utils"
* Infcur Check规则 * Infcur Check规则
*/ */
let checkObj = { let checkObj = {
"rec.bsrmar" :null, "rec.bsrmar": null,
"rec.maxamt" :null, "rec.maxamt": null,
"rec.sqrmar" :null, "rec.sqrmar": null,
"rec.dec" :null, "rec.dec": null,
"rec.dif" :null, "rec.dif": null,
"rec.newcur" :null, "rec.newcur": null,
"rec.cod" :null, "rec.cod": null,
"rec.enddat" :null, "rec.enddat": null,
"rec.rndunt" :null, "rec.rndunt": null,
"rec.bas" :null, "rec.bas": null,
"rec.dbtday" :null, "rec.dbtday": null,
"rec.cdtday" :null, "rec.cdtday": null,
"recpan.recget.sdamod.dadsnd" :null, "recpan.recget.sdamod.dadsnd": null,
"rec.maxcur" :null, "rec.maxcur": null,
"rec.glbrat" :null, "rec.glbrat": null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -2,76 +2,67 @@ import Api from "~/service/Api" ...@@ -2,76 +2,67 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onInfbutSearow(){ async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow") let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
//TODO 处理数据逻辑 this.$message({
type: 'success',
message: '获取成功!'
});
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutExi(){ async onInfbutExi () {
let rtnmsg = await this.executeRule("infbut.exi") let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutDsp(){ async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp") let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutUserow(){ async onInfbutUserow () {
let rtnmsg = await this.executeRule("infbut.userow") let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutClr(){ async onInfbutClr () {
let rtnmsg = await this.executeRule("infbut.clr") let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutButprt(){ async onInfbutButprt () {
let rtnmsg = await this.executeRule("infbut.butprt") let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
......
...@@ -2,208 +2,178 @@ import Api from "~/service/Api" ...@@ -2,208 +2,178 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onInfbutSearow(){ async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow") let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
this.$message({
type: 'success',
message: '获取成功!'
});
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutDsp(){ async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp") let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutUserow(){ async onInfbutUserow () {
let rtnmsg = await this.executeRule("infbut.userow") let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutClr(){ async onInfbutClr () {
let rtnmsg = await this.executeRule("infbut.clr") let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutButprt(){ async onInfbutButprt () {
let rtnmsg = await this.executeRule("infbut.butprt") let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutExi(){ async onInfbutExi () {
let rtnmsg = await this.executeRule("infbut.exi") let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onRecpanButgetref(){ async onRecpanButgetref () {
let rtnmsg = await this.executeRule("recpan.butgetref") let rtnmsg = await this.executeRule("recpan.butgetref")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBenpDet(){ async onBenpDet () {
let rtnmsg = await this.executeRule("benp.det") let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onAplpDet(){ async onAplpDet () {
let rtnmsg = await this.executeRule("aplp.det") let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLcrdftatButtxmsel(){ async onLcrdftatButtxmsel () {
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel") let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onPreperButtxmsel(){ async onPreperButtxmsel () {
let rtnmsg = await this.executeRule("preper.buttxmsel") let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLcrgodButtxmsel(){ async onLcrgodButtxmsel () {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel") let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLcrdocButtxmsel(){ async onLcrdocButtxmsel () {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel") let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onAdlcndButtxmsel(){ async onAdlcndButtxmsel () {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel") let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInsbnkButtxmsel(){ async onInsbnkButtxmsel () {
let rtnmsg = await this.executeRule("insbnk.buttxmsel") let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfconButshw(){ async onInfconButshw () {
let rtnmsg = await this.executeRule("infcon.butshw") let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfconButshword(){ async onInfconButshword () {
let rtnmsg = await this.executeRule("infcon.butshword") let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
<template> <template>
<c-content class="eibs-tab" :height="200"> <c-content class="eibs-tab" :height="200">
<c-infsearch-group @handleSearch="handleSearch" @handleReset="handleReset"> <c-infsearch-group @handleSearch="onInfbutSearow" @handleReset="onInfbutClr">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<template slot="keepShow"> <template slot="keepShow">
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</c-row> </c-row>
<c-row style="margin-top:20px; padding: 0 10px 0 10px;"> <c-row style="margin-top:20px; padding: 0 10px 0 10px;">
<c-istream-table :list="model.infbut.dspstm" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="OP" width="100"> <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a> <a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
...@@ -200,6 +200,9 @@ export default { ...@@ -200,6 +200,9 @@ export default {
"7 7 \"Cur\" 50 ", "7 7 \"Cur\" 50 ",
"8 8 \"Doc.Amount\" 150 ", "8 8 \"Doc.Amount\" 150 ",
"8 8 \"Open Amount\" 150 ", "8 8 \"Open Amount\" 150 ",
],
data:[
] ]
}, },
} }
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-col :span="12"> <c-col :span="12">
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
<c-row> <c-row>
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary" disabled="disabled">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary" disabled="disabled">Loginfo</c-button>
</div> </div>
</p> </p>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<c-row> <c-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="币种代码" prop="rec.cod"> <el-form-item label="币种代码" prop="rec.cod">
<c-input disabled="disableed" v-model="model.rec.cod" maxlength="3" placeholder="请输入Currency Code"></c-input> <c-input disabled="disabled" v-model="model.rec.cod" maxlength="3" placeholder="请输入Currency Code"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <!--
...@@ -183,12 +183,14 @@ ...@@ -183,12 +183,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
<c-row> <c-row>
<c-col class="infrow" style="margin-top:50px;"> <c-col class="infrow" style="margin-top:50px;">
<c-istream-table :list="model.recpan.codmod.codtxt" :columns="stmData.columns"> <c-istream-table :list="model.recpan.codmod.codtxt" :columns="stmData.columns">
</c-istream-table> </c-istream-table>
</c-col> </c-col>
</c-row> </c-row>
</c-content> </c-content>
</template> </template>
<script> <script>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
</c-row> </c-row>
--> -->
<c-infsearch-group @handleSearch="handleSearch" @handleReset="handleReset"> <c-infsearch-group @handleReset="onInfbutClr" @handleSearch="onInfbutSearow">
<template slot="keepShow"> <template slot="keepShow">
<c-row> <c-row>
<c-col :span="12"> <c-col :span="12">
...@@ -87,15 +87,15 @@ ...@@ -87,15 +87,15 @@
</c-row> </c-row>
<el-row class="infrow" style="margin-top:20px;"> <c-row class="infrow" style="margin-top:20px;">
<c-istream-table :list="model.infbut.dspstm" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="OP" width="100"> <el-table-column prop="op" label="操作" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a> <a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</el-row> </c-row>
</c-content> </c-content>
</template> </template>
...@@ -122,19 +122,7 @@ export default { ...@@ -122,19 +122,7 @@ export default {
}, },
} }
}, },
methods: { methods:{...Event},
...Event,
handleSearch(callback) {
setTimeout(() => {
this.$notify.info({ title: '提示', message: '模拟post请求控制按钮状态' });
// 执行子组件回调函数控制按钮状态
callback()
}, 1000)
},
handleReset() {
}
},
created:function(){ created:function(){
} }
......
...@@ -63,17 +63,21 @@ export default { ...@@ -63,17 +63,21 @@ export default {
} }
}, },
created:async function(){ created:async function(){
console.log("进入infcur交易"); console.log("进入infcur交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//this.$notify.error({title:'提示',message:'初始化执行结束!'});
//TODO 处理数据逻辑 //TODO 处理数据逻辑
//this.updateModel(rtnmsg.data)
} }
else else
{ {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} }
} }
</script> </script>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-col :span="24"> <c-col :span="24">
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<!-- 顶部 --> <!-- 顶部 -->
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
</p> </p>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!-- Selection --> <!-- Selection -->
<c-content class="eibs-tab" :height="200"> <c-content class="eibs-tab" :height="200">
<c-infsearch-group @handleSearch="handleSearch" @handleReset="handleReset"> <c-infsearch-group @handleSearch="onInfbutSearow" @handleReset="onInfbutClr">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<template slot="keepShow"> <template slot="keepShow">
<c-row> <c-row>
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
</c-row> </c-row>
<c-row style="margin-top:20px; padding: 0 10px 0 10px;"> <c-row style="margin-top:20px; padding: 0 10px 0 10px;">
<c-istream-table :list="model.infbut.dspstm" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="OP" width="100"> <el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a> <a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
...@@ -209,6 +209,9 @@ export default { ...@@ -209,6 +209,9 @@ export default {
"6 6 \"Cur\" 150 ", "6 6 \"Cur\" 150 ",
"7 7 \"L/C Amount\" 150 ", "7 7 \"L/C Amount\" 150 ",
"7 7 \"Open Amount\" 150 ", "7 7 \"Open Amount\" 150 ",
],
data: [
] ]
}, },
} }
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<!-- <!--
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button> <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group> </el-button-group>
<c-button size="small" type="primary">Print</c-button> <c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button> <c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button> <c-button size="small" type="primary">Loginfo</c-button>
</div> </div>
<c-row> <c-row>
......
...@@ -198,10 +198,9 @@ export default { ...@@ -198,10 +198,9 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {...CodeTable},
},
showflg: true, showflg: true,
} };
}, },
methods:{ methods:{
tabClick(){ tabClick(){
......
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