seimin 1 месяц назад
Родитель
Сommit
edf54ec7ac

+ 3 - 3
src/app/views/new-statistics/maintenance-statistics/synthesize-statistics/synthesize-statistics.component.html

@@ -134,7 +134,7 @@
134 134
 				</div>
135 135
 				<div class="th" *ngFor="let item of deptCostData; let index = index;">
136 136
 					<div class="table-list-4">{{index+1}}</div>
137
-					<div class="table-list-4">{{item.dept}}</div>
137
+					<div class="table-list-4 ellipsis-oneline" title="{{item.dept}}">{{item.dept}}</div>
138 138
 					<div class="table-list-4">{{item.sum || 0}}</div>
139 139
 					<div class="table-list-4">{{item.sum_price || 0}}</div>
140 140
 				</div>
@@ -149,13 +149,13 @@
149 149
 			<div class="table">
150 150
 				<div class="td">
151 151
 					<div class="table-td-4">排名</div>
152
-					<div class="table-td-4">耗材名称</div>
152
+					<div class="table-td-4">耗材名称(耗材编号)</div>
153 153
 					<div class="table-td-4">使用数量</div>
154 154
 					<div class="table-td-4">总费用(元)</div>
155 155
 				</div>
156 156
 				<div class="th" *ngFor="let item of consumableData; let index = index;">
157 157
 					<div class="table-list-4">{{index+1}}</div>
158
-					<div class="table-list-4">{{item.name}}({{item.spd_code}})</div>
158
+					<div class="table-list-4 ellipsis-oneline" title="{{item.name}}({{item.spd_code}})">{{item.name}}<ng-container *ngIf="item.spd_code">({{item.spd_code}})</ng-container></div>
159 159
 					<div class="table-list-4">{{item.sum || 0}}</div>
160 160
 					<div class="table-list-4">{{item.sum_price || 0}}</div>
161 161
 				</div>