diff --git a/src/views/wisdom/stock/index.vue b/src/views/wisdom/stock/index.vue index ae24fbb..42c698c 100644 --- a/src/views/wisdom/stock/index.vue +++ b/src/views/wisdom/stock/index.vue @@ -114,6 +114,7 @@ ref="infoTableRef" highlight-current-row @row-click="(row) => tableInfoRowClick(row, infoTableRef)" + @selection-change="printSelectionChange" border> @@ -347,7 +348,7 @@ const showSearch = ref(true); const warehouseCode = ref(''); //所属仓库下拉数据 -const printList = ref([]) //要打印的数据列表 + const optionTime = ref([]) //入库时间 @@ -416,6 +417,11 @@ function getList() { } getList(); +const printList = ref([]) //要打印的数据列表 +const printSelectionChange = (selection) => { + printList.value = selection +} + // 获取总计 const totalMoney = ref(null) const pcodeCount = ref(null)