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

View File

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