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

---
 DAL/仓库管理/条码管理/ClsGy_BarCodeBill_ChaiMa.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/DAL/\344\273\223\345\272\223\347\256\241\347\220\206/\346\235\241\347\240\201\347\256\241\347\220\206/ClsGy_BarCodeBill_ChaiMa.cs" "b/DAL/\344\273\223\345\272\223\347\256\241\347\220\206/\346\235\241\347\240\201\347\256\241\347\220\206/ClsGy_BarCodeBill_ChaiMa.cs"
index 8e8333f..d49354e 100644
--- "a/DAL/\344\273\223\345\272\223\347\256\241\347\220\206/\346\235\241\347\240\201\347\256\241\347\220\206/ClsGy_BarCodeBill_ChaiMa.cs"
+++ "b/DAL/\344\273\223\345\272\223\347\256\241\347\220\206/\346\235\241\347\240\201\347\256\241\347\220\206/ClsGy_BarCodeBill_ChaiMa.cs"
@@ -1,4 +1,5 @@
-锘縰sing System;
+锘縰sing DBUtility;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -18,7 +19,7 @@
             {
                 //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙�
                 oCn.BeginTran();
-                string sql = "delete Gy_BarCodeBill where HBarCode='" + HBillNo + "'";
+                string sql = "update Gy_BarCodeBill set HStopflag=1,HStopMan='"+ ClsPub.CurUserName + "',HStopManDate=getdate() where HBarCode='" + HBillNo + "'";
                 oCn.RunProc(sql);
                 ////鎻掑叆瀛愯〃
                 foreach (Model.ClsGy_BarCodeEdit_Model oSub in DetailColl_Mater)

--
Gitblit v1.9.1