From df199d192fb14d590327469f1bfa3b8b12350c01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=90=B4=E6=99=AE=E5=BB=BA?= <450837357@qq.com>
Date: Sat, 15 Mar 2025 10:19:58 +0800
Subject: [PATCH] first
---
src/typings/md.d.ts | 4 +-
src/views/md/list/index.vue | 636 +++++++-------
src/views/procure/procureOrder/index.vue | 1022 +++++++---------------
3 files changed, 632 insertions(+), 1030 deletions(-)
diff --git a/src/typings/md.d.ts b/src/typings/md.d.ts
index 6fa6302..fbb395d 100644
--- a/src/typings/md.d.ts
+++ b/src/typings/md.d.ts
@@ -75,6 +75,7 @@ declare namespace List {
numMeasureName: string;
weightMeasureName: string;
createTime: string;
+ color?: string;
remark: string;
ifEnable: number;
};
@@ -95,6 +96,7 @@ declare namespace List {
specification: string;
processRouteId: string | null;
productName: string;
+ color?: string;
productTypeName?: string;
weightMeasureId: string | null;
weightMeasureName?: string;
@@ -153,7 +155,7 @@ declare namespace Item {
maxStock: string;
createTime: string;
remark: string;
- color: string,
+ color?: string,
ifEnable: number;
attr1: string | null;
attr2: string | null;
diff --git a/src/views/md/list/index.vue b/src/views/md/list/index.vue
index daab8c2..2c01329 100644
--- a/src/views/md/list/index.vue
+++ b/src/views/md/list/index.vue
@@ -1,114 +1,117 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
-
-
-
- 重置
-
-
-
-
-
-
-
-
-
- 新增产品
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+ 重置
+
+
+
+
+
+
+
+
+
+ 新增产品
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ {
console.log(value, item);
addForm.productTypeName = item.label;
}
"
- />
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {
addForm.weightMeasureName = item.label;
}
"
- />
-
-
-
-
-
-
-
-
-
-
+ />
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/procure/procureOrder/index.vue b/src/views/procure/procureOrder/index.vue
index ddd3b58..b3ce47e 100644
--- a/src/views/procure/procureOrder/index.vue
+++ b/src/views/procure/procureOrder/index.vue
@@ -2,194 +2,107 @@
-
-
-
-
+
+
-
-
+
+
-
-
+
+
-
+
+
+ 搜索
+
+
+
+ 重置
+
-
+
-
-
-
-
+
+
+
+ 新增产品
+
+
+
-
-
-
+
+
+
+ v-model:value="addForm.productTypeId"
+ :options="typeOptions"
+ placeholder="请输入产品分类"
+ @update:value="
+ (value, item: any) => {
+ console.log(value, item);
+ addForm.productTypeName = item.label;
+ }
+ "
+ />
-
-
-
-
+
+
-
+
+ v-model:value="addForm.productSize"
+ filterable
+ placeholder="请选择主型号"
+ :options="dictionaryOptions"
+ @update:value="dictionaryHandleChange"
+ />
- {{ getTotalPric }}
-
- {{ getTotalNum }}
+
+
-
- {{ getTotalWeight }}
+
+
+
+
+ {
+ addForm.weightMeasureName = item.label;
+ }
+ "
+ />
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ panel.form.numMeasureName }}
-
-
-
-
-
-
-
- ¥
-
-
-
-
-
-
- (kg)
-
-
-
-
-
-
-
-
-
-
- {{ getListTotal(panel, panel.form.weight, panel.form.price) }}
-
-
-
-
-
-
-
-
-
-
-
-
@@ -197,642 +110,307 @@
-
+