|
|
@@ -14,11 +14,11 @@
|
|
|
@saveColumn="saveColumn('crud', 'option', 'optionBack', 489)"
|
|
|
>
|
|
|
<template slot="menuLeft">
|
|
|
- <el-button size="small" type="text" :disabled="!form.id || disabled" @click="allClick('新增')" style="color:#409EFF">新增 </el-button>
|
|
|
- <el-button type="text" size="small" :disabled="disabled || selectionList.length == 0" @click="allClick('批量删除')" style="color:#000"
|
|
|
+ <el-button size="small" type="text" :disabled="!form.id || disabled||(form.id&&form.dc=='C')" @click="allClick('新增')" style="color:#409EFF">新增 </el-button>
|
|
|
+ <el-button type="text" size="small" :disabled="disabled || selectionList.length == 0||(form.id&&form.dc=='C')" @click="allClick('批量删除')" style="color:#000"
|
|
|
>批量删除</el-button
|
|
|
>
|
|
|
- <el-button size="small" type="text" :disabled="!form.id || disabled" @click="allClick('提取明细')" style="color:#409EFF">提取明细 </el-button>
|
|
|
+ <el-button size="small" type="text" :disabled="!form.id || disabled||(form.id&&form.dc=='C')" @click="allClick('提取明细')" style="color:#409EFF">提取明细 </el-button>
|
|
|
<!-- <el-button :disabled="!form.id || disabled" size="small" type="success" @click="allClick('生成发票单')">生成发票单</el-button>
|
|
|
<el-button :disabled="!form.id || disabled" size="small" type="danger" @click="allClick('撤销发票单')">撤销发票单</el-button> -->
|
|
|
</template>
|