stockQuery.vue 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  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. <div style="justify-content: space-between;margin: 0px 0 12px 0;display: flex;align-items: center;">
  8. <div>
  9. <el-select v-model="type_name" style="width:140px;margin-right:10px;" placeholder="请选择"
  10. @change="changeTypeName">
  11. <el-option
  12. v-for="item in types"
  13. :key="item.id"
  14. :label="item.type_name"
  15. :value="item.id">
  16. </el-option>
  17. </el-select>
  18. <el-date-picker
  19. size="small"
  20. v-model="start_time"
  21. prefix-icon="el-icon-date"
  22. :editable="false"
  23. style="width: 196px;"
  24. type="date"
  25. placeholder="选择日期时间"
  26. align="right"
  27. format="yyyy-MM-dd"
  28. value-format="yyyy-MM-dd"
  29. @change="startTimeChange"
  30. ></el-date-picker>-
  31. <el-date-picker
  32. size="small"
  33. v-model="end_time"
  34. prefix-icon="el-icon-date"
  35. :editable="false"
  36. style="width: 196px;"
  37. type="date"
  38. placeholder="选择日期时间"
  39. align="right"
  40. format="yyyy-MM-dd"
  41. value-format="yyyy-MM-dd"
  42. @change="endTimeChange"
  43. ></el-date-picker>
  44. <el-input
  45. size="small"
  46. style="width: 200px;margin-left:10px;"
  47. class="filter-item"
  48. v-model.trim="keywords"
  49. placeholder="耗材名称"
  50. />
  51. <el-button
  52. size="small"
  53. class="filter-item"
  54. type="primary"
  55. icon="el-icon-search"
  56. @click="search"
  57. >搜索</el-button
  58. >
  59. </div>
  60. <div>
  61. <el-button size="small" type="primary" @click="exportList">导出</el-button>
  62. <el-button size="small" type="primary" @click="toPrint">打印</el-button>
  63. </div>
  64. </div>
  65. <el-table
  66. :row-style="{ color: '#303133' }"
  67. :header-cell-style="{
  68. backgroundColor: 'rgb(245, 247, 250)',
  69. color: '#606266'
  70. }"
  71. :data="tableList"
  72. :class="signAndWeighBoxPatients"
  73. border
  74. v-loading="WarehouseInfo.loading"
  75. >
  76. <el-table-column label="耗材类型" align="center">
  77. <template slot-scope="scope">
  78. <span>{{getGoodType(scope.row.good_type_id)}}</span>
  79. </template>
  80. </el-table-column>
  81. <el-table-column label="耗材名称" align="center">
  82. <template slot-scope="scope">
  83. {{ scope.row.good_name }}
  84. </template>
  85. </el-table-column>
  86. <el-table-column label="规格&单位" align="center">
  87. <template slot-scope="scope">
  88. <span>{{ scope.row.specification_name }} / {{scope.row.packing_unit}}</span>
  89. </template>
  90. </el-table-column>
  91. <el-table-column label="进货单价" align="center">
  92. <template slot-scope="scope">
  93. {{scope.row.buy_price}}
  94. </template>
  95. </el-table-column>
  96. <el-table-column label="生产商" align="center">
  97. <template slot-scope="scope">
  98. {{getManufacture(scope.row.manufacturer)}}
  99. </template>
  100. </el-table-column>
  101. <el-table-column label="入库数量" align="center">
  102. <template slot-scope="scope">
  103. <span v-if="getWareInfo(scope.row.xt_warehouse_info)>0">{{getWareInfo(scope.row.xt_warehouse_info)}}{{scope.row.packing_unit}}</span>
  104. </template>
  105. </el-table-column>
  106. <el-table-column label="出库数量" align="center" v-if="showOne">
  107. <template slot-scope="scope">
  108. <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id == 10215 || org_id == 10088 || org_id == 10191">
  109. <span>
  110. {{getWareInfo(scope.row.xt_warehouse_info) - getOverFlushInfo(scope.row.xt_warehouse_info) + getCancelSotckInfo(scope.row.cancel_stock_info) }}
  111. </span>
  112. </span>
  113. <span v-else>{{getAutoCount(scope.row.id) + getOutCount(scope.row.id)}} </span>
  114. </template>
  115. </el-table-column>
  116. <el-table-column label="出库数量" align="center" v-if="showTwo">
  117. <template slot-scope="scope">
  118. <span>{{getAutoCount(scope.row.id) + getOutCount(scope.row.id)}} </span>
  119. </template>
  120. </el-table-column>
  121. <el-table-column label="剩余库存量" align="center" v-if="showThree">
  122. <template slot-scope="scope">
  123. <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id == 10215 || org_id == 10088 || org_id == 10191">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
  124. <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
  125. </template>
  126. </el-table-column>
  127. <el-table-column label="剩余库存量" align="center" v-if="showFour">
  128. <template slot-scope="scope">
  129. <span>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
  130. </template>
  131. </el-table-column>
  132. <el-table-column label="操作" align="center" width="260px">
  133. <template slot-scope="scope">
  134. <el-button
  135. size="small"
  136. type="primary"
  137. @click="toClick(scope.row)"
  138. >库存流水
  139. </el-button>
  140. <el-button
  141. size="small"
  142. type="primary"
  143. @click="toClickOne(scope.row)"
  144. >批次
  145. </el-button>
  146. </template>
  147. </el-table-column>
  148. </el-table>
  149. <el-pagination
  150. @size-change="handleSizeChange"
  151. @current-change="handleCurrentChange"
  152. :page-sizes="[10, 50, 100,200,500,1000]"
  153. :page-size="10"
  154. background
  155. align="right"
  156. style="margin-top:20px;"
  157. layout="total, sizes, prev, pager, next, jumper"
  158. :total="total"
  159. >
  160. </el-pagination>
  161. </div>
  162. </div>
  163. </template>
  164. <script>
  165. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  166. import {
  167. GetAllGoodType,
  168. getAllStockList,
  169. getStockDrugCount
  170. } from "@/api/stock";
  171. export default {
  172. name: "stockIn",
  173. created() {
  174. this.org_id = this.$store.getters.xt_user.org_id
  175. var start_time = window.sessionStorage.getItem('start_time')
  176. var end_time = window.sessionStorage.getItem('end_time')
  177. if(start_time !=null){
  178. this.start_time = start_time
  179. }
  180. if(end_time!=null){
  181. this.end_time = end_time
  182. }
  183. window.sessionStorage.removeItem('start_time')
  184. window.sessionStorage.removeItem('end_time')
  185. this.GetAllGoodType();
  186. this.getlist()
  187. this.getStockDrugCount()
  188. },
  189. components: {
  190. BreadCrumb
  191. },
  192. data() {
  193. return {
  194. crumbs: [
  195. { path: false, name: "库存管理" },
  196. { path: "/stock/query", name: "库存查询" }
  197. ],
  198. keywords: "",
  199. total: 0,
  200. multipleSelection: [],
  201. signAndWeighBoxPatients: "sign-and-weigh-box-patients",
  202. start_time: "",
  203. end_time: "",
  204. page: 1,
  205. limit: 10,
  206. goodType: [],
  207. goodInfo: [],
  208. WarehouseInfo: {
  209. loading: false,
  210. warehouseInfoDate: []
  211. },
  212. options:[],
  213. value:"",
  214. type_name:0,
  215. types:[],
  216. tableList:[],
  217. manufacturerList:[],
  218. countList:[],
  219. outCountList:[],
  220. autoCountList:[],
  221. cancelCountList:[],
  222. org_id:0,
  223. showOne:true,
  224. showTwo:false,
  225. showThree:true,
  226. showFour:false
  227. };
  228. },
  229. methods: {
  230. GetAllGoodType: function() {
  231. GetAllGoodType().then(response => {
  232. if (response.data.state == 0) {
  233. this.$message.error(response.data.msg);
  234. return false;
  235. } else {
  236. var obj = {
  237. id:0,
  238. type_name:'全部'
  239. }
  240. this.types.push(obj)
  241. for (let i = 0; i < response.data.data.goodType.length; i++) {
  242. this.goodType.push(response.data.data.goodType[i]);
  243. this.types.push(response.data.data.goodType[i])
  244. }
  245. }
  246. });
  247. },
  248. GetAllGoodInfo: function() {
  249. GetAllGoodInfo().then(response => {
  250. if (response.data.state == 0) {
  251. this.$message.error(response.data.msg);
  252. return false;
  253. } else {
  254. for (let i = 0; i < response.data.data.goodInfo.length; i++) {
  255. this.goodInfo.push(response.data.data.goodInfo[i]);
  256. }
  257. }
  258. });
  259. },
  260. handleBack: function() {
  261. this.$router.go(-1);
  262. },
  263. handleSizeChange(val) {
  264. this.limit = val;
  265. this.getlist()
  266. this.getStockDrugCount()
  267. },
  268. handleCurrentChange(val) {
  269. this.page = val;
  270. this.getlist()
  271. this.getStockDrugCount()
  272. },
  273. calculate: function(val) {
  274. return Math.round(parseFloat(val) * 100) / 100;
  275. },
  276. startTimeChange: function(val) {
  277. window.sessionStorage.removeItem('start_time')
  278. var time = this.getTimestamp(val) - this.getTimestamp(this.end_time);
  279. if (time > 0) {
  280. this.$message.error("开始时间不能大于结束时间");
  281. this.start_time = "";
  282. } else {
  283. this.start_time = val
  284. this.getlist()
  285. this.getStockDrugCount()
  286. }
  287. },
  288. endTimeChange: function(val) {
  289. window.sessionStorage.removeItem('end_time')
  290. var time = this.getTimestamp(val) - this.getTimestamp(this.start_time);
  291. if (time < 0) {
  292. this.$message.error("结束时间不能小于开始时间");
  293. this.end_time = "";
  294. } else {
  295. this.end_time = val
  296. this.getlist()
  297. this.getStockDrugCount()
  298. }
  299. },
  300. stockInCount: function(row) {
  301. let total = 0;
  302. for (let i = 0; i < row.query_warehousing_info.length; i++) {
  303. total = total + row.query_warehousing_info[i].warehousing_count;
  304. }
  305. return total;
  306. },
  307. salesReturnCount: function(row) {
  308. let total = 0;
  309. for (let i = 0; i < row.query_sales_return_info.length; i++) {
  310. total = total + row.query_sales_return_info[i].count;
  311. }
  312. return total;
  313. },
  314. stockOutCount: function(row) {
  315. let total = 0;
  316. for (let i = 0; i < row.query_warehouseout_info.length; i++) {
  317. total = total + row.query_warehouseout_info[i].count;
  318. }
  319. return total;
  320. },
  321. cancelStockCount: function(row) {
  322. let total = 0;
  323. for (let i = 0; i < row.query_cancel_stock_info.length; i++) {
  324. total = total + row.query_cancel_stock_info[i].count;
  325. }
  326. return total;
  327. },
  328. search: function() {
  329. this.getlist()
  330. this.getStockDrugCount()
  331. },
  332. exportList(){
  333. import('@/vendor/Export2Excel').then(excel => {
  334. const tHeader = ['耗材类型', '耗材名称', '规格&单位','进货单价','生产商','入库数量','出库数量','库存剩余量']
  335. const filterVal = ['type_name', 'good_name', 'unit','buy_price','prodect_name','inCount','outCount','overplus']
  336. for(let i=0;i<this.tableList.length;i++){
  337. this.tableList[i].type_name = this.getGoodType(this.tableList[i].good_type_id)
  338. this.tableList[i].unit = this.tableList[i].specification_name + "/" + this.tableList[i].packing_unit
  339. this.tableList[i].prodect_name = this.getManufacture(this.tableList[i].manufacturer)
  340. this.tableList[i].inCount = this.getWareInfo(this.tableList[i].xt_warehouse_info)
  341. if(this.end_time == ""){
  342. if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10191){
  343. this.tableList[i].outCount = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getOverFlushInfo(this.tableList[i].xt_warehouse_info) + this.getCancelSotckInfo(this.tableList[i].cancel_stock_info)
  344. }else{
  345. this.tableList[i].outCount = this.getAutoCount(this.tableList[i].id) + this.getOutCount(this.tableList[i].id)
  346. }
  347. if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id == 10088 || this.org_id == 10191){
  348. this.tableList[i].overplus = this.getOverFlushInfo(this.tableList[i].xt_warehouse_info)
  349. }else{
  350. this.tableList[i].overplus = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getAutoCount(this.tableList[i].id) - this.getOutCount(this.tableList[i].id) + this.getCancelCount(this.tableList[i].id)
  351. }
  352. }else{
  353. this.tableList[i].outCount = this.getAutoCount(this.tableList[i].id) + this.getOutCount(this.tableList[i].id)
  354. this.tableList[i].overplus = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getAutoCount(this.tableList[i].id) - this.getOutCount(this.tableList[i].id) + this.getCancelCount(this.tableList[i].id)
  355. }
  356. }
  357. const data = this.formatJson(filterVal, this.tableList)
  358. excel.export_json_to_excel({
  359. header: tHeader,
  360. data,
  361. filename: '库存查询'
  362. })
  363. this.downloadLoading = false
  364. })
  365. },
  366. formatJson(filterVal, jsonData) {
  367. return jsonData.map(v => filterVal.map(j => v[j]));
  368. },
  369. changeTypeName(){
  370. this.getlist()
  371. },
  372. toPrint(){
  373. window.sessionStorage.setItem('start_time',this.start_time)
  374. window.sessionStorage.setItem('end_time',this.end_time)
  375. this.$router.push("/stock/stockprint?start_time="+this.start_time+"&end_time="+this.end_time+"&keyword="+this.keywords+"&type_name="+this.type_name+"&page="+this.page+"&limit="+this.limit)
  376. },
  377. getUnit(id){
  378. var name = ""
  379. for(let i=0;i<this.$store.getters.good_unit.length;i++){
  380. if(id == this.$store.getters.good_unit[i].id){
  381. name = this.$store.getters.good_unit[i].name
  382. }
  383. }
  384. return name
  385. },
  386. getTimestamp(time) {
  387. // 把时间日期转成时间戳
  388. return new Date(time).getTime() / 1000;
  389. },
  390. getGoodType(id){
  391. var name = ""
  392. for(let i=0;i<this.goodType.length;i++){
  393. if(id == this.goodType[i].id){
  394. name = this.goodType[i].type_name
  395. }
  396. }
  397. return name
  398. },
  399. getlist(){
  400. const params = {
  401. page: this.page,
  402. limit: this.limit,
  403. keywords: this.keywords,
  404. start_time:this.start_time,
  405. end_time:this.end_time,
  406. type:this.type_name,
  407. };
  408. getAllStockList(params).then(response=>{
  409. if(response.data.state == 1){
  410. if(this.end_time == ""){
  411. this.showOne = true
  412. this.showTwo = false
  413. this.showThree = true
  414. this.showFour = false
  415. }
  416. if(this.end_time !=""){
  417. this.showOne = false
  418. this.showTwo = true
  419. this.showThree = false
  420. this.showFour = true
  421. }
  422. var list = response.data.data.list
  423. this.tableList = list
  424. var total = response.data.data.total
  425. this.total = total
  426. var manufacturerList = response.data.data.manufacturerList
  427. this.manufacturerList = manufacturerList
  428. }
  429. })
  430. },
  431. getManufacture(id){
  432. var name = ""
  433. for(let i=0;i<this.manufacturerList.length;i++){
  434. if(id == this.manufacturerList[i].id){
  435. name = this.manufacturerList[i].manufacturer_name
  436. }
  437. }
  438. return name
  439. },
  440. toClick(val){
  441. var manufacturer_name = ""
  442. var specification_name = ""
  443. for(let i=0;i<this.manufacturerList.length;i++){
  444. if(val.manufacturer == this.manufacturerList[i].id){
  445. manufacturer_name = this.manufacturerList[i].manufacturer_name
  446. }
  447. }
  448. specification_name = val.specification_name + "/" + val.packing_unit
  449. var overCount = this.getOverplus(val.xt_warehouse_info)
  450. window.sessionStorage.setItem('start_time',this.start_time)
  451. window.sessionStorage.setItem('end_time',this.end_time)
  452. this.$router.push({path:"/stock/in/stockflow?id="+val.id+"&good_name="+val.good_name+"&manufacturer="+manufacturer_name+"&specification_name="+specification_name+"&packing_unit="+val.packing_unit+"&overCount="+overCount})
  453. },
  454. toClickOne(val){
  455. var manufacturer_name = ""
  456. var specification_name = ""
  457. for(let i=0;i<this.manufacturerList.length;i++){
  458. if(val.manufacturer == this.manufacturerList[i].id){
  459. manufacturer_name = this.manufacturerList[i].manufacturer_name
  460. }
  461. }
  462. specification_name = val.specification_name + "/" + val.packing_unit
  463. var overCount = this.getOverplus(val.xt_warehouse_info)
  464. window.sessionStorage.setItem('start_time',this.start_time)
  465. window.sessionStorage.setItem('end_time',this.end_time)
  466. this.$router.push({path:"/stock/in/stockbatchnumber?id="+val.id+"&good_name="+val.good_name+"&manufacturer="+manufacturer_name+"&specification_name="+specification_name+"&packing_unit="+val.packing_unit+"&overCount="+overCount})
  467. },
  468. getStockDrugCount(){
  469. var params ={
  470. keywords: this.$route.query.keywords,
  471. start_time:this.start_time,
  472. end_time:this.end_time,
  473. }
  474. getStockDrugCount(params).then(response=>{
  475. if(response.data.state == 1){
  476. var outlist = response.data.data.outList
  477. this.outCountList = outlist
  478. var autoCount = response.data.data.autoCount
  479. this.autoCountList = autoCount
  480. var totalCount = response.data.data.totalCount
  481. this.cancelCountList = totalCount
  482. }
  483. })
  484. },
  485. getInCount(id){
  486. var count= 0
  487. for(let i=0;i<this.countList.length;i++){
  488. if(id == this.countList[i].good_id){
  489. count = this.countList[i].count
  490. }
  491. }
  492. return count
  493. },
  494. getOutCount(id){
  495. var count = 0
  496. for(let i=0;i<this.outCountList.length;i++){
  497. if(id == this.outCountList[i].good_id){
  498. count = this.outCountList[i].count
  499. }
  500. }
  501. return count
  502. },
  503. getAutoCount(id){
  504. var count= 0
  505. for(let i=0;i<this.autoCountList.length;i++){
  506. if(id == this.autoCountList[i].good_id){
  507. count = this.autoCountList[i].count
  508. }
  509. }
  510. return count
  511. },
  512. getCancelCount(id){
  513. var count = 0
  514. for(let i=0;i<this.cancelCountList.length;i++){
  515. if(id == this.cancelCountList[i].good_id){
  516. count = this.cancelCountList[i].count
  517. }
  518. }
  519. return count
  520. },
  521. getStockCount(id){
  522. var stock_count = 0
  523. for(let i=0;i<this.countList.length;i++){
  524. if(id == this.countList[i].good_id){
  525. stock_count = this.countList[i].stock_count
  526. }
  527. }
  528. return stock_count
  529. },
  530. getWareInfo(arr){
  531. var total = 0
  532. if(arr.length > 0){
  533. for(let i=0;i<arr.length;i++){
  534. total += parseInt(arr[i].warehousing_count)
  535. }
  536. }else{
  537. total = ""
  538. }
  539. return total
  540. },
  541. getOverplus(arr){
  542. var total = 0
  543. if(arr.length > 0){
  544. for(let i=0;i<arr.length;i++){
  545. total += arr[i].stock_count
  546. }
  547. }else{
  548. total = ""
  549. }
  550. return total
  551. },
  552. getCancelInfo(arr){
  553. var total = 0
  554. if(arr.length > 0){
  555. for(let i=0;i<arr.length;i++){
  556. total += arr[i].count
  557. }
  558. }else{
  559. total = ""
  560. }
  561. return total
  562. },
  563. getOverFlushInfo(arr){
  564. var total = 0
  565. if(arr.length >0){
  566. for(let i=0;i<arr.length;i++){
  567. total += arr[i].stock_count
  568. }
  569. }
  570. return total
  571. },
  572. getCancelSotckInfo(arr){
  573. var cancle_toal = 0
  574. if(arr.length >0){
  575. for(let z=0;z<arr.length;z++){
  576. cancle_toal += arr[z].count
  577. }
  578. }
  579. return cancle_toal
  580. }
  581. }
  582. };
  583. </script>
  584. <style rel="stylesheet/css" lang="scss" scoped>
  585. .information {
  586. border: 1px #dcdfe6 solid;
  587. padding: 30px 20px 30px 20px;
  588. .border {
  589. border-bottom: 1px #dcdfe6 solid;
  590. margin: 0px 0 20px 0;
  591. }
  592. }
  593. .title {
  594. background: #409eff;
  595. height: 44px;
  596. line-height: 44px;
  597. padding: 0 0 0 10px;
  598. color: #fff;
  599. margin: 0 0 10px 0;
  600. }
  601. .edit_separater {
  602. border-top: 1px solid rgb(233, 233, 233);
  603. margin-top: 15px;
  604. margin-bottom: 15px;
  605. }
  606. </style>
  607. <style>
  608. .sign-and-weigh-box .sign-and-weigh-box-patients .cell {
  609. font-size: 12px;
  610. }
  611. .sign-and-weigh-box .sign-and-weigh-box-patients .current-row > td {
  612. background: #6fb5fa;
  613. }
  614. .count {
  615. color: #bd2c00;
  616. }
  617. .el-table td,
  618. .el-table th.is-leaf,
  619. .el-table--border,
  620. .el-table--group {
  621. border-color: #d0d3da;
  622. }
  623. .el-table--border::after,
  624. .el-table--group::after,
  625. .el-table::before {
  626. background-color: #d0d3da;
  627. }
  628. </style>