diff --git a/GZ_LTHPilot_ORDER.csproj b/GZ_LTHPilot_ORDER.csproj
index 445786e..519ddba 100644
--- a/GZ_LTHPilot_ORDER.csproj
+++ b/GZ_LTHPilot_ORDER.csproj
@@ -240,6 +240,7 @@
+
diff --git a/SAL_ORDER/SaveF_VRYF_Combo-lsn.cs b/SAL_ORDER/SaveF_VRYF_Combo-lsn.cs
new file mode 100644
index 0000000..b1b8673
--- /dev/null
+++ b/SAL_ORDER/SaveF_VRYF_Combo-lsn.cs
@@ -0,0 +1,28 @@
+using Kingdee.BOS.Core.DynamicForm.PlugIn;
+using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
+using Kingdee.BOS.Util;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace GZ_LTHPilot_ORDER.SAL_ORDER
+{
+ [Description("服务插件:销售订单根据纸质合同号变更销售类型"), HotUpdate]
+ public class SaveF_VRYF_Combo_lsn : AbstractOperationServicePlugIn
+ {
+ public override void AfterExecuteOperationTransaction(AfterExecuteOperationTransaction e)
+ {
+ base.AfterExecuteOperationTransaction(e);
+ foreach (var Row in e.SelectedRows)
+ {
+ // 获取单据信息
+ var Billobj = Row.DataEntity;
+ //sql
+ SqlManage.SqlManage.UpdateSal_OrderF_VRYF_Combo_lsn(this.Context, Convert.ToString(Billobj["Id"]));
+ }
+ }
+ }
+}
diff --git a/SQL/SqlManage.cs b/SQL/SqlManage.cs
index 4165333..186e19d 100644
--- a/SQL/SqlManage.cs
+++ b/SQL/SqlManage.cs
@@ -290,5 +290,13 @@ namespace GZ_LTHPilot_ORDER.SqlManage
",FID);
DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
}
+ //根据销售订单的纸质合同号,修改销售订单的销售类型字段
+ public static void UpdateSal_OrderF_VRYF_Combo_lsn(Context ctx,string FID)
+ {
+ string sql = string.Format(@"/*dialect*/
+ EXEC GZTH_UpdateSal_OrderF_VRYF_Combo_lsn '{0}'
+ ",FID);
+ DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
+ }
}
}
diff --git a/bin/Debug/GZ_LTHPilot_ORDER.dll b/bin/Debug/GZ_LTHPilot_ORDER.dll
index 55cae57..d096d2c 100644
Binary files a/bin/Debug/GZ_LTHPilot_ORDER.dll and b/bin/Debug/GZ_LTHPilot_ORDER.dll differ
diff --git a/bin/Debug/GZ_LTHPilot_ORDER.pdb b/bin/Debug/GZ_LTHPilot_ORDER.pdb
index 36ca4cf..447e01b 100644
Binary files a/bin/Debug/GZ_LTHPilot_ORDER.pdb and b/bin/Debug/GZ_LTHPilot_ORDER.pdb differ
diff --git a/兴诺模板/Xceed.Document.NET.dll b/兴诺模板/Xceed.Document.NET.dll
new file mode 100644
index 0000000..4c73b92
Binary files /dev/null and b/兴诺模板/Xceed.Document.NET.dll differ
diff --git a/兴诺模板/Xceed.Words.NET.dll b/兴诺模板/Xceed.Words.NET.dll
new file mode 100644
index 0000000..f108527
Binary files /dev/null and b/兴诺模板/Xceed.Words.NET.dll differ