|
|
|
@ -17,13 +17,30 @@ |
|
|
|
> |
|
|
|
> |
|
|
|
<template #menu-left> </template> |
|
|
|
<template #menu-left> </template> |
|
|
|
<template #menu-right> </template> |
|
|
|
<template #menu-right> </template> |
|
|
|
<template #menu="{ row }"> |
|
|
|
<template #menu="scope"> |
|
|
|
|
|
|
|
<!-- 按钮展示规则 |
|
|
|
|
|
|
|
完成:sjMoldPreparation字段是空或者不等于2 |
|
|
|
|
|
|
|
发送:sjKitPreparation字段是空或者不等于2 |
|
|
|
|
|
|
|
车间订单生成:sjKitPreparation字段等于2 |
|
|
|
|
|
|
|
--> |
|
|
|
<!-- 石墨模准备完成 --> |
|
|
|
<!-- 石墨模准备完成 --> |
|
|
|
<el-button v-if="row.sjMoldPreparation==''||row.sjMoldPreparation==null||row.sjMoldPreparation!=2" type="text" @click="moldComplete(scope.row.yoId)">完成</el-button> |
|
|
|
<el-button |
|
|
|
|
|
|
|
v-if="scope.row.sjMoldPreparation != 2" |
|
|
|
|
|
|
|
type="text" |
|
|
|
|
|
|
|
@click="moldComplete(scope.row.yoId)" |
|
|
|
|
|
|
|
>完成</el-button |
|
|
|
|
|
|
|
> |
|
|
|
<!-- 齐套流转完成 --> |
|
|
|
<!-- 齐套流转完成 --> |
|
|
|
<el-button v-if="row.sjKitPreparation==''||row.sjKitPreparation==null||row.sjKitPreparation!=2" type="text" @click="sendKit(scope.row.yoId)">发送</el-button> |
|
|
|
<el-button |
|
|
|
|
|
|
|
v-if="scope.row.sjKitPreparation != 2" |
|
|
|
|
|
|
|
type="text" |
|
|
|
|
|
|
|
@click="sendKit(scope.row.yoId)" |
|
|
|
|
|
|
|
>发送</el-button |
|
|
|
|
|
|
|
> |
|
|
|
<!-- 车间订单生成 --> |
|
|
|
<!-- 车间订单生成 --> |
|
|
|
<el-button v-if="row.sjKitPreparation==2" type="text" @click="orderGen(scope.row.yoId)">车间订单生成</el-button> |
|
|
|
<el-button v-if="row.sjKitPreparation == 2" type="text" @click="orderGen(scope.row.yoId)" |
|
|
|
|
|
|
|
>车间订单生成</el-button |
|
|
|
|
|
|
|
> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<template #heatTreat="scope"> |
|
|
|
<template #heatTreat="scope"> |
|
|
|
@ -173,6 +190,7 @@ export default { |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
width: 150, |
|
|
|
width: 150, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '使用部门', |
|
|
|
label: '使用部门', |
|
|
|
prop: 'useDept', |
|
|
|
prop: 'useDept', |
|
|
|
|