diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue
index aa75b327..83d17b72 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 2e3377a0..68d0c7ab 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 = "修改成品盘点单";