From 7f77b0439fa40efb6072eb8ee9d4e3d404ec2050 Mon Sep 17 00:00:00 2001
From: huangli865118801 <865118801@qq.com>
Date: Mon, 16 Aug 2021 19:31:16 +0800
Subject: [PATCH] ddd
---
api/user.js | 26 +++++++++++++++++++
pages.json | 9 +++++++
pages/badProduct/badProduct.vue | 25 +++++++++++++++---
.../stampingRecordList/stampingRecordList.vue | 25 +++++++++++++-----
pages/stopLineList/stopLineList.vue | 19 ++++++++++++++
5 files changed, 94 insertions(+), 10 deletions(-)
create mode 100644 pages/stopLineList/stopLineList.vue
diff --git a/api/user.js b/api/user.js
index ccaa80f..007f7a2 100644
--- a/api/user.js
+++ b/api/user.js
@@ -515,3 +515,29 @@ export function staff(data) {
});
}
+/**
+ * 投入统计详情
+ * @param {Object} data
+ */
+export function putInDetail(data) {
+ console.log(data)
+ return request({
+ url: `${functions.getDomain()}/api/put-in-detail`,
+ method: "get",
+ data
+ });
+}
+
+
+/**
+ * 投入统计详情
+ * @param {Object} data
+ */
+export function noDetail(data) {
+ console.log(data)
+ return request({
+ url: `${functions.getDomain()}/api/no-detail`,
+ method: "get",
+ data
+ });
+}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 2f0b8c0..d45d9c3 100644
--- a/pages.json
+++ b/pages.json
@@ -229,6 +229,15 @@
}
}
+ ,{
+ "path" : "pages/stopLineList/stopLineList",
+ "style" :
+ {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }
],
"globalStyle": {
"navigationBarTextStyle": "white",
diff --git a/pages/badProduct/badProduct.vue b/pages/badProduct/badProduct.vue
index da83227..a27ffe2 100644
--- a/pages/badProduct/badProduct.vue
+++ b/pages/badProduct/badProduct.vue
@@ -36,7 +36,7 @@
不良原因
- {{ reason[item.reason_no_id].title }}
+ {{ reason[item.reason_no_id]?reason[item.reason_no_id].title:'' }}
@@ -49,13 +49,13 @@
不良品处置
-
+
删除
-
+
添加
@@ -65,6 +65,7 @@
+
+