From 33b5c107130f7aeb63663d404ce81a8e32b4aaa3 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期三, 24 七月 2024 19:03:46 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes

---
 UI-Project/src/views/StockBasicData/stockBasicData.vue    |    8 ++++++--
 UI-Project/src/views/Identify/identify.vue                |   32 ++++++++++++++++++--------------
 UI-Project/src/views/StockBasicData/stockBasicDatatwo.vue |    8 ++++++--
 3 files changed, 30 insertions(+), 18 deletions(-)

diff --git a/UI-Project/src/views/Identify/identify.vue b/UI-Project/src/views/Identify/identify.vue
index 74f05a1..64df621 100644
--- a/UI-Project/src/views/Identify/identify.vue
+++ b/UI-Project/src/views/Identify/identify.vue
@@ -103,13 +103,15 @@
 // 鐮存崯
 const handleDamage = async () => {
   try  {
-    var url="/cacheGlass/taskCache/identControls?identId="+currentGlassId.value+'&controlsId='+201;
-      console.log(url);
-      const response = await request.post(url)
-  // const response = await request.post('/cacheGlass/taskCache/identControls', {
-  //   identId: currentGlassId.value,
-  //   controlsId: 201,
-  //   })
+    // var url="/cacheGlass/taskCache/identControls?identId="+currentGlassId.value+'&controlsId='+201;
+    //   console.log(url);
+    //   const response = await request.post(url)
+  const response = await request.post('/cacheGlass/taskCache/identControls', {
+    identId: currentGlassId.value,
+    controlsId: 201,
+    line: 1001,
+    machine: '璇嗗埆',
+    })
     if (response.code == 200) {
       ElMessage.success(response.message);
       // window.location.reload() 
@@ -128,13 +130,15 @@
  // 浜哄伐鎷胯蛋
 const handleManualTake = async () => {
   try  {
-    var url="/cacheGlass/taskCache/identControls?identId="+currentGlassId.value+'&controlsId='+200;
-      console.log(url);
-      const response = await request.post(url)
-  // const response = await request.post('/cacheGlass/taskCache/identControls', {
-  //   identId: currentGlassId.value,
-  //   controlsId: 200,
-  //   })
+    // var url="/cacheGlass/taskCache/identControls?identId="+currentGlassId.value+'&controlsId='+200;
+    //   console.log(url);
+    //   const response = await request.post(url)
+  const response = await request.post('/cacheGlass/taskCache/identControls', {
+    identId: currentGlassId.value,
+    controlsId: 200,
+    line: 1001,
+    machine: '璇嗗埆',
+    })
     if (response.code == 200) {
       // 缁戝畾鎴愬姛锛屽鐞嗛�昏緫
       ElMessage.success(response.message);
diff --git a/UI-Project/src/views/StockBasicData/stockBasicData.vue b/UI-Project/src/views/StockBasicData/stockBasicData.vue
index d20f65a..8b0da31 100644
--- a/UI-Project/src/views/StockBasicData/stockBasicData.vue
+++ b/UI-Project/src/views/StockBasicData/stockBasicData.vue
@@ -50,7 +50,9 @@
       // 鐢ㄦ埛鐐瑰嚮浜嗏�滄槸鈥濓紝鐜板湪璋冪敤鍒犻櫎鎺ュ彛  
       const response = await request.post("/cacheGlass/edgStorageCage/edgReportStatus", {
         glassId: row.GlassId,
-        controlsId: 300
+        controlsId: 300,
+        line: 2001,
+        machine: '鍐峰姞宸�',
     })
     if (response.code === 200) {
       ElMessage.success(response.message);
@@ -81,7 +83,9 @@
       // 鐢ㄦ埛鐐瑰嚮浜嗏�滄槸鈥濓紝鐜板湪璋冪敤鍒犻櫎鎺ュ彛  
       const response = await request.post("/cacheGlass/edgStorageCage/edgReportStatus", {
         glassId: row.GlassId,
-        controlsId: 301
+        controlsId: 301,
+        line: 2001,
+        machine: '鍐峰姞宸�',
     })
     if (response.code === 200) {
       ElMessage.success(response.message);
diff --git a/UI-Project/src/views/StockBasicData/stockBasicDatatwo.vue b/UI-Project/src/views/StockBasicData/stockBasicDatatwo.vue
index 583b2ba..8775761 100644
--- a/UI-Project/src/views/StockBasicData/stockBasicDatatwo.vue
+++ b/UI-Project/src/views/StockBasicData/stockBasicDatatwo.vue
@@ -50,7 +50,9 @@
       // 鐢ㄦ埛鐐瑰嚮浜嗏�滄槸鈥濓紝鐜板湪璋冪敤鍒犻櫎鎺ュ彛  
       const response = await request.post("/cacheGlass/edgStorageCage/edgReportStatus", {
         glassId: row.GlassId,
-        controlsId: 300
+        controlsId: 300,
+        line: 2002,
+        machine: '鍐峰姞宸�',
     })
     if (response.code === 200) {
       ElMessage.success(response.message);
@@ -81,7 +83,9 @@
       // 鐢ㄦ埛鐐瑰嚮浜嗏�滄槸鈥濓紝鐜板湪璋冪敤鍒犻櫎鎺ュ彛  
       const response = await request.post("/cacheGlass/edgStorageCage/edgReportStatus", {
         glassId: row.GlassId,
-        controlsId: 301
+        controlsId: 301,
+        line: 2002,
+        machine: '鍐峰姞宸�',
     })
     if (response.code === 200) {
       ElMessage.success(response.message);

--
Gitblit v1.8.0