患者信息修改

zyy_db
anthonywj 2 years ago
parent 0b6d619a5c
commit 27ab0dce11

@ -38,10 +38,10 @@ ENV = 'production'
# VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_WMS_MC/'
# 长泰医院 # 长泰医院
# VUE_APP_BASE_API = 'http://192.168.6.189:9150/UDI_WMS_MC/' VUE_APP_BASE_API = 'http://192.168.6.189:9150/UDI_WMS_MC/'
# 三明大田医院 # 三明大田医院
VUE_APP_BASE_API = 'http://172.20.124.4:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://172.20.124.4:9150/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://192.168.0.207:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://192.168.0.207:9150/UDI_WMS_MC/'

@ -135,7 +135,6 @@ export default {
this.sickDlDialog = true; this.sickDlDialog = true;
// this.dlSickLoading = true; // this.dlSickLoading = true;
// downloadSick({thidSys: "thirdId"}).then(res => { // downloadSick({thidSys: "thirdId"}).then(res => {
// this.dlSickLoading = false // this.dlSickLoading = false
@ -150,7 +149,12 @@ export default {
// this.$message.error("数据加载失败") // this.$message.error("数据加载失败")
// }) // })
}, },
cancelDialog(val) {
this.sickDlDialog = false;
if (val) {
this.getList();
}
},
updatePrecribe() { updatePrecribe() {
this.updatePrecribeLoading = true; this.updatePrecribeLoading = true;
@ -159,6 +163,8 @@ export default {
if (res.code != 20000) { if (res.code != 20000) {
this.$message.error(res.message) this.$message.error(res.message)
return return
} else {
this.$message.success(res.data);
} }
}).catch(() => { }).catch(() => {
this.updatePrecribeLoading = false this.updatePrecribeLoading = false

@ -199,6 +199,7 @@
v-if="sickDlDialog" v-if="sickDlDialog"
> >
<skPersonDownload <skPersonDownload
v-on:cancelDialog="cancelDialog"
></skPersonDownload> ></skPersonDownload>
</el-dialog> </el-dialog>

@ -52,6 +52,7 @@
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
border highlight-current-row border highlight-current-row
style="width: 100%"> style="width: 100%">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="序号" type="index" width="80"></el-table-column> <el-table-column label="序号" type="index" width="80"></el-table-column>
<el-table-column label="患者编号" prop="code" width="160"></el-table-column> <el-table-column label="患者编号" prop="code" width="160"></el-table-column>
<el-table-column label="患者姓名" prop="name" width="160"></el-table-column> <el-table-column label="患者姓名" prop="name" width="160"></el-table-column>
@ -152,6 +153,7 @@ export default {
this.$message.error(res.message) this.$message.error(res.message)
return return
} else { } else {
this.$emit("cancelDialog", true);
this.$message.success("后台正在下载更新,请稍后刷新重试!"); this.$message.success("后台正在下载更新,请稍后刷新重试!");
} }
}).catch(() => { }).catch(() => {

@ -35,17 +35,17 @@
<el-table v-loading="loading" :data="list" style="width: 100%" border <el-table v-loading="loading" :data="list" style="width: 100%" border
highlight-current-row> highlight-current-row>
<el-table-column type="selection" width="55"></el-table-column> <!-- <el-table-column type="selection" width="55"></el-table-column>-->
<el-table-column label="序号" type="index"></el-table-column> <el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="处方编码" prop="prescribeCode" width="140" show-overflow-tooltip></el-table-column> <el-table-column label="处方编码" prop="prescribeCode" width="140" show-overflow-tooltip></el-table-column>
<el-table-column label="DI标识" prop="nameCode" show-overflow-tooltip></el-table-column> <el-table-column label="DI标识" prop="diCode" show-overflow-tooltip></el-table-column>
<el-table-column label="生产企业" prop="ylqxzcrbarmc" show-overflow-tooltip></el-table-column> <el-table-column label="生产企业" prop="manufactory" show-overflow-tooltip></el-table-column>
<el-table-column label="产品通用名" prop="cpmctymc" show-overflow-tooltip></el-table-column> <el-table-column label="产品通用名" prop="thrName" show-overflow-tooltip></el-table-column>
<el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column> <el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column>
<el-table-column label="注册/备案凭证" prop="zczbhhzbapzbh" show-overflow-tooltip></el-table-column> <el-table-column label="注册/备案凭证" prop="zczbhhzbapzbh" show-overflow-tooltip></el-table-column>
<el-table-column label="计量单位" prop="measureUnit" show-overflow-tooltip></el-table-column> <el-table-column label="计量单位" prop="measureUnit" show-overflow-tooltip></el-table-column>
<el-table-column label="价格" prop="price" show-overflow-tooltip></el-table-column> <el-table-column label="金额" prop="amount" show-overflow-tooltip></el-table-column>
<el-table-column label="数量" prop="count" show-overflow-tooltip></el-table-column> <el-table-column label="数量" prop="measureCount" show-overflow-tooltip></el-table-column>
<el-table-column width="60" label="操作"> <el-table-column width="60" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click.native.stop="handleModifyClick(scope.row)">详情</el-button> <el-button type="text" @click.native.stop="handleModifyClick(scope.row)">详情</el-button>
@ -74,14 +74,18 @@ export default {
data() { data() {
return { return {
filterQuery: { filterQuery: {
cpmctymc: null,
unionCode: null,
adNum: null, adNum: null,
page: 1, page: 1,
limit: 10, limit: 10,
ggxh: null,
}, },
total: 0, total: 0,
loading: false, loading: false,
list: [], list: [],
showSearch: true, showSearch: true,
} }
}, },
methods: { methods: {

@ -34,25 +34,24 @@
<el-table :data="list" style="width: 100%" border <el-table :data="list" style="width: 100%" border
max-height="350" height="350" max-height="350" height="350"
highlight-current-row> highlight-current-row>
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="序号" type="index"></el-table-column> <el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="处方编码" prop="prescribeCode" width="140" show-overflow-tooltip></el-table-column> <el-table-column label="处方编码" prop="prescribeCode" width="140" show-overflow-tooltip></el-table-column>
<el-table-column label="DI标识" prop="nameCode" width="140" show-overflow-tooltip></el-table-column> <el-table-column label="DI标识" prop="diCode" width="140" show-overflow-tooltip></el-table-column>
<el-table-column label="产品通用名" prop="cpmctymc" width="160" show-overflow-tooltip></el-table-column> <el-table-column label="产品通用名" prop="thrName" width="160" show-overflow-tooltip></el-table-column>
<el-table-column label="规格型号" prop="ggxh" width="140" show-overflow-tooltip></el-table-column> <el-table-column label="规格型号" prop="ggxh" width="140" show-overflow-tooltip></el-table-column>
<el-table-column label="计量单位" prop="measureUnit" width="100" show-overflow-tooltip></el-table-column> <el-table-column label="计量单位" prop="measureUnit" width="100" show-overflow-tooltip></el-table-column>
<el-table-column label="数量" header-align="center"> <el-table-column label="数量" header-align="center">
<el-table-column label="处方数量" prop="count" width="100" show-overflow-tooltip></el-table-column> <el-table-column label="处方数量" prop="measureCount" width="100" show-overflow-tooltip></el-table-column>
<el-table-column label="扫码数量" prop="realCount" width="100" show-overflow-tooltip></el-table-column> <el-table-column label="扫码数量" prop="realCount" width="100" show-overflow-tooltip></el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="价格" header-align="center"> <el-table-column label="价格" header-align="center">
<el-table-column label="处方价格" prop="price" width="100" show-overflow-tooltip></el-table-column> <el-table-column label="处方金额" prop="amount" width="100" show-overflow-tooltip></el-table-column>
<el-table-column label="实际价格" prop="realPrice" width="100" show-overflow-tooltip></el-table-column> <el-table-column label="实际金额" prop="realPrice" width="100" show-overflow-tooltip></el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="注册/备案凭证" prop="zczbhhzbapzbh" width="160" show-overflow-tooltip></el-table-column> <el-table-column label="注册/备案凭证" prop="zczbhhzbapzbh" width="160" show-overflow-tooltip></el-table-column>
<el-table-column label="生产企业" prop="ylqxzcrbarmc" width="160" show-overflow-tooltip></el-table-column> <el-table-column label="生产企业" prop="manufactory" width="160" show-overflow-tooltip></el-table-column>
<el-table-column width="60" label="操作" fixed="right"> <el-table-column width="60" label="操作" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click.native.stop="handleModifyClick(scope.row)">详情</el-button> <el-button type="text" @click.native.stop="handleModifyClick(scope.row)">详情</el-button>
</template> </template>
@ -83,10 +82,13 @@ export default {
data() { data() {
return { return {
filterQuery: { filterQuery: {
cpmctymc: null,
unionCode: null,
billNo: null, billNo: null,
adNum: null, adNum: null,
page: 1, page: 1,
limit: 10, limit: 10,
ggxh: null,
}, },
total: 0, total: 0,
loading: false, loading: false,
@ -96,6 +98,7 @@ export default {
}, },
methods: { methods: {
getList() { getList() {
debugger
this.loading = true; this.loading = true;
this.filterQuery.adNum = this.sickerAdNum; this.filterQuery.adNum = this.sickerAdNum;
this.filterQuery.billNo = this.perscribeData.billNo; this.filterQuery.billNo = this.perscribeData.billNo;

Loading…
Cancel
Save