From 5b5c1e16deaa3a9d6d0ed1ffca390655ed103df7 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 14 七月 2023 14:56:14 +0800
Subject: [PATCH] lex community

---
 force-app/main/default/lwc/lexTopPage/lexTopPage.js |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/force-app/main/default/lwc/lexTopPage/lexTopPage.js b/force-app/main/default/lwc/lexTopPage/lexTopPage.js
index 2af5fa4..7ecdcc9 100644
--- a/force-app/main/default/lwc/lexTopPage/lexTopPage.js
+++ b/force-app/main/default/lwc/lexTopPage/lexTopPage.js
@@ -83,12 +83,14 @@
                 recordId: { fieldName: 'Id' }
             },
             hideDefaultActions: true,
-            initialWidth: 200
+            // initialWidth: 200,
+            wrapText: true
         },
         {
             label: 'SAP鍚堝悓鍙�',
             fieldName: 'ContractNo__c',
             hideDefaultActions: true,
+            wrapText: true,
             initialWidth: 180
         },
         {
@@ -111,7 +113,7 @@
                 recordId: { fieldName: 'Id' }
             },
             hideDefaultActions: true,
-            initialWidth: 110
+            initialWidth: 100
         },
         {
             label: '寰呯郴缁熸搷浣滃叆搴撴暟閲�',
@@ -122,7 +124,7 @@
                 recordId: { fieldName: 'Id' }
             },
             hideDefaultActions: true,
-            initialWidth: 180
+            initialWidth: 150
         },
         {
             label: '杩樻病鍙戣揣鏁伴噺',
@@ -144,19 +146,19 @@
                 recordId: { fieldName: 'Id' }
             },
             hideDefaultActions: true,
-            initialWidth: 180
+            initialWidth: 150
         },
         {
             label: '鏈�鏂板彂璐ф棩鏈�',
             fieldName: 'Shipment_date__c',
             hideDefaultActions: true,
-            initialWidth: 140
+            initialWidth: 105
         },
         {
             label: '棣栨鍙戣揣鏃ユ湡',
             fieldName: 'First_Delivery__c',
             hideDefaultActions: true,
-            initialWidth: 140
+            initialWidth: 105
         }
     ];
 
@@ -647,11 +649,12 @@
 
     editProductLimit(event) {
         //add by Wang Xueqin 2023/05/05
-        let url =
-            '/LexProductLimitEdit?accountid=' +
-            this.accountId +
-            '&userPro_Type=' +
-            this.userPro_Type;
+        //let url =
+            // '/LexProductLimitEdit?accountid=' +
+            // this.accountId +
+            // '&userPro_Type=' +
+            // this.userPro_Type;
+        let url = "/lexproductlimitedit?accountid=" + this.accountId + "&userPro_Type=" + this.userPro_Type;
         const config = {
             type: 'standard__webPage',
             attributes: {

--
Gitblit v1.9.1