|  |  |  | 
|---|
|  |  |  | //消耗品数据col | 
|---|
|  |  |  | get cols(){ | 
|---|
|  |  |  | var cols = []; | 
|---|
|  |  |  | cols.push({label:'消耗品名称',fieldName:'prodName',wrapText:true,hideDefaultActions: true,sortable: true}); | 
|---|
|  |  |  | cols.push({label:'消耗品名称',fieldName:'prodName',wrapText:true,hideDefaultActions: true,sortable: true,initialWidth:150}); | 
|---|
|  |  |  | cols.push({label:'规格',fieldName:'packing_list',wrapText:true,hideDefaultActions: true,initialWidth:50,cellAttributes: { alignment: "right" }}); | 
|---|
|  |  |  | cols.push({label:'CFDA状态',fieldName:'prodSFDAStatus',wrapText:true,hideDefaultActions: true,initialWidth:97}); | 
|---|
|  |  |  | cols.push({label:'注册证编码号',fieldName:'approbation_No',wrapText:true,hideDefaultActions: true,initialWidth:120}); | 
|---|
|  |  |  | 
|---|
|  |  |  | this.consumableorderdetailsRecordsview[i].check = true; | 
|---|
|  |  |  | }else{ | 
|---|
|  |  |  | this.consumableorderdetailsRecordsview[i].check = false; | 
|---|
|  |  |  | this.consumableorderdetailsRecordsview[i].esd.Consumable_count__c = null; | 
|---|
|  |  |  | this.consumableorderdetailsRecordsview[i].consumableCount = null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | 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'){ | 
|---|