| | |
| | | type: 'Name', |
| | | sortable: true, |
| | | hideDefaultActions: true, |
| | | initialWidth: 300, |
| | | // initialWidth: 200, |
| | | wrapText: true, |
| | | cellAttributes: { alignment: 'left' } |
| | | }, |
| | | { |
| | | label: '第三分类', |
| | | fieldName: 'Category3__c', |
| | | initialWidth: 120, |
| | | initialWidth: 102, |
| | | cellAttributes: { alignment: 'left' }, |
| | | hideDefaultActions: true, |
| | | sortable: true, |
| | |
| | | label: '第四分类', |
| | | fieldName: 'Category4__c', |
| | | cellAttributes: { alignment: 'left' }, |
| | | initialWidth: 120, |
| | | initialWidth: 102, |
| | | hideDefaultActions: true, |
| | | wrapText: true, |
| | | sortable: true |
| | |
| | | label: '第五分类', |
| | | fieldName: 'Category5__c', |
| | | cellAttributes: { alignment: 'left' }, |
| | | initialWidth: 120, |
| | | initialWidth: 102, |
| | | hideDefaultActions: true, |
| | | wrapText: true, |
| | | sortable: true |
| | |
| | | label: '规格', |
| | | fieldName: 'packing_list', |
| | | cellAttributes: { alignment: 'right' }, |
| | | initialWidth: 55, |
| | | initialWidth: 50, |
| | | wrapText: true, |
| | | hideDefaultActions: true |
| | | }, |
| | |
| | | label: '单位', |
| | | fieldName: 'BoxPiece', |
| | | cellAttributes: { alignment: 'left' }, |
| | | initialWidth: 55, |
| | | initialWidth: 50, |
| | | wrapText: true, |
| | | hideDefaultActions: true |
| | | }, |
| | |
| | | fieldName: 'approbation_No', |
| | | cellAttributes: { alignment: 'left' }, |
| | | wrapText: true, |
| | | initialWidth: 200, |
| | | initialWidth: 104, |
| | | hideDefaultActions: true |
| | | }, |
| | | { |
| | |
| | | cellAttributes: { alignment: 'left' }, |
| | | wrapText: true, |
| | | hideDefaultActions: true, |
| | | initialWidth: 110 |
| | | initialWidth: 95 |
| | | }, |
| | | { |
| | | label: 'CFDA状态', |
| | | fieldName: 'SFDA_Status__c', |
| | | cellAttributes: { alignment: 'left' }, |
| | | initialWidth: 95, |
| | | initialWidth: 84, |
| | | wrapText: true, |
| | | hideDefaultActions: true |
| | | }, |
| | |
| | | fieldName: 'guaranteeperiod', |
| | | cellAttributes: { alignment: 'left' }, |
| | | hideDefaultActions: true, |
| | | initialWidth: 105 |
| | | initialWidth: 95 |
| | | }, |
| | | { |
| | | label: '有效期内库存', |
| | |
| | | boxPrice: { fieldName: 'BoxPiece' } |
| | | }, |
| | | hideDefaultActions: true, |
| | | initialWidth: 150 |
| | | initialWidth: 110 |
| | | }, |
| | | |
| | | { |
| | |
| | | fieldName: 'overlimitCount', |
| | | hideDefaultActions: true, |
| | | cellAttributes: { alignment: 'right' }, |
| | | initialWidth: 80 |
| | | initialWidth: 78 |
| | | } |
| | | ]; |
| | | defaultSortDirection = 'asc'; |
| | |
| | | agencyProType: this.agencyProType, |
| | | userWorkLocation: this.userWorkLocation, |
| | | pageSizeLWC: this.pageSize, |
| | | pageTokenLWC: this.currentPageToken |
| | | pageTokenLWC: this.currentPageToken, |
| | | productkucunLWC: this.productkucun |
| | | }) |
| | | .then((result) => { |
| | | console.log('result搜索 = ' + JSON.stringify(result)); |
| | |
| | | .querySelector('c-common-toast') |
| | | .showToast(variant, content, iconName, 10000); |
| | | } |
| | | } |
| | | } |