| | |
| | | fieldName: "prodName", |
| | | wrapText: true, |
| | | hideDefaultActions: true, |
| | | sortable: true |
| | | sortable: true, |
| | | initialWidth: 150 |
| | | }); |
| | | cols.push({ |
| | | label: "规格", |
| | |
| | | cols.push({ |
| | | label: "有效期库存(盒)", |
| | | type: "customInventoryColor", |
| | | fieldName: "allnumber", |
| | | typeAttributes: { |
| | | value: { fieldName: "allnumber" }, |
| | | upperlimit: { fieldName: "upperlimit" }, |
| | |
| | | boxPrice: "盒" |
| | | }, |
| | | hideDefaultActions: true, |
| | | initialWidth: 126 |
| | | initialWidth: 146, |
| | | sortable: true |
| | | }); |
| | | cols.push({ |
| | | label: "有效期库存(个)", |
| | |
| | | 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", |
| | |
| | | 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") { |