drugNewQuery.vue 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs="crumbs"></bread-crumb>
  5. </div>
  6. <div class="app-container ">
  7. <el-tabs v-model="activeName" @tab-click="handleClick">
  8. <el-tab-pane label="库存查询" name="first">
  9. <DrugQuery></DrugQuery>
  10. </el-tab-pane>
  11. <el-tab-pane label="进销存查询" name="second">
  12. <PurchaseDrugQuery></PurchaseDrugQuery>
  13. </el-tab-pane>
  14. <el-tab-pane label="有效期查询" name="third">
  15. <ExpiryDateDrugQuery></ExpiryDateDrugQuery>
  16. </el-tab-pane>
  17. <el-tab-pane label="患者查询" name="fourth">
  18. <DrugPatientQuery></DrugPatientQuery>
  19. </el-tab-pane>
  20. </el-tabs>
  21. </div>
  22. </div>
  23. </template>
  24. <script>
  25. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  26. import DrugQuery from "@/xt_pages/stock/drugs/components/drugQuery"
  27. import ExpiryDateDrugQuery from "@/xt_pages/stock/drugs/components/expiryDateDrugQuery"
  28. import PurchaseDrugQuery from "@/xt_pages/stock/drugs/components/purchaseDrugQuery"
  29. import DrugPatientQuery from "@/xt_pages/stock/drugs/components/drugPatientQuery"
  30. export default {
  31. name: "stockNewQuery",
  32. components: {
  33. BreadCrumb,
  34. DrugQuery,
  35. ExpiryDateDrugQuery,
  36. PurchaseDrugQuery,
  37. DrugPatientQuery
  38. },
  39. data() {
  40. return {
  41. crumbs: [
  42. { path: false, name: "库存管理" },
  43. { path: "/stock/query", name: "库存查询" }
  44. ],
  45. multipleSelection: [],
  46. signAndWeighBoxPatients: "sign-and-weigh-box-patients",
  47. activeName: 'first'
  48. };
  49. },
  50. methods:{
  51. handleClick(){
  52. }
  53. }
  54. };
  55. </script>
  56. <style rel="stylesheet/css" lang="scss" scoped>
  57. .information {
  58. border: 1px #dcdfe6 solid;
  59. padding: 30px 20px 30px 20px;
  60. .border {
  61. border-bottom: 1px #dcdfe6 solid;
  62. margin: 0px 0 20px 0;
  63. }
  64. }
  65. .title {
  66. background: #409eff;
  67. height: 44px;
  68. line-height: 44px;
  69. padding: 0 0 0 10px;
  70. color: #fff;
  71. margin: 0 0 10px 0;
  72. }
  73. .edit_separater {
  74. border-top: 1px solid rgb(233, 233, 233);
  75. margin-top: 15px;
  76. margin-bottom: 15px;
  77. }
  78. </style>
  79. <style>
  80. .sign-and-weigh-box .sign-and-weigh-box-patients .cell {
  81. font-size: 12px;
  82. }
  83. .sign-and-weigh-box .sign-and-weigh-box-patients .current-row > td {
  84. background: #6fb5fa;
  85. }
  86. .count {
  87. color: #bd2c00;
  88. }
  89. .el-table td,
  90. .el-table th.is-leaf,
  91. .el-table--border,
  92. .el-table--group {
  93. border-color: #d0d3da;
  94. }
  95. .el-table--border::after,
  96. .el-table--group::after,
  97. .el-table::before {
  98. background-color: #d0d3da;
  99. }
  100. /* 合并表格线样式 */
  101. .spanClass .cell {
  102. padding: 0 !important;
  103. }
  104. .spanClass .cell tr {
  105. display: inline-block;
  106. width: 100%;
  107. /* height: 44px; */
  108. }
  109. .spanClass .cell tr td {
  110. padding: 10px 0;
  111. border-bottom: 1px solid #ebeef5;
  112. display: block;
  113. width: 100%;
  114. min-height: 44px;
  115. }
  116. .spanClass .cell tr:last-of-type td{
  117. border-bottom: none;
  118. }
  119. </style>