From da9e6c767a90d6b738f2c3384bbb86f70a6013a0 Mon Sep 17 00:00:00 2001
From: zhang_nuo <zhang_12370@163.com>
Date: 星期四, 05 二月 2026 17:01:16 +0800
Subject: [PATCH] 生产管控当中不需要客户名称,销售订单号,生产订单号,也不需要交货日期,以生产日期来确认生产信息。(同时不需要生产信息变色的操作了),生产订单可以自己新增。
---
src/views/inventoryManagement/stockManagement/Import.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/views/inventoryManagement/stockManagement/Import.vue b/src/views/inventoryManagement/stockManagement/Import.vue
index 7d898e1..2f3ff00 100644
--- a/src/views/inventoryManagement/stockManagement/Import.vue
+++ b/src/views/inventoryManagement/stockManagement/Import.vue
@@ -8,6 +8,7 @@
:disabled="upload.isUploading"
:showTip="true"
@success="handleFileSuccess"
+ :downloadTemplate="downloadTemplate"
/>
<template #footer>
<div class="dialog-footer">
@@ -19,7 +20,7 @@
</template>
<script setup>
-import {computed, reactive} from "vue";
+import {computed, getCurrentInstance, reactive} from "vue";
import { getToken } from "@/utils/auth.js";
import { FileUpload } from "@/components/Upload";
import { ElMessage } from "element-plus";
@@ -27,6 +28,8 @@
defineOptions({
name: "瀵煎叆搴撳瓨",
});
+
+const { proxy } = getCurrentInstance()
const props = defineProps({
visible: {
@@ -80,6 +83,10 @@
}
};
+const downloadTemplate = () => {
+ proxy.download("/stockInventory/downloadStockInventory", {}, "搴撳瓨瀵煎叆妯℃澘.xlsx");
+}
+
const closeModal = () => {
isShow.value = false;
};
--
Gitblit v1.9.3