|
@@ -123,6 +123,7 @@
|
|
|
<el-table-column label="录入日期" prop="chargeDate" width="70px"></el-table-column>
|
|
|
<el-table-column label="项目编码" prop="chargeCodeMx"></el-table-column>
|
|
|
<el-table-column label="项目名称" prop="chargeName"></el-table-column>
|
|
|
+ <el-table-column label="规格" v-if="feiYongLeiXingCode !== 1" prop="specification"></el-table-column>
|
|
|
<el-table-column v-if="feiYongLeiXingCode === 1" label="药品名称" prop="drugname"></el-table-column>
|
|
|
<el-table-column label="执行科室" prop="execDept"></el-table-column>
|
|
|
<el-table-column label="申请科室" prop="deptCode"></el-table-column>
|
|
@@ -376,7 +377,7 @@ import {ElMessage, ElMessageBox} from 'element-plus'
|
|
|
import {getDateRangeFormatDate, getDatetime} from '@/utils/date'
|
|
|
import {clone} from '@/utils/clone'
|
|
|
import {getPatientInfo} from '@/api/inpatient/patient'
|
|
|
-import {feiYongLeiXing, tuiFeiLeiXin, yiZhuTuiFeiLeiXing} from '@/data/index'
|
|
|
+import {feiYongLeiXing, tuiFeiLeiXin, yiZhuTuiFeiLeiXing} from '@/data'
|
|
|
import HuoQuMuBan from '@/components/med-tec-mod/HuoQuMuBan.vue'
|
|
|
import {getDept} from '@/api/public-api'
|
|
|
import {baseinfo} from '@/data/inpatient'
|
|
@@ -400,7 +401,7 @@ const chaoZuoZhiNan = ref(false)
|
|
|
const xmlrTabs = ref('ylrxm')
|
|
|
const inpatientNo = ref('')
|
|
|
const zhiXingKeShi = ref('')
|
|
|
-const dateRange = ref(shortcuts[2].value)
|
|
|
+const dateRange = ref([])
|
|
|
// DESC 降 ASC 升
|
|
|
const riQiPaiXu = ref('DESC')
|
|
|
|
|
@@ -454,7 +455,7 @@ const chaXunHuanZheXinXi = () => {
|
|
|
patient.value.currentPage = 1
|
|
|
patient.value.pageSize = 40
|
|
|
patient.value.total = 0
|
|
|
- patient.value.orderNo = 0
|
|
|
+ patient.value.orderNo = 2
|
|
|
patient.value.deptCode = store.state.user.info.deptCode
|
|
|
queryFeiYong()
|
|
|
if (patient.value.ward === store.state.user.info.deptCode) {
|
|
@@ -483,7 +484,6 @@ const total = ref(0)
|
|
|
* 查询
|
|
|
*/
|
|
|
const queryFeiYong = () => {
|
|
|
-
|
|
|
let dateR = getDateRangeFormatDate(dateRange.value);
|
|
|
patient.value.startTime = dateR.startTime
|
|
|
patient.value.endTime = dateR.endTime
|
|
@@ -492,7 +492,10 @@ const queryFeiYong = () => {
|
|
|
patient.value.currentPage = 1
|
|
|
patient.value.total = 0
|
|
|
getHuanZheFeiYong(patient.value)
|
|
|
- .then((res) => {
|
|
|
+ .then(async (res) => {
|
|
|
+ tableDataHuanZheFeiYong.value = []
|
|
|
+ cptTableDataHuanZheFeiYong.value = []
|
|
|
+ await Sleep(100)
|
|
|
tableDataHuanZheFeiYong.value = res
|
|
|
cptTableDataHuanZheFeiYong.value = res.records
|
|
|
total.value = res.total
|
|
@@ -515,7 +518,10 @@ const handleQueryFeiYong = () => {
|
|
|
patient.value.feiYongLeiXingCode = feiYongLeiXingCode.value
|
|
|
patient.value.total = total.value
|
|
|
getHuanZheFeiYong(patient.value)
|
|
|
- .then((res) => {
|
|
|
+ .then(async (res) => {
|
|
|
+ tableDataHuanZheFeiYong.value = []
|
|
|
+ cptTableDataHuanZheFeiYong.value = []
|
|
|
+ await Sleep(100)
|
|
|
tableDataHuanZheFeiYong.value = res
|
|
|
cptTableDataHuanZheFeiYong.value = res.records
|
|
|
if (patient.value.admissWard === store.state.user.info.deptCode) {
|
|
@@ -835,8 +841,8 @@ onMounted(() => {
|
|
|
patient.value.currentPage = 1
|
|
|
patient.value.pageSize = 40
|
|
|
patient.value.total = 0
|
|
|
- patient.value.tuiFeiFlag = 0
|
|
|
- patient.value.orderNo = 0
|
|
|
+ patient.value.tuiFeiFlag = 3
|
|
|
+ patient.value.orderNo = 2
|
|
|
patient.value.deptCode = store.state.user.info.deptCode
|
|
|
zhiXingKeShi.value = patient.value.zkWard
|
|
|
jinRuPanDuanSFXieDaiHuanZheXinXi()
|
|
@@ -845,8 +851,8 @@ onMounted(() => {
|
|
|
patient.value.currentPage = 1
|
|
|
patient.value.pageSize = 40
|
|
|
patient.value.total = 0
|
|
|
- patient.value.tuiFeiFlag = 0
|
|
|
- patient.value.orderNo = 0
|
|
|
+ patient.value.tuiFeiFlag = 3
|
|
|
+ patient.value.orderNo = 2
|
|
|
patient.value.deptCode = store.state.user.info.deptCode
|
|
|
panDuanSFTongGuoBingShiJinRu.value = true
|
|
|
zhiXingKeShi.value = patient.value.zkWard
|