更新仓库、物料、班组

This commit is contained in:
2024-08-21 11:42:23 +08:00
parent ca08b46f77
commit 3c620f4dfa
44 changed files with 805 additions and 509 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: zwq
* @LastEditTime: 2024-08-05 16:12:58
* @LastEditTime: 2024-08-14 15:24:29
* @Description:
-->
<template>
@@ -56,7 +56,7 @@
</template>
<script>
import basicAdd from '../mixins/basic-add';
import basicAdd from '@/mixins/basic-add';
import { createMaterialDate, updateMaterialDate, getMaterialDate, getCode } from "@/api/base/materialDate";
import { getMaterialList } from "@/api/base/material";

View File

@@ -39,7 +39,7 @@
<script>
import AddOrUpdate from './add-or-updata';
import basicPage from '../mixins/basic-page';
import basicPage from '@/mixins/basic-page';
import { parseTime } from '../mixins/code-filter';
import {
getMaterDatePage,
@@ -164,27 +164,6 @@ export default {
console.log(val);
}
},
// 删除
deleteHandle(id, name, index) {
this.$confirm(`是否删除物料批次名称为"${name}"的数据项?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.urlOptions.deleteURL(id).then(({ data }) => {
this.$message({
message: "操作成功",
type: "success",
duration: 1500,
onClose: () => {
this.getDataList();
},
});
});
})
.catch(() => { });
}
},
};
</script>