Commit 9db04492 by nanrui

获取按钮点击置灰处理

parent 4ac9e2a5
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="!this.model.bcdgrp.dre.pts.extkey" :disabled="this.model.bcdgrp.dre.pts.extkey !== '' && model.bcdgrp.rec.ownref == ''? false:true"
@click="onBctmodButgetref" @click="onBctmodButgetref"
> >
获取编号 获取编号
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button size="small" type="primary" @click="onDftpButgetref"> <c-button size="small" type="primary" @click="onDftpButgetref" :disabled="model.dftcre.dfdgrp.rec.ownref !== ''">
获取 获取
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
size="small" size="small"
type="primary" type="primary"
@click="onBctmodButgetref" @click="onBctmodButgetref"
:disabled="model.trtcre.trdgrp.rec.ownref !== ''"
> >
获取 获取
</c-button> </c-button>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.ledgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bedgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.ledgrp.rec.ownref == ''? false:true"
> >
获取 获取
</c-button> </c-button>
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bedgrp.rec.ownref == ''? false:true"
> >
获取 获取
</c-button> </c-button>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.ledgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bedgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.ledgrp.rec.ownref == ''? false:true"
> >
获取 获取
</c-button> </c-button>
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bedgrp.rec.ownref == ''? false:true"
> >
获取 获取
</c-button> </c-button>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.dedgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bfdgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.dedgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bfdgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.dedgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bfdgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.dedgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bfdgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.dedgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bfdgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.dedgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bfdgrp.rec.ownref == ''? false:true"
@click="onDetpButgetref" @click="onDetpButgetref"
> >
获取 获取
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.bodgrp.rec.ownref == ''? false:true"
> >
获取 获取
</c-button> </c-button>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" style="text-align: right"> <c-col :span="4" style="text-align: right">
<c-button type="primary" :disabled="this.model.bodgrp.drr.pts.extkey==''" @click="onBotpButgetref"> <c-button type="primary" :disabled="this.model.bodgrp.drr.pts.extkey !== '' && model.bedgrp.rec.ownref == ''? false:true" @click="onBotpButgetref">
获取 获取
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
</c-col> </c-col>
<c-col :span="1"> <c-col :span="1">
<c-button size="small" type="primary" @click="onBptmodButgetref" <c-button size="small" type="primary" @click="onBptmodButgetref" :disbled="model.bpdgrp.rec.ownref !== ''"
>获取</c-button >获取</c-button
> >
</c-col> </c-col>
...@@ -477,7 +477,7 @@ ...@@ -477,7 +477,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-button size="small" type="primary" @click="onFinmodButget" <c-button size="small" type="primary" @click="onFinmodButget" :disbled="model.bpdgrp.rec.ownref != 0"
>获取</c-button >获取</c-button
> >
</c-col> </c-col>
...@@ -642,7 +642,7 @@ ...@@ -642,7 +642,7 @@
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-button size="small" type="primary" @click="onDinmodDget" <c-button size="small" type="primary" @click="onDinmodDget" :disbled="model.bptmod.finmod.dinjdm !== ''"
>获取</c-button >获取</c-button
> >
</c-col> </c-col>
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
</c-col> </c-col>
<c-col :span="1"> <c-col :span="1">
<c-button size="small" type="primary" @click="onBptmodButgetref()"> <c-button size="small" type="primary" @click="onBptmodButgetref()" :disabled="model.bpdgrp.rec.ownref !== ''">
获取 获取
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.lidgrp.rec.ownref == ''? false:true"
> >
获取 获取
</c-button> </c-button>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.brdgrp.rec.ownref == ''? false:true"
> >
获取 获取
</c-button> </c-button>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.lidgrp.rec.ownref == ''? false:true"
> >
获取 获取
</c-button> </c-button>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="!this.flag && model.brdgrp.rec.ownref == ''? false:true"
> >
获取 获取
</c-button> </c-button>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref"> <c-button style="margin: 0 0" size="small" type="primary" :disabled="!this.flag && model.lidgrp.rec.ownref == ''? false:true" @click="onDitpButgetref">
获取 获取
</c-button> </c-button>
</template> </template>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
<c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref"> <c-button style="margin: 0 0" size="small" type="primary" :disabled="!this.flag && model.brdgrp.rec.ownref == ''? false:true" @click="onDitpButgetref">
获取 获取
</c-button> </c-button>
</template> </template>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<c-col :span="4"> <c-col :span="4">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="15px">
<c-button size="small" class="el-icon-info" type="primary"></c-button> <c-button size="small" class="el-icon-info" type="primary"></c-button>
<c-button size="small" type="primary"> 获取 </c-button> <c-button size="small" type="primary" :disbled="model.ltdgrp.rec.ownref !== ''">获取</c-button>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<c-col :span="4"> <c-col :span="4">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="15px">
<c-button size="small" class="el-icon-info" type="primary"></c-button> <c-button size="small" class="el-icon-info" type="primary"></c-button>
<c-button size="small" type="primary"> 获取 </c-button> <c-button size="small" type="primary" :disabled="model.ledgrp.rec.ownref !== ''">获取</c-button>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<c-col :span="4"> <c-col :span="4">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="15px">
<c-button size="small" class="el-icon-info" type="primary"></c-button> <c-button size="small" class="el-icon-info" type="primary"></c-button>
<c-button size="small" type="primary"> 获取 </c-button> <c-button size="small" type="primary" :disabled="btdgrp.rec.ownref !== ''">获取</c-button>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
......
...@@ -185,6 +185,7 @@ ...@@ -185,6 +185,7 @@
size="small" size="small"
type="primary" type="primary"
@click="onBrtmodButgetref" @click="onBrtmodButgetref"
:disabled="model.brdgrp.rec.ownref !== ''"
> >
获取 获取
</c-button> </c-button>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag1" :disabled="!this.flag1 && model.lidgrp.rec.ownref==''? false:true"
@click="onLitpButgetref" @click="onLitpButgetref"
> >
获取 获取
......
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