From f08088add834965ea9ee07dbd35804507e47f5e7 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 07 七月 2023 17:28:16 +0800
Subject: [PATCH] UATBackup

---
 force-app/main/default/lwc/lexConsumable/lexConsumable.js |   25 +++++++++++++++++++------
 1 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/force-app/main/default/lwc/lexConsumable/lexConsumable.js b/force-app/main/default/lwc/lexConsumable/lexConsumable.js
index 908f97e..c3ea4d3 100644
--- a/force-app/main/default/lwc/lexConsumable/lexConsumable.js
+++ b/force-app/main/default/lwc/lexConsumable/lexConsumable.js
@@ -206,7 +206,8 @@
       fieldName: "prodName",
       wrapText: true,
       hideDefaultActions: true,
-      sortable: true
+      sortable: true,
+      initialWidth: 150
     });
     cols.push({
       label: "瑙勬牸",
@@ -313,6 +314,7 @@
     cols.push({
       label: "鏈夋晥鏈熷簱瀛�(鐩�)",
       type: "customInventoryColor",
+      fieldName: "allnumber",
       typeAttributes: {
         value: { fieldName: "allnumber" },
         upperlimit: { fieldName: "upperlimit" },
@@ -320,7 +322,8 @@
         boxPrice: "鐩�"
       },
       hideDefaultActions: true,
-      initialWidth: 126
+      initialWidth: 146,
+      sortable: true
     });
     cols.push({
       label: "鏈夋晥鏈熷簱瀛�(涓�)",
@@ -338,17 +341,27 @@
       label: "鏍囬",
       fieldName: "attUrl",
       type: "url",
-      typeAttributes: { label: { fieldName: "fileName" }, target: "_blank" },
+      typeAttributes: {
+        label: { fieldName: "fileName" },
+        target: "_blank"
+      },
       hideDefaultActions: true
     },
     {
       label: "鍒涘缓浜�",
       fieldName: "ownerUrl",
       type: "url",
-      typeAttributes: { label: { fieldName: "ownerName" }, target: "_blank" },
+      typeAttributes: {
+        label: { fieldName: "ownerName" },
+        target: "_blank"
+      },
       hideDefaultActions: true
     },
-    { label: "涓婁紶鏃ユ湡", fieldName: "updateDate", hideDefaultActions: true },
+    {
+      label: "涓婁紶鏃ユ湡",
+      fieldName: "updateDate",
+      hideDefaultActions: true
+    },
     {
       label: "",
       type: "tableCellIcon",
@@ -1218,7 +1231,7 @@
     this.showSpinner = true;
     var recordId = event.target.getAttribute("data-fileid");
     console.log("attid:" + recordId);
-    deleteAtt({ contentVersionId: recordId })
+    deleteAtt({ contentVersionId: recordId, cocId: this.esetId })
       .then((result) => {
         this.showSpinner = false;
         if (result.result == "Success") {

--
Gitblit v1.9.1