From 3d43ffa3152110b7823f9fa6320c08a6ae02358a Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 10 9月 2025 11:15:40 +0800
Subject: [PATCH] 1、增加 堆垛机运行统计 2、增加po单空物料描述
---
SiemensWarehouse/siemens2-api/app/controller/task.ts | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/SiemensWarehouse/siemens2-api/app/controller/task.ts b/SiemensWarehouse/siemens2-api/app/controller/task.ts
index 7709a57..45bf780 100644
--- a/SiemensWarehouse/siemens2-api/app/controller/task.ts
+++ b/SiemensWarehouse/siemens2-api/app/controller/task.ts
@@ -597,6 +597,56 @@
}
ctx.body = this.info;
}
+ //鍒嗛〉鏌ヨ PO鏄庣粏绌虹墿鏂欏彿淇℃伅 [EditBy shaocx,2022-09-13]
+ @Post()
+ public async QueryPagePurchaseEmptyMaterialCode() {
+
+ let { ctx } = this;
+ siemensApi.domainUrl = this.app.config.domainUrl;
+ let result: any;
+ var params = this.ctx.body;
+ var par = JSON.stringify(params);
+ result = await siemensApi.QueryPagePurchaseEmptyMaterialCode({
+ par
+ });
+ var resultInfo = JSON.parse(result);
+
+ if (resultInfo.status == 200) {
+ this.info.data = resultInfo.date;
+ this.info.data2 = resultInfo.allDate;//澧炲姞 銆怑ditBy shaocx,2022-03-07銆�
+ this.info.result = true;
+ this.info.countPrint = resultInfo.total;
+ this.info.statusCode = resultInfo.status;
+ } else {
+ this.info.result = false;
+ }
+ ctx.body = this.info;
+ }
+ //鍒嗛〉鏌ヨ 鍫嗗灈鏈鸿繍琛岀粺璁� [EditBy shaocx,2022-09-13]
+ @Post()
+ public async QueryPageDeviceGeneralInfo() {
+
+ let { ctx } = this;
+ siemensApi.domainUrl = this.app.config.domainUrl;
+ let result: any;
+ var params = this.ctx.body;
+ var par = JSON.stringify(params);
+ result = await siemensApi.QueryPageDeviceGeneralInfo({
+ par
+ });
+ var resultInfo = JSON.parse(result);
+
+ if (resultInfo.status == 200) {
+ this.info.data = resultInfo.date;
+ this.info.data2 = resultInfo.allDate;//澧炲姞 銆怑ditBy shaocx,2022-03-07銆�
+ this.info.result = true;
+ this.info.countPrint = resultInfo.total;
+ this.info.statusCode = resultInfo.status;
+ } else {
+ this.info.result = false;
+ }
+ ctx.body = this.info;
+ }
//鍒嗛〉鏌ヨ 闂叉椂绉诲簱 [EditBy shaocx,2022-09-13]
@Post()
public async QueryPageFreeTimeMoveLocationTask() {
--
Gitblit v1.9.3