From e9c1da8ff9b93c0e190eba118f4b3b48caf0dc77 Mon Sep 17 00:00:00 2001
From: mengjiao <3338049200@qq,com>
Date: Thu, 25 Apr 2024 10:34:25 +0800
Subject: [PATCH] =?UTF-8?q?wms=E6=88=90=E5=93=81=E5=85=A5=E5=BA=93?=
=?UTF-8?q?=E7=9A=84sap=E6=94=B6=E8=B4=A7=E9=A1=B5=E9=9D=A2=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E5=8A=A0=E5=B7=B2=E8=BF=87=E5=B8=90=E6=95=B0=E9=87=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/mes/reportWork/index.vue | 6 +++
src/views/wms/systemFinished/index.vue | 63 ++++++++++++++------------
2 files changed, 41 insertions(+), 28 deletions(-)
diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue
index aa75b32..83d17b7 100644
--- a/src/views/mes/reportWork/index.vue
+++ b/src/views/mes/reportWork/index.vue
@@ -529,6 +529,8 @@
type="date">
+
完成
@@ -870,6 +872,10 @@ export default {
this.queryParams.feedbackTimeArray.push(start, end);
this.getList();
},
+ formatSapQuantity(row, column, cellValue) {
+ // 去掉末尾的零
+ return cellValue.toString().replace(/\.?0+$/, '');
+ },
Fungetdate(num) {
var dd = new Date();
dd.setDate(dd.getDate() + num);
diff --git a/src/views/wms/systemFinished/index.vue b/src/views/wms/systemFinished/index.vue
index 2e3377a..68d0c7a 100644
--- a/src/views/wms/systemFinished/index.vue
+++ b/src/views/wms/systemFinished/index.vue
@@ -139,7 +139,7 @@
-
+
@@ -147,10 +147,11 @@
-
+
+
-
+
@@ -176,26 +177,7 @@
-
-
- 修改
-
- 删除
-
-
-
+
item.ID)
+ this.ids = selection.map(item => item.id)
this.single = selection.length !== 1
this.multiple = !selection.length
},
@@ -616,9 +623,9 @@
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
- const ID =
- row.ID || this.ids
- getSystemFinished(ID).then(response => {
+ const id =
+ row.id || this.ids
+ getSystemFinished(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改成品盘点单";