query.vue 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs="crumbs"></bread-crumb>
  5. <div>
  6. <el-button
  7. size="small"
  8. class="filter-item"
  9. type="primary"
  10. icon="el-icon-search"
  11. @click="setting"
  12. >设置
  13. </el-button
  14. >
  15. <el-button
  16. size="small"
  17. class="filter-item"
  18. type="primary"
  19. icon="el-icon-search"
  20. @click="printOrder"
  21. >打印
  22. </el-button>
  23. <el-button
  24. size="small"
  25. class="filter-item"
  26. type="primary"
  27. icon="el-icon-search"
  28. @click="exportStock"
  29. >导出
  30. </el-button>
  31. </div>
  32. </div>
  33. <div class="app-container ">
  34. <div class="cell clearfix">
  35. <el-select v-model="drug_type" style="width:160px;margin-right:10px;" placeholder="请选择" @change="changeDrug">
  36. <el-option
  37. v-for="(item,index) in drugTypeList"
  38. :key="index"
  39. :label="item.name"
  40. :value="item.id">
  41. </el-option>
  42. </el-select>
  43. <el-date-picker
  44. v-model="start_time"
  45. prefix-icon="el-icon-date"
  46. :editable="false"
  47. style="width: 196px;"
  48. type="date"
  49. placeholder="选择日期时间"
  50. align="right"
  51. format="yyyy-MM-dd"
  52. value-format="yyyy-MM-dd"
  53. @change="startTimeChange"
  54. ></el-date-picker>-
  55. <el-date-picker
  56. v-model="end_time"
  57. prefix-icon="el-icon-date"
  58. :editable="false"
  59. style="width: 196px;margin-right:10px;"
  60. type="date"
  61. placeholder="选择日期时间"
  62. align="right"
  63. format="yyyy-MM-dd"
  64. value-format="yyyy-MM-dd"
  65. @change="endTimeChange"
  66. ></el-date-picker>
  67. <el-input
  68. style="width: 200px;"
  69. class="filter-item"
  70. v-model.trim="keywords"
  71. placeholder="药品名称"
  72. />
  73. <el-button
  74. size="small"
  75. class="filter-item"
  76. type="primary"
  77. icon="el-icon-search"
  78. @click="search"
  79. >搜索
  80. </el-button>
  81. </div>
  82. <el-table :data="tableList" border style="width: 100%">
  83. <!-- <el-table-column prop="date" label="药品编号" width="180">
  84. <template slot-scope="scope">
  85. </template>
  86. </el-table-column> -->
  87. <el-table-column prop="drug_type" label="药品类型" width="180" align="center">
  88. <template slot-scope="scope">
  89. {{getDrugType(scope.row.drug_type)}}
  90. </template>
  91. </el-table-column>
  92. <el-table-column prop="drug_name" label="药品名称" align="center">
  93. <template slot-scope="scope">
  94. {{scope.row.drug_name}}
  95. </template>
  96. </el-table-column>
  97. <el-table-column prop="drug_name" label="规格&&单位" align="center">
  98. <template slot-scope="scope">
  99. {{scope.row.dose + scope.row.dose_unit +"*"+scope.row.min_number+scope.row.min_unit+"/"+scope.row.max_unit}}
  100. </template>
  101. </el-table-column>
  102. <el-table-column prop="drug_name" label="进货单价" align="center">
  103. <template slot-scope="scope">
  104. {{scope.row.last_price}}
  105. </template>
  106. </el-table-column>
  107. <el-table-column prop="drug_name" label="厂家" align="center">
  108. <template slot-scope="scope">
  109. {{getManufacturerList(scope.row.manufacturer)}}
  110. </template>
  111. </el-table-column>
  112. <el-table-column prop="drug_name" label="入库数量" align="center">
  113. <template slot-scope="scope">
  114. {{getInCount(scope.row.drug_id)}}
  115. <!-- {{getInCount(scope.row.drug_id)}}{{scope.row.max_unit}} -->
  116. </template>
  117. </el-table-column>
  118. <el-table-column prop="drug_name" label="出库数量" align="center">
  119. <template slot-scope="scope">
  120. {{getOutCount(scope.row.drug_id) + getAutoCount(scope.row.drug_id)}}
  121. <!-- {{getCount(scope.row.drug_id,scope.row.min_number,scope.row.max_unit,scope.row.min_unit)}} -->
  122. </template>
  123. </el-table-column>
  124. <el-table-column prop="drug_name" label="剩余库存量" align="center">
  125. <template slot-scope="scope">
  126. {{getInCount(scope.row.drug_id) - getOutCount(scope.row.drug_id) - getAutoCount(scope.row.drug_id)}}
  127. <!-- {{getCountTwo(scope.row.drug_id,scope.row.min_number,scope.row.max_unit,scope.row.min_unit)}} -->
  128. </template>
  129. </el-table-column>
  130. <el-table-column prop="drug_name" label="操作" align="center" width="200px">
  131. <template slot-scope="scope">
  132. <el-button
  133. size="small"
  134. type="primary"
  135. @click="handleDetail(scope.row)"
  136. >库存流水
  137. </el-button>
  138. <el-button
  139. size="small"
  140. type="primary"
  141. @click="handleBatch(scope.row)"
  142. >批次
  143. </el-button>
  144. </template>
  145. </el-table-column>
  146. </el-table>
  147. <el-pagination
  148. @size-change="handleSizeChange"
  149. @current-change="handleCurrentChange"
  150. :page-sizes="[10, 50, 100,500,1000]"
  151. :page-size="10"
  152. background
  153. align="right"
  154. style="margin-top:20px;"
  155. layout="total, sizes, prev, pager, next, jumper"
  156. :total="total"
  157. >
  158. </el-pagination>
  159. </div>
  160. <setting-dialog
  161. ref="dialog"
  162. ></setting-dialog>
  163. </div>
  164. </template>
  165. <script>
  166. import { uParseTime } from '@/utils/tools'
  167. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  168. import { getAllDrugStockQueryList,getDrugStockList,getDrugCountList } from '@/api/drug/drug_stock'
  169. import SettingDialog from './settingDialog/index'
  170. import { getDictionaryDataConfig } from "@/utils/data";
  171. import { min } from 'moment'
  172. export default {
  173. name: 'stockIn',
  174. created() {
  175. var drugCategory = getDictionaryDataConfig('system','drug_category')
  176. this.drugCategory.push(...drugCategory)
  177. var drugTypeList = getDictionaryDataConfig('system','drug_type')
  178. this.drugTypeList.push(...drugTypeList)
  179. this.getlist()
  180. this.getDrugCountList()
  181. },
  182. components: {
  183. SettingDialog,
  184. BreadCrumb
  185. },
  186. data() {
  187. return {
  188. crumbs: [
  189. { path: false, name: '库存管理' },
  190. { path: '/stock/drugs/stock/query', name: '药品库存查询' }
  191. ],
  192. keywords: '',
  193. total: 0,
  194. multipleSelection: [],
  195. signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
  196. start_time: '',
  197. end_time: '',
  198. page: 1,
  199. limit: 10,
  200. goodType: [],
  201. goodInfo: [],
  202. tempArr: [],
  203. sameRowArr: [],
  204. WarehouseInfo: {
  205. loading: false,
  206. warehouseInfoDate: []
  207. },
  208. tableData:[],
  209. drug_category:0,
  210. drugCategory:[
  211. {id:0,name:"全部"}
  212. ],
  213. drugTypeList:[
  214. {id:0,name:"全部"}
  215. ],
  216. tableList:[],
  217. manufacturerList:[],
  218. countList:[],
  219. outCountList:[],
  220. autoCountList:[],
  221. keyword:"",
  222. drug_type:0,
  223. minCount:[],
  224. drugOutList:[]
  225. }
  226. },
  227. methods: {
  228. handleSpanTempArr() {
  229. this.tempArr = []
  230. for (let i = 0; i < this.WarehouseInfo.warehouseInfoDate.length; i++) {
  231. if (i === 0) {
  232. this.tempArr.push(1)
  233. this.pos = 0
  234. } else {
  235. // 判断当前元素与上一个元素是否相同
  236. if (this.WarehouseInfo.warehouseInfoDate[i].drug_name === this.WarehouseInfo.warehouseInfoDate[i - 1].drug_name) {
  237. this.tempArr[this.pos] += 1
  238. this.tempArr.push(0)
  239. } else {
  240. this.tempArr.push(1)
  241. this.pos = i
  242. }
  243. }
  244. }
  245. let sameRowArr = [], sIdx = 0
  246. this.WarehouseInfo.warehouseInfoDate.forEach((item, index) => {
  247. item.index = index
  248. if (index === 0) {
  249. sameRowArr.push([index])
  250. } else {
  251. if (item.drug_name === this.WarehouseInfo.warehouseInfoDate[index - 1].drug_name) {
  252. sameRowArr[sIdx].push(index)
  253. } else {
  254. sIdx = sIdx + 1
  255. sameRowArr.push([index])
  256. }
  257. }
  258. })
  259. this.sameRowArr = sameRowArr
  260. },
  261. merge({ row, column, rowIndex, columnIndex }) {
  262. if (columnIndex === 0) {
  263. const _row = this.tempArr[rowIndex]
  264. const _col = _row > 0 ? 1 : 0
  265. return {
  266. rowspan: _row,
  267. colspan: _col
  268. }
  269. }
  270. },
  271. GetAllDrugStockQueryList: function() {
  272. const Params = {
  273. page: this.page,
  274. limit: this.limit,
  275. keyword: this.keywords,
  276. drug_category:this.drug_category,
  277. start_time:this.start_time,
  278. end_time:this.end_time,
  279. }
  280. this.WarehouseInfo.loading = true
  281. this.WarehouseInfo.warehouseInfoDate = []
  282. getAllDrugStockQueryList(Params).then(response => {
  283. if (response.data.state == 0) {
  284. this.WarehouseInfo.loading = false
  285. this.$message.error(response.data.msg)
  286. return false
  287. } else {
  288. this.WarehouseInfo.loading = false
  289. this.total = response.data.data.total
  290. var arr = []
  291. for (let i = 0; i < response.data.data.list.length; i++) {
  292. this.WarehouseInfo.warehouseInfoDate.push(response.data.data.list[i])
  293. arr.push(response.data.data.list[i])
  294. }
  295. for(let i=0;i<arr.length;i++){
  296. arr[i].stockInCount = this.stockInCount(arr[i])
  297. arr[i].salesReturnCount = this.salesReturnCount(arr[i])
  298. arr[i].reactCount = (this.stockInCount(arr[i]) - this.salesReturnCount(arr[i]))?this.stockInCount(arr[i]) - this.salesReturnCount(arr[i]):0
  299. arr[i].stockOutCount = this.stockOutCount(arr[i])
  300. arr[i].cancelStockCount = this.cancelStockCount(arr[i])?this.cancelStockCount(arr[i]):0
  301. arr[i].reactOutCount = (this.stockOutCount(arr[i]) - this.cancelStockCount(arr[i]))?(this.stockOutCount(arr[i]) - this.cancelStockCount(arr[i])):0
  302. arr[i].overplusCount = (this.stockInCount(arr[i])-this.salesReturnCount(arr[i])-this.stockOutCount(arr[i])+this.cancelStockCount(arr[i]))?this.stockInCount(arr[i])-this.salesReturnCount(arr[i])-this.stockOutCount(arr[i])+this.cancelStockCount(arr[i]):0
  303. }
  304. this.tableData = arr
  305. this.handleSpanTempArr()
  306. }
  307. })
  308. },
  309. getSpecificationName: function(id) {
  310. let name = ''
  311. for (let i = 0; i < this.goodInfo.length; i++) {
  312. if (this.goodInfo[i].id == id) {
  313. name = this.goodInfo[i].specification_name
  314. }
  315. }
  316. return name
  317. },
  318. getTypeName: function(id) {
  319. let name = ''
  320. for (let i = 0; i < this.goodType.length; i++) {
  321. if (this.goodType[i].id == id) {
  322. name = this.goodType[i].type_name
  323. }
  324. }
  325. return name
  326. },
  327. handleBack: function() {
  328. this.$router.go(-1)
  329. },
  330. handleSizeChange(val) {
  331. this.limit = val
  332. // this.GetAllDrugStockQueryList()
  333. this.getlist()
  334. },
  335. handleCurrentChange(val) {
  336. this.page = val
  337. // this.GetAllDrugStockQueryList()
  338. this.getlist()
  339. },
  340. calculate: function(val) {
  341. return Math.round(parseFloat(val) * 100) / 100
  342. },
  343. startTimeChange: function(val) {
  344. var time = this.getTimestamp(val) - this.getTimestamp(this.end_time);
  345. if (time > 0) {
  346. this.$message.error("开始时间不能大于结束时间");
  347. this.start_time = "";
  348. } else {
  349. // this.GetAllDrugStockQueryList();
  350. this.getlist()
  351. }
  352. },
  353. endTimeChange: function(val) {
  354. var time = this.getTimestamp(val) - this.getTimestamp(this.start_time);
  355. if (time < 0) {
  356. this.$message.error("结束时间不能小于开始时间");
  357. this.end_time = "";
  358. } else {
  359. // this.GetAllDrugStockQueryList();
  360. this.getlist()
  361. }
  362. },
  363. stockInCount: function(row) {
  364. let total = 0
  365. for (let i = 0; i < row.query_drug_warehousing_info.length; i++) {
  366. total = total + row.query_drug_warehousing_info[i].warehousing_count
  367. }
  368. return total
  369. },
  370. salesReturnCount: function(row) {
  371. let total = 0
  372. for (let i = 0; i < row.query_drug_sales_return_info.length; i++) {
  373. total = total + row.query_drug_sales_return_info[i].count
  374. }
  375. return total
  376. },
  377. stockOutCount: function(row) {
  378. let total = 0
  379. for (let i = 0; i < row.query_drug_warehouseout_info.length; i++) {
  380. total = total + row.query_drug_warehouseout_info[i].count
  381. }
  382. return total
  383. },
  384. cancelStockCount: function(row) {
  385. let total = 0
  386. for (let i = 0; i < row.query_drug_cancel_stock_info.length; i++) {
  387. total = total + row.query_drug_cancel_stock_info[i].count
  388. }
  389. return total
  390. },
  391. showStockInDetailDialog: function(val) {
  392. },
  393. showSaleReturnDetailDialog: function() {
  394. },
  395. showStockOutDetailDialog: function() {
  396. },
  397. showCancelStockDetailDialog: function() {
  398. },
  399. search: function() {
  400. this.getlist()
  401. },
  402. setting: function() {
  403. this.$refs.dialog.show()
  404. },
  405. exportStock(){
  406. import('@/vendor/Export2Excel').then(excel => {
  407. const tHeader = ['药品名称', '规格名称', '入库数量','单价','入库退货','实际入库','出库数量','出库退库','实际出库','剩余库存']
  408. const filterVal = ['drug_name', 'drug_spec', 'stockInCount','last_price','salesReturnCount','reactCount','stockOutCount','cancelStockCount','reactOutCount','overplusCount']
  409. const data = this.formatJson(filterVal, this.tableData)
  410. // console.log("data",data)
  411. excel.export_json_to_excel({
  412. header: tHeader,
  413. data,
  414. filename: '药品查询'
  415. })
  416. this.downloadLoading = false
  417. })
  418. },
  419. formatJson(filterVal, jsonData) {
  420. return jsonData.map(v => filterVal.map(j => v[j]));
  421. },
  422. getDictionaryDataConfig(module, filed_name) {
  423. return getDictionaryDataConfig(module, filed_name)
  424. },
  425. getTimestamp(time) { // 把时间日期转成时间戳
  426. return (new Date(time)).getTime() / 1000
  427. },
  428. changeDrug(){
  429. this.getlist()
  430. },
  431. printOrder(){
  432. this.$router.push({
  433. name: "drugQueryPrint",
  434. query: {drug_category:this.drug_category,keyword:this.keywords,start_time:this.start_time,end_time:this.end_time,page:this.page,limit:this.limit}
  435. });
  436. },
  437. //获取库存
  438. getlist(){
  439. const params = {
  440. page: this.page,
  441. limit: this.limit,
  442. keyword: this.keywords,
  443. drug_type:this.drug_type,
  444. start_time:this.start_time,
  445. end_time:this.end_time,
  446. }
  447. console.log("parasm222222",params)
  448. getDrugStockList(params).then(response=>{
  449. if(response.data.state == 1){
  450. var list = response.data.data.list
  451. console.log("list99999",list)
  452. this.tableList = list
  453. var total = response.data.data.total
  454. console.log("total",total)
  455. this.total = total
  456. this.manufacturerList = response.data.data.manufacturerList
  457. }
  458. })
  459. },
  460. getDrugType(id){
  461. var name = ""
  462. for(let i=0;i<this.drugTypeList.length;i++){
  463. if(this.drugTypeList[i].id == id){
  464. name = this.drugTypeList[i].name
  465. }
  466. }
  467. return name
  468. },
  469. getManufacturerList(id){
  470. var name = ""
  471. for(let i=0;i<this.manufacturerList.length;i++){
  472. if(id == this.manufacturerList[i].id){
  473. name = this.manufacturerList[i].manufacturer_name
  474. }
  475. }
  476. return name
  477. },
  478. handleDetail(val){
  479. var manufacturer_name = ""
  480. for(let i=0;i<this.manufacturerList.length;i++){
  481. if(val.manufacturer == this.manufacturerList[i].id){
  482. manufacturer_name = this.manufacturerList[i].manufacturer_name
  483. }
  484. }
  485. var unit = val.dose + val.dose_unit +"*"+val.min_number+val.min_unit+"/"+val.max_unit
  486. this.$router.push({path:'/drugstock/in/drugstockflow?drug_id='+val.drug_id+"&drug_name="+val.drug_name+"&manufacturer="+manufacturer_name+"&unit="+unit})
  487. },
  488. handleBatch(val){
  489. var manufacturer_name = ""
  490. for(let i=0;i<this.manufacturerList.length;i++){
  491. if(val.manufacturer == this.manufacturerList[i].id){
  492. manufacturer_name = this.manufacturerList[i].manufacturer_name
  493. }
  494. }
  495. var unit = val.dose + val.dose_unit +"*"+val.min_number+val.min_unit+"/"+val.max_unit
  496. this.$router.push({path:'/drugstock/in/drugbatchnumber?drug_id='+val.drug_id+"&drug_name="+val.drug_name+"&manufacturer="+manufacturer_name+"&unit="+unit})
  497. },
  498. getDrugCountList(){
  499. var params = {
  500. keyword: this.keywords,
  501. start_time:this.start_time,
  502. end_time:this.end_time,
  503. }
  504. getDrugCountList(params).then(response=>{
  505. if(response.data.state == 1){
  506. var countlist = response.data.data.countList
  507. console.log("入库数据",countlist)
  508. this.countList = countlist
  509. var outcountlist = response.data.data.outCountList
  510. console.log("出库数据",outcountlist)
  511. this.outCountList = outcountlist
  512. var aucountlist = response.data.data.auCountList
  513. console.log("自动数据",aucountlist)
  514. this.autoCountList = aucountlist
  515. var minCount = response.data.data.minCount
  516. console.log("minCount",minCount)
  517. this.minCount = minCount
  518. var info = response.data.data.info
  519. for(let i=0;i<info.length;i++){
  520. if(info[i].count_unit == info[i].max_unit){
  521. info[i].count = info[i].count * info[i].min_number
  522. }
  523. }
  524. console.log("info2222222",info)
  525. this.drugOutList = info
  526. var arr = []
  527. for(let i=0;i<this.drugOutList.length;i++){
  528. if(this.drugOutList[i].drug_id == 1197){
  529. arr.push(this.drugOutList[i])
  530. }
  531. }
  532. console.log("arrr",arr)
  533. }
  534. })
  535. },
  536. getInCount(id){
  537. var count = ""
  538. for(let i=0;i<this.countList.length;i++){
  539. if(id == this.countList[i].drug_id){
  540. count = this.countList[i].count
  541. }
  542. }
  543. return count
  544. },
  545. getOutCount(id){
  546. var count = ""
  547. for(let i=0;i<this.outCountList.length;i++){
  548. if(id == this.outCountList[i].drug_id){
  549. count = this.outCountList[i].count
  550. }
  551. }
  552. return count
  553. },
  554. getAutoCount(id){
  555. var count= ""
  556. for(let i=0;i<this.autoCountList.length;i++){
  557. if(id == this.autoCountList[i].drug_id){
  558. count = this.autoCountList[i].count
  559. }
  560. }
  561. return count
  562. },
  563. getMinCount(id){
  564. var count=""
  565. for(let i=0;i<this.minCount.length;i++){
  566. if(id == this.minCount[i].drug_id){
  567. count = this.minCount[i].count
  568. }
  569. }
  570. return count
  571. },
  572. getCount(drug_id,min_number,max_unit,min_unit){
  573. var count= 0
  574. var str = ""
  575. var min_str = ""
  576. for(let i=0;i<this.drugOutList.length;i++){
  577. if(drug_id == this.drugOutList[i].drug_id){
  578. count += parseInt(this.drugOutList[i].count)
  579. }
  580. }
  581. if(parseInt(count/min_number)!=0){
  582. str = parseInt(count/min_number)+ max_unit
  583. }
  584. if((count%min_number)!=0){
  585. min_str = count%min_number + min_unit
  586. }
  587. return str + min_str
  588. },
  589. getCountOne(drug_id){
  590. var count= 0
  591. for(let i=0;i<this.drugOutList.length;i++){
  592. if(drug_id == this.drugOutList[i].drug_id){
  593. count += parseInt(this.drugOutList[i].count)
  594. }
  595. }
  596. return count
  597. },
  598. getCountTwo(drug_id,min_number,max_unit,min_unit){
  599. var total_count = 0
  600. var out_count = 0
  601. var count = 0
  602. var str = ""
  603. var str_min = ""
  604. total_count = this.getInCount(drug_id) * min_number
  605. out_count = this.getCountOne(drug_id)
  606. count = total_count-out_count
  607. if(parseInt(count/min_number)!=0){
  608. str = parseInt(count/min_number) + max_unit
  609. }
  610. if((count%min_number)!=0){
  611. str_min = count%min_number + min_unit
  612. }
  613. return str+str_min
  614. }
  615. }
  616. }
  617. </script>
  618. <style rel="stylesheet/css" lang="scss" scoped>
  619. .information {
  620. border: 1px #dcdfe6 solid;
  621. padding: 30px 20px 30px 20px;
  622. .border {
  623. border-bottom: 1px #dcdfe6 solid;
  624. margin: 0px 0 20px 0;
  625. }
  626. }
  627. .title {
  628. background: #409eff;
  629. height: 44px;
  630. line-height: 44px;
  631. padding: 0 0 0 10px;
  632. color: #fff;
  633. margin: 0 0 10px 0;
  634. }
  635. .edit_separater {
  636. border-top: 1px solid rgb(233, 233, 233);
  637. margin-top: 15px;
  638. margin-bottom: 15px;
  639. }
  640. </style>
  641. <style>
  642. .sign-and-weigh-box .sign-and-weigh-box-patients .cell {
  643. font-size: 12px;
  644. }
  645. .sign-and-weigh-box .sign-and-weigh-box-patients .current-row > td {
  646. background: #6fb5fa;
  647. }
  648. .count {
  649. color: #bd2c00;
  650. }
  651. .el-table td,
  652. .el-table th.is-leaf,
  653. .el-table--border,
  654. .el-table--group {
  655. border-color: #d0d3da;
  656. }
  657. .el-table--border::after,
  658. .el-table--group::after,
  659. .el-table::before {
  660. background-color: #d0d3da;
  661. }
  662. </style>