From b9bdd104ce8e53aa1cb27b6701f92ccfa21a965a Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期三, 05 六月 2024 17:00:22 +0800
Subject: [PATCH] 平板绑定自动创建文件夹,模具保养记录单自动带出保养项目改为查询视图

---
 WebAPI/Controllers/POStockInBackBillController.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/WebAPI/Controllers/POStockInBackBillController.cs b/WebAPI/Controllers/POStockInBackBillController.cs
index 42115fc..6989e5c 100644
--- a/WebAPI/Controllers/POStockInBackBillController.cs
+++ b/WebAPI/Controllers/POStockInBackBillController.cs
@@ -490,12 +490,14 @@
                 websLsmain.HEmpID = lsmain[0].HEmpID;
                 websLsmain.HRemark = lsmain[0].HRemark;
                 websLsmain.HMaker = lsmain[0].HMaker;
+                websLsmain.HBillType = "1239";
 
                 if (webserver.set_SavePOStockInBackBill_New(websLsmain, sSourceBillType, ref DBUtility.ClsPub.sErrInfo))
                 {
                     objJsonResult.code = "0";
                     objJsonResult.count = 1;
-                    objJsonResult.Message = "鐢熸垚澶栬喘閫�鏂欏崟鎴愬姛锛佸崟鎹彿涓猴細";
+                    objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //鎴愬姛锛�
+                    //objJsonResult.Message = "鐢熸垚澶栬喘閫�鏂欏崟鎴愬姛锛佸崟鎹彿涓猴細";
                     objJsonResult.data = null;
                     return objJsonResult;
                 }
@@ -503,7 +505,8 @@
                 {
                     objJsonResult.code = "0";
                     objJsonResult.count = 0;
-                    objJsonResult.Message = "涓婁紶澶辫触锛�" + DBUtility.ClsPub.sErrInfo;
+                    objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //澶辫触锛�
+                    //objJsonResult.Message = "涓婁紶澶辫触锛�" + DBUtility.ClsPub.sErrInfo;
                     objJsonResult.data = null;
                     return objJsonResult;
                 }

--
Gitblit v1.9.1