From 4642a18c955e4b393a222facb889f3d91fa5ed91 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 04 十一月 2023 00:23:16 +0800
Subject: [PATCH] #

---
 pages/api/addMat.js |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/pages/api/addMat.js b/pages/api/addMat.js
index a4e0b4d..b573c20 100644
--- a/pages/api/addMat.js
+++ b/pages/api/addMat.js
@@ -8,14 +8,15 @@
 		data: {matnr: matnr},
 	}).then((result)=> {
 		let mat = result.data.data
+		item = mat
 		console.log(mat);
-		item['detl'] = [
-			{key: '鍟嗗搧鐮�',value: mat.matnr},
-			{key: '鍟嗗搧鍚嶇О',value: mat.maktx},
-			{key: '瑙勬牸',value: mat.specs},
-			{key: '鎵瑰彿',value: '',type: 'input'},
-			{key: '鏁伴噺',value: 0,type: 'number-box',valText: 'val-num'},
-		]
+		// item['detl'] = [
+		// 	{key: '鍟嗗搧鐮�',value: mat.matnr},
+		// 	{key: '鍟嗗搧鍚嶇О',value: mat.maktx},
+		// 	{key: '瑙勬牸',value: mat.specs},
+		// 	{key: '鎵瑰彿',value: '',type: 'input'},
+		// 	{key: '鏁伴噺',value: 0,type: 'number-box',valText: 'val-num'},
+		// ]
 	},(res)=>{
 		console.log(res);
 	})

--
Gitblit v1.9.1