瀏覽代碼

保留小数位

gaodd 2 年之前
父節點
當前提交
321bf4e14b

+ 3 - 3
src/main/resources/static/app/storage/drug/drugStandingBook/views/drugStandingBook-detail-list.html

@@ -130,11 +130,11 @@
130 130
 				                                	</div>
131 131
 				                                </td>
132 132
 				                                <td>{{ drugStandingBook.storageCount }}</td>
133
-				                                <td>{{ drugStandingBook.storageCount * drugStandingBook.drugSpecification}}</td>
133
+				                                <td>{{ drugStandingBook.storageCount * drugStandingBook.drugSpecification | number : 3}}</td>
134 134
 				                                <td>{{ drugStandingBook.deliveryCount }}</td>
135
-				                                 <td>{{ drugStandingBook.deliveryCount * drugStandingBook.drugSpecification}}</td>
135
+				                                 <td>{{ drugStandingBook.deliveryCount * drugStandingBook.drugSpecification | number : 3}}</td>
136 136
 				                                <td>{{ drugStandingBook.amount }}</td>
137
-				                                <td>{{ drugStandingBook.amount * drugStandingBook.drugSpecification}}</td>
137
+				                                <td>{{ drugStandingBook.amount * drugStandingBook.drugSpecification | number : 3}}</td>
138 138
 				                            </tr>
139 139
 				                        </tbody>
140 140
 			                        </table>

+ 2 - 1
src/main/resources/static/app/storage/drug/drugStorage/views/drugStorage-list.html

@@ -87,7 +87,8 @@
87 87
 	                                <td>{{ drugStorage.storageCount}}</td>
88 88
 	                                <td>{{ drugStorage.storagePrice}}</td>
89 89
 	                                <td>{{ shelfMap[drugStorage.shelfId].shelfName }}</td>
90
-	                                <td>{{ userInfoData[drugStorage.creater] }}</td>
90
+	                                <!-- <td>{{ userInfoData[drugStorage.creater] }}</td> -->
91
+	                                <td>{{drugStorage.controlMan}}</td>
91 92
 	                                <td>{{ drugStorage.createTime | date:'yyyy-MM-dd HH:mm:ss' }}</td>
92 93
 	                                <td>
93 94
 	                                    <a has-permission="535" href-void ng-click="showView(drugStorage.id)"><i class="fa fa-info-circle"></i>查看</a>

+ 1 - 1
src/main/resources/static/app/storage/drug/drugUse/views/drugUse-edit.html

@@ -85,7 +85,7 @@
85 85
 				                                	<input class="form-control" type="text" ng-model="detailInfo.useCount" ng-readonly="isNotEdit" ng-disabled="true" name="useCount{{$index}}"
86 86
 				                                	ng-change="sumUseCount()">
87 87
                                             	</td>
88
-                                            	<td ng-if="detailInfo.useCount != null">{{detailInfo.useCount * detailInfo.drugSpecification}}</td>
88
+                                            	<td ng-if="detailInfo.useCount != null">{{detailInfo.useCount * detailInfo.drugSpecification  | number : 3}}</td>
89 89
                                             	<td ng-if="detailInfo.useCount == null"></td>
90 90
 				                            </tr>
91 91
 				                        </tbody>