|
|
@@ -1,17 +1,18 @@
|
|
|
<template>
|
|
|
<div class="layout_container">
|
|
|
<header>
|
|
|
- <el-input v-model="codgTotal" class="w-50 m-2" style="width: 200px" >
|
|
|
- <template #prepend>处方发药总数量</template>
|
|
|
+ <el-input v-model="codgTotal" class="w-50 m-2" style="width: 200px" disabled>
|
|
|
+ <template #prepend><span style="color: #d71345;font-weight: bolder">处方发药总数量</span></template>
|
|
|
</el-input>
|
|
|
- <el-input v-model="quantityJc" class="w-50 m-2" style="width: 200px" >
|
|
|
- <template #prepend>追溯码检查数量</template>
|
|
|
+ <el-input v-model="quantityJc" class="w-50 m-2" style="width: 200px" disabled>
|
|
|
+ <template #prepend><span style="color: #d71345;font-weight: bolder">追溯码检查数量</span></template>
|
|
|
</el-input>
|
|
|
<el-divider direction="vertical" />
|
|
|
<el-button type="primary" icon="Search" @click="checkBarList" style="margin-left: 5px">检查</el-button>
|
|
|
<el-button type="danger" icon="Remove" @click="drugBarRepeat" style="margin-left: 5px">去重</el-button>
|
|
|
<el-button type="warning" icon="Filter" @click="matchCodgData" style="margin-left: 5px">匹配</el-button>
|
|
|
<el-button type="success" icon="Select" @click="saveMatchCodgData" style="margin-left: 5px" v-if="confirmFlag !== 1">保存</el-button>
|
|
|
+ <el-button type="danger" v-show="setlText" disabled :icon="Star"><span style="font-size: 14px">医保病人</span></el-button>
|
|
|
</header>
|
|
|
<div class="layout_display_flex_y">
|
|
|
<div class="layout_flex_1-y">
|
|
|
@@ -38,7 +39,7 @@
|
|
|
<el-row :gutter="5">
|
|
|
<el-col :span="3">
|
|
|
<el-divider content-position="left">追溯码采集信息</el-divider>
|
|
|
- <el-input ref="inputRef" v-model="codgLine" type="textarea" rows="36"/>
|
|
|
+ <el-input v-model="codgLine" type="textarea" rows="36"/>
|
|
|
</el-col>
|
|
|
<el-col :span="3">
|
|
|
<el-divider content-position="left">追溯码检查信息</el-divider>
|
|
|
@@ -85,14 +86,15 @@ import {
|
|
|
} from "@/api/yp-codg/yp-codg-match.js";
|
|
|
import {isEmpty} from "xe-utils";
|
|
|
import {ElMessage, ElMessageBox} from "element-plus";
|
|
|
+import {Star} from "@element-plus/icons-vue";
|
|
|
|
|
|
const mzCfData = ref([])
|
|
|
const mzCfDetail = ref([])
|
|
|
+const setlText = ref(false)
|
|
|
const codgLine = ref('')
|
|
|
const codgTotal = ref(0)
|
|
|
// 处方匹配的追溯码信息
|
|
|
const codgInfo = ref([])
|
|
|
-const inputRef = ref(null)
|
|
|
const confirmFlag = ref(0)
|
|
|
const emit = defineEmits(['close', 'closeYpMzCodgMatch'])
|
|
|
|
|
|
@@ -105,8 +107,8 @@ const props = defineProps({
|
|
|
onMounted( () => {
|
|
|
nextTick(() => {
|
|
|
mzCfData.value = props.ypMzCfData
|
|
|
- inputRef.value?.focus()
|
|
|
confirmFlag.value = props.ypMzCfData.confirmFlag
|
|
|
+ setlText.value = props.ypMzCfData.setlId
|
|
|
queryMzCfDetail()
|
|
|
queryMzDrugCodgMatch()
|
|
|
})
|
|
|
@@ -114,6 +116,7 @@ onMounted( () => {
|
|
|
watch(() => props.ypMzCfData, () => {
|
|
|
mzCfData.value = props.ypMzCfData
|
|
|
confirmFlag.value = props.ypMzCfData.confirmFlag
|
|
|
+ setlText.value = props.ypMzCfData.setlId
|
|
|
})
|
|
|
|
|
|
const queryMzCfDetail = () => {
|