|
@@ -11,11 +11,11 @@
|
|
|
<el-table-column prop="materialModel" label="物料型号" />
|
|
|
<el-table-column prop="materialName" label="物料名称" />
|
|
|
<el-table-column prop="orderCode" label="订单编号" />
|
|
|
- <el-table-column prop="seqNoList" label="管号">
|
|
|
+ <!-- <el-table-column prop="seqNoList" label="管号">
|
|
|
<template #default="scope">
|
|
|
{{ scope.row.seqNoList.join(", ") }}
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column prop="hOrder" label="H级">
|
|
|
<template #default="{ row }">
|
|
|
{{ row.hOrder == "1" ? "是" : "否" }}
|
|
@@ -27,6 +27,14 @@
|
|
|
link
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
+ @click="showSeq(row.seqNoList)"
|
|
|
+ >查看管号</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ link
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ v-hasPerm="[ButtonPermKeys.PLAN.BTNS.filtersheet_del]"
|
|
|
@click="deleteSheet(row.id)"
|
|
|
>删除</el-button
|
|
|
>
|
|
@@ -146,11 +154,26 @@
|
|
|
>{{ item.formName }}</el-card
|
|
|
>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ v-model="dialog2.visible"
|
|
|
+ :title="dialog2.title"
|
|
|
+ width="950px"
|
|
|
+ @close="dialog2.visible = false"
|
|
|
+ >
|
|
|
+ <el-card
|
|
|
+ style="cursor: pointer; font-size: 20px"
|
|
|
+ shadow="always"
|
|
|
+ :key="item"
|
|
|
+ v-for="item in showSeqList"
|
|
|
+ >{{ item }}</el-card
|
|
|
+ >
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script setup>
|
|
|
import { ref } from "vue";
|
|
|
import dictDataUtil from "@/common/configs/dictDataUtil";
|
|
|
+import ButtonPermKeys from "@/common/configs/buttonPermission";
|
|
|
import {
|
|
|
filterList,
|
|
|
getSeqList,
|
|
@@ -166,6 +189,11 @@ const addStatus = ref(false);
|
|
|
const ExDataObj = ref({});
|
|
|
const workOderShow = ref(false);
|
|
|
const showProList = ref([]);
|
|
|
+const showSeqList = ref([]);
|
|
|
+const showSeq = (seqs) => {
|
|
|
+ showSeqList.value = seqs;
|
|
|
+ dialog2.visible = true;
|
|
|
+};
|
|
|
const showProExcel = async (id) => {
|
|
|
const { data, code } = await getProExcel(id);
|
|
|
showProList.value = data;
|
|
@@ -183,6 +211,10 @@ const dialog1 = reactive({
|
|
|
visible: false,
|
|
|
title: "工单编码选择",
|
|
|
});
|
|
|
+const dialog2 = reactive({
|
|
|
+ title: "管号列表",
|
|
|
+ visible: false,
|
|
|
+});
|
|
|
const dialog8 = reactive({
|
|
|
title: "筛选单列表",
|
|
|
visible: false,
|