From f1c258211a7bcc79cb7b86e6007a27afebb24e21 Mon Sep 17 00:00:00 2001
From: 沈泽 <211959439@qq.com>
Date: 星期一, 18 十月 2021 16:23:31 +0800
Subject: [PATCH] 新增工资结算单(集体),工资结算各列表表体的金额能自动按照工时*数量*工价得出总价且能按照所选物料和工序自动填入工价,加入工序流转卡维护拆分功能权限

---
 WebAPI/Controllers/Pay_OtherBalBillController.cs |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Controllers/Pay_OtherBalBillController.cs b/WebAPI/Controllers/Pay_OtherBalBillController.cs
index 87374c0..048d664 100644
--- a/WebAPI/Controllers/Pay_OtherBalBillController.cs
+++ b/WebAPI/Controllers/Pay_OtherBalBillController.cs
@@ -310,7 +310,28 @@
                 return objJsonResult;
             }
         }
-
+        [Route("Pay_OtherBalBill/getOtherBalBillPrice")]
+        [HttpGet]
+        public object getOtherBalBillPrice(string HMaterID, string HProcID)
+        {
+            try
+            {
+                DataSet ds = oCN.RunProcReturn("select 鍗曚环 from h_v_Gy_ProcPriceList where HMaterID='" + HMaterID + "' and HProcID='" + HProcID + "'", "h_v_Gy_ProcPriceList");
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "鏌ヨ鎴愬姛锛�";
+                objJsonResult.data = ds.Tables[0];
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "Exception锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
         //
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1