see999 3 年 前
コミット
cc74c49fa3
共有1 個のファイルを変更した85 個の追加101 個の削除を含む
  1. 85 101
      src/xt_pages/stock/drugs/drugStockOutOrder.vue

+ 85 - 101
src/xt_pages/stock/drugs/drugStockOutOrder.vue ファイルの表示

@@ -188,115 +188,99 @@
188 188
         :page-sizes="[10, 50, 100]"
189 189
         :page-size="10"
190 190
         background
191
-        style="margin-top:20px;float: right"
191
+        style="margin-top:20px;text-align: right"
192 192
         layout="total, sizes, prev, pager, next, jumper"
193 193
         :total="total"
194 194
       >
195 195
       </el-pagination>
196
-    </div>
197
-
198
-
199
-<!-- 使用详情 -->
200
-    <div v-show="tableShow" style="margin-bottom:10px">
201
-      <el-table
202
-        :data="tableList"
203
-        :class="signAndWeighBoxPatients"
204
-        style="width: 100%"
205
-        border
206
-        highlight-current-row
207
-        ref="multipleTable"
208
-        @selection-change="select"
209
-        :row-style="{ color: '#303133' }"
210
-        :header-cell-style="{
211
-          backgroundColor: 'rgb(245, 247, 250)',
212
-          color: '#606266'
213
-        }"
214
-      >
215
-        <el-table-column type="selection" width="55" align="center"> </el-table-column>
216
-
217
-        <el-table-column label="药品名称" align="center">
218
-          <template slot-scope="scope">
219
-             {{scope.row.drug_name}}
220
-          </template>
221
-        </el-table-column>
222
-        <el-table-column label="药品类型" align="center">
223
-          <template slot-scope="scope">
224
-              {{getDrugType(scope.row.drug_type)}}
225
-          </template>
226
-        </el-table-column>
227
-         <el-table-column label="规格&单位" align="center">
228
-          <template slot-scope="scope">
229
-             {{scope.row.dose}}&nbsp;{{scope.row.dose_unit}}*{{scope.row.min_number}}{{scope.row.min_unit}}/{{scope.row.max_unit}}
230
-          </template>
231
-        </el-table-column>
232
-       
233
-        <el-table-column label="批号" align="center">
234
-          <template slot-scope="scope">
235
-           {{scope.row.number}}
236
-          </template>
237
-        </el-table-column>
238
-        
239
-        <el-table-column label="出库数量" align="center">
240
-          <template slot-scope="scope">
241
-             {{scope.row.count}}
242
-          </template>
243
-        </el-table-column>
244
-
245
-       <el-table-column label="进货价" align="center">
246
-          <template slot-scope="scope">
247
-            {{scope.row.price}}
248
-          </template>
249
-        </el-table-column>
250
-
251
-      
252
-       <el-table-column label="总价" align="center">
253
-          <template slot-scope="scope">
254
-             {{scope.row.total_price}}
255
-          </template>
256
-        </el-table-column>
257
-      
258
-
259
-       <el-table-column label="生产厂家" align="center">
260
-          <template slot-scope="scope">
261
-             {{getManufacturerName(scope.row.manufacturer)}}
262
-          </template>
263
-        </el-table-column>
264
-
265
-
266
-       <el-table-column label="生产日期" align="center">
267
-          <template slot-scope="scope">
268
-             {{getTime(scope.row.product_date)}}
269
-          </template>
270
-        </el-table-column>
271
-       
272
-
273
-       <el-table-column label="有效日期" align="center">
274
-          <template slot-scope="scope">
275
-             {{getTime(scope.row.expiry_date)}}
276
-          </template>
277
-        </el-table-column>
278
-
279
-        <el-table-column label="批准文号" align="center">
280
-          <template slot-scope="scope">
281
-             {{scope.row.number}}
282
-          </template>
283
-        </el-table-column>
196
+      <!-- 使用详情 -->
197
+      <div v-show="tableShow" style="margin-top:10px">
198
+        <el-table
199
+          :data="tableList"
200
+          :class="signAndWeighBoxPatients"
201
+          style="width: 100%"
202
+          border
203
+          highlight-current-row
204
+          ref="multipleTable"
205
+          @selection-change="select"
206
+          :row-style="{ color: '#303133' }"
207
+          :header-cell-style="{
208
+            backgroundColor: 'rgb(245, 247, 250)',
209
+            color: '#606266'
210
+          }"
211
+        >
212
+          <el-table-column label="药品名称" align="center">
213
+            <template slot-scope="scope">
214
+              {{scope.row.drug_name}}
215
+            </template>
216
+          </el-table-column>
217
+          <el-table-column label="药品类型" align="center">
218
+            <template slot-scope="scope">
219
+                {{getDrugType(scope.row.drug_type)}}
220
+            </template>
221
+          </el-table-column>
222
+          <el-table-column label="规格&单位" align="center">
223
+            <template slot-scope="scope">
224
+              {{scope.row.dose}}&nbsp;{{scope.row.dose_unit}}*{{scope.row.min_number}}{{scope.row.min_unit}}/{{scope.row.max_unit}}
225
+            </template>
226
+          </el-table-column>
227
+          <el-table-column label="批号" align="center">
228
+            <template slot-scope="scope">
229
+            {{scope.row.number}}
230
+            </template>
231
+          </el-table-column>
232
+          <el-table-column label="出库数量" align="center">
233
+            <template slot-scope="scope">
234
+              {{scope.row.count}}
235
+            </template>
236
+          </el-table-column>
237
+          <el-table-column label="进货价" align="center">
238
+            <template slot-scope="scope">
239
+              {{scope.row.price}}
240
+            </template>
241
+          </el-table-column>
242
+          <el-table-column label="总价" align="center">
243
+            <template slot-scope="scope">
244
+              {{scope.row.total_price}}
245
+            </template>
246
+          </el-table-column>
247
+          <el-table-column label="生产厂家" align="center">
248
+            <template slot-scope="scope">
249
+              {{getManufacturerName(scope.row.manufacturer)}}
250
+            </template>
251
+          </el-table-column>
252
+          <el-table-column label="生产日期" align="center">
253
+            <template slot-scope="scope">
254
+              {{getTime(scope.row.product_date)}}
255
+            </template>
256
+          </el-table-column>
257
+          <el-table-column label="有效日期" align="center">
258
+            <template slot-scope="scope">
259
+              {{getTime(scope.row.expiry_date)}}
260
+            </template>
261
+          </el-table-column>
262
+          <el-table-column label="批准文号" align="center">
263
+            <template slot-scope="scope">
264
+              {{scope.row.number}}
265
+            </template>
266
+          </el-table-column>
267
+          <el-table-column label="备注" align="center">
268
+            <template slot-scope="scope">
269
+              {{scope.row.remark}}
270
+            </template>
271
+          </el-table-column>
272
+          <el-table-column label="操作" align="center">
273
+            <template slot-scope="scope">
274
+              <span style="color: #589ff8" v-if="scope.row.is_sys == 1" @click="toDetail(scope.row)">使用明细</span>
275
+            </template>
276
+          </el-table-column>
277
+        </el-table>
284 278
 
279
+      </div>
280
+    </div>
285 281
 
286
-        <el-table-column label="备注" align="center">
287
-          <template slot-scope="scope">
288
-            {{scope.row.remark}}
289
-          </template>
290
-        </el-table-column>
291 282
 
292
-        <el-table-column label="操作" align="center">
293
-          <template slot-scope="scope">
294
-             <span style="color: #589ff8" v-if="scope.row.is_sys == 1" @click="toDetail(scope.row)">使用明细</span>
295
-          </template>
296
-        </el-table-column>
297
-      </el-table>
298 283
 
299
-    </div>
300 284
 
301 285
 
302 286
     <el-dialog