From caf65b79cbaf0ae22c250ad240b0b932d45994e3 Mon Sep 17 00:00:00 2001
From: zjf <1799650030@qq.com>
Date: Thu, 20 Feb 2025 12:05:18 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../smErpInventoryRecords/index.vue | 35 ++---------
.../smErpInventoryRecordsOption.vue | 60 +++----------------
2 files changed, 15 insertions(+), 80 deletions(-)
diff --git a/src/views/supermarketerp/smErpInventoryRecords/index.vue b/src/views/supermarketerp/smErpInventoryRecords/index.vue
index 589f9e0..9405810 100644
--- a/src/views/supermarketerp/smErpInventoryRecords/index.vue
+++ b/src/views/supermarketerp/smErpInventoryRecords/index.vue
@@ -3,8 +3,8 @@
-
-
+
+
-
-
-
-
-
-
+
@@ -82,32 +74,17 @@
>
-
+
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
diff --git a/src/views/supermarketerp/smErpInventoryRecords/smErpInventoryRecordsOption.vue b/src/views/supermarketerp/smErpInventoryRecords/smErpInventoryRecordsOption.vue
index c57ea0a..32a2493 100644
--- a/src/views/supermarketerp/smErpInventoryRecords/smErpInventoryRecordsOption.vue
+++ b/src/views/supermarketerp/smErpInventoryRecords/smErpInventoryRecordsOption.vue
@@ -3,37 +3,19 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -43,22 +25,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -66,14 +32,6 @@
-
-
-
-
-
-
-
-
@@ -355,7 +313,7 @@ const baseDataForm = reactive
({
deptId: "",
supplierId: "",
remark: "",
- orderType: "",
+ orderType: "1",
totalAmount: "",
})
const state = reactive<{
@@ -420,7 +378,7 @@ const getInitData = async () => {
}
// 获取货商选项 & 获取采购计划编号
- const [supplierTypeOptions, planCode] = await Promise.allSettled([getSupplierTypeOptions(), getPlanCode({ type: 2 })]).then((results) =>
+ const [supplierTypeOptions, planCode] = await Promise.allSettled([getSupplierTypeOptions(), getPlanCode({ type: 3 })]).then((results) =>
results.map((result) => (result.status === "fulfilled" ? result.value : null)),
)
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)