From 0c7637f507b28342e109b82c901abc348dd1abac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Fri, 18 Oct 2024 15:15:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=97=E6=9D=90=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/consumable.js | 11 ----------- .../invoicing/components/addConsTakin.vue | 4 ++-- .../components/cons_record_detail.vue | 4 ++-- .../invoicing/consumable/cons_record copy.vue | 8 ++++---- .../invoicing/consumable/cons_record.vue | 2 +- .../invoicing/consumable/information.vue | 12 +++++------- src/views/invoicing/operation_in.vue | 19 ++++++++++++------- src/views/invoicing/operation_out.vue | 11 ++++++++--- 8 files changed, 34 insertions(+), 37 deletions(-) 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 @@