查询出入库明细导出Excel问题

zyy_db
anthonywj 1 year ago
parent 2d39891ca9
commit 4e798445a2

@ -487,7 +487,7 @@ export default {
},
searchExport() {
this.$confirm("是否确定打印所有查询结果数据", "提示", {
this.$confirm("是否确定导出所有查询结果数据", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
@ -506,8 +506,14 @@ export default {
keyWords: this.filterQuery.keyWords,
mainAction: this.filterQuery.mainAction,
action: this.filterQuery.action
};
if (this.filterQuery.actionType == 'preInDetail') {
printParams.invCode = '1000001'
} else if (this.filterQuery.actionType == 'preDetail') {
printParams.invCode = '1000002'
}
if (this.actDateRange !== null) {
printParams.startAduditTime = this.actDateRange[0];
printParams.endAduditTime = this.actDateRange[1];

@ -4,7 +4,7 @@
<el-form :model="listQuery" label-width="120px" v-show="showSearch">
<el-row>
<el-col :span="18">
<el-form-item label="UDI码:" >
<el-form-item label="UDI码:">
<el-input v-model="listQuery.udiCode" style="width: 96%" placeholder="请扫描或输入UDI码" clearable="true"
@keyup.enter.native="keyup_submit($event)"></el-input>
</el-form-item>
@ -12,25 +12,25 @@
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="拼音简写:" >
<el-form-item label="拼音简写:">
<el-input v-model="listQuery.pinyinInitial" @input="search" style="width: 100%" placeholder="请输入物资拼音简写"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="第三方物资编码:" >
<el-form-item label="第三方物资编码:">
<el-input v-model="listQuery.thrPiId" style="width: 100%" placeholder="第三方物资编码"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="分类编码:" >
<el-form-item label="分类编码:">
<el-input v-model="listQuery.flbm" style="width: 100%" placeholder="请输入分类编码"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="供应商:" >
<el-form-item label="供应商:">
<el-input v-model="listQuery.companyName" style="width: 100%" placeholder="请输入供应商"
clearable="true"></el-input>
</el-form-item>
@ -38,24 +38,24 @@
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="DI/物资编码:" >
<el-form-item label="DI/物资编码:">
<el-input v-model="listQuery.unionCode" style="width: 100%" placeholder="请输入DI/医保编码/商品条码"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="物资名称:" >
<el-form-item label="物资名称:">
<el-input v-model="listQuery.cpmctymc" style="width: 100%" placeholder="请输入物资名称"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="规格型号:" >
<el-form-item label="规格型号:">
<el-input v-model="listQuery.ggxh" style="width: 100%" placeholder="请输入规格型号" clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="生产企业:" >
<el-form-item label="生产企业:">
<el-input v-model="listQuery.manufactory" style="width: 100%" placeholder="请输入生产企业/注册备案人"
clearable="true"></el-input>
</el-form-item>
@ -64,20 +64,20 @@
<el-row>
<el-col :span="6">
<el-form-item label="物资分类:" >
<el-form-item label="物资分类:">
<el-input v-model="listQuery.category" style="width: 100%" placeholder="请输入物资分类名称"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="6" v-if="productRemarkSet.remarkEnable1">
<el-form-item :label="productRemarkSet.remarkTitle1+':'" >
<el-form-item :label="productRemarkSet.remarkTitle1+':'">
<el-input v-model="listQuery.basicPrductRemak1" style="width: 100%"
:placeholder="productRemarkSet.remarkTitle1"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="6" v-if="productRemarkSet.remarkEnable2">
<el-form-item :label="productRemarkSet.remarkTitle2 +':'" >
<el-form-item :label="productRemarkSet.remarkTitle2 +':'">
<el-input v-model="listQuery.basicPrductRemak2" style="width: 100%"
:placeholder="productRemarkSet.remarkTitle2"
clearable="true"></el-input>
@ -109,7 +109,6 @@
<el-table-column label="医疗器械注册人" width="160" prop="ylqxzcrbarmc"></el-table-column>
<el-table-column label="器械类别" prop="qxlb" width="100" show-overflow-tooltip></el-table-column>
<el-table-column label="供应商" prop="companyName" width="160" show-overflow-tooltip></el-table-column>
<el-table-column
v-if="productRemarkSet.remarkEnable1"
:label="productRemarkSet.remarkTitle1" prop="basicPrductRemak1" width="140"
@ -118,7 +117,14 @@
v-if="productRemarkSet.remarkEnable2"
:label="productRemarkSet.remarkTitle2" prop="basicPrductRemak2" width="140"
show-overflow-tooltip></el-table-column>
<el-table-column
v-if="productRemarkSet.remarkEnable3"
:label="productRemarkSet.remarkTitle3" prop="basicPrductRemak3" width="140"
show-overflow-tooltip></el-table-column>
<el-table-column
v-if="productRemarkSet.remarkEnable4"
:label="productRemarkSet.remarkTitle4" prop="basicPrductRemak4" width="140"
show-overflow-tooltip></el-table-column>
<el-table-column label="操作" width="80" fixed="right">
<template slot-scope="scope">
<el-button type="text" size="small" @click.native.stop="handleDetailClick(scope.row)">详情</el-button>

Loading…
Cancel
Save