Commit 7b80b160 by 吴佳

2022.01.12 wujia 按钮尺寸调整

parent 08aa5da6
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button size="medium" type="primary" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
<c-button class="medium_bcs" size="medium" type="primary" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
......
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button size="medium" type="primary" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
<c-button class="medium_bcs" size="medium" type="primary" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
......
......@@ -296,7 +296,7 @@
</c-list-search>
<c-col :span="24" style="margin-top: 10px">
<c-button size="medium" type="primary" @click="toDitopn">信用证开立</c-button>
<c-button class="medium_bcs" size="medium" type="primary" @click="toDitopn">信用证开立</c-button>
</c-col>
<!-- <el-row> -->
......@@ -651,17 +651,29 @@ export default {
async getDitSelInfo(idx,row){
var params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm", params);
console.log(rtnmsg);
if(rtnmsg.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
params = {selDst:"infbut.dsp",selIds:[idx+1]}
let rtnmsgNew = await this.executeRule("infbut.dsp", params);
if(rtnmsgNew.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsgNew.data);
params = {selDst:"infcon.objinr",selIds:[idx+1]}
let rtnmsgObjinr = await this.executeDefault("infcon.objinr", params);
if(rtnmsgObjinr.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsgObjinr.data);
}
this.updateModel(rtnmsgNew.data);
// Utils.copyValueFromVO(this.model, rtnmsgNew.data);
params = {selDst:"infcon.dsp",selIds:[idx+1]}
let rtnmsgObjinr = await this.executeDefault("infcon.objinr",params);
if(rtnmsgObjinr.respCode = SUCCESS){
this.updateModel(rtnmsgObjinr.data);
// Utils.copyValueFromVO(this.model, rtnmsgObjinr.data);
// // let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit",params);
// // if(rtnmsgOitset.respCode = SUCCESS){
// // Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
// // }
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
......
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