From cb95755fe8496d8af6d40b05c4bbd4b6df2e77ab Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 05 六月 2023 14:39:34 +0800
Subject: [PATCH] LEX Community Report&Dashboard
---
force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js | 43 +++++++++++++++++++++++++++++++++++++++----
1 files changed, 39 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js b/force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js
index eb6822a..153ee76 100644
--- a/force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js
+++ b/force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js
@@ -8,6 +8,13 @@
import customTableInputTemplate from './customTableInput.html';
import customOutputGoodsTemplate from './customOutputGoods.html';
import customReturnGoodInputTemplate from './customReturnGoodInput.html';
+import customInventoryColorTemplate from './customInventoryColor.html';
+import customTableCellIconTemplate from './customTableCellIcon.html';
+import customOutboundCountTemplate from './customOutboundCount.html';
+import customWeeklyReportTemplate from './customWeeklyReport.html';
+import customAgencyOppInputTemplate from './customAgencyOppInput.html';
+import customMyDrCheckBoxTemplate from './customMyDrCheckBox.html';
+import customdeleteReasonTemplate from './customdeleteReason.html';
import { loadStyle} from 'lightning/platformResourceLoader';
import LexCustomDataTable from '@salesforce/resourceUrl/LexCustomDataTable';
@@ -15,7 +22,7 @@
static customTypes = {
customUnit: {
template: customUnitTemplate,
- typeAttributes: ['unitValue','unitOptions','recordId'],
+ typeAttributes: ['unitValue','unitOptions','recordId','isDisabled'],
},
customShipment: {
template: customShipmentNumberTemplate,
@@ -31,7 +38,7 @@
},
customDiffReason : {
template: customDiffReasonTemplate,
- typeAttributes: ['ProdId'],
+ typeAttributes: ['ProdId','boxPiece'],
},
customAttachmentType: {
template: attachmentTypeTemplate,
@@ -39,7 +46,7 @@
},
customTableInput: {
template: customTableInputTemplate,
- typeAttributes:['inputValue','recordId','valueType'],
+ typeAttributes:['inputValue','recordId','valueType','upperLimit','lowerLimit','allnumber'],
},
customOutputGood:{
template: customOutputGoodsTemplate,
@@ -48,7 +55,35 @@
customReturnGoodInput:{
template: customReturnGoodInputTemplate,
typeAttributes:['inputValue','boxPrice','recordId'],
- }
+ },
+ customInventoryColor:{
+ template: customInventoryColorTemplate,
+ typeAttributes:['value','upperlimit','lowerlimit','boxPrice'],
+ },
+ tableCellIcon:{
+ template: customTableCellIconTemplate,
+ typeAttributes:['iconName','recordId'],
+ },
+ outboundCount:{
+ template: customOutboundCountTemplate,
+ typeAttributes:['isDisable','recordId','Count'],
+ },
+ weeklyReport:{
+ template: customWeeklyReportTemplate,
+ typeAttributes:['recordId','hospitalName','isShowButton'],
+ },
+ agencyOppInput:{
+ template: customAgencyOppInputTemplate,
+ typeAttributes:['inputValue','recordId','fieldName','showType'],
+ },
+ MyDrCheckBox:{
+ template: customMyDrCheckBoxTemplate,
+ typeAttributes:['recordId','isCheckedMyDr'],
+ },
+ deleteReason:{
+ template: customdeleteReasonTemplate,
+ typeAttributes:['recordId'],
+ },
};
constructor() {
super();
--
Gitblit v1.9.1