耗材列表盘点

This commit is contained in:
duan
2024-08-17 16:05:41 +08:00
parent ce546e09b2
commit 44e15448d9
6 changed files with 315 additions and 230 deletions

View File

@@ -130,6 +130,7 @@ export default {
}
},
async mounted() {
console.log(this.$route.query.productId,'tiaoshi1')
if (this.$route.query.productId) {
this.query.productId = this.$route.query.productId
}
@@ -206,11 +207,11 @@ export default {
try {
let localQuery = JSON.parse(localStorage.getItem('shopIndexQuery'))
if (localQuery != null && localQuery.hasOwnProperty('productId')) {
this.query = localQuery
// this.query = localQuery
}
this.tableData.loading = true
console.log(this.query)
console.log(this.query,'调试2')
const res = await tbProduct({
page: this.tableData.page,
size: this.tableData.size,