Merge remote-tracking branch 'origin/dev_ksck_z' into dev_ksck_z

20240912_adapter_z
anthonywj 8 months ago
commit bdd65f9696

@ -144,7 +144,7 @@
</el-card>
<el-dialog
title="耗材字典详情"
title="药品字典详情"
:visible.sync="udiRlDetailVisible"
width="80%"
:close-on-click-modal="false"
@ -155,7 +155,7 @@
<udiRlDetailDialog :editQuery="currentRow"></udiRlDetailDialog>
</el-dialog>
<el-dialog title="请选择对应的注册/备案证" :visible.sync="dialogFormVisible" append-to-body width="40%">
<el-dialog title="请选择对应的批准文号" :visible.sync="dialogFormVisible" append-to-body width="40%">
<el-form :model="form">
<el-form-item label="" prop="isGive">
<el-radio-group v-model="currentCert">

@ -1,17 +1,21 @@
<template>
<div>
<el-table :data="sysList" style="width: 100%" border highlight-current-row>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="第三方系统名称" prop="sysName" show-overflow-tooltip></el-table-column>
<el-table-column label="第三方产品名称" prop="thirdName" show-overflow-tooltip></el-table-column>
<el-table-column label="第三方产品ID" prop="thirdId" show-overflow-tooltip></el-table-column>
</el-table>
<!--<el-table :data="sysList" style="width: 100%" border highlight-current-row>-->
<!-- <el-table-column label="序号" type="index"></el-table-column>-->
<!-- <el-table-column label="第三方系统名称" prop="sysName" show-overflow-tooltip></el-table-column>-->
<!-- <el-table-column label="第三方产品名称" prop="thirdName" show-overflow-tooltip></el-table-column>-->
<!-- <el-table-column label="第三方产品ID" prop="thirdId" show-overflow-tooltip></el-table-column>-->
<!--</el-table>-->
<el-table v-loading="loading" :data="detailList" style="width: 100%; margin-top: 20px" border @current-change="handleDetail" border highlight-current-row>
<el-table v-loading="loading" :data="detailList" style="width: 100%; margin-top: 20px" border
@current-change="handleDetail" border highlight-current-row
>
<el-table-column label="药品标识" prop="nameCode" show-overflow-tooltip></el-table-column>
<el-table-column label="药品通用名称" prop="cpmctymc" show-overflow-tooltip></el-table-column>
<el-table-column label="包装级别" prop="packLevel" show-overflow-tooltip></el-table-column>
<el-table-column label="包含下级数量" prop="bzcj" show-overflow-tooltip></el-table-column>
<el-table-column label="层级单位" prop="packUnit" show-overflow-tooltip></el-table-column>
<el-table-column label="上级标识" prop="sjcpbm" show-overflow-tooltip></el-table-column>
<el-table-column label="下级标识" prop="bhxjcpbm" show-overflow-tooltip></el-table-column>
<el-table-column label="下级数量" prop="bhxjsl" show-overflow-tooltip></el-table-column>
</el-table>
@ -181,6 +185,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="药品通用名称:" prop="cpmctymc">
<el-input style="width: 90%" size="small" placeholder="请输入药品通用名称"
disabled
v-model.trim="editQuery.cpmctymc"
></el-input>
</el-form-item>
@ -188,6 +193,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="商品名称:" prop="spmc">
<el-input style="width: 90%" size="small" placeholder="请输入商品名称"
disabled
v-model.trim="editQuery.spmc"
></el-input>
</el-form-item>
@ -197,6 +203,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="包装规格:" prop="bzgg">
<el-input style="width: 90%" size="small" placeholder="请输入包装规格"
disabled
v-model.trim="editQuery.bzgg"
></el-input>
</el-form-item>
@ -204,6 +211,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="包装单位:" prop="packUnit">
<el-input style="width: 90%" size="small" placeholder="请输入包装单位"
disabled
v-model.trim="editQuery.packUnit"
></el-input>
</el-form-item>
@ -213,6 +221,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="制剂规格:" prop="prepnSpec">
<el-input style="width: 90%" size="small" placeholder="请输入制剂规格"
disabled
v-model.trim="editQuery.prepnSpec"
></el-input>
</el-form-item>
@ -220,6 +229,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="制剂单位:" prop="prepnUnit">
<el-input style="width: 90%" size="small" placeholder="请输入制剂单位"
disabled
v-model.trim="editQuery.prepnUnit"
></el-input>
</el-form-item>
@ -229,6 +239,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="包装材质:" prop="packMatrial">
<el-input style="width: 90%" size="small" placeholder="请输入包装材质"
disabled
v-model.trim="editQuery.packMatrial"
></el-input>
</el-form-item>
@ -236,6 +247,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="包装比例:" prop="packRatio">
<el-input style="width: 90%" size="small" placeholder="请输入制剂单位"
disabled
v-model.trim="editQuery.packRatio"
></el-input>
</el-form-item>
@ -243,15 +255,17 @@
</el-row>
<el-row>
<el-col :span="12" class="el-col">
<el-form-item label="批准文号:" prop="registerNo">
<el-form-item label="批准文号:" prop="zczbhhzbapzbh">
<el-input style="width: 90%" size="small" placeholder="请输入批准文号"
v-model.trim="editQuery.registerNo"
disabled
v-model.trim="editQuery.zczbhhzbapzbh"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="生产企业:" prop="manufactory">
<el-input style="width: 90%" size="small" placeholder="请输入生产企业"
disabled
v-model.trim="editQuery.manufactory"
></el-input>
</el-form-item>
@ -260,7 +274,7 @@
<el-row>
<el-col :span="12" class="el-col">
<el-form-item label="药品类型:" prop="physicType">
<el-select v-model="editQuery.physicType" style="width: 90%" placeholder="选择药品类型" clearable>
<el-select v-model="editQuery.physicType" style="width: 90%" placeholder="选择药品类型" clearable disabled>
<el-option label="特殊药品原料药" :value="1"></el-option>
<el-option label="特殊药品制剂" :value="2"></el-option>
<el-option label="普通药品" :value="3"></el-option>
@ -270,7 +284,7 @@
</el-col>
<el-col :span="12" type="flex">
<el-form-item label="药品分类:" prop="majorType">
<el-select v-model="editQuery.majorType" style="width: 90%" placeholder="选择药品分类" clearable>
<el-select v-model="editQuery.majorType" style="width: 90%" placeholder="选择药品分类" clearable disabled>
<el-option label="中药" :value="1"></el-option>
<el-option label="化学药" :value="2"></el-option>
<el-option label="生物制品" :value="3"></el-option>
@ -282,6 +296,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="医保编码:" prop="ybbm">
<el-input style="width: 90%" size="small" placeholder="请输入医保编码"
disabled
v-model.trim="editQuery.ybbm"
></el-input>
</el-form-item>
@ -289,7 +304,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="医保分类:" prop="medicareType">
<el-select v-model="editQuery.medicareType" style="width: 90%" placeholder="选择医保分类"
clearable
clearable disabled
>
<el-option label="甲类" :value="1"></el-option>
<el-option label="乙类" :value="2"></el-option>
@ -300,21 +315,23 @@
</el-row>
<el-row>
<el-col :span="12" class="el-col">
<el-form-item label="药品价格:" prop="price">
<el-form-item label="药品价格:" prop="productPrice">
<el-input
disabled
style="width: 90%"
size="small"
placeholder="请输入药品价格"
type="number"
:precision="2"
:min="0"
v-model.number="editQuery.price"
v-model.number="editQuery.productPrice"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="有效期:" prop="indate">
<el-date-picker
disabled
style="width: 90%"
v-model="editQuery.indate"
type="datetime"
@ -330,6 +347,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="存储条件:" prop="ylqxzcrbarmc">
<el-input style="width: 90%" size="small" placeholder="请输入存储条件"
disabled
v-model.trim="editQuery.storageCondition"
></el-input>
</el-form-item>
@ -337,6 +355,7 @@
<el-col :span="12" class="el-col">
<el-form-item label="运输条件:" prop="transportCondition">
<el-input style="width: 90%" size="small" placeholder="请输入运输条件"
disabled
v-model.trim="editQuery.transportCondition"
></el-input>
</el-form-item>
@ -346,13 +365,14 @@
<el-col :span="12" class="el-col">
<el-form-item label="统一社会信用号:" prop="tyshxydm">
<el-input style="width: 90%" size="small" placeholder="请输入统一社会信用号"
disabled
v-model.trim="editQuery.tyshxydm"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="药品状态:" prop="majorStatus">
<el-select v-model="editQuery.majorStatus" style="width: 90%" placeholder="选择药品状态" clearable>
<el-select v-model="editQuery.majorStatus" style="width: 90%" placeholder="选择药品状态" clearable disabled>
<el-option label="停用" :value="0"></el-option>
<el-option label="在用" :value="1"></el-option>
</el-select>
@ -365,67 +385,75 @@
</template>
<script>
import {thirdSysDetail} from "@/api/basic/udiRelevance";
import {filterByUuid} from "@/api/basic/udiInfo";
import { thirdSysDetail } from '@/api/basic/udiRelevance'
import { filterByUuid } from '@/api/basic/udiInfo'
export default {
name: "UdiRlDetail",
name: 'UdiRlDetail',
props: {
editQuery: {
type: Object,
required: true,
},
required: true
}
},
data() {
return {
sysList: [],
checked: false,
detailList: [],
loading: false,
loading: false
}
},
methods: {
getThirdSysDetail() {
let query = {
id: this.editQuery.id,
};
id: this.editQuery.id
}
thirdSysDetail(query)
.then((response) => {
this.loading = false;
this.sysList = response.data.list || [];
})
.catch(() => {
this.loading = false;
this.sysList = [];
});
},
getDetailList(detailQuery) {
this.loading = true;
filterByUuid(detailQuery)
.then((response) => {
this.loading = false;
this.detailList = response.data || [];
})
.catch(() => {
this.loading = false;
this.detailList = [];
});
},
thirdSysDetail(query)
.then((response) => {
this.loading = false
this.sysList = response.data.list || []
})
.catch(() => {
this.loading = false
this.sysList = []
})
},
//
getDetailList() {
this.loading = true
if (this.editQuery.uuid != null) {
let query = {
uuid: this.editQuery.uuid,
id: this.editQuery.id
}
filterByUuid(query)
.then((response) => {
this.loading = false
this.detailList = response.data || []
})
.catch(() => {
this.loading = false
this.detailList = []
})
}
}
},
created() {
if(this.editQuery.isUseDy==1){
this.checked=true
if (this.editQuery.isUseDy == 1) {
this.checked = true
}
let ttquery = {
id: this.editQuery.id,
page: 1,
limit: 10,
};
this.getDetailList(ttquery);
this.getThirdSysDetail();
},
limit: 10
}
// this.getDetailList(ttquery)
this.getDetailList();
this.getThirdSysDetail()
}
}
</script>

@ -101,7 +101,7 @@
<el-dialog
title="耗材字典详情"
title="药品字典详情"
:visible.sync="udiRlDetailVisible"
width="80%"
:close-on-click-modal="false"

Loading…
Cancel
Save