dev
This commit is contained in:
parent
8d887ff36b
commit
9681209450
|
|
@ -130,6 +130,7 @@ const showTooltip = ref(false);
|
|||
const goodsDetail = defineModel<any>();
|
||||
const delGoods = (item: any) => {
|
||||
goodsDetail.value = goodsDetail.value.filter((i: any) => i.id != item.id)
|
||||
|
||||
}
|
||||
|
||||
const goodsSearchApi = "goods/goods/search";
|
||||
|
|
@ -237,6 +238,8 @@ const getHilistInfo = (item: any) => {
|
|||
}
|
||||
const colosInfo = () => {
|
||||
hilistInfo.value = {}
|
||||
getTotalPrice()
|
||||
emit('totalPriceChange')
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
<el-descriptions-item label="民族">
|
||||
{{ antysList.find((item: any) => item.id == listItem.nation)?.name}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="就诊时间">{{
|
||||
<el-descriptions-item label="上次就诊时间">{{
|
||||
formatListTime(listItem.lastVisitTime)
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
|
|
|
|||
|
|
@ -97,18 +97,23 @@ const save = () => {
|
|||
diagnosisMedicalRecord: medicalRecord,
|
||||
|
||||
}
|
||||
|
||||
if (!formData.value.diagnosisDetail || JSON.parse(formData.value.diagnosisDetail).length == 0) {
|
||||
ElMessage.error("请填写诊断信息")
|
||||
} else {
|
||||
post('medical/record/save', {data: data}).then((res: any) => {
|
||||
ElMessage.success("接诊完毕,请到收费页面收费")
|
||||
medicalQueueRef.value?.changeCurItemOrStatus(null, 2);
|
||||
})
|
||||
}
|
||||
}
|
||||
const totalAmount = ref(0)
|
||||
const medicalHistoryRef = ref()
|
||||
const patientCardRef = ref()
|
||||
const patientRegistration = ref<any>({})// 当前挂号信息
|
||||
const clickItem = (item: any) => {
|
||||
if (!item){
|
||||
initFormData()
|
||||
if (!item) {
|
||||
medicalHistoryRef.value?.clearList();
|
||||
return
|
||||
}
|
||||
|
|
@ -217,7 +222,15 @@ watch(() => registerId.value, (newValue) => {
|
|||
getSeeDockerInfo(newValue)
|
||||
})
|
||||
|
||||
|
||||
watch(
|
||||
[() => formData.value.goodsDetail, () => formData.value.itemDetail],
|
||||
([newGoodsDetail, newItemDetail]) => {
|
||||
if (newGoodsDetail || newItemDetail) {
|
||||
getOrderTotalPrice()
|
||||
}
|
||||
},
|
||||
{deep: true}
|
||||
)
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
.container {
|
||||
|
|
|
|||
Loading…
Reference in New Issue