Compare commits
No commits in common. "75d5734566b80d24018dd39226cdb29d81eaa89a" and "a601da3426736e040dc5f46abb87ddac2149eefe" have entirely different histories.
75d5734566
...
a601da3426
|
|
@ -9,16 +9,14 @@
|
||||||
<el-table-column prop="number" label="数量" >
|
<el-table-column prop="number" label="数量" >
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div v-if="data.status == 0">
|
<div v-if="data.status == 0">
|
||||||
<el-input-number v-model="scope.row.selectedNum" min="0" @change="handleNumChange"
|
<el-input-number v-model="scope.row.selectedNum" min="0" @change="handleNumChange" size="small"></el-input-number>
|
||||||
size="small"></el-input-number>
|
|
||||||
<el-dropdown>
|
<el-dropdown>
|
||||||
<span style="line-height: 30px;margin-left: 10px">{{ scope.row.selectedUnit }}</span>
|
<span style="line-height: 30px;margin-left: 10px">{{ scope.row.selectedUnit }}</span>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
<el-dropdown-menu v-if="scope.row.trdnFlag == 1">
|
<el-dropdown-menu v-if="scope.row.trdnFlag == 1">
|
||||||
<el-dropdown-item @click="selectUnit(scope.row,scope.row.packagingUnit)">{{ scope.row.packagingUnit }}
|
<el-dropdown-item @click="selectUnit(scope.row,scope.row.packagingUnit)">{{ scope.row.packagingUnit }}
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item @click="selectUnit(scope.row,scope.row.minPackagingUnit)">
|
<el-dropdown-item @click="selectUnit(scope.row,scope.row.minPackagingUnit)">{{ scope.row.minPackagingUnit }}
|
||||||
{{ scope.row.minPackagingUnit }}
|
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -41,11 +39,8 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="bottom">
|
<SearchInput v-if="data.status == 0" :request-api="goodsSearchApi" :show-config="goodsShowConfig" @selectedCallBack="goodsSelect"></SearchInput>
|
||||||
<SearchInput v-if="data.status == 0" :request-api="goodsSearchApi" :show-config="goodsShowConfig"
|
|
||||||
@selectedCallBack="goodsSelect"></SearchInput>
|
|
||||||
<span>合计:¥{{getTotalPrice()}}</span>
|
<span>合计:¥{{getTotalPrice()}}</span>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import SearchInput from "@/components/SearchInput.vue";
|
import SearchInput from "@/components/SearchInput.vue";
|
||||||
|
|
@ -109,8 +104,4 @@ const getTotalPrice = () => {
|
||||||
:deep(.el-table__cell){
|
:deep(.el-table__cell){
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -136,9 +136,11 @@ import {onMounted, ref} from "vue";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
const seeDockerInfo = ref<any>();
|
const seeDockerInfo = ref<any>();
|
||||||
const getSeeDockerInfo = (newValue:any) => {
|
const getSeeDockerInfo = (newValue:any) => {
|
||||||
|
debugger
|
||||||
if (!newValue)return;
|
if (!newValue)return;
|
||||||
post('medical/record/getSeeDockerInfo', {regisId: newValue}).then((res: any) => {
|
post('medical/record/getSeeDockerInfo', {regisId: newValue}).then((res: any) => {
|
||||||
seeDockerInfo.value = res
|
seeDockerInfo.value = res
|
||||||
|
debugger
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const init =(regisId:any)=>{
|
const init =(regisId:any)=>{
|
||||||
|
|
|
||||||
|
|
@ -25,12 +25,9 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="bottom">
|
|
||||||
<SearchInput v-if="data.status == 0" :request-api="serviceSearchApi" :show-config="serviceShowConfig"
|
<SearchInput v-if="data.status == 0" :request-api="serviceSearchApi" :show-config="serviceShowConfig"
|
||||||
@selectedCallBack="serviceSelect"></SearchInput>
|
@selectedCallBack="serviceSelect"></SearchInput>
|
||||||
<span>合计:¥{{getTotalPrice()}}</span>
|
<span>合计:¥{{getTotalPrice()}}</span>
|
||||||
</div>
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import SearchInput from "@/components/SearchInput.vue";
|
import SearchInput from "@/components/SearchInput.vue";
|
||||||
|
|
@ -78,7 +75,4 @@ const getTotalPrice =()=>{
|
||||||
:deep(.el-table__cell){
|
:deep(.el-table__cell){
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
}
|
}
|
||||||
.bottom{
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<el-input v-model="keyword" :style="{width:props.width+'px',height: 100+'%'}" @input="changeInput" :disabled="disabled" @click="changeInput"
|
<el-input v-model="keyword" style="width:100%;height: 100%" @input="changeInput" :disabled="disabled" @click="changeInput"
|
||||||
placeholder="诊断选择" ref="inputRef" @focus="focus"></el-input>
|
placeholder="诊断选择" ref="inputRef" @focus="focus"></el-input>
|
||||||
|
|
||||||
<el-popover placement="bottom-start" trigger="click" :width="props.width" ref="popoverRef" @before-enter="beforeShow" :virtual-ref="inputRef" @hide ="afterShow">
|
<el-popover placement="bottom-start" trigger="click" :width="props.width" ref="popoverRef" @before-enter="beforeShow" :virtual-ref="inputRef" @hide ="afterShow">
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
</Panel>
|
</Panel>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {nextTick, onMounted, ref, watch} from "vue";
|
import {onMounted, ref, watch} from "vue";
|
||||||
import Panel from "@/components/common/Panel.vue";
|
import Panel from "@/components/common/Panel.vue";
|
||||||
import {post} from "@/utils/request.ts";
|
import {post} from "@/utils/request.ts";
|
||||||
import {formatListTime} from "@/utils/dateUtils.ts";
|
import {formatListTime} from "@/utils/dateUtils.ts";
|
||||||
|
|
@ -48,7 +48,6 @@ const search = ref('')
|
||||||
const curItem = ref<any>('')
|
const curItem = ref<any>('')
|
||||||
const emit = defineEmits(['getId', 'changeDetail', 'getStatus'])
|
const emit = defineEmits(['getId', 'changeDetail', 'getStatus'])
|
||||||
const tab = (item: any) => {
|
const tab = (item: any) => {
|
||||||
nextTick(()=>{
|
|
||||||
emit('getStatus', item.value)
|
emit('getStatus', item.value)
|
||||||
init()
|
init()
|
||||||
if (item.value == 3) {
|
if (item.value == 3) {
|
||||||
|
|
@ -56,7 +55,6 @@ const tab = (item: any) => {
|
||||||
} else {
|
} else {
|
||||||
emit('changeDetail', false)
|
emit('changeDetail', false)
|
||||||
}
|
}
|
||||||
})
|
|
||||||
|
|
||||||
}
|
}
|
||||||
const list = ref<any>([])
|
const list = ref<any>([])
|
||||||
|
|
|
||||||
|
|
@ -7,15 +7,21 @@
|
||||||
<el-scrollbar>
|
<el-scrollbar>
|
||||||
<div>
|
<div>
|
||||||
<Panel title="医疗诊断">
|
<Panel title="医疗诊断">
|
||||||
|
<template #tools>
|
||||||
|
<el-cascader
|
||||||
|
v-model="formData.doctorId"
|
||||||
|
:options="sectionDoctorOption"
|
||||||
|
:props="props"
|
||||||
|
@change="handleChange"
|
||||||
|
clearable
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
<template #default>
|
<template #default>
|
||||||
<div class="diagnosis-content">
|
<div style="height:64px;padding:0 24px 24px">
|
||||||
<div class="diagnosis">
|
|
||||||
诊断:
|
|
||||||
<DiagnosisSearchInput
|
<DiagnosisSearchInput
|
||||||
v-model="diagnosisKeyword"
|
v-model="diagnosisKeyword"
|
||||||
:request-api="diagnosisSearchApi"
|
:request-api="diagnosisSearchApi"
|
||||||
:show-config="diagnosisShowConfig"
|
:show-config="diagnosisShowConfig"
|
||||||
:width="600"
|
|
||||||
@selectedCallBack="diagnosisSelect"
|
@selectedCallBack="diagnosisSelect"
|
||||||
ref="diagnosisSearchRef"
|
ref="diagnosisSearchRef"
|
||||||
:show-header="false"
|
:show-header="false"
|
||||||
|
|
@ -24,20 +30,6 @@
|
||||||
>
|
>
|
||||||
</DiagnosisSearchInput>
|
</DiagnosisSearchInput>
|
||||||
</div>
|
</div>
|
||||||
<div class="doctor">
|
|
||||||
医生:
|
|
||||||
<el-cascader
|
|
||||||
v-model="formData.doctorId"
|
|
||||||
:options="sectionDoctorOption"
|
|
||||||
:props="props"
|
|
||||||
@change="handleChange"
|
|
||||||
clearable
|
|
||||||
size="large"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</Panel>
|
</Panel>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -243,12 +235,6 @@ const generateOptions = () => {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
.diagnosis-content{
|
|
||||||
height:64px;
|
|
||||||
padding:0 24px 24px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.case {
|
.case {
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue