合并代码

This commit is contained in:
朱斌 2025-07-26 17:31:00 +08:00
parent 6a70edbc21
commit 484f19cd52
97 changed files with 868 additions and 55 deletions

6
.gitignore vendored
View File

@ -360,8 +360,4 @@ MigrationBackup/
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
/.idea/
/bin/
/obj/
/.vs/
FodyWeavers.xsd

Binary file not shown.

View File

@ -1,15 +1,47 @@
{
"Version": 1,
"WorkspaceRootPath": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\",
"Documents": [],
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\t_iv_salesic\\audits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:t_iv_salesic\\audits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{00000000-0000-0000-0000-000000000000}|\u003CSolution\u003E|GZ_LTHPilot_ORDER||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sql\\sqlmanage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sql\\sqlmanage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\t_iv_salesic\\unaudits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:t_iv_salesic\\unaudits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_quotation\\downloadfile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_quotation\\downloadfile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_order\\savef_vryf_combo-lsn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_order\\savef_vryf_combo-lsn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_order\\datachage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_order\\datachage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\common\\commonhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:common\\commonhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 1,
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedHeight": 200,
"SelectedChildIndex": -1,
"DockedWidth": 200,
"SelectedChildIndex": 7,
"Children": [
{
"$type": "Bookmark",
@ -22,6 +54,106 @@
{
"$type": "Bookmark",
"Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
},
{
"$type": "Bookmark",
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "GZ_LTHPilot_ORDER",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\GZ_LTHPilot_ORDER.csproj",
"RelativeDocumentMoniker": "GZ_LTHPilot_ORDER.csproj",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\GZ_LTHPilot_ORDER.csproj",
"RelativeToolTip": "GZ_LTHPilot_ORDER.csproj",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|",
"WhenOpened": "2025-07-26T07:56:17.487Z"
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "UnAuditS_Order.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\UnAuditS_Order.cs",
"RelativeDocumentMoniker": "T_IV_SALESIC\\UnAuditS_Order.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\UnAuditS_Order.cs",
"RelativeToolTip": "T_IV_SALESIC\\UnAuditS_Order.cs",
"ViewState": "AgIAAAMAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T03:10:21.563Z"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "SqlManage.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SQL\\SqlManage.cs",
"RelativeDocumentMoniker": "SQL\\SqlManage.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SQL\\SqlManage.cs",
"RelativeToolTip": "SQL\\SqlManage.cs",
"ViewState": "AgIAABEBAAAAAAAAAAAswEABAAAvAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T03:01:45.35Z"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "AuditS_Order.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\AuditS_Order.cs",
"RelativeDocumentMoniker": "T_IV_SALESIC\\AuditS_Order.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\AuditS_Order.cs",
"RelativeToolTip": "T_IV_SALESIC\\AuditS_Order.cs",
"ViewState": "AgIAADQAAAAAAAAAAAAkwEEAAABVAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T03:00:26.319Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "DownLoadFile.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_QUOTATION\\DownLoadFile.cs",
"RelativeDocumentMoniker": "SAL_QUOTATION\\DownLoadFile.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_QUOTATION\\DownLoadFile.cs",
"RelativeToolTip": "SAL_QUOTATION\\DownLoadFile.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T02:59:17.393Z"
},
{
"$type": "Document",
"DocumentIndex": 7,
"Title": "CommonHelper.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\Common\\CommonHelper.cs",
"RelativeDocumentMoniker": "Common\\CommonHelper.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\Common\\CommonHelper.cs",
"RelativeToolTip": "Common\\CommonHelper.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAdAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T02:42:36.247Z"
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "SaveF_VRYF_Combo-lsn.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs",
"RelativeDocumentMoniker": "SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs",
"RelativeToolTip": "SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAsAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T02:40:50.348Z"
},
{
"$type": "Document",
"DocumentIndex": 6,
"Title": "DataChage.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\DataChage.cs",
"RelativeDocumentMoniker": "SAL_ORDER\\DataChage.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\DataChage.cs",
"RelativeToolTip": "SAL_ORDER\\DataChage.cs",
"ViewState": "AgIAAA4AAAAAAAAAAAAzwAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T02:40:36.878Z"
}
]
}

View File

@ -1,15 +1,47 @@
{
"Version": 1,
"WorkspaceRootPath": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\",
"Documents": [],
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|e:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\piolot_order_th\\t_iv_salesic\\audits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:t_iv_salesic\\audits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{00000000-0000-0000-0000-000000000000}|\u003CSolution\u003E|GZ_LTHPilot_ORDER||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sql\\sqlmanage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sql\\sqlmanage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\t_iv_salesic\\unaudits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:t_iv_salesic\\unaudits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_quotation\\downloadfile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_quotation\\downloadfile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_order\\savef_vryf_combo-lsn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_order\\savef_vryf_combo-lsn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_order\\datachage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_order\\datachage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\common\\commonhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:common\\commonhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 1,
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedHeight": 200,
"SelectedChildIndex": -1,
"DockedWidth": 200,
"SelectedChildIndex": 7,
"Children": [
{
"$type": "Bookmark",
@ -26,6 +58,102 @@
{
"$type": "Bookmark",
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "GZ_LTHPilot_ORDER",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\GZ_LTHPilot_ORDER.csproj",
"RelativeDocumentMoniker": "GZ_LTHPilot_ORDER.csproj",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\GZ_LTHPilot_ORDER.csproj",
"RelativeToolTip": "GZ_LTHPilot_ORDER.csproj",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|",
"WhenOpened": "2025-07-26T07:56:17.487Z"
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "UnAuditS_Order.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\UnAuditS_Order.cs",
"RelativeDocumentMoniker": "T_IV_SALESIC\\UnAuditS_Order.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\UnAuditS_Order.cs",
"RelativeToolTip": "T_IV_SALESIC\\UnAuditS_Order.cs",
"ViewState": "AgIAAAMAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T03:10:21.563Z"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "SqlManage.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SQL\\SqlManage.cs",
"RelativeDocumentMoniker": "SQL\\SqlManage.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SQL\\SqlManage.cs",
"RelativeToolTip": "SQL\\SqlManage.cs",
"ViewState": "AgIAABEBAAAAAAAAAAAswEABAAAvAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T03:01:45.35Z"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "AuditS_Order.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\AuditS_Order.cs",
"RelativeDocumentMoniker": "T_IV_SALESIC\\AuditS_Order.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\AuditS_Order.cs",
"RelativeToolTip": "T_IV_SALESIC\\AuditS_Order.cs",
"ViewState": "AgIAADQAAAAAAAAAAAAkwEEAAABVAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T03:00:26.319Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "DownLoadFile.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_QUOTATION\\DownLoadFile.cs",
"RelativeDocumentMoniker": "SAL_QUOTATION\\DownLoadFile.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_QUOTATION\\DownLoadFile.cs",
"RelativeToolTip": "SAL_QUOTATION\\DownLoadFile.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T02:59:17.393Z"
},
{
"$type": "Document",
"DocumentIndex": 7,
"Title": "CommonHelper.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\Common\\CommonHelper.cs",
"RelativeDocumentMoniker": "Common\\CommonHelper.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\Common\\CommonHelper.cs",
"RelativeToolTip": "Common\\CommonHelper.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAdAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T02:42:36.247Z"
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "SaveF_VRYF_Combo-lsn.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs",
"RelativeDocumentMoniker": "SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs",
"RelativeToolTip": "SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAsAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T02:40:50.348Z"
},
{
"$type": "Document",
"DocumentIndex": 6,
"Title": "DataChage.cs",
"DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\DataChage.cs",
"RelativeDocumentMoniker": "SAL_ORDER\\DataChage.cs",
"ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\DataChage.cs",
"RelativeToolTip": "SAL_ORDER\\DataChage.cs",
"ViewState": "AgIAAA4AAAAAAAAAAAAzwAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-07-26T02:40:36.878Z"
}
]
}

View File

@ -34,76 +34,79 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="AForge.Video">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\AForge.Video.dll</HintPath>
<HintPath>Library\AForge.Video.dll</HintPath>
</Reference>
<Reference Include="AForge.Video.DirectShow">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\AForge.Video.DirectShow.dll</HintPath>
<HintPath>Library\AForge.Video.DirectShow.dll</HintPath>
</Reference>
<Reference Include="Antlr3.Runtime">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Antlr3.Runtime.dll</HintPath>
<HintPath>Library\Antlr3.Runtime.dll</HintPath>
</Reference>
<Reference Include="Aspose.Cells">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Aspose.Cells.dll</HintPath>
<HintPath>Library\Aspose.Cells.dll</HintPath>
</Reference>
<Reference Include="BouncyCastle.Crypto">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\BouncyCastle.Crypto.dll</HintPath>
<HintPath>Library\BouncyCastle.Crypto.dll</HintPath>
</Reference>
<Reference Include="Castle.Core">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Castle.Core.dll</HintPath>
<HintPath>Library\Castle.Core.dll</HintPath>
</Reference>
<Reference Include="DevExpress.Data.v13.1">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DevExpress.Data.v13.1.dll</HintPath>
<HintPath>Library\DevExpress.Data.v13.1.dll</HintPath>
</Reference>
<Reference Include="DevExpress.Printing.v13.1.Core">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DevExpress.Printing.v13.1.Core.dll</HintPath>
<HintPath>Library\DevExpress.Printing.v13.1.Core.dll</HintPath>
</Reference>
<Reference Include="DevExpress.Utils.v13.1">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DevExpress.Utils.v13.1.dll</HintPath>
<HintPath>Library\DevExpress.Utils.v13.1.dll</HintPath>
</Reference>
<Reference Include="DevExpress.XtraEditors.v13.1">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DevExpress.XtraEditors.v13.1.dll</HintPath>
<HintPath>Library\DevExpress.XtraEditors.v13.1.dll</HintPath>
</Reference>
<Reference Include="DocumentFormat.OpenXml">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DocumentFormat.OpenXml.dll</HintPath>
<HintPath>Library\DocumentFormat.OpenXml.dll</HintPath>
</Reference>
<Reference Include="DocumentFormat.OpenXml.Framework">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DocumentFormat.OpenXml.Framework.dll</HintPath>
<HintPath>Library\DocumentFormat.OpenXml.Framework.dll</HintPath>
</Reference>
<Reference Include="FarPoint.CalcEngine">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.CalcEngine.dll</HintPath>
<HintPath>Library\FarPoint.CalcEngine.dll</HintPath>
</Reference>
<Reference Include="FarPoint.Excel">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Excel.dll</HintPath>
<HintPath>Library\FarPoint.Excel.dll</HintPath>
</Reference>
<Reference Include="FarPoint.Localization">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Localization.dll</HintPath>
<HintPath>Library\FarPoint.Localization.dll</HintPath>
</Reference>
<Reference Include="FarPoint.PDF">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.PDF.dll</HintPath>
<HintPath>Library\FarPoint.PDF.dll</HintPath>
</Reference>
<Reference Include="FarPoint.PluginCalendar.WinForms">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.PluginCalendar.WinForms.dll</HintPath>
<HintPath>Library\FarPoint.PluginCalendar.WinForms.dll</HintPath>
</Reference>
<Reference Include="FarPoint.Win">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Win.dll</HintPath>
<HintPath>Library\FarPoint.Win.dll</HintPath>
</Reference>
<Reference Include="FarPoint.Win.Chart">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Win.Chart.dll</HintPath>
<HintPath>Library\FarPoint.Win.Chart.dll</HintPath>
</Reference>
<Reference Include="FarPoint.Win.Spread">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Win.Spread.dll</HintPath>
<HintPath>Library\FarPoint.Win.Spread.dll</HintPath>
</Reference>
<Reference Include="GZ_LTHPilot_ORDER">
<HintPath>Library\GZ_LTHPilot_ORDER.dll</HintPath>
</Reference>
<Reference Include="ICSharpCode.SharpZipLib">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\ICSharpCode.SharpZipLib.dll</HintPath>
<HintPath>Library\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference>
<Reference Include="IronPython">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\IronPython.dll</HintPath>
<HintPath>Library\IronPython.dll</HintPath>
</Reference>
<Reference Include="JWT">
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\JWT.dll</HintPath>
<HintPath>Library\JWT.dll</HintPath>
</Reference>
<Reference Include="K3Cloud.WebApi.Client">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\K3Cloud.WebApi.Client.dll</HintPath>
<HintPath>Library\K3Cloud.WebApi.Client.dll</HintPath>
</Reference>
<Reference Include="Kingdee.BOS">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.dll</HintPath>
@ -115,10 +118,10 @@
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.App.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.BOS.ApprovalFlow.PlugIns">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.ApprovalFlow.PlugIns.dll</HintPath>
<HintPath>Library\Kingdee.BOS.ApprovalFlow.PlugIns.dll</HintPath>
</Reference>
<Reference Include="Kingdee.BOS.BusinessEntity">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.BusinessEntity.dll</HintPath>
<HintPath>Library\Kingdee.BOS.BusinessEntity.dll</HintPath>
</Reference>
<Reference Include="Kingdee.BOS.Contracts">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.Contracts.dll</HintPath>
@ -138,70 +141,158 @@
<Reference Include="Kingdee.BOS.Web">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.Web.dll</HintPath>
</Reference>
<Reference Include="Kingdee.BOS.Web.HTML, Version=9.0.116.12, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.BOS.Web.HTML.dll</HintPath>
</Reference>
<Reference Include="Kingdee.BOS.Web.HTML.Core, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.BOS.Web.HTML.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.BOS.WebApi.Client">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.WebApi.Client.dll</HintPath>
<HintPath>Library\Kingdee.BOS.WebApi.Client.dll</HintPath>
</Reference>
<Reference Include="Kingdee.BOS.WebApi.FormService">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.WebApi.FormService.dll</HintPath>
</Reference>
<Reference Include="Kingdee.BOS.WebApi.ServicesStub">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.WebApi.ServicesStub.dll</HintPath>
<HintPath>Library\Kingdee.BOS.WebApi.ServicesStub.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.BD.Contracts, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.BD.Contracts.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.BD.ServiceHelper, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.BD.ServiceHelper.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.Core">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.App.Core">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.FIN.App.Core.dll</HintPath>
<HintPath>Library\Kingdee.K3.FIN.App.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.Business.PlugIn, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.FIN.Business.PlugIn.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.CB.App.Report">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.FIN.CB.App.Report.dll</HintPath>
<HintPath>Library\Kingdee.K3.FIN.CB.App.Report.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.Core, Version=9.0.116.12, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.FIN.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.HS.App.Report">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.FIN.HS.App.Report.dll</HintPath>
<HintPath>Library\Kingdee.K3.FIN.HS.App.Report.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.HS.Business.PlugIn, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.FIN.HS.Business.PlugIn.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.HS.Common.BusinessEntity, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.FIN.HS.Common.BusinessEntity.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.HS.Contracts, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.FIN.HS.Contracts.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.HS.ServiceHelper, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.FIN.HS.ServiceHelper.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.FIN.ServiceHelper, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.FIN.ServiceHelper.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.MFG.App">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.MFG.App.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.MFG.BusinessCommon, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.MFG.BusinessCommon.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.MFG.Contracts, Version=9.0.116.12, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.MFG.Contracts.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.MFG.PLN.App.Core, Version=9.0.116.12, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.MFG.PLN.App.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.MFG.PLN.App.MrpModel">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.MFG.PLN.App.MrpModel.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.MFG.PLN.Business.PlugIn, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.MFG.PLN.Business.PlugIn.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.MFG.PLN.Report.PlugIn, Version=9.0.78.3, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.MFG.PLN.Report.PlugIn.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.MFG.ServiceHelper, Version=9.0.116.12, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Kingdee.K3.MFG.ServiceHelper.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.App">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.App.dll</HintPath>
<HintPath>Library\Kingdee.K3.SCM.App.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.App.Core">
<HintPath>..\..\..\Debug\Debug\Kingdee.K3.SCM.App.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.App.Credit.Core">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.App.Credit.Core.dll</HintPath>
<HintPath>Library\Kingdee.K3.SCM.App.Credit.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.App.Sal.ServicePlugIn">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.App.Sal.ServicePlugIn.dll</HintPath>
<HintPath>Library\Kingdee.K3.SCM.App.Sal.ServicePlugIn.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.App.Stock.Report">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.App.Stock.Report.dll</HintPath>
<HintPath>Library\Kingdee.K3.SCM.App.Stock.Report.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.Business">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Business.dll</HintPath>
<HintPath>Library\Kingdee.K3.SCM.Business.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.Common.BusinessEntity">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Common.BusinessEntity.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.Contracts">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Contracts.dll</HintPath>
<HintPath>Library\Kingdee.K3.SCM.Contracts.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.Core">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Core.dll</HintPath>
<HintPath>Library\Kingdee.K3.SCM.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.ServiceHelper">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.ServiceHelper.dll</HintPath>
<HintPath>Library\Kingdee.K3.SCM.ServiceHelper.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.SCM.Stock.Business.PlugIn">
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Stock.Business.PlugIn.dll</HintPath>
<HintPath>Library\Kingdee.K3.SCM.Stock.Business.PlugIn.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.1.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="NPOI, Version=2.5.6.1, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\NPOI.dll</HintPath>
</Reference>
<Reference Include="NPOI.OOXML, Version=2.5.6.1, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\NPOI.OOXML.dll</HintPath>
</Reference>
<Reference Include="NPOI.OpenXml4Net, Version=2.5.6.1, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\NPOI.OpenXml4Net.dll</HintPath>
</Reference>
<Reference Include="NPOI.OpenXmlFormats, Version=2.5.6.1, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\NPOI.OpenXmlFormats.dll</HintPath>
</Reference>
<Reference Include="Oracle.DataAccess, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>Library\Oracle.DataAccess.dll</HintPath>
</Reference>
<Reference Include="SkiaSharp, Version=2.88.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
<HintPath>packages\SkiaSharp.2.88.8\lib\net462\SkiaSharp.dll</HintPath>
</Reference>
@ -229,11 +320,11 @@
<Reference Include="System.Xml" />
<Reference Include="Xceed.Document.NET, Version=4.0.25103.5784, Culture=neutral, PublicKeyToken=ba83ff368b7563c6, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Xceed.Document.NET.dll</HintPath>
<HintPath>Library\Xceed.Document.NET.dll</HintPath>
</Reference>
<Reference Include="Xceed.Words.NET, Version=4.0.25103.5784, Culture=neutral, PublicKeyToken=ba83ff368b7563c6, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Xceed.Words.NET.dll</HintPath>
<HintPath>Library\Xceed.Words.NET.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
@ -245,6 +336,12 @@
<Compile Include="SAL_ORDERList\ListUpFJ.cs" />
<Compile Include="SAL_ORDER\DataChage.cs" />
<Compile Include="SAL_ORDER\SaveWL.cs" />
<Compile Include="ScheduleService\SaleOrderSumSicsAmountRefresh.cs" />
<Compile Include="Service\SaleOrderService.cs" />
<Compile Include="Service\SaleSicsService.cs" />
<Compile Include="T_IV_SALESIC\ServicePlugIn\Audit.cs" />
<Compile Include="T_IV_SALESIC\ServicePlugIn\Submit.cs" />
<Compile Include="T_IV_SALESIC\ServicePlugIn\UnAudit.cs" />
<Compile Include="T_PUR_RECEIVE\SaveDate.cs" />
<Compile Include="SAL_DELIVERYNOTICE\SaveYFH.cs" />
<Compile Include="T_IV_SALESIC\AuditS_Order.cs" />
@ -275,6 +372,45 @@
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<Content Include="Library\Kingdee.BOS.App.Core.dll" />
<Content Include="Library\Kingdee.BOS.App.dll" />
<Content Include="Library\Kingdee.BOS.Contracts.dll" />
<Content Include="Library\Kingdee.BOS.Core.dll" />
<Content Include="Library\Kingdee.BOS.DataEntity.dll" />
<Content Include="Library\Kingdee.BOS.dll" />
<Content Include="Library\Kingdee.BOS.ServiceHelper.dll" />
<Content Include="Library\Kingdee.BOS.VerificationHelper.dll" />
<Content Include="Library\Kingdee.BOS.Web.dll" />
<Content Include="Library\Kingdee.BOS.Web.HTML.Core.dll" />
<Content Include="Library\Kingdee.BOS.Web.HTML.dll" />
<Content Include="Library\Kingdee.BOS.WebApi.FormService.dll" />
<Content Include="Library\Kingdee.K3.BD.Contracts.dll" />
<Content Include="Library\Kingdee.K3.BD.ServiceHelper.dll" />
<Content Include="Library\Kingdee.K3.Core.dll" />
<Content Include="Library\Kingdee.K3.FIN.Business.PlugIn.dll" />
<Content Include="Library\Kingdee.K3.FIN.Core.dll" />
<Content Include="Library\Kingdee.K3.FIN.HS.Business.PlugIn.dll" />
<Content Include="Library\Kingdee.K3.FIN.HS.Common.BusinessEntity.dll" />
<Content Include="Library\Kingdee.K3.FIN.HS.Contracts.dll" />
<Content Include="Library\Kingdee.K3.FIN.HS.ServiceHelper.dll" />
<Content Include="Library\Kingdee.K3.FIN.ServiceHelper.dll" />
<Content Include="Library\Kingdee.K3.MFG.App.dll" />
<Content Include="Library\Kingdee.K3.MFG.BusinessCommon.dll" />
<Content Include="Library\Kingdee.K3.MFG.Contracts.dll" />
<Content Include="Library\Kingdee.K3.MFG.PLN.App.Core.dll" />
<Content Include="Library\Kingdee.K3.MFG.PLN.App.MrpModel.dll" />
<Content Include="Library\Kingdee.K3.MFG.PLN.Business.PlugIn.dll" />
<Content Include="Library\Kingdee.K3.MFG.PLN.Report.PlugIn.dll" />
<Content Include="Library\Kingdee.K3.MFG.ServiceHelper.dll" />
<Content Include="Library\Kingdee.K3.SCM.App.Core.dll" />
<Content Include="Library\Kingdee.K3.SCM.Common.BusinessEntity.dll" />
<Content Include="Library\Newtonsoft.Json.dll" />
<Content Include="Library\NPOI.dll" />
<Content Include="Library\NPOI.OOXML.dll" />
<Content Include="Library\NPOI.OpenXml4Net.dll" />
<Content Include="Library\NPOI.OpenXmlFormats.dll" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="packages\SkiaSharp.NativeAssets.macOS.2.88.8\build\net462\SkiaSharp.NativeAssets.macOS.targets" Condition="Exists('packages\SkiaSharp.NativeAssets.macOS.2.88.8\build\net462\SkiaSharp.NativeAssets.macOS.targets')" />
@ -286,4 +422,7 @@
<Error Condition="!Exists('packages\SkiaSharp.NativeAssets.Win32.2.88.8\build\net462\SkiaSharp.NativeAssets.Win32.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\SkiaSharp.NativeAssets.Win32.2.88.8\build\net462\SkiaSharp.NativeAssets.Win32.targets'))" />
</Target>
<Import Project="packages\SkiaSharp.NativeAssets.Win32.2.88.8\build\net462\SkiaSharp.NativeAssets.Win32.targets" Condition="Exists('packages\SkiaSharp.NativeAssets.Win32.2.88.8\build\net462\SkiaSharp.NativeAssets.Win32.targets')" />
<PropertyGroup>
<PostBuildEvent>copy $(TargetPath) "D:\Program Files (x86)\Kingdee\K3Cloud\WebSite\Bin\$(TargetFileName)"</PostBuildEvent>
</PropertyGroup>
</Project>

Binary file not shown.

BIN
Library/AForge.Video.dll Normal file

Binary file not shown.

BIN
Library/Antlr3.Runtime.dll Normal file

Binary file not shown.

BIN
Library/Aspose.Cells.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
Library/Castle.Core.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/FarPoint.Excel.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
Library/FarPoint.PDF.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/FarPoint.Win.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/IronPython.dll Normal file

Binary file not shown.

BIN
Library/JWT.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/Kingdee.BOS.App.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/Kingdee.BOS.Web.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/Kingdee.BOS.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/Kingdee.K3.Core.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/NPOI.OOXML.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Library/NPOI.dll Normal file

Binary file not shown.

BIN
Library/Newtonsoft.Json.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
Library/SkiaSharp.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
Library/Xceed.Words.NET.dll Normal file

Binary file not shown.

BIN
Library/libSkiaSharp.dll Normal file

Binary file not shown.

1
README.md Normal file
View File

@ -0,0 +1 @@
# Piolot_Order_TH

View File

@ -0,0 +1,68 @@
using DocumentFormat.OpenXml.Bibliography;
using GZ_LTHPilot_ORDER.Service;
using Kingdee.BOS;
using Kingdee.BOS.Contracts;
using Kingdee.BOS.Core;
using Kingdee.BOS.Util;
using Kingdee.K3.FIN.App.Core.Match.Object;
using System;
using System.ComponentModel;
namespace GZ_LTHPilot_ORDER.ScheduleService
{
[Description("定时刷新#"), HotUpdate]
public class SaleOrderSumSicsAmountRefresh : IScheduleService
{
public void Run(Context ctx, Schedule schedule)
{
var advanceAays = GetAdvanceAays(schedule);
// 提前天的日期
var approvedDate = DateTime.Now.Date.AddDays(-advanceAays - 1);
// 销售发票服务
SaleSicsService saleSicsService = new SaleSicsService(ctx);
// TODO 获取前一天的发票数据
var sicsList = saleSicsService.GetSaleSiceListByApprovedDate(approvedDate);
SaleOrderService saleOrderService = new SaleOrderService(ctx);
foreach (var sice in sicsList)
{
var saleOrgId = sice["FSALEORGID"].ToString();
var contractNo = sice["contractNo"].ToString();
var saleOrderList = saleOrderService.GetSaleOrderByOrgIdAndContractNo(saleOrgId, contractNo);
if (saleOrderList.Count == 0)
{
//var errInfo = string.Format("纸质合同号:{0},没有找到对应的销售订单,请检查销售订单是否已审核,或者被作废", contractNo);
//throw new Exception(errInfo);
continue;
}
var saleOrder = saleOrderList[0];
saleSicsService.UpdateSaleOrderSumSicsamountBySaleOrder(saleOrder);
}
}
/// <summary>
/// 参数获取提前天
/// </summary>
/// <param name="schedule"></param>
/// <returns></returns>
private int GetAdvanceAays(Schedule schedule)
{
// 参数获取提前天
var advanceAaysStr = schedule.Parameters;
int advanceAays;
try
{
advanceAays = Convert.ToInt32(advanceAaysStr);
if (advanceAays < 0)
{
throw new Exception();
}
}
catch (Exception)
{
throw new Exception("获取参数提前天失败参数格式为整数且大于等于0");
}
return advanceAays;
}
}
}

View File

@ -0,0 +1,47 @@
using Kingdee.BOS;
using Kingdee.BOS.Orm.DataEntity;
using Kingdee.BOS.ServiceHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GZ_LTHPilot_ORDER.Service
{
/// <summary>
/// 销售订单服务类
/// </summary>
public class SaleOrderService
{
private Context ctx;
public SaleOrderService(Context ctx)
{
this.ctx = ctx;
}
/// <summary>
/// 根据纸质合同号、组织获取销售订单
/// </summary>
/// <returns></returns>
public DynamicObjectCollection GetSaleOrderByOrgIdAndContractNo(string orgId, string contractNo)
{
var sqlTemp = @"/*dialect*/SELECT
*
FROM
T_SAL_ORDER t1
LEFT JOIN T_SAL_ORDERFIN t1fin ON t1.FID = t1fin.FID
WHERE
1 = 1
AND t1.FDOCUMENTSTATUS = 'C'
AND t1.FCANCELSTATUS = 'A'
AND t1.FSALEORGID = '{0}'
AND t1.F_CONTRACTNUMBER = '{1}'
";
var sql = string.Format(sqlTemp, orgId, contractNo);
var resultData = DBServiceHelper.ExecuteDynamicObject(ctx, sql);
return resultData;
}
}
}

107
Service/SaleSicsService.cs Normal file
View File

@ -0,0 +1,107 @@
using Kingdee.BOS;
using Kingdee.BOS.Orm.DataEntity;
using Kingdee.BOS.ServiceHelper;
using Kingdee.K3.FIN.App.Core.Match.Object;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GZ_LTHPilot_ORDER.Service
{
/// <summary>
/// 销售发票服务类
/// </summary>
public class SaleSicsService
{
private Context ctx;
public SaleSicsService(Context ctx)
{
this.ctx = ctx;
}
/// <summary>
/// 刷新销售订单累计开票金额
/// </summary>
/// <param name="saleOrderId"></param>
/// <returns></returns>
public int UpdateSaleOrderSumSicsamountBySaleOrder(DynamicObject saleOrder)
{
// 销售订单ID
var saleOrderId = saleOrder["FID"].ToString();
// 纸质合同号
var contractNo = saleOrder["F_CONTRACTNUMBER"].ToString();
// 销售组织Id
var saleOrgId = saleOrder["FSALEORGID"].ToString();
var sqlTemp = @"/*dialect*/UPDATE t1
SET
t1.F_INVOICEAMOUNT = TEMP1.FAFTERTOTALTAX
FROM
T_SAL_ORDER t1
INNER JOIN (
SELECT
FSALEORGID,
F_PaperNumber,
SUM(FAFTERTOTALTAX) FAFTERTOTALTAX
FROM
(
SELECT
FSALEORGID, --
F_PaperNumber, --
ISNULL (FAFTERTOTALTAX, 0) FAFTERTOTALTAX --
FROM
T_IV_SALESIC
WHERE
1 = 1
AND FDOCUMENTSTATUS = 'C'
AND FCANCELSTATUS = 'A'
AND FSALEORGID = '{0}'
AND F_PaperNumber = '{1}'
UNION ALL
SELECT
'100302' FSALEORGID, --
F_PaperNumber, --
SUM(ISNULL (, 0) + ISNULL (, 0)) FAFTERTOTALTAX --
FROm
dbo.oldk3seorder0701
WHERE
1 = 1
AND = '{1}'
GROUP BY
) temp02
GROUP BY
FSALEORGID,
F_PaperNumber
) TEMP1 ON t1.F_CONTRACTNUMBER = TEMP1.F_PaperNumber
AND t1.FSALEORGID = TEMP1.FSALEORGID
WHERE
t1.FID = '{2}'
";
var sql = string.Format(sqlTemp, saleOrgId, contractNo, saleOrderId);
return DBServiceHelper.Execute(ctx, sql);
}
/// <summary>
///
/// </summary>
/// <param name="approvedDate"></param>
/// <returns></returns>
public DynamicObjectCollection GetSaleSiceListByApprovedDate(DateTime approvedDate)
{
var sqlTemp = @"/*dialect*/SELECT DISTINCT
t1.FSALEORGID,
ISNULL(t1.F_PaperNumber, '') contractNo
FROM
T_IV_SALESIC t1
WHERE
1 = 1
AND t1.FAPPROVEDATE > '{0}'
";
var sql = string.Format(sqlTemp, approvedDate.ToString("yyyy-MM-dd HH:mm:dd"));
return DBServiceHelper.ExecuteDynamicObject(ctx, sql);
}
}
}

View File

@ -0,0 +1,60 @@
using GZ_LTHPilot_ORDER.Service;
using Kingdee.BOS.Core.DynamicForm.PlugIn;
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Orm.DataEntity;
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.T_IV_SALESIC.ServicePlugIn
{
[Description("服务插件:发票审核,刷新销售订单累计开票金额字段"), HotUpdate]
public class Audit : AbstractOperationServicePlugIn
{
public override void OnPreparePropertys(PreparePropertysEventArgs e)
{
base.OnPreparePropertys(e);
e.FieldKeys.Add("F_PaperNumber");
}
/// <summary>
/// 审核插件执行后插件、事务提交后事件
/// </summary>
/// <param name="e"></param>
public override void AfterExecuteOperationTransaction(AfterExecuteOperationTransaction e)
{
base.AfterExecuteOperationTransaction(e);
foreach (var bill in e.DataEntitys)
{
var org = bill["SALEORGID"] as DynamicObject;
var orgId = org["Id"].ToString(); // 销售订单
var contractNo = bill["F_PaperNumber"].ToString(); // 纸质合同号
// 销售订单服务
var saleOrderService = new SaleOrderService(this.Context);
// TODO 根据组织和纸质合同号查找销售订单
var saleOrderList = saleOrderService.GetSaleOrderByOrgIdAndContractNo(orgId, contractNo);
if (saleOrderList.Count == 0)
{
//var errInfo = string.Format("纸质合同号:{0},没有找到对应的销售订单,请检查销售订单是否已审核,或者被作废", contractNo);
//throw new Exception(errInfo);
continue;
}
if (saleOrderList.Count > 1)
{
var errInfo = string.Format("纸质合同号:{0},找到多个销售订单,请检查组织内纸质合同号唯一性", contractNo);
throw new Exception(errInfo);
}
var saleOrder = saleOrderList[0];
// 发票服务
SaleSicsService saleSicsService = new SaleSicsService(this.Context);
// TODO 刷新销售订单单头的累计开票金额
saleSicsService.UpdateSaleOrderSumSicsamountBySaleOrder(saleOrder);
}
}
}
}

View File

@ -0,0 +1,76 @@
using GZ_LTHPilot_ORDER.Service;
using Kingdee.BOS.Core.DynamicForm;
using Kingdee.BOS.Core.DynamicForm.PlugIn;
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Orm.DataEntity;
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.T_IV_SALESIC.ServicePlugIn
{
[Description("服务插件:发票提交,校验销售订单累计开票金额加开票金额不能大于销售订单价税合计本币"), HotUpdate]
public class Submit : AbstractOperationServicePlugIn
{
public override void OnPreparePropertys(PreparePropertysEventArgs e)
{
base.OnPreparePropertys(e);
e.FieldKeys.Add("F_PaperNumber");
e.FieldKeys.Add("FAFTERTOTALTAX");
}
public override void BeforeExecuteOperationTransaction(BeforeExecuteOperationTransaction e)
{
base.BeforeExecuteOperationTransaction(e);
//throw new Exception("asdfas");
foreach (var bill in e.SelectedRows)
{
var org = bill["SALEORGID"] as DynamicObject;
var orgId = org["Id"].ToString(); // 销售订单
var contractNo = bill["F_PaperNumber"].ToString(); // 纸质合同号
var FAFTERTOTALTAX = Convert.ToDecimal(bill["FAFTERTOTALTAX"]); // 发票单头价税合计本币
// 销售订单服务
var saleOrderService = new SaleOrderService(this.Context);
// TODO 根据组织和纸质合同号查找销售订单
var saleOrderList = saleOrderService.GetSaleOrderByOrgIdAndContractNo(orgId, contractNo);
if (saleOrderList.Count == 0)
{
//var errInfo = string.Format("纸质合同号:{0},没有找到对应的销售订单,请检查销售订单是否已审核,或者被作废", contractNo);
//throw new Exception(errInfo);
continue;
}
if (saleOrderList.Count > 1)
{
var errInfo = string.Format("纸质合同号:{0},找到多个销售订单,请检查组织内纸质合同号唯一性", contractNo);
throw new Exception(errInfo);
}
var saleOrder = saleOrderList[0];
// 销售订单价税合计
var saleOrderAmount = Convert.ToDecimal(saleOrder["FBILLALLAMOUNT_LC"]);
// 销售订单累计开票金额
var saleOrderINVOICEAMOUNT = Convert.ToDecimal(saleOrder["F_INVOICEAMOUNT"]);
// 校验销售订单累计开票金额+本次开票金额不能大于销售订单价税合计
if (saleOrderAmount < saleOrderINVOICEAMOUNT + FAFTERTOTALTAX)
{
//有错误信息
e.Cancel = true;
IOperationResult operationResult = new OperationResult();
operationResult.OperateResult.Add(new OperateResult()
{
PKValue = "1",
Name = "检查开票金额是否超额",
MessageType = MessageType.FatalError,
Message = string.Format($"纸质合同号:'{contractNo}' ,销售订单价税合计本币:{saleOrderAmount} ,累计开票金额:{saleOrderINVOICEAMOUNT},本次开票金额:{FAFTERTOTALTAX},已超额,不允许提交"),
SuccessStatus = false
});
this.OperationResult.MergeResult(operationResult);
}
}
}
}
}

View File

@ -0,0 +1,59 @@
using GZ_LTHPilot_ORDER.Service;
using Kingdee.BOS.Core.DynamicForm.PlugIn;
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Orm.DataEntity;
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.T_IV_SALESIC.ServicePlugIn
{
[Description("服务插件:发票反审核,刷新销售订单累计开票金额字段"), HotUpdate]
public class UnAudit : AbstractOperationServicePlugIn
{
public override void OnPreparePropertys(PreparePropertysEventArgs e)
{
base.OnPreparePropertys(e);
e.FieldKeys.Add("F_PaperNumber");
}
/// <summary>
/// 审核插件执行后插件、事务提交后事件
/// </summary>
/// <param name="e"></param>
public override void AfterExecuteOperationTransaction(AfterExecuteOperationTransaction e)
{
base.AfterExecuteOperationTransaction(e);
foreach (var bill in e.DataEntitys)
{
var org = bill["SALEORGID"] as DynamicObject;
var orgId = org["Id"].ToString(); // 销售订单
var contractNo = bill["F_PaperNumber"].ToString(); // 纸质合同号
// 销售订单服务
var saleOrderService = new SaleOrderService(this.Context);
// TODO 根据组织和纸质合同号查找销售订单
var saleOrderList = saleOrderService.GetSaleOrderByOrgIdAndContractNo(orgId, contractNo);
if (saleOrderList.Count == 0)
{
//var errInfo = string.Format("纸质合同号:{0},没有找到对应的销售订单,请检查销售订单是否已审核,或者被作废", contractNo);
//throw new Exception(errInfo);
continue;
}
if (saleOrderList.Count > 1)
{
var errInfo = string.Format("纸质合同号:{0},找到多个销售订单,请检查组织内纸质合同号唯一性", contractNo);
throw new Exception(errInfo);
}
var saleOrder = saleOrderList[0];
// 发票服务
SaleSicsService saleSicsService = new SaleSicsService(this.Context);
// TODO 刷新销售订单单头的累计开票金额
saleSicsService.UpdateSaleOrderSumSicsamountBySaleOrder(saleOrder);
}
}
}
}