|
@@ -72,13 +72,13 @@
|
|
|
</el-form-item>
|
|
|
<div style="margin-top: 20px">
|
|
|
<el-button type="primary" @click="handleWasteRecycling"
|
|
|
- :disabled="selections.length == 0 || selections.length > 1 || checkRecycle()"
|
|
|
+ :disabled="selections.length == 0 || selections.length > 1"
|
|
|
v-hasPermi="['business:lot:wasteRecycling']">添加废品回用</el-button>
|
|
|
- <el-button :disabled="selections.length !== 1 || checkRecycle()" type="primary" @click="showInBatch"
|
|
|
+ <el-button :disabled="selections.length !== 1" type="primary" @click="showInBatch"
|
|
|
v-hasPermi="['business:lot:inBatch']">分批</el-button>
|
|
|
- <el-button type="primary" :disabled="once || checkRecycle()" @click="handleOnceSingleChange"
|
|
|
+ <el-button type="primary" :disabled="once" @click="handleOnceSingleChange"
|
|
|
v-hasPermi="['business:lot:onceSingleChange']">单批单改</el-button>
|
|
|
- <el-button type="primary" :disabled="multi || checkRecycle()" @click="handleMultiSingleChange"
|
|
|
+ <el-button type="primary" :disabled="multi" @click="handleMultiSingleChange"
|
|
|
v-hasPermi="['business:lot:multiSingleChange']">多批单改</el-button>
|
|
|
</div>
|
|
|
</el-form>
|