binxie
2023-06-16 da42e2995c00293af89c71fe5ba6e16cbb77e1b3
force-app/main/default/lwc/lexOutboundorderImport/lexOutboundorderImport.js
@@ -12,38 +12,45 @@
        label: "出库单名称",
        fieldName: "orderName",
        hideDefaultActions: true,
        initialWidth: 200
        initialWidth: 200,
        wrapText: true,
    },
    {
        label: "目的",
        fieldName: "orderSummonsForDirction",
        hideDefaultActions: true,
        wrapText: true,
    },
    {
        label: "医院编码",
        fieldName: "hospitalCode",
        hideDefaultActions: true,
        wrapText: true,
    },
    {
        label: "医院名称",
        fieldName: "hospitalName",
        hideDefaultActions: true,
        wrapText: true,
        initialWidth: 300
    },
    {
        label: "科室",
        fieldName: "orderOrderForCustomerText",
        hideDefaultActions: true,
        wrapText: true,
    },
    {
        label: "二级经销商",
        fieldName: "agencyName",
        hideDefaultActions: true,
        wrapText: true,
    },
    {
        label: "出库/销售日期",
        fieldName: "orderOutboundDate",
        hideDefaultActions: true,
        wrapText: true,
    },
];
export default class LexOutboundorderImport extends LightningElement {
@@ -159,6 +166,7 @@
        console.log('this.sqlagencyProType = ' + this.sqlagencyProType);
        console.log('this.userWorkLocation = ' + this.userWorkLocation);
        console.log('this.accountName = ' + this.accountName);
        console.log('encodeURIComponent(this.fileContents) = ' + encodeURIComponent(this.fileContents));
        importCSVFile({
            base64DataLwc: encodeURIComponent(this.fileContents),
            sqlagencyProTypeLwc: this.sqlagencyProType,