fix:只有喷码时显示喷码按钮
This commit is contained in:
parent
a10f797569
commit
0bbac578e9
|
|
@ -9,14 +9,16 @@
|
|||
<h4>关联产品</h4>
|
||||
<el-button v-if="mode=='out'" type="primary" @click="wprNumberChange">发货编号</el-button>
|
||||
<el-button v-if="mode=='out'" type="warning" @click="wprNumberClear">清空编号</el-button>
|
||||
<el-button type="primary" @click="openSplit">拆批</el-button>
|
||||
<el-button v-if="mgroupName=='喷码'" type="primary" @click="openSplit">拆批</el-button>
|
||||
<el-button
|
||||
v-if="mgroupName=='喷码'"
|
||||
type="warning"
|
||||
:disabled="selectedRows.length === 0"
|
||||
:loading="batchCoderLoading"
|
||||
@click="batchSendToCoder"
|
||||
>批量喷数字码</el-button>
|
||||
<el-button
|
||||
v-if="mgroupName=='喷码'"
|
||||
type="warning"
|
||||
:disabled="selectedRows.length === 0"
|
||||
:loading="batchCoderLoading2"
|
||||
|
|
@ -69,8 +71,8 @@
|
|||
<template #default="scope">
|
||||
<el-button v-if="mode=='ins'&&mgroupName=='毛坯检测后打码'" @click="QRCode(scope.row)" type="success">二维码</el-button>
|
||||
<el-button @click="printMaterial(scope.row)" type="primary">打签</el-button>
|
||||
<el-button @click="sendToCoder(scope.row,'coder_field')" type="warning" :loading="!!coderLoadingIds[scope.row.id]" :disabled="!!coderLoadingIds[scope.row.id]">喷码</el-button>
|
||||
<el-button @click="sendToCoder(scope.row,'coder_field2')" type="warning" :loading="!!coderLoadingIds[scope.row.id]" :disabled="!!coderLoadingIds[scope.row.id]">喷码</el-button>
|
||||
<el-button @click="sendToCoder(scope.row,'coder_field')" type="warning" v-if="mode=='ins'&&mgroupName=='喷码'" :loading="!!coderLoadingIds[scope.row.id]" :disabled="!!coderLoadingIds[scope.row.id]">喷码</el-button>
|
||||
<el-button @click="sendToCoder(scope.row,'coder_field2')" type="warning" v-if="mode=='ins'&&mgroupName=='喷码'" :loading="!!coderLoadingIds[scope.row.id]" :disabled="!!coderLoadingIds[scope.row.id]">喷码</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
|
|||
Loading…
Reference in New Issue