Browse Source

页面样式优化

seimin 1 year ago
parent
commit
6624f73439
1 changed files with 29 additions and 2 deletions
  1. 29 2
      pages/scanning_result_seimin/scanning_result_seimin.vue

+ 29 - 2
pages/scanning_result_seimin/scanning_result_seimin.vue

@@ -26,7 +26,17 @@
26
       </view>
26
       </view>
27
       <view class="Scanning_cont_block"> 所属科室 : {{ queryObj.targetDept || "-" }} </view>
27
       <view class="Scanning_cont_block"> 所属科室 : {{ queryObj.targetDept || "-" }} </view>
28
       <!-- 药品批次列表 -->
28
       <!-- 药品批次列表 -->
29
-      <view class="page_item_wrap" v-for="item in batchNoList" :key="item.id">
29
+      <table class="speTable">
30
+        <tr>
31
+          <td>药包号</td>
32
+          <td>药包状态</td>
33
+        </tr>
34
+        <tr v-for="item in batchNoList" :key="item.id">
35
+          <td class="maxWidth">{{item.packid || "无"}}</td>
36
+          <td>{{item.drugsState ? item.drugsState.name : "无"}}</td>
37
+        </tr>
38
+      </table>
39
+      <!-- <view class="page_item_wrap" v-for="item in batchNoList" :key="item.id">
30
         <view class="page_item">
40
         <view class="page_item">
31
           <view class="page_item_top">
41
           <view class="page_item_top">
32
             <view class="page_item_top-inner">
42
             <view class="page_item_top-inner">
@@ -48,7 +58,7 @@
48
         </view>
58
         </view>
49
         <view class="L-l"></view>
59
         <view class="L-l"></view>
50
         <view class="R-l"></view>
60
         <view class="R-l"></view>
51
-      </view>
61
+      </view> -->
52
     </view>
62
     </view>
53
     <view class="Scanning_cont" v-if="queryObj.status != 200">
63
     <view class="Scanning_cont" v-if="queryObj.status != 200">
54
       <view class="Scanning_cont_center Scanning_cont_block">
64
       <view class="Scanning_cont_center Scanning_cont_block">
@@ -187,6 +197,23 @@ export default {
187
 <style lang="less">
197
 <style lang="less">
188
 .Scanning_Result_seimin {
198
 .Scanning_Result_seimin {
189
   padding: 0 20rpx;
199
   padding: 0 20rpx;
200
+  .speTable {
201
+    margin: 32rpx 0;
202
+    width: 100%;
203
+    border-collapse: collapse;
204
+    .green{
205
+      color: green;
206
+    }
207
+    .red{
208
+      color: red;
209
+    }
210
+    .maxWidth{
211
+      width: 60%;
212
+    }
213
+    td{
214
+      border: 2rpx solid #666;
215
+    }
216
+  }
190
   .page_item_wrap {
217
   .page_item_wrap {
191
     position: relative;
218
     position: relative;
192
     margin-top: 32rpx;
219
     margin-top: 32rpx;