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/productionManagement/productionOrder/index.vue |   62 +++++--------------------------
 1 files changed, 10 insertions(+), 52 deletions(-)

diff --git a/src/views/productionManagement/productionOrder/index.vue b/src/views/productionManagement/productionOrder/index.vue
index 761139e..185c1e1 100644
--- a/src/views/productionManagement/productionOrder/index.vue
+++ b/src/views/productionManagement/productionOrder/index.vue
@@ -11,14 +11,6 @@
                     style="width: 160px;"
                     @change="handleQuery" />
         </el-form-item>
-        <el-form-item label="鍚堝悓鍙�:">
-          <el-input v-model="searchForm.salesContractNo"
-                    placeholder="璇疯緭鍏�"
-                    clearable
-                    prefix-icon="Search"
-                    style="width: 160px;"
-                    @change="handleQuery" />
-        </el-form-item>
         <el-form-item label="浜у搧鍚嶇О:">
           <el-input v-model="searchForm.productCategory"
                     placeholder="璇疯緭鍏�"
@@ -52,7 +44,6 @@
                 :tableData="tableData"
                 :page="page"
                 :tableLoading="tableLoading"
-                :row-class-name="tableRowClassName"
                 :isSelection="true"
                 @selection-change="handleSelectionChange"
                 @pagination="pagination">
@@ -119,16 +110,16 @@
   const isShowNewModal = ref(false);
 
   const tableColumn = ref([
-    {
-      label: "鐢熶骇璁㈠崟鍙�",
-      prop: "npsNo",
-      width: '120px',
-    },
-    {
-      label: "閿�鍞悎鍚屽彿",
-      prop: "salesContractNo",
-      width: '150px',
-    },
+    // {
+    //   label: "鐢熶骇璁㈠崟鍙�",
+    //   prop: "npsNo",
+    //   width: '120px',
+    // },
+    // {
+    //   label: "閿�鍞悎鍚屽彿",
+    //   prop: "salesContractNo",
+    //   width: '150px',
+    // },
     {
       label: "瀹㈡埛鍚嶇О",
       prop: "customerName",
@@ -249,23 +240,6 @@
     if (p < 50) return "#e6a23c";
     if (p < 80) return "#409eff";
     return "#67c23a";
-  };
-
-  // 娣诲姞琛ㄨ绫诲悕鏂规硶
-  const tableRowClassName = ({ row }) => {
-    if (!row.deliveryDate) return '';
-    if (row.isFh) return '';
-
-    const diff = row.deliveryDaysDiff;
-    if (diff === 15) {
-      return 'yellow';
-    } else if (diff === 10) {
-      return 'pink';
-    } else if (diff === 2) {
-      return 'purple';
-    } else if (diff < 2) {
-      return 'red';
-    }
   };
 
   // 缁戝畾宸ヨ壓璺嚎寮规
@@ -453,21 +427,5 @@
 <style scoped lang="scss">
 .search_form{
   align-items: start;
-}
-
-::v-deep .yellow {
-  background-color: #FAF0DE;
-}
-
-::v-deep .pink {
-  background-color: #FAE1DE;
-}
-
-::v-deep .red {
-  background-color: #f80202;
-}
-
-::v-deep .purple{
-  background-color: #F4DEFA;
 }
 </style>

--
Gitblit v1.9.3