修改库存查询打印的报错

This commit is contained in:
2026-02-13 08:17:01 +08:00
parent e2d502394c
commit 43791e8ab6

View File

@@ -114,6 +114,7 @@
ref="infoTableRef" ref="infoTableRef"
highlight-current-row highlight-current-row
@row-click="(row) => tableInfoRowClick(row, infoTableRef)" @row-click="(row) => tableInfoRowClick(row, infoTableRef)"
@selection-change="printSelectionChange"
border> border>
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" type="index" width="70" /> <el-table-column label="序号" align="center" type="index" width="70" />
@@ -347,7 +348,7 @@ const showSearch = ref(true);
const warehouseCode = ref(''); //所属仓库下拉数据 const warehouseCode = ref(''); //所属仓库下拉数据
const printList = ref([]) //要打印的数据列表
const optionTime = ref([]) //入库时间 const optionTime = ref([]) //入库时间
@@ -416,6 +417,11 @@ function getList() {
} }
getList(); getList();
const printList = ref([]) //要打印的数据列表
const printSelectionChange = (selection) => {
printList.value = selection
}
// 获取总计 // 获取总计
const totalMoney = ref(null) const totalMoney = ref(null)
const pcodeCount = ref(null) const pcodeCount = ref(null)