buli
2023-07-11 cd05a7b0ab8dd5838f8998fb36fc0435fd9c5b84
force-app/main/default/lwc/lexSummonsCreat/lexSummonsCreat.js
@@ -1,5 +1,4 @@
import { LightningElement, wire, api, track } from "lwc";
save;
import init from "@salesforce/apex/LexSummonsCreatController.init";
import { ShowToastEvent } from "lightning/platformShowToastEvent";
import searchConsumableorderdetails from "@salesforce/apex/LexSummonsCreatController.searchConsumableorderdetails";
@@ -186,7 +185,6 @@
      label: "消耗品名称",
      fieldName: "Name__c",
      hideDefaultActions: true,
      initialWidth: 175,
      wrapText: true,
      sortable: true
    },
@@ -202,19 +200,21 @@
      label: "CFDA状态",
      fieldName: "SFDA_Status__c",
      hideDefaultActions: true,
      initialWidth: 100,
      wrapText: true
    },
    {
      label: "注册证编码号",
      fieldName: "approbation_No",
      hideDefaultActions: true,
      initialWidth: 130,
      initialWidth: 170,
      wrapText: true
    },
    {
      label: "注册证效期",
      fieldName: "expiration_Date",
      hideDefaultActions: true,
      initialWidth: 100,
      wrapText: true
    },
    {
@@ -248,6 +248,7 @@
    {
      label: "出货数量",
      fieldName: "Shipment_Count__c",
      initialWidth: 90,
      cellAttributes: { alignment: "right" },
      hideDefaultActions: true,
      wrapText: true
@@ -256,6 +257,7 @@
      label: "出货单价(元)",
      fieldName: "shippingUnitPrice",
      type: "number",
      initialWidth: 100,
      typeAttributes: {
        minimumFractionDigits: 2
      },
@@ -1035,6 +1037,7 @@
              label: this.InvoiceProNotLabel,
              fieldName: "InvoiceProNot_count__c",
              type: "number",
              initialWidth: 105,
              typeAttributes: {
                minimumFractionDigits: 2
              },
@@ -1044,12 +1047,14 @@
              label: this.RrturnProLabel,
              fieldName: "RrturnPro_count__c",
              cellAttributes: { alignment: "right" },
              initialWidth: 100,
              hideDefaultActions: true
            };
            let object3 = {
              label: this.InvoicedLabel,
              fieldName: "Invoiced_Procount__c",
              type: "number",
              initialWidth: 100,
              typeAttributes: {
                minimumFractionDigits: 2
              },
@@ -1117,6 +1122,7 @@
          if (this.hasHosPro) {
            let object1 = {
              label: "医院特价",
              initialWidth: 80,
              fieldName: "hospitalSpecialOffer",
              type: "boolean",
              hideDefaultActions: true
@@ -1579,7 +1585,7 @@
            label: "医院特价",
            fieldName: "hospitalSpecialOffer",
            type: "boolean",
            initialWidth: 100,
            initialWidth: 80,
            hideDefaultActions: true
          };
          this.columns.push(object1);