feat: 退火页面按钮控制
This commit is contained in:
parent
f1c6c409b0
commit
6e6186d143
|
|
@ -30,22 +30,24 @@
|
||||||
<el-table-column label="不合格数" prop="count_notok">
|
<el-table-column label="不合格数" prop="count_notok">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" fixed="right" align="center" width="180">
|
<el-table-column label="操作" fixed="right" align="center" width="180">
|
||||||
|
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button link type="primary" :disabled="scope.row.submit_user != null"
|
<el-button link type="primary" v-if="scope.row.submit_time == null"
|
||||||
@click="table_edit(scope.row)" v-auth="'mlog.update'">
|
@click="table_edit(scope.row)" v-auth="'mlog.update'">
|
||||||
编辑
|
编辑
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<el-button link type="danger" @click="table_del(scope.row)" v-auth="'mlog.delete'"
|
||||||
|
v-if="scope.row.submit_time == null">
|
||||||
|
删除
|
||||||
|
</el-button>
|
||||||
<el-button link type="success" v-if="scope.row.submit_user == null"
|
<el-button link type="success" v-if="scope.row.submit_user == null"
|
||||||
@click="table_submit(scope.row)" v-auth="'mlog.submit'">
|
@click="table_submit(scope.row)" v-auth="'mlog.submit'">
|
||||||
提交
|
提交
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button link type="warning" v-else @click="table_revert(scope.row)"
|
<el-button link type="warning" v-if="scope.row.submit_time != null"
|
||||||
v-auth="'mlog.submit'">
|
@click="table_revert(scope.row)" v-auth="'mlog.submit'">
|
||||||
撤回
|
撤回
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button link type="danger" @click="table_del(scope.row)" v-auth="'mlog.delete'">
|
|
||||||
删除
|
|
||||||
</el-button>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</scTable>
|
</scTable>
|
||||||
|
|
@ -71,6 +73,7 @@
|
||||||
<el-table-column label="送料日期" prop="send_date">
|
<el-table-column label="送料日期" prop="send_date">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="产物" prop="material" show-overflow-tooltip>
|
<el-table-column label="产物" prop="material" show-overflow-tooltip>
|
||||||
|
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="scope.row.material_out_">
|
<span v-if="scope.row.material_out_">
|
||||||
{{ scope.row.material_out_.full_name }}
|
{{ scope.row.material_out_.full_name }}
|
||||||
|
|
@ -85,12 +88,14 @@
|
||||||
<el-table-column label="接收人" prop="recive_user_name">
|
<el-table-column label="接收人" prop="recive_user_name">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="是否确认" prop="submit_time">
|
<el-table-column label="是否确认" prop="submit_time">
|
||||||
|
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="scope.row.submit_time">是</span>
|
<span v-if="scope.row.submit_time">是</span>
|
||||||
<span v-else>否</span>
|
<span v-else>否</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" fixed="right" align="left" width="100">
|
<el-table-column label="操作" fixed="right" align="left" width="100">
|
||||||
|
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button link type="primary" @click="handover_edit(scope.row)"
|
<el-button link type="primary" @click="handover_edit(scope.row)"
|
||||||
v-auth="'handover.update'" v-if="scope.row.submit_time == null">
|
v-auth="'handover.update'" v-if="scope.row.submit_time == null">
|
||||||
|
|
@ -121,24 +126,28 @@
|
||||||
<scTable ref="table_wm" :apiObj="apiObjWm" row-key="id" :params="paramsWm" stripe
|
<scTable ref="table_wm" :apiObj="apiObjWm" row-key="id" :params="paramsWm" stripe
|
||||||
hidePagination>
|
hidePagination>
|
||||||
<el-table-column label="物料名" prop="material">
|
<el-table-column label="物料名" prop="material">
|
||||||
|
|
||||||
<template #default="scope">{{
|
<template #default="scope">{{
|
||||||
scope.row.material_.name
|
scope.row.material_.name
|
||||||
}}</template>
|
}}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="规格" prop="material">
|
<el-table-column label="规格" prop="material">
|
||||||
|
|
||||||
<template #default="scope">{{
|
<template #default="scope">{{
|
||||||
scope.row.material_.specification
|
scope.row.material_.specification
|
||||||
}}</template>
|
}}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="型号" prop="material">
|
<el-table-column label="型号" prop="material">
|
||||||
|
|
||||||
<template #default="scope">{{
|
<template #default="scope">{{
|
||||||
scope.row.material_.model
|
scope.row.material_.model
|
||||||
}}</template>
|
}}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="已到工序" prop="material">
|
<el-table-column label="已到工序" prop="material">
|
||||||
|
|
||||||
<template #default="scope">{{
|
<template #default="scope">{{
|
||||||
scope.row.material_.process_name
|
scope.row.material_.process_name
|
||||||
}}</template>
|
}}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="批次" prop="batch"> </el-table-column>
|
<el-table-column label="批次" prop="batch"> </el-table-column>
|
||||||
<el-table-column label="数量" prop="count" width="80">
|
<el-table-column label="数量" prop="count" width="80">
|
||||||
|
|
@ -213,6 +222,7 @@
|
||||||
@closed="dialogSave = false">
|
@closed="dialogSave = false">
|
||||||
</save-dialog>
|
</save-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import saveDialog from "./worktask_form.vue";
|
import saveDialog from "./worktask_form.vue";
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue