drugOutDetail.vue 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723
  1. <template>
  2. <div>
  3. <el-button
  4. style="float: right"
  5. size="small"
  6. icon="el-icon-printer"
  7. @click="PrintAction"
  8. type="primary"
  9. >打印
  10. </el-button>
  11. <el-button
  12. style="float: right;margin-right:10px"
  13. size="small"
  14. @click="exportListDetai"
  15. type="primary"
  16. >明细导出
  17. </el-button>
  18. <el-button
  19. style="float: right;margin-right:10px"
  20. size="small"
  21. @click="exportList"
  22. type="primary"
  23. >汇总导出
  24. </el-button>
  25. <div class="cell clearfix">
  26. <el-input
  27. size="small"
  28. style="width: 400px;"
  29. class="filter-item"
  30. v-model.trim="searchKey"
  31. placeholder="单据编码/制单人/药品名称"
  32. />
  33. <el-button
  34. size="small"
  35. class="filter-item"
  36. type="primary"
  37. icon="el-icon-search"
  38. @click="search"
  39. >搜索</el-button
  40. >
  41. <div style="margin-left:10px;">
  42. <label class="title"><span class="name">日期查询</span> : </label>
  43. <el-date-picker
  44. size="small"
  45. v-model="start_time"
  46. prefix-icon="el-icon-date"
  47. :editable="false"
  48. style="width: 150px;"
  49. type="date"
  50. placeholder="选择日期时间"
  51. align="right"
  52. format="yyyy-MM-dd"
  53. value-format="yyyy-MM-dd"
  54. @change="startTimeChange"
  55. ></el-date-picker>
  56. <span class="cellLine"> - </span>
  57. <el-date-picker
  58. size="small"
  59. v-model="end_time"
  60. prefix-icon="el-icon-date"
  61. :editable="false"
  62. style="width: 150px;"
  63. type="date"
  64. placeholder="选择日期时间"
  65. align="right"
  66. format="yyyy-MM-dd"
  67. value-format="yyyy-MM-dd"
  68. @change="endTimeChange"
  69. ></el-date-picker>
  70. </div>
  71. </div>
  72. <!-- <div class="cell clearfix">
  73. <label class="title"><span class="name">单据类型</span> : </label>
  74. <el-select
  75. size="small"
  76. v-model="order_type"
  77. clearable
  78. placeholder="单据类型"
  79. @change="changeType"
  80. >
  81. <el-option
  82. v-for="item in orderTypeArr"
  83. :key="item.value"
  84. :label="item.label"
  85. :value="item.value"
  86. >
  87. </el-option>
  88. </el-select>
  89. </div> -->
  90. <!-- <div class="cell clearfix">
  91. <label class="title"><span class="name">其它</span> : </label>
  92. <el-select
  93. size="small"
  94. v-model="manufacturer_id"
  95. clearable
  96. placeholder="厂商"
  97. @change="changeManufacturer"
  98. >
  99. <el-option
  100. v-for="item in manufacturer"
  101. :key="item.id"
  102. :label="item.manufacturer_name"
  103. :value="item.id"
  104. >
  105. </el-option>
  106. </el-select>
  107. </div> -->
  108. <el-row :gutter="12" style="margin-top: 10px">
  109. <el-table
  110. :data="tableData"
  111. :class="signAndWeighBoxPatients"
  112. border
  113. highlight-current-row
  114. ref="multipleTable"
  115. @selection-change="select"
  116. :row-style="{ color: '#303133' }"
  117. :header-cell-style="{
  118. backgroundColor: 'rgb(245, 247, 250)',
  119. color: '#606266'
  120. }"
  121. >
  122. <el-table-column label="单据编号" align="center" width="200">
  123. <template slot-scope="scope">
  124. {{ scope.row.warehouse_out_order_number }}
  125. </template>
  126. </el-table-column>
  127. <el-table-column label="药品类型" align="center">
  128. <template slot-scope="scope">
  129. <span v-if="scope.row.drug_type == 1">西药</span>
  130. <span v-if="scope.row.drug_type == 2">草药</span>
  131. <span v-if="scope.row.drug_type == 3">成药</span>
  132. </template>
  133. </el-table-column>
  134. <el-table-column label="药品名称" align="center">
  135. <template slot-scope="scope">
  136. {{scope.row.drug_name}}
  137. </template>
  138. </el-table-column>
  139. <el-table-column label="规格型号" align="center">
  140. <template slot-scope="scope">
  141. <!-- {{scope.row.drug_spec}} -->
  142. {{scope.row.dose}}{{scope.row.dose_unit}}*{{scope.row.min_number}}{{scope.row.min_unit}}/{{scope.row.max_unit}}
  143. </template>
  144. </el-table-column>
  145. <!-- <el-table-column label="单据类型" align="center">
  146. <template slot-scope="scope">
  147. <span v-if="scope.row.type == 1">药品出库单</span>
  148. <span v-if="scope.row.type == 2">其他</span>
  149. </template>
  150. </el-table-column> -->
  151. <el-table-column label="操作时间" align="center">
  152. <template slot-scope="scope">
  153. <span>{{getTime(scope.row.ctime)}}</span>
  154. </template>
  155. </el-table-column>
  156. <el-table-column label="制单人" align="center">
  157. <template slot-scope="scope">
  158. {{getAdminUser(scope.row.creater)}}
  159. </template>
  160. </el-table-column>
  161. <el-table-column label="出货价" align="center">
  162. <template slot-scope="scope">
  163. {{scope.row.price}}
  164. </template>
  165. </el-table-column>
  166. <el-table-column label="数量" align="center">
  167. <template slot-scope="scope">
  168. {{scope.row.count}}
  169. </template>
  170. </el-table-column>
  171. <el-table-column label="总价" align="center">
  172. <template slot-scope="scope">
  173. {{scope.row.price * scope.row.count}}
  174. </template>
  175. </el-table-column>
  176. </el-table>
  177. <el-pagination
  178. @size-change="handleSizeChange"
  179. @current-change="handleCurrentChange"
  180. :page-sizes="[10, 50, 100,1000]"
  181. :page-size="10"
  182. background
  183. style="margin-top:20px;float: right"
  184. layout="total, sizes, prev, pager, next, jumper"
  185. :total="total"
  186. >
  187. </el-pagination>
  188. </el-row>
  189. </div>
  190. </template>
  191. <script>
  192. import { uParseTime } from "@/utils/tools";
  193. import { fetchAllAdminUsers } from "@/api/doctor";
  194. import {GetAllConfig } from "@/api/stock";
  195. import {getDrugOutDetail,getDrugOutOrderPrint } from "@/api/drug/drug_stock"
  196. import {getBaseDrugLibList} from '@/api/data'
  197. export default {
  198. name: "stockOutDetail",
  199. created() {
  200. var nowDate = new Date();
  201. var nowYear = nowDate.getFullYear();
  202. var nowMonth = nowDate.getMonth() + 1;
  203. var nowDay = nowDate.getDate();
  204. this.end_time =
  205. nowYear +
  206. "-" +
  207. (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
  208. "-" +
  209. (nowDay < 10 ? "0" + nowDay : nowDay);
  210. nowDate.setMonth(nowDate.getMonth() - 1);
  211. nowYear = nowDate.getFullYear();
  212. nowMonth = nowDate.getMonth() + 1;
  213. nowDay = nowDate.getDate();
  214. this.start_time =
  215. nowYear +
  216. "-" +
  217. (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
  218. "-" +
  219. (nowDay < 10 ? "0" + nowDay : nowDay);
  220. this.getDrugOutOrderPrint()
  221. this.GetConfigInfo();
  222. this.fetchAllAdminUsers();
  223. this.getlist()
  224. this.getBaseDrugLibList()
  225. },
  226. data() {
  227. return {
  228. orderTypeArr: [
  229. { value: 1, label: "药品出库单" },
  230. { value: 2, label: "其他入库单" }
  231. ],
  232. manufacturer_id: "",
  233. dealer_id: "",
  234. order_type:"",
  235. searchKey: "",
  236. type: 2,
  237. page: 1,
  238. limit: 10,
  239. checked: false,
  240. total: 0,
  241. pageTotal: 0,
  242. pageSelect: 0,
  243. adminUserOptions: [],
  244. multipleSelection: [],
  245. signAndWeighBoxPatients: "sign-and-weigh-box-patients",
  246. start_time: "",
  247. cancelStockDate: [],
  248. end_time: "",
  249. goodType: [],
  250. goodInfo: [],
  251. manufacturer: [],
  252. selectedTableData: [],
  253. dealer: [],
  254. tableData:[],
  255. tableList:[],
  256. drugList:[],
  257. tablePrint:[]
  258. };
  259. },
  260. methods: {
  261. changeType: function(val) {
  262. this.order_type = val;
  263. this.getlist()
  264. },
  265. changeManufacturer: function(val) {
  266. this.manufacturer_id = val;
  267. this.getlist()
  268. },
  269. getTypeName: function(row) {
  270. let name = "";
  271. const name2 = "";
  272. if (row.type == 1) {
  273. name = "药品出库单";
  274. } else if (row.type == 2) {
  275. name = "其他出库单";
  276. }
  277. return name;
  278. },
  279. search: function() {
  280. this.getlist()
  281. },
  282. getXuserName(id) {
  283. if (id <= 0) {
  284. return "";
  285. }
  286. var name = "";
  287. if (
  288. this.adminUserOptions == null ||
  289. typeof this.adminUserOptions.length === "undefined"
  290. ) {
  291. return name;
  292. }
  293. var leng = this.adminUserOptions.length;
  294. if (leng == 0) {
  295. return name;
  296. }
  297. for (let index = 0; index < leng; index++) {
  298. if (this.adminUserOptions[index].id == id) {
  299. name = this.adminUserOptions[index].name;
  300. break;
  301. }
  302. }
  303. return name;
  304. },
  305. fetchAllAdminUsers() {
  306. fetchAllAdminUsers().then(response => {
  307. console.log(response);
  308. if (response.data.state == 1) {
  309. this.adminUserOptions = response.data.data.users;
  310. }
  311. });
  312. },
  313. handleSelectionChange: function(val) {
  314. this.multipleSelection = val;
  315. },
  316. handleSizeChange(val) {
  317. this.limit = val;
  318. this.getlist()
  319. },
  320. handleCurrentChange(val) {
  321. this.page = val;
  322. this.getlist()
  323. },
  324. startTimeChange(val) {
  325. var time = this.getTimestamp(val) - this.getTimestamp(this.end_time);
  326. if (time > 0) {
  327. this.$message.error("结束时间不能小于开始时间");
  328. this.start_time = "";
  329. } else {
  330. this.getlist()
  331. }
  332. },
  333. endTimeChange(val) {
  334. var time = this.getTimestamp(val) - this.getTimestamp(this.start_time);
  335. if (time < 0) {
  336. this.$message.error("结束时间不能小于开始时间");
  337. this.end_time = "";
  338. } else {
  339. this.getlist()
  340. }
  341. },
  342. getTimestamp(time) {
  343. // 把时间日期转成时间戳
  344. return new Date(time).getTime() / 1000;
  345. },
  346. calculate: function(val) {
  347. return Math.round(parseFloat(val) * 100) / 100;
  348. },
  349. GetConfigInfo() {
  350. GetAllConfig().then(response => {
  351. if (response.data.state == 0) {
  352. this.$message.error(response.data.msg);
  353. return false;
  354. } else {
  355. this.manufacturer = response.data.data.manufacturer;
  356. this.dealer = response.data.data.dealer;
  357. this.goodInfo = response.data.data.goodInfo;
  358. this.goodType = response.data.data.goodType;
  359. }
  360. });
  361. },
  362. getTime: function(val) {
  363. if (val == 0) {
  364. return "";
  365. } else {
  366. return uParseTime(val, "{y}-{m}-{d}");
  367. }
  368. },
  369. PrintAction: function() {
  370. this.$router.push("/stock/drugoutorderprint?start_time="+this.start_time+"&end_time="+this.end_time+"&order_type="+2+"&manufacturer_id="+this.manufacturer_id+"&keyword="+this.keyword+"&limit="+this.limit+"&page="+this.page)
  371. },
  372. getlist(){
  373. var params = {
  374. start_time:this.start_time,
  375. end_time:this.end_time,
  376. order_type:this.order_type,
  377. manufacturer_id:this.manufacturer_id,
  378. keyword:this.searchKey,
  379. page:this.page,
  380. limit:this.limit,
  381. }
  382. getDrugOutDetail(params).then(response=>{
  383. if(response.data.state == 1){
  384. var order = response.data.data.order
  385. console.log("出库数据",order)
  386. this.tableData = order
  387. let objInfo = {}
  388. order.forEach((item,index)=>{
  389. let { drug_id } = item
  390. if(!objInfo[drug_id]){
  391. objInfo[drug_id] = {
  392. drug_id,
  393. child:[],
  394. drug_name:item.drug_name,
  395. drug_spec:item.drug_spec,
  396. min_unit:item.min_unit,
  397. count:0,
  398. price:item.price,
  399. remark:item.remark,
  400. total_price:0,
  401. dose:item.dose,
  402. dose_unit:item.dose_unit,
  403. min_number:item.min_number,
  404. max_unit:item.max_unit
  405. }
  406. }
  407. })
  408. let list = Object.values(objInfo);
  409. for(let i=0;i<order.length;i++){
  410. list.map(item=>{
  411. if(order[i].drug_id == item.drug_id){
  412. item.child.push(order[i])
  413. }
  414. })
  415. }
  416. for(let i=0;i<list.length;i++){
  417. for(let j=0;j<list[i].child.length;j++){
  418. if(list[i].child[j].count!=null || list[i].child[j].count != "" || list[i].child[j].count!=0){
  419. list[i].count += list[i].child[j].count
  420. }
  421. }
  422. }
  423. for(let i=0;i<list.length;i++){
  424. list[i].total_price = list[i].count * list[i].price
  425. }
  426. this.tableList = list
  427. var total = response.data.data.total
  428. this.total = total
  429. }
  430. })
  431. },
  432. select(){
  433. },
  434. getAdminUser(id){
  435. var name = ""
  436. for(let i=0;i<this.adminUserOptions.length;i++){
  437. if(id == this.adminUserOptions[i].id){
  438. name = this.adminUserOptions[i].name
  439. }
  440. }
  441. return name
  442. },
  443. exportList(){
  444. for(let i=0;i<this.tablePrint.length;i++){
  445. this.tablePrint[i].index = i+1
  446. }
  447. for(let i=0;i<this.tablePrint.length;i++){
  448. this.tablePrint[i].count = this.getCount(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_unit,this.tablePrint[i].min_number)
  449. this.tablePrint[i].total_price = this.getTotalPrice(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].price)
  450. this.tablePrint[i].unit = this.tablePrint[i].dose + this.tablePrint[i].dose_unit + "*" + this.tablePrint[i].min_number +this.tablePrint[i].min_unit +"/"+this.tablePrint[i].max_unit
  451. this.tablePrint[i].total = this.getTotalPriceOne(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].price)
  452. }
  453. console.log("列表数据333333333",this.tablePrint)
  454. import('@/vendor/Export2Excel').then(excel => {
  455. const tHeader = ['序号','药品名称', '规格型号', '单位','数量','单价','总价','备注']
  456. const filterVal = ['index','drug_name', 'unit', 'min_unit','count','price','total_price','remark']
  457. let obj = {'index':'合计','total_price':0}
  458. for(let i=0;i<this.tablePrint.length;i++){
  459. obj.total_price += this.tablePrint[i].total
  460. }
  461. this.tablePrint.push(obj)
  462. const data = this.formatJson(filterVal, this.tablePrint)
  463. console.log("data",data)
  464. excel.export_json_to_excel({
  465. header: tHeader,
  466. data,
  467. filename: '药品出库明细'
  468. })
  469. this.downloadLoading = false
  470. })
  471. },
  472. formatJson(filterVal, jsonData) {
  473. return jsonData.map(v => filterVal.map(j => v[j]));
  474. },
  475. exportListDetai(){
  476. import('@/vendor/Export2Excel').then(excel => {
  477. const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','操作时间','制单人','出货价','数量','总价']
  478. const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','time','user_name','price','count','total_price']
  479. for(let i=0;i<this.tableData.length;i++){
  480. this.tableData[i].index = i+1
  481. if(this.tableData[i].drug_type == 1){
  482. this.tableData[i].drugtype = "西药"
  483. }
  484. if(this.tableData[i].drug_type == 2){
  485. this.tableData[i].drugtype = "草药"
  486. }
  487. if(this.tableData[i].drug_type == 3){
  488. this.tableData[i].drugtype = "成药"
  489. }
  490. this.tableData[i].specification_name = this.tableData[i].dose + this.tableData[i].dose_unit +"*" + this.tableData[i].min_number + this.tableData[i].min_unit + "/" + this.tableData[i].max_unit
  491. this.tableData[i].time = this.getTime(this.tableData[i].ctime)
  492. this.tableData[i].user_name = this.getAdminUser(this.tableData[i].creater)
  493. this.tableData[i].total = (this.tableData[i].count * this.tableData[i].price)
  494. this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].price)
  495. }
  496. let obj = {'index':'合计','total_price':0}
  497. for(let i=0;i<this.tableData.length;i++){
  498. obj.total_price += this.tableData[i].total
  499. }
  500. this.tableData.push(obj)
  501. for(let j=0;j<this.tableData.length;j++){
  502. this.tableData[j].total_price = this.tableData[j].total_price.toFixed(2)
  503. }
  504. const data = this.formatJson(filterVal, this.tableData)
  505. console.log("data",data)
  506. excel.export_json_to_excel({
  507. header: tHeader,
  508. data,
  509. filename: '药品出库明细'
  510. })
  511. this.downloadLoading = false
  512. })
  513. },
  514. getBaseDrugLibList() {
  515. let params = {
  516. page: 1,
  517. limit: 1000,
  518. keyword:"",
  519. is_use: "",
  520. is_charge: "",
  521. is_inject: "",
  522. manufacturer:"",
  523. is_record:""
  524. }
  525. getBaseDrugLibList(params).then(response => {
  526. if (response.data.state == 0) {
  527. this.$message.error(response.data.msg)
  528. return false
  529. } else {
  530. this.drugList = []
  531. for (let i = 0; i < response.data.data.list.length; i++) {
  532. this.drugList.push(response.data.data.list[i])
  533. }
  534. console.log("药品列表",this.drugList)
  535. }
  536. })
  537. },
  538. getDrugOutOrderPrint(){
  539. var params = {
  540. start_time:this.start_time,
  541. end_time:this.end_time,
  542. order_type:2,
  543. }
  544. console.log("poara232323223233223",params)
  545. getDrugOutOrderPrint(params).then(response=>{
  546. if(response.data.state == 1){
  547. var list = response.data.data.list
  548. console.log("药品出库详情",list)
  549. let objInfo = {}
  550. list.forEach((item,index)=>{
  551. let { drug_id } = item
  552. if(!objInfo[drug_id]){
  553. objInfo[drug_id] = {
  554. drug_id,
  555. child:[],
  556. drug_name:item.XtBaseDrug.drug_name,
  557. drug_spec:item.XtBaseDrug.drug_spec,
  558. min_unit:item.XtBaseDrug.min_unit,
  559. count:0,
  560. price:item.XtBaseDrug.last_price,
  561. remark:item.XtBaseDrug.remark,
  562. total_price:"",
  563. dose:item.XtBaseDrug.dose,
  564. dose_unit:item.XtBaseDrug.dose_unit,
  565. min_number:item.XtBaseDrug.min_number,
  566. max_unit:item.XtBaseDrug.max_unit,
  567. min_price:item.XtBaseDrug.min_price,
  568. }
  569. }
  570. })
  571. let newArr = Object.values(objInfo);
  572. for(let i=0;i<newArr.length;i++){
  573. for(let j=0;j<list.length;j++){
  574. if(newArr[i].drug_id == list[j].drug_id){
  575. newArr[i].child.push(list[j])
  576. }
  577. }
  578. }
  579. this.tablePrint = newArr
  580. console.log(" this.tablePrint",this.tablePrint)
  581. }
  582. })
  583. },
  584. getCount(arr,max_unit,min_unit,min_number){
  585. var total = 0
  586. var str = ""
  587. var min_str = ""
  588. for(let i=0;i<arr.length;i++){
  589. if(arr[i].count_unit == max_unit){
  590. arr[i].count = arr[i].count * min_number
  591. }
  592. }
  593. for(let i=0;i<arr.length;i++){
  594. total+= arr[i].count
  595. }
  596. if(total<min_number){
  597. str = ""
  598. min_str = total + min_unit
  599. }
  600. if(total >= min_number){
  601. if(parseInt(total/min_number)!=0){
  602. str = parseInt(total/min_number)+ max_unit
  603. }
  604. if((total%min_number)!=0){
  605. min_str = total%min_number + min_unit
  606. }
  607. }
  608. return str + min_str
  609. },
  610. getTotalPrice(arr,max_unit,min_number,min_price){
  611. var total = 0
  612. for(let i=0;i<arr.length;i++){
  613. if(arr[i].count_unit == max_unit){
  614. arr[i].count = arr[i].count * min_number
  615. }else{
  616. arr[i].count = arr[i].count
  617. }
  618. }
  619. for(let j=0;j<arr.length;j++){
  620. total +=arr[j].count
  621. }
  622. console.log("total23232",total)
  623. return (total*min_price).toFixed(2)
  624. },
  625. getTotalPriceOne(arr,max_unit,min_number,min_price){
  626. var total = 0
  627. for(let i=0;i<arr.length;i++){
  628. if(arr[i].count_unit == max_unit){
  629. arr[i].count = arr[i].count * min_number
  630. }else{
  631. arr[i].count = arr[i].count
  632. }
  633. }
  634. for(let j=0;j<arr.length;j++){
  635. total +=arr[j].count
  636. }
  637. console.log("total23232",total)
  638. return total*min_price
  639. }
  640. }
  641. };
  642. </script>
  643. <style rel="stylesheet/css" lang="scss" scoped>
  644. .information {
  645. border: 1px #dcdfe6 solid;
  646. padding: 30px 20px 30px 20px;
  647. .border {
  648. border-bottom: 1px #dcdfe6 solid;
  649. margin: 0px 0 20px 0;
  650. }
  651. }
  652. .edit_separater {
  653. border-top: 1px solid rgb(233, 233, 233);
  654. margin-top: 15px;
  655. margin-bottom: 15px;
  656. }
  657. </style>
  658. <style>
  659. .sign-and-weigh-box .sign-and-weigh-box-patients .cell {
  660. font-size: 12px;
  661. }
  662. .sign-and-weigh-box .sign-and-weigh-box-patients .current-row > td {
  663. background: #6fb5fa;
  664. }
  665. .count {
  666. color: #bd2c00;
  667. }
  668. .el-table td,
  669. .el-table th.is-leaf,
  670. .el-table--border,
  671. .el-table--group {
  672. border-color: #d0d3da;
  673. }
  674. .el-table--border::after,
  675. .el-table--group::after,
  676. .el-table::before {
  677. background-color: #d0d3da;
  678. }
  679. </style>