From ffa1fcc7a041fd26ce26497a649d47370f5cf882 Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期二, 12 九月 2023 14:49:39 +0800 Subject: [PATCH] 1、涤纶半成品生成条码模块,增加生产资源必录项控制;2、新增项目报表调用方法;3、其他出库上传方法修改 --- WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs index 5237a34..22547e6 100644 --- a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs +++ b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs @@ -40,6 +40,7 @@ string msg3 = sArray[1].ToString(); string msg4 = sArray[2].ToString(); string msg5 = sArray[3].ToString(); + string OperationType = sArray[4].ToString(); string HComputerName = SystemInformation.ComputerName; //璁惧鍚嶇О string UserName = ""; @@ -65,9 +66,10 @@ { UserName = oItem.HMaker; //鍒跺崟浜� oItem.HBillType = "3772"; - oItem.HBillSubType = "3772"; + oItem.HBillSubType = OperationType=="5"?"SUB":"3772"; oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month); + oItem.HDate = OperationType == "5" ? DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")) : oItem.HDate; if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") { objJsonResult.code = "0"; -- Gitblit v1.9.1