|
@@ -311,6 +311,7 @@ export const useHooks = (t?: any) => {
|
|
];
|
|
];
|
|
|
|
|
|
const columns_bottom: ColumnProps<any>[] = [
|
|
const columns_bottom: ColumnProps<any>[] = [
|
|
|
|
+ { type: "checkbox", width: 40, fixed: "left" },
|
|
{
|
|
{
|
|
field: "mtrlname",
|
|
field: "mtrlname",
|
|
title: "物料名称",
|
|
title: "物料名称",
|
|
@@ -601,7 +602,8 @@ export const useHooks = (t?: any) => {
|
|
const delArr = checkDate.map((item: any) => {
|
|
const delArr = checkDate.map((item: any) => {
|
|
if (type === 0) return { contfigtypeid: parseInt(item.contfigtypeid) };
|
|
if (type === 0) return { contfigtypeid: parseInt(item.contfigtypeid) };
|
|
if (type === 1) return { typeid: parseInt(item.typeid), pzid: parseInt(item.pzid) };
|
|
if (type === 1) return { typeid: parseInt(item.typeid), pzid: parseInt(item.pzid) };
|
|
- return { pzid: parseInt(item.pzid), printid: parseInt(item.printid) };
|
|
|
|
|
|
+ if (type === 2) return { pzid: parseInt(item.pzid), printid: parseInt(item.printid) };
|
|
|
|
+ return { pzid: parseInt(item.pzid), printid: parseInt(item.printid), pid: parseInt(item.pid) };
|
|
});
|
|
});
|
|
ElMessageBox.confirm("是否确定要删除吗?", "询问", {
|
|
ElMessageBox.confirm("是否确定要删除吗?", "询问", {
|
|
confirmButtonText: "是",
|
|
confirmButtonText: "是",
|