diff --git a/src/api/consumable.js b/src/api/consumable.js index ece7e69..d2dc2d2 100644 --- a/src/api/consumable.js +++ b/src/api/consumable.js @@ -154,17 +154,6 @@ export function deletetbProskuCon(data) { data }); } -/** - * 查询耗材流水信息 - * @returns - */ -export function gettbConsInfoFlow(data) { - return request({ - url: "/api/viewConInfoFlow/get", - method: "post", - data - }); -} /** diff --git a/src/views/invoicing/components/addConsTakin.vue b/src/views/invoicing/components/addConsTakin.vue index a69180c..c848d00 100644 --- a/src/views/invoicing/components/addConsTakin.vue +++ b/src/views/invoicing/components/addConsTakin.vue @@ -168,8 +168,7 @@ export default { this.form.stockNumber = obj.stockNumber this.form.balance = obj.stockNumber this.form.price == null ? 0 : this.form.price - this.searhForm.skuId = obj.productId - this.searhForm.productId = obj.consId + this.searhForm.productId = obj.id this.getTableData() }, // 分页大小改变 @@ -187,6 +186,7 @@ export default { try { this.tableData.loading = true const res = await tbConCheckGet({ + page: this.tableData.page, size: this.tableData.size, conInfoId: this.searhForm.productId, diff --git a/src/views/invoicing/components/cons_record_detail.vue b/src/views/invoicing/components/cons_record_detail.vue index bb39f7c..7441104 100644 --- a/src/views/invoicing/components/cons_record_detail.vue +++ b/src/views/invoicing/components/cons_record_detail.vue @@ -76,7 +76,7 @@