From da42e2995c00293af89c71fe5ba6e16cbb77e1b3 Mon Sep 17 00:00:00 2001 From: binxie <137736985@qq.com> Date: 星期五, 16 六月 2023 17:24:31 +0800 Subject: [PATCH] backup code --- force-app/main/default/lwc/lexTopPage/lexTopPage.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/lwc/lexTopPage/lexTopPage.js b/force-app/main/default/lwc/lexTopPage/lexTopPage.js index cb6582a..c2d88d1 100644 --- a/force-app/main/default/lwc/lexTopPage/lexTopPage.js +++ b/force-app/main/default/lwc/lexTopPage/lexTopPage.js @@ -84,7 +84,7 @@ }, hideDefaultActions: true,initialWidth: 200 }, - { label: 'SAP鍚堝悓鍙�', fieldName: 'ContractNo__c', hideDefaultActions: true}, + { label: 'SAP鍚堝悓鍙�', fieldName: 'ContractNo__c', hideDefaultActions: true,initialWidth:180}, { label: '璁㈠崟鎬绘暟', type: "customOutputGood", @@ -141,7 +141,7 @@ @track colms2 = [ { label: '浜у搧鍨嬪彿', fieldName: 'prodModel', hideDefaultActions: true }, - { label: '鏁伴噺', fieldName: 'recordCount', hideDefaultActions: true ,initialWidth: 100} + { label: '鏁伴噺', fieldName: 'recordCount', hideDefaultActions: true ,initialWidth: 60,cellAttributes: { alignment: "center" }} ]; //浣跨敤鏈熼檺灏忎簬涓�骞寸殑浜у搧col @@ -329,6 +329,7 @@ this.hasHos = result.hasHos; this.product_Limit = result.product_Limit; console.log('result==>' + JSON.stringify(result)); + for (var i in this.pageRecords) { this.pageRecords[i]["Name__c"] = this.pageRecords[i].Prod.Name__c; this.pageRecords[i]["Category3__c"] = this.pageRecords[i].Prod.Category3__c; -- Gitblit v1.9.1