From a0b97eb8e934ba28b9e51824d4cbbcc99cc70e17 Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期四, 18 七月 2024 23:08:00 +0800
Subject: [PATCH] fxi:解决发货bug

---
 src/views/sales/salesDetails/index.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/views/sales/salesDetails/index.vue b/src/views/sales/salesDetails/index.vue
index 0bf6b3b..b453895 100644
--- a/src/views/sales/salesDetails/index.vue
+++ b/src/views/sales/salesDetails/index.vue
@@ -37,7 +37,7 @@
                     <el-button @click.stop="shipmentsClick(scope.row)" type="text" size="small">鍙戣揣</el-button>
                   </template>
                   <template v-if="scope.row.status === 3">
-                    <el-button @click.stop="confirmClick(scope.row)" type="text" size="small">纭瀹屾垚</el-button>
+                    <el-button @click.stop="confirmClick(scope.row)" type="text" size="small">鍙戣揣瀹屾垚</el-button>
                   </template>
                 </template>
               </el-table-column>
@@ -192,15 +192,15 @@
         label: "閲囪喘鏁伴噺",
         isClass: true,
         getClassName: this.getFinishAmountClassName,
-        prop: "purchaseAmount2",
+        prop: "purchaseAmount",
       },
       {
-        label: "鐢熶骇鏁伴噺", prop: "makeAmount2",
+        label: "鐢熶骇鏁伴噺", prop: "makeAmount",
         isClass: true,
         getClassName: this.getFinishAmountClassName,
       },
       {
-        label: "濮斿鏁伴噺", prop: "outsourcingAmount2",
+        label: "濮斿鏁伴噺", prop: "outsourcingAmount",
         isClass: true,
         getClassName: this.getFinishAmountClassName,
       },
@@ -236,8 +236,8 @@
       { label: "瀹屾垚鏁伴噺", prop: "finishAmount" },
       { label: "宸ュ崟缂栧彿", prop: "workOrderId" },
       { label: "宸ュ崟鐘舵��", prop: "workOrderStatus" },
-      { label: "璁″垝寮�濮嬫椂闂�", prop: "startTime" },
-      { label: "璁″垝缁撴潫鏃堕棿", prop: "endTime" }
+      { label: "璁″垝寮�濮嬫椂闂�", prop: "startTime",min:130 },
+      { label: "璁″垝缁撴潫鏃堕棿", prop: "endTime",min:130 }
     ]
     // 閲囪喘淇℃伅
     const purchaseColumn = [
@@ -682,6 +682,7 @@
           })
         this.loading = false
       }
+      this.$forceUpdate()
     },
     getListValue(res) {
       if (this.TabsIndex == 0) {
@@ -695,7 +696,7 @@
               let b1 = number1 || number1 == 0 ? number1 : "--";
               string1 = b1 + "/" + a1;
             }
-            item.purchaseAmount2 = string1
+            item.purchaseAmount = string1
             let string2 = "--";
             let number2 = item.makeFinishAmount;
             let val2 = item.makeAmount
@@ -704,7 +705,7 @@
               let b2 = number2 || number2 == 0 ? number2 : "--";
               string2 = b2 + "/" + a2;
             }
-            item.makeAmount2 = string2
+            item.makeAmount = string2
             let string3 = "--";
             let number3 = item.outsourcingFinishAmount;
             let val3 = item.outsourcingAmount
@@ -713,7 +714,7 @@
               let b3 = number3 || number3 == 0 ? number3 : "--";
               string3 = b3 + "/" + a3;
             }
-            item.outsourcingAmount2 = string3
+            item.outsourcingAmount = string3
           }))
         }
         this.productTableList.tableInfomation = res.data && res.data.productInfo ? res.data.productInfo : []
@@ -895,7 +896,7 @@
     },
     // 鐘舵��
     getStatus(val) {
-      return val === 1 ? "寰呯‘璁�" : val === 2 ? "寰呭叆搴�" : val === 3 ? "宸插叆搴�" : val === 4 ? "宸插畬鎴�" : val === 5 ? "宸插彇娑�" : val === 6 ? "寰呮敹璐�" : val === 7 ? "閮ㄥ垎鏀惰揣" : val === 8 ? "寰呰川妫�" : "--"
+      return val === 1 ? "寰呯‘璁�" : val === 2 ? "寰呭垎瑙�" : val === 3 ? "澶囪揣涓�" : val === 4 ? "寰呭嚭搴�" : val === 5 ? "鍑哄簱瀹屾垚" : val === 6 ? "宸插叧闂�" : "--"
     },
     // top 琛岀偣鍑�
     tableRowClick(row) {

--
Gitblit v1.8.0