From 76db5c8151205847c56d07ebc4806eb0f0c4990d Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期二, 20 七月 2021 01:16:09 +0800
Subject: [PATCH] 报工平台、开工、停工、完工提交保存

---
 WebAPI/Controllers/SCGL/Sc_QualityReportBillController.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/WebAPI/Controllers/SCGL/Sc_QualityReportBillController.cs b/WebAPI/Controllers/SCGL/Sc_QualityReportBillController.cs
index 7dbf923..bf583a6 100644
--- a/WebAPI/Controllers/SCGL/Sc_QualityReportBillController.cs
+++ b/WebAPI/Controllers/SCGL/Sc_QualityReportBillController.cs
@@ -153,12 +153,12 @@
             try
             {
                 DLL.ClsSc_ICMOReportBill oBill = new DLL.ClsSc_ICMOReportBill();
-                List<Model.ClsSc_ICMOReportBillMain> lsmain = new List<Model.ClsSc_ICMOReportBillMain>();
+                List<Models.ClsSc_ICMOReportBillMain> lsmain = new List<Models.ClsSc_ICMOReportBillMain>();
                 msg2 = msg2.Replace("\\", "");
                 msg2 = msg2.Replace("\n", "");  //\n
                 lsmain = oListModels.getObjectByJson_Gy_ICMOReportBillMain(msg2);
                 
-                foreach (Model.ClsSc_ICMOReportBillMain oItem in lsmain)
+                foreach (Models.ClsSc_ICMOReportBillMain oItem in lsmain)
                 {
                     if (refSav == "Add") 
                     {
@@ -212,6 +212,7 @@
                     UserName = oItem.HMaker;  //鍒跺崟浜�
                     oItem.HBillType = "3711";
                     oItem.HBillSubType = "3711";
+                    oItem.HBillStatus = 1;   //鍗曟嵁鐘舵�侊紙1鏈锛�2瀹℃牳閫氳繃锛�3鍏抽棴锛�4浣滃簾锛�5瀹℃牳閫�鍥�,6瀹℃牳涓�,7宸查槄锛�8宸插洖澶嶏紝9缁撴锛�10楠岃瘉,11涓嬭揪锛�12寮�宸�,13鐢宠瀹℃壒,15鐢宠妫�楠岋紝16 鍒ゅ畾鍚堟牸锛�17鍒ゅ畾涓嶅悎鏍硷級 
                     //oItem.HBillNo = "";    //鍗曟嵁鍙�
                     //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));//  --鏃ユ湡
                     //oItem.HInnerBillNo = "";  //  --鍐呴儴鍗曟嵁鍙�
@@ -246,10 +247,10 @@
                 msg3 = msg3.Replace("\\", "");
                 msg3 = msg3.Replace("\n", "");  //\n
                 //msg2 = msg2.Replace("'", "鈥�");
-                List<Model.ClsSc_ICMOReportBillSub> ls = new List<Model.ClsSc_ICMOReportBillSub>();
+                List<Models.ClsSc_ICMOReportBillSub> ls = new List<Models.ClsSc_ICMOReportBillSub>();
                 ls = oListModels.getObjectByJson_Gy_ICMOReportBillSub(msg3);
                 int i = 0;
-                foreach (Model.ClsSc_ICMOReportBillSub oItemSub in ls)
+                foreach (Models.ClsSc_ICMOReportBillSub oItemSub in ls)
                 {
 
                     i++;

--
Gitblit v1.9.1