This commit is contained in:
parent
ea8c0021db
commit
a347a2a38f
|
|
@ -220,7 +220,8 @@
|
|||
<div class="head-container">
|
||||
<el-pagination :total="clickseetableData.total" :current-page="clickseetableData.page + 1"
|
||||
:page-size="clickseetableData.size" layout="total, sizes, prev, pager, next, jumper"
|
||||
@current-change="paginationChangetype" />
|
||||
@current-change="paginationChangetype"
|
||||
@size-change="e => { clickseetableData.size = e; clickseetableData.page = 0; getConsRecord() }" />
|
||||
</div>
|
||||
</el-dialog>
|
||||
<!-- 耗材盘点 -->
|
||||
|
|
@ -355,7 +356,8 @@ export default {
|
|||
},
|
||||
downloadLoading: false,
|
||||
uploadLoading: false,
|
||||
dialogVisible: false
|
||||
dialogVisible: false,
|
||||
consRecordItem: ''
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
|
@ -412,8 +414,8 @@ export default {
|
|||
this.getTableData();
|
||||
},
|
||||
paginationChangetype(e) {
|
||||
this.tableDatatype.page = e - 1;
|
||||
this.getTableDatatype();
|
||||
this.clickseetableData.page = e - 1;
|
||||
this.getConsRecord();
|
||||
},
|
||||
// 获取信息
|
||||
async getTableData() {
|
||||
|
|
@ -559,17 +561,21 @@ export default {
|
|||
console.log(error);
|
||||
}
|
||||
},
|
||||
//查看查询耗材流水信息
|
||||
// 显示耗材记录
|
||||
async clicksee(item) {
|
||||
console.log(item);
|
||||
this.consRecordItem = item
|
||||
this.clickseetypedialogshow = true;
|
||||
this.clickseetableData.loading = true;
|
||||
this.getConsRecord()
|
||||
},
|
||||
// 获取耗材记录
|
||||
async getConsRecord() {
|
||||
try {
|
||||
this.clickseetableData.loading = true;
|
||||
const res = await gettbConsInfoFlow({
|
||||
page: this.clickseetableData.page,
|
||||
size: this.clickseetableData.size,
|
||||
consId: item.id,
|
||||
conName: item.conName,
|
||||
consId: this.consRecordItem.id,
|
||||
conName: this.consRecordItem.conName,
|
||||
shopId: localStorage.getItem("shopId")
|
||||
});
|
||||
this.clickseetableData.loading = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue