| | |
| | | label: "CFDA状态", |
| | | fieldName: "SFDA_Status__c", |
| | | cellAttributes: { alignment: "left" }, |
| | | initialWidth: 80, |
| | | initialWidth: 95, |
| | | wrapText: true, |
| | | hideDefaultActions: true, |
| | | }, |
| | |
| | | fieldName: "guaranteeperiod", |
| | | cellAttributes: { alignment: "left" }, |
| | | hideDefaultActions: true, |
| | | initialWidth: 95 |
| | | initialWidth: 105 |
| | | }, |
| | | { |
| | | label:'有效期内库存', |
| | | type: "customInventoryColor", |
| | | // sortable: true, |
| | | cellAttributes: {alignment: "right" }, |
| | | typeAttributes: { |
| | | value: { fieldName:"limitCount"}, |
| | |
| | | boxPrice:{ fieldName: "BoxPiece" }, |
| | | }, |
| | | hideDefaultActions: true, |
| | | |
| | | initialWidth:95 |
| | | initialWidth:150 |
| | | }, |
| | | |
| | | { |
| | |
| | | fieldName: "overlimitCount", |
| | | hideDefaultActions: true, |
| | | cellAttributes: { alignment: "right" }, |
| | | initialWidth:75 |
| | | initialWidth:80 |
| | | } |
| | | ]; |
| | | defaultSortDirection = "asc"; |
| | |
| | | hideDefaultActions: true, |
| | | type:'boolean', |
| | | cellAttributes: { alignment: "left" }, |
| | | initialWidth:75 |
| | | initialWidth:80 |
| | | |
| | | }; |
| | | this.columns.push(object1); |
| | |
| | | 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; |
| | |
| | | this.showTable = true; |
| | | } else { |
| | | // this.showToast("Error",'Error', result.msg); |
| | | this.showMyToast('搜索失败','result.msg','error'); |
| | | this.showMyToast('搜索失败',result.msg,'error'); |
| | | } |
| | | }) |
| | | .catch((error) => { |
| | |
| | | this.showSpinner = false; |
| | | } else { |
| | | // this.showToast("Error", 'Error',result.msg); |
| | | this.showMyToast('搜索失败','result.msg','error'); |
| | | this.showMyToast('搜索失败',result.msg,'error'); |
| | | } |
| | | }) |
| | | .catch((error) => { |