From da7c76e6a45796f9b3952a1e18481600837502ed Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 23 三月 2026 15:10:01 +0800
Subject: [PATCH] 新增报工产量信息计算,报工表格白班夜班区分

---
 src/views/productionManagement/productionReporting/index.vue |   42 ++++++++++++++++++++++++++----------------
 1 files changed, 26 insertions(+), 16 deletions(-)

diff --git a/src/views/productionManagement/productionReporting/index.vue b/src/views/productionManagement/productionReporting/index.vue
index a919973..08fc2a6 100644
--- a/src/views/productionManagement/productionReporting/index.vue
+++ b/src/views/productionManagement/productionReporting/index.vue
@@ -11,11 +11,19 @@
                     @keyup.enter="handleQuery" />
         </el-form-item>
         <el-form-item label="鐝粍:">
-          <el-input v-model="searchForm.teamName"
-                    placeholder="璇疯緭鍏�"
-                    clearable
-                    style="width: 160px;"
-                    @keyup.enter="handleQuery" />
+          <el-select v-model="searchForm.teamName"
+                     placeholder="璇烽�夋嫨"
+                     clearable
+                     style="width: 160px;"
+                     @keyup.enter="handleQuery">
+            <el-option label="鐧界彮"
+                       value="鐧界彮" />
+            <el-option label="澶滅彮"
+                       value="澶滅彮" />
+          </el-select>
+          <!-- <el-input v-model="searchForm.teamName"
+                    placeholder="璇疯緭鍏�""
+                    @keyup.enter="handleQuery" /> -->
         </el-form-item>
         <el-form-item label="浜у搧鍚嶇О:">
           <el-input v-model="searchForm.productName"
@@ -80,13 +88,15 @@
     {
       label: "鐢熶骇璁㈠崟鍙�",
       prop: "orderNo",
-      width: "150px",
     },
     {
       label: "鐝粍",
       prop: "teamName",
       width: "120px",
       dataType: "tag",
+      formatType: params => {
+        return params === "鐧界彮" ? "primary" : "warning";
+      },
     },
     {
       label: "浜у搧缂栫爜",
@@ -189,7 +199,7 @@
     {
       id: 1,
       orderNo: "PO202401001",
-      teamName: "鐢熶骇涓�缁�",
+      teamName: "鐧界彮",
       materialCode: "PC001",
       productName: "鏍囧噯鐮屽潡",
       specification: "600脳240脳200",
@@ -202,7 +212,7 @@
     {
       id: 2,
       orderNo: "PO202401002",
-      teamName: "鐢熶骇浜岀粍",
+      teamName: "澶滅彮",
       materialCode: "PC002",
       productName: "鏍囧噯鐮屽潡",
       specification: "600脳240脳200",
@@ -215,7 +225,7 @@
     {
       id: 3,
       orderNo: "PO202401003",
-      teamName: "鐢熶骇涓夌粍",
+      teamName: "鐧界彮",
       materialCode: "PC003",
       productName: "鍔犳皵鐮屽潡",
       specification: "600脳240脳250",
@@ -228,7 +238,7 @@
     {
       id: 4,
       orderNo: "PO202401004",
-      teamName: "鐢熶骇涓�缁�",
+      teamName: "鐧界彮",
       materialCode: "PC004",
       productName: "鏍囧噯鐮屽潡",
       specification: "600脳240脳200",
@@ -241,7 +251,7 @@
     {
       id: 5,
       orderNo: "PO202401005",
-      teamName: "鐢熶骇浜岀粍",
+      teamName: "澶滅彮",
       materialCode: "PC005",
       productName: "鍔犳皵鐮屽潡",
       specification: "600脳240脳250",
@@ -254,7 +264,7 @@
     {
       id: 6,
       orderNo: "PO202401006",
-      teamName: "鐢熶骇涓夌粍",
+      teamName: "鐧界彮",
       materialCode: "PC006",
       productName: "鏍囧噯鐮屽潡",
       specification: "600脳240脳200",
@@ -267,7 +277,7 @@
     {
       id: 7,
       orderNo: "PO202401007",
-      teamName: "鐢熶骇涓�缁�",
+      teamName: "鐧界彮",
       materialCode: "PC007",
       productName: "鍔犳皵鐮屽潡",
       specification: "600脳240脳250",
@@ -280,7 +290,7 @@
     {
       id: 8,
       orderNo: "PO202401008",
-      teamName: "鐢熶骇浜岀粍",
+      teamName: "澶滅彮",
       materialCode: "PC008",
       productName: "鏍囧噯鐮屽潡",
       specification: "600脳240脳200",
@@ -293,7 +303,7 @@
     {
       id: 9,
       orderNo: "PO202401009",
-      teamName: "鐢熶骇涓夌粍",
+      teamName: "鐧界彮",
       materialCode: "PC009",
       productName: "鍔犳皵鐮屽潡",
       specification: "600脳240脳250",
@@ -306,7 +316,7 @@
     {
       id: 10,
       orderNo: "PO202401010",
-      teamName: "鐢熶骇涓�缁�",
+      teamName: "鐧界彮",
       materialCode: "PC010",
       productName: "鏍囧噯鐮屽潡",
       specification: "600脳240脳200",

--
Gitblit v1.9.3