buli
2023-05-23 89c6a02c36153a85b15e016650526fa795a551bf
force-app/main/default/lwc/lexCustomLightningDatatable/lexCustomLightningDatatable.js
@@ -8,6 +8,10 @@
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 { loadStyle} from 'lightning/platformResourceLoader';
import LexCustomDataTable from '@salesforce/resourceUrl/LexCustomDataTable';
@@ -31,7 +35,7 @@
        },
        customDiffReason : {
            template: customDiffReasonTemplate,
            typeAttributes: ['ProdId'],
            typeAttributes: ['ProdId','boxPiece'],
        },
        customAttachmentType: {
            template: attachmentTypeTemplate,
@@ -39,7 +43,7 @@
        },
        customTableInput: {
            template: customTableInputTemplate,
            typeAttributes:['inputValue','recordId','valueType'],
            typeAttributes:['inputValue','recordId','valueType','upperLimit','lowerLimit','allnumber'],
        },
        customOutputGood:{
            template: customOutputGoodsTemplate,
@@ -48,6 +52,22 @@
        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'],
        }
    };
    constructor() {