1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
| import { LightningElement, wire, api, track } from 'lwc';
| import { ShowToastEvent } from 'lightning/platformShowToastEvent';
|
|
|
| const columns = [
| {
| label: '消耗品名称',
| fieldName: 'Name__c',
| initialWidth: 350,
|
| },
| {
| label: '规格',
| fieldName: 'ProductPacking_list_manual__c',
| hideDefaultActions: true,
| initialWidth: 250,
|
| },
| {
| label: 'CFDA状态',
| fieldName: 'CFDA_Status__c',
| hideDefaultActions: true,
| initialWidth: 250,
|
| },
| {
| label: '注册证编码号',
| fieldName: 'Report_Product_Approbation__c',
| hideDefaultActions: true,
| initialWidth: 250,
| },
| {
| label: '注册证效期',
| fieldName: 'Report_Product_Expiration__c',
| hideDefaultActions: true,
| initialWidth: 250,
| },
| {
| label: 'BarCode',
| fieldName: 'Bar_Code__c',
| hideDefaultActions: true,
| initialWidth: 250,
| }
| ];
|
| const column = [
| {
| label: '消耗品名称',
| fieldName: 'Name__c',
|
| },
| {
| label: 'BarCode',
| fieldName: 'Bar_Code__c',
| hideDefaultActions: true,
|
| }
| ,
| {
| label: '错误原因',
| fieldName: 'ErrorReason',
| hideDefaultActions: true,
| }
| ];
|
|
| export default class LexCancelRemoveBox extends LightningElement {
| columns = columns;
| column = column;
| @track selectedRows = [];
| @track data = [];
| @track errorDetail = [];
|
| // 显示
| @track showTable = false
| @track accountName
| @track userWorkLocation
| @track agencyProType
| @track barcode = ''
|
|
| }
|
|