feat:车间物料按钮样式颜色改变

This commit is contained in:
shijing 2025-12-30 09:44:12 +08:00
parent 08a1dd1500
commit f88e3d27c8
2 changed files with 12 additions and 12 deletions

View File

@ -137,22 +137,22 @@
label="操作"
fixed="right"
align="center"
width="120"
width="180"
>
<template #default="scope">
<el-link :underline="false" @click="printMaterial(scope.row,'wm')" type="primary">打签</el-link>
<el-link :underline="false" v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20" @click="tableCheckList(scope.row)" type="primary">检验记录</el-link>
<el-link
<el-button :underline="false" @click="printMaterial(scope.row,'wm')" type="success">打签</el-button>
<el-button :underline="false" v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20" @click="tableCheckList(scope.row)" type="warning">检验记录</el-button>
<el-button
v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20"
:underline="false"
@click="inmCheck(scope.row)"
type="primary"
style="margin-left: 10px;"
>检验</el-link>
<el-link :underline="false" type="success"
>检验</el-button>
<el-button :underline="false" type="success"
v-if="route_code=='pengma'"
@click="handleAddWpr(scope.row)"
>混批加料</el-link>
>混批加料</el-button>
</template>
</el-table-column>
</scTable>

View File

@ -152,18 +152,18 @@
label="操作"
fixed="right"
align="center"
width="120"
width="180"
>
<template #default="scope">
<el-link :underline="false" @click="printMaterial(scope.row,'wm')" type="primary">打签</el-link>
<el-link :underline="false" v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20" @click="tableCheckList(scope.row)" type="primary">检验记录</el-link>
<el-link
<el-button :underline="false" @click="printMaterial(scope.row,'wm')" type="success">打签</el-button>
<el-button :underline="false" v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20" @click="tableCheckList(scope.row)" type="warning">检验记录</el-button>
<el-button
v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20"
:underline="false"
@click="inmCheck(scope.row)"
type="primary"
style="margin-left: 10px;"
>检验</el-link>
>检验</el-button>
</template>
</el-table-column>
</scTable>