From 18cd8226b4277f8a7cd57cc41c332e5827548b3a Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Thu, 5 Dec 2024 11:24:17 +0800 Subject: [PATCH] =?UTF-8?q?wms=E8=A1=A5=E6=89=93=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E5=AF=B9=E5=BA=93=E5=8C=BA=E5=92=8C=E5=BA=93=E5=AD=98=E7=9A=84?= =?UTF-8?q?=E9=80=89=E6=8B=A9=EF=BC=8C=E5=90=8E=E7=AB=AF=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=BE=97=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/matetowsn.js | 7 ++++++ src/views/wms/matetowsn/index.vue | 42 +++++++++++++++---------------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/src/api/wms/matetowsn.js b/src/api/wms/matetowsn.js index 9f6124f..028e93a 100644 --- a/src/api/wms/matetowsn.js +++ b/src/api/wms/matetowsn.js @@ -22,6 +22,13 @@ export function cardBD(data) { data: data }); } +export function Removecard(data) { + return request({ + url: '/wms/matetowsn/Removecard', + method: 'post', + data: data + }); +} // 查询包材库存明细表详细 export function getMatetowsn(mateOrderInSnId) { return request({ diff --git a/src/views/wms/matetowsn/index.vue b/src/views/wms/matetowsn/index.vue index 2d670d9..3cab2b8 100644 --- a/src/views/wms/matetowsn/index.vue +++ b/src/views/wms/matetowsn/index.vue @@ -300,25 +300,25 @@ - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -741,8 +741,8 @@ export default { // 注意:根据您的描述,可能没有 unit 字段,请确认是否需要 // unit: item.unit, planNumber: item.planNumber, // 计划数量 - locCode: this.queryParams1.warehouseNo, // 仓库编码 - waCode: this.queryParams1.waCode, // 仓库编码 + // locCode: this.queryParams1.warehouseNo, // 仓库编码 + // waCode: this.queryParams1.waCode, // 仓库编码 userDefined2: this.queryParams1.accountingSubject, // 总账科目编号 userDefined4: this.queryParams1.receiver, // 收货方 planDate: this.queryParams1.productionDate, // 生产日期 @@ -761,7 +761,7 @@ export default { // 调用接口提交数据 const response = await cardBD(payload); - this.$message.success('补打提交成功'); + this.$message.success(response.msg); this.open = false; // 关闭对话框 this.addoutorderList = []; // 清空列表或根据需求更新 } catch (error) {