|
@@ -74,7 +74,7 @@ import { getForm, add, deleteTemp } from "@/api/excel";
|
|
|
const value1 = ref([]);
|
|
|
const options = ref([]);
|
|
|
const route = useRoute();
|
|
|
-const routeId = inject("routeId");
|
|
|
+const routeId = inject("operationId");
|
|
|
const prodtCode = inject("prodtCode");
|
|
|
//删除
|
|
|
const deleteTep = async (id) => {
|
|
@@ -91,7 +91,7 @@ const deleteTep = async (id) => {
|
|
|
const onSelected = async () => {
|
|
|
const { data, code } = await add({
|
|
|
baseFormIds: value1.value,
|
|
|
- operationId: routeId,
|
|
|
+ operationId: routeId.value,
|
|
|
materialCode: prodtCode,
|
|
|
});
|
|
|
if (code == "200") {
|