From d809ecd16cbb23f5aad86a6844f51ffea0455fe8 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 06 九月 2024 16:53:55 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/northglass-erp/src/views/sd/delivery/SelectOrderList.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/sd/delivery/SelectOrderList.vue b/north-glass-erp/northglass-erp/src/views/sd/delivery/SelectOrderList.vue
index 3114c1b..038385e 100644
--- a/north-glass-erp/northglass-erp/src/views/sd/delivery/SelectOrderList.vue
+++ b/north-glass-erp/northglass-erp/src/views/sd/delivery/SelectOrderList.vue
@@ -256,8 +256,8 @@
           const projectArray=[];
           for (let i=0;i<selectRecords.length;i++){
             customerIdArray.push(selectRecords[i].customerId)
-            if(selectRecords[i].project.trim.length===0){
-              projectArray.push(selectRecords[i].project.trim)
+            if(selectRecords[i].project.trim().length===0){
+              projectArray.push(selectRecords[i].project.trim())
             }else{
               projectArray.push(selectRecords[i].project)
             }
@@ -274,7 +274,6 @@
             return
           }
           //鍒ゆ柇鎵�閫夐」鐩槸鍚︾浉鍚�
-          console.log(projectArray)
           if(!isAllEqual(projectArray)){
             ElMessage.warning(t('delivery.pleaseSelectTheSameCustomerProject'))
             return

--
Gitblit v1.8.0