|
@@ -161,6 +161,12 @@
|
|
|
<el-table-column label="工序名称" prop="remark"/>
|
|
|
<el-table-column label="零、部(组)件图号" prop="materialCode" />
|
|
|
<el-table-column label="名称" prop="materialName" />
|
|
|
+ <el-table-column label="齐套状态" align="checkState" >
|
|
|
+ <template v-slot="{ row }">
|
|
|
+ <el-tag v-if="row.checkState === 0" type="danger">未齐套</el-tag>
|
|
|
+ <el-tag v-if="row.checkState === 1" type="success">已齐套</el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="数量" align="num">
|
|
|
<template v-slot="{ row }">
|
|
|
<el-text v-if="dialogType === 1 || form.state > 0">{{
|
|
@@ -217,6 +223,7 @@
|
|
|
<template #header>
|
|
|
<div class="card-header">
|
|
|
<span>领用流程</span>
|
|
|
+ <el-button type="primary" style="margin-left: 25px;" v-if="form.state === '0'" @click="checkState(form.applyCode)">齐套检查</el-button>
|
|
|
</div>
|
|
|
<el-timeline style="max-width: 500px">
|
|
|
<el-timeline-item center type="success" placement="top">
|
|
@@ -484,6 +491,7 @@ import { html2CanvasPrint } from "@/utils/common";
|
|
|
import { useCrud } from "@/hooks/userCrud";
|
|
|
import dictDataUtil from "@/common/configs/dictDataUtil";
|
|
|
import {
|
|
|
+ requisitionCheck,
|
|
|
queryApplyInfoDetails,
|
|
|
queryWorkOrderList,
|
|
|
saveApplyInfoDetails,
|
|
@@ -636,6 +644,11 @@ const dialog1 = reactive({
|
|
|
title: "物料信息配置(请使用谷歌浏览器实现)",
|
|
|
visible: false,
|
|
|
});
|
|
|
+const checkState = (applyCode) =>{
|
|
|
+ requisitionCheck(applyCode).then((data) => {
|
|
|
+ tableDataList.value = data.data;
|
|
|
+ });
|
|
|
+}
|
|
|
const tableDataList = ref([]);
|
|
|
const openDialog = (type, row) => {
|
|
|
dialogType.value = type;
|