buli
2023-05-23 19f3491cd91e0c863eb13f0c6c69aca5634ed1d9
force-app/main/default/lwc/lexinventoryViewLWC/lexinventoryViewLWC.js
@@ -133,7 +133,7 @@
         label: "CFDA状态",
         fieldName: "SFDA_Status__c",
         cellAttributes: { alignment: "left" },
         initialWidth: 80,
         initialWidth: 95,
         wrapText: true,
         hideDefaultActions: true,
      },
@@ -142,11 +142,12 @@
         fieldName: "guaranteeperiod",
         cellAttributes: { alignment: "left" },
         hideDefaultActions: true,
         initialWidth: 95
         initialWidth: 105
      },
      {
         label:'有效期内库存',
         type: "customInventoryColor",
         // sortable: true,
         cellAttributes: {alignment: "right" },
         typeAttributes: {
         value: { fieldName:"limitCount"},
@@ -155,8 +156,7 @@
         boxPrice:{ fieldName: "BoxPiece" },
         },
         hideDefaultActions: true,
         initialWidth:95
         initialWidth:150
      },
      {
@@ -164,7 +164,7 @@
         fieldName: "overlimitCount",
         hideDefaultActions: true,
         cellAttributes: { alignment: "right" },
         initialWidth:75
         initialWidth:80
      }
   ];
   defaultSortDirection = "asc";
@@ -272,7 +272,7 @@
                        hideDefaultActions: true,
                  type:'boolean',
                  cellAttributes: { alignment: "left" },
                  initialWidth:75
                  initialWidth:80
                    };
                    this.columns.push(object1);
@@ -290,7 +290,7 @@
            this.showSpinner = false;
         } else {
            // this.showToast("Error",'Error', result.msg);
            this.showMyToast('初始化失败','result.msg','error');
            this.showMyToast('初始化失败',result.msg,'error');
         }
      }).catch((error) => {
         this.loader = false;
@@ -441,7 +441,7 @@
               this.showTable = true;
            } else {
               // this.showToast("Error",'Error', result.msg);
               this.showMyToast('搜索失败','result.msg','error');
               this.showMyToast('搜索失败',result.msg,'error');
            }
         })
         .catch((error) => {
@@ -539,7 +539,7 @@
               this.showSpinner = false;
            } else {
               // this.showToast("Error", 'Error',result.msg);
               this.showMyToast('搜索失败','result.msg','error');
               this.showMyToast('搜索失败',result.msg,'error');
            }
         })
         .catch((error) => {