From d55d93edc8ad2f06ec371fdf7098700919298ce3 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期五, 19 五月 2023 13:57:15 +0800
Subject: [PATCH] 网页版 条码生成模块: 增加 生产入库、采购入库、销售退货、生产退料、批次调整单 为源单,生成条码, 并 自动产生对应 条码出入库记录 功能;(外网版条码生成已有此功能,自动生成条码出入库记录调相同方法即可)

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

diff --git a/WebAPI/Controllers/OtherInStockController.cs b/WebAPI/Controllers/OtherInStockController.cs
index 72a4c4b..9b7169d 100644
--- a/WebAPI/Controllers/OtherInStockController.cs
+++ b/WebAPI/Controllers/OtherInStockController.cs
@@ -339,8 +339,8 @@
                 List<Model.ClsKf_OtherInBillMain> lsmain = new List<Model.ClsKf_OtherInBillMain>();
                 ListModels oListModels = new ListModels();
                 lsmain = oListModels.getOtherInBillMainByJson(msg1);
-                lsmain[0].HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
-                lsmain[0].HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));
+                //lsmain[0].HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
+                //lsmain[0].HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));
                 string sSourceBillType = lsmain[0].HBillType;
 
                 WebAPI.WebS.ClsKf_OtherInBillMain websLsmain = new WebS.ClsKf_OtherInBillMain();
@@ -355,6 +355,7 @@
                 websLsmain.HOWNERID = lsmain[0].HSTOCKORGID;
                 websLsmain.HKeeperID = lsmain[0].HKeeperID;
                 websLsmain.HBillType = "1203";//鍥哄畾鍊�
+                websLsmain.HBillSubType = lsmain[0].HBillSubType;
 
                 WebS.WebService1 oWebs = new WebS.WebService1();
                 WebS.ClsXt_SystemParameterMain oSystemParameterMain = new WebS.ClsXt_SystemParameterMain();

--
Gitblit v1.9.1