From 8c8f51f10bb9e158cb8b89cb8d58e4ce7d467583 Mon Sep 17 00:00:00 2001 From: binxie <137736985@qq.com> Date: 星期一, 26 六月 2023 11:29:01 +0800 Subject: [PATCH] backup0626 --- force-app/main/default/lwc/lexConsumable/lexConsumable.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/lwc/lexConsumable/lexConsumable.js b/force-app/main/default/lwc/lexConsumable/lexConsumable.js index 1bc8cee..9733513 100644 --- a/force-app/main/default/lwc/lexConsumable/lexConsumable.js +++ b/force-app/main/default/lwc/lexConsumable/lexConsumable.js @@ -142,7 +142,7 @@ //娑堣�楀搧鏁版嵁col get cols(){ var cols = []; - cols.push({label:'娑堣�楀搧鍚嶇О',fieldName:'prodName',wrapText:true,hideDefaultActions: true,sortable: true}); + cols.push({label:'娑堣�楀搧鍚嶇О',fieldName:'prodName',wrapText:true,hideDefaultActions: true,sortable: true,initialWidth:150}); cols.push({label:'瑙勬牸',fieldName:'packing_list',wrapText:true,hideDefaultActions: true,initialWidth:50,cellAttributes: { alignment: "right" }}); cols.push({label:'CFDA鐘舵��',fieldName:'prodSFDAStatus',wrapText:true,hideDefaultActions: true,initialWidth:97}); cols.push({label:'娉ㄥ唽璇佺紪鐮佸彿',fieldName:'approbation_No',wrapText:true,hideDefaultActions: true,initialWidth:120}); @@ -245,6 +245,8 @@ this.consumableorderdetailsRecordsview[i].check = true; }else{ this.consumableorderdetailsRecordsview[i].check = false; + this.consumableorderdetailsRecordsview[i].esd.Consumable_count__c = null; + this.consumableorderdetailsRecordsview[i].consumableCount = null; } } } @@ -951,7 +953,7 @@ this.showSpinner = true; var recordId = event.target.getAttribute("data-fileid"); console.log('attid:'+recordId); - deleteAtt({contentVersionId : recordId}) + deleteAtt({contentVersionId : recordId, cocId : this.esetId}) .then(result=>{ this.showSpinner = false; if(result.result == 'Success'){ -- Gitblit v1.9.1