lu
2025-10-10 73370e94530afffd9608481e74e6bd5e55c4f69f
调拨向下复制
已修改4个文件
262 ■■■■■ 文件已修改
DevApp/Gs.DevApp/App.config 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.Designer.cs 206 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/App.config
@@ -36,8 +36,8 @@
    </runtime>
    <appSettings>
        <add key="webapiurl" value="http://localhost:5263/" />
        <!--<add key="WebApiUrl" value="http://192.168.1.145:8081/" />-->
        <!--<add key="webapiurl" value="http://localhost:5263/" />-->
        <add key="WebApiUrl" value="http://192.168.1.145:8081/" />
        <!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />-->
        <add key="LogPath" value="logs" />
        <add key="ProductName" value="G-MES V2.0" />
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.Designer.cs
@@ -129,6 +129,7 @@
            this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.layoutMx1 = new DevExpress.XtraLayout.LayoutControl();
            this.btnDown = new DevExpress.XtraEditors.SimpleButton();
            this.btnCopyXls = new DevExpress.XtraEditors.SimpleButton();
            this.txt_djtype = new DevExpress.XtraEditors.ComboBoxEdit();
            this.lbGuid = new System.Windows.Forms.Label();
@@ -155,6 +156,7 @@
            this.txt_qt027 = new DevExpress.XtraEditors.TextEdit();
            this.txt_qt026 = new DevExpress.XtraEditors.CheckEdit();
            this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -178,8 +180,8 @@
            this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem();
            this.tabMx = new DevExpress.XtraTab.XtraTabControl();
            this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
            this.gcMx1 = new DevExpress.XtraGrid.GridControl();
@@ -277,6 +279,7 @@
            ((System.ComponentModel.ISupportInitialize)(this.txt_qt027.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_qt026.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
@@ -300,8 +303,8 @@
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
            this.tabMx.SuspendLayout();
            this.tabMxPage1.SuspendLayout();
@@ -774,11 +777,12 @@
            this.splitMx1.Panel2.Text = "Panel2";
            this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
            this.splitMx1.Size = new System.Drawing.Size(1126, 570);
            this.splitMx1.SplitterPosition = 192;
            this.splitMx1.SplitterPosition = 238;
            this.splitMx1.TabIndex = 0;
            // 
            // layoutMx1
            // 
            this.layoutMx1.Controls.Add(this.btnDown);
            this.layoutMx1.Controls.Add(this.btnCopyXls);
            this.layoutMx1.Controls.Add(this.txt_djtype);
            this.layoutMx1.Controls.Add(this.lbGuid);
@@ -806,29 +810,41 @@
            this.layoutMx1.Controls.Add(this.txt_qt026);
            this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
            this.layoutControlItem16});
            this.layoutControlItem16,
            this.layoutControlItem17});
            this.layoutMx1.Location = new System.Drawing.Point(0, 0);
            this.layoutMx1.Name = "layoutMx1";
            this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(643, 489, 812, 500);
            this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(477, 256, 812, 500);
            this.layoutMx1.Root = this.Root;
            this.layoutMx1.Size = new System.Drawing.Size(1126, 192);
            this.layoutMx1.Size = new System.Drawing.Size(1126, 238);
            this.layoutMx1.TabIndex = 0;
            this.layoutMx1.Text = "layoutControl1";
            //
            // btnDown
            //
            this.btnDown.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.copy_16x16;
            this.btnDown.Location = new System.Drawing.Point(288, 192);
            this.btnDown.Name = "btnDown";
            this.btnDown.Size = new System.Drawing.Size(196, 27);
            this.btnDown.StyleController = this.layoutMx1;
            this.btnDown.TabIndex = 446;
            this.btnDown.Text = "向下复制调入仓库";
            // 
            // btnCopyXls
            // 
            this.btnCopyXls.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnCopyXls.ImageOptions.Image")));
            this.btnCopyXls.Location = new System.Drawing.Point(12, 167);
            this.btnCopyXls.Location = new System.Drawing.Point(12, 192);
            this.btnCopyXls.Name = "btnCopyXls";
            this.btnCopyXls.Size = new System.Drawing.Size(116, 27);
            this.btnCopyXls.StyleController = this.layoutMx1;
            this.btnCopyXls.TabIndex = 445;
            this.btnCopyXls.Tag = "gvBtnAlawys";
            this.btnCopyXls.Text = "快捷录入";
            // 
            // txt_djtype
            // 
            this.txt_djtype.EditValue = "标准直接调拨单(ZJDB01_SYS)";
            this.txt_djtype.Location = new System.Drawing.Point(390, 136);
            this.txt_djtype.Location = new System.Drawing.Point(390, 156);
            this.txt_djtype.Name = "txt_djtype";
            this.txt_djtype.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -849,7 +865,7 @@
            // 
            // txt_fRemarks
            // 
            this.txt_fRemarks.Location = new System.Drawing.Point(114, 136);
            this.txt_fRemarks.Location = new System.Drawing.Point(114, 156);
            this.txt_fRemarks.Name = "txt_fRemarks";
            this.txt_fRemarks.Properties.Appearance.Options.UseFont = true;
            this.txt_fRemarks.Size = new System.Drawing.Size(170, 24);
@@ -859,7 +875,7 @@
            // txt_fOwnerTypeInIdHead
            // 
            this.txt_fOwnerTypeInIdHead.EditValue = "组织(BD_OwnerOrg)";
            this.txt_fOwnerTypeInIdHead.Location = new System.Drawing.Point(390, 105);
            this.txt_fOwnerTypeInIdHead.Location = new System.Drawing.Point(390, 120);
            this.txt_fOwnerTypeInIdHead.Name = "txt_fOwnerTypeInIdHead";
            this.txt_fOwnerTypeInIdHead.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -874,7 +890,7 @@
            // 
            // txt_fCreateDate
            // 
            this.txt_fCreateDate.Location = new System.Drawing.Point(666, 43);
            this.txt_fCreateDate.Location = new System.Drawing.Point(666, 48);
            this.txt_fCreateDate.Name = "txt_fCreateDate";
            this.txt_fCreateDate.Properties.Appearance.Options.UseFont = true;
            this.txt_fCreateDate.Size = new System.Drawing.Size(170, 24);
@@ -885,7 +901,7 @@
            // txt_fOwnerTypeIdHead
            // 
            this.txt_fOwnerTypeIdHead.EditValue = "组织(BD_OwnerOrg)";
            this.txt_fOwnerTypeIdHead.Location = new System.Drawing.Point(390, 74);
            this.txt_fOwnerTypeIdHead.Location = new System.Drawing.Point(390, 84);
            this.txt_fOwnerTypeIdHead.Name = "txt_fOwnerTypeIdHead";
            this.txt_fOwnerTypeIdHead.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -901,7 +917,7 @@
            // txt_fBusinessType
            // 
            this.txt_fBusinessType.EditValue = "标准(NORMAL)";
            this.txt_fBusinessType.Location = new System.Drawing.Point(114, 74);
            this.txt_fBusinessType.Location = new System.Drawing.Point(114, 84);
            this.txt_fBusinessType.Name = "txt_fBusinessType";
            this.txt_fBusinessType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -915,7 +931,7 @@
            // txt_fTransferDirect
            // 
            this.txt_fTransferDirect.EditValue = "-请选择-";
            this.txt_fTransferDirect.Location = new System.Drawing.Point(114, 105);
            this.txt_fTransferDirect.Location = new System.Drawing.Point(114, 120);
            this.txt_fTransferDirect.Name = "txt_fTransferDirect";
            this.txt_fTransferDirect.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -951,7 +967,7 @@
            // txt_ftranstype
            // 
            this.txt_ftranstype.EditValue = "组织内调拨(InnerOrgTransfer)";
            this.txt_ftranstype.Location = new System.Drawing.Point(390, 43);
            this.txt_ftranstype.Location = new System.Drawing.Point(390, 48);
            this.txt_ftranstype.Name = "txt_ftranstype";
            this.txt_ftranstype.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -974,7 +990,7 @@
            // txt_fBillTypeID
            // 
            this.txt_fBillTypeID.EditValue = "标准调拨申请单(DBSQD01_SYS)";
            this.txt_fBillTypeID.Location = new System.Drawing.Point(114, 43);
            this.txt_fBillTypeID.Location = new System.Drawing.Point(114, 48);
            this.txt_fBillTypeID.Name = "txt_fBillTypeID";
            this.txt_fBillTypeID.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -997,7 +1013,7 @@
            // 
            // txt_fapprovedate
            // 
            this.txt_fapprovedate.Location = new System.Drawing.Point(942, 43);
            this.txt_fapprovedate.Location = new System.Drawing.Point(942, 48);
            this.txt_fapprovedate.Name = "txt_fapprovedate";
            this.txt_fapprovedate.Properties.Appearance.Options.UseFont = true;
            this.txt_fapprovedate.Size = new System.Drawing.Size(172, 24);
@@ -1007,7 +1023,7 @@
            // 
            // txt_wjStatus
            // 
            this.txt_wjStatus.Location = new System.Drawing.Point(564, 167);
            this.txt_wjStatus.Location = new System.Drawing.Point(564, 192);
            this.txt_wjStatus.Name = "txt_wjStatus";
            this.txt_wjStatus.Properties.Caption = "完结标识";
            this.txt_wjStatus.Size = new System.Drawing.Size(272, 24);
@@ -1017,7 +1033,7 @@
            // 
            // txt_chkStatus
            // 
            this.txt_chkStatus.Location = new System.Drawing.Point(840, 74);
            this.txt_chkStatus.Location = new System.Drawing.Point(840, 84);
            this.txt_chkStatus.Name = "txt_chkStatus";
            this.txt_chkStatus.Properties.Caption = "审核状态";
            this.txt_chkStatus.Size = new System.Drawing.Size(274, 24);
@@ -1027,7 +1043,7 @@
            // 
            // txt_source
            // 
            this.txt_source.Location = new System.Drawing.Point(390, 167);
            this.txt_source.Location = new System.Drawing.Point(390, 192);
            this.txt_source.Name = "txt_source";
            this.txt_source.Size = new System.Drawing.Size(170, 24);
            this.txt_source.StyleController = this.layoutMx1;
@@ -1036,7 +1052,7 @@
            // 
            // txt_fCloserId
            // 
            this.txt_fCloserId.Location = new System.Drawing.Point(666, 105);
            this.txt_fCloserId.Location = new System.Drawing.Point(666, 120);
            this.txt_fCloserId.Name = "txt_fCloserId";
            this.txt_fCloserId.Size = new System.Drawing.Size(170, 24);
            this.txt_fCloserId.StyleController = this.layoutMx1;
@@ -1045,7 +1061,7 @@
            // 
            // txt_fCloseDate
            // 
            this.txt_fCloseDate.Location = new System.Drawing.Point(666, 136);
            this.txt_fCloseDate.Location = new System.Drawing.Point(666, 156);
            this.txt_fCloseDate.Name = "txt_fCloseDate";
            this.txt_fCloseDate.Size = new System.Drawing.Size(170, 24);
            this.txt_fCloseDate.StyleController = this.layoutMx1;
@@ -1054,7 +1070,7 @@
            // 
            // txt_fCloseStatusTxt
            // 
            this.txt_fCloseStatusTxt.Location = new System.Drawing.Point(666, 74);
            this.txt_fCloseStatusTxt.Location = new System.Drawing.Point(666, 84);
            this.txt_fCloseStatusTxt.Name = "txt_fCloseStatusTxt";
            this.txt_fCloseStatusTxt.Size = new System.Drawing.Size(170, 24);
            this.txt_fCloseStatusTxt.StyleController = this.layoutMx1;
@@ -1063,7 +1079,7 @@
            // 
            // txt_qt028
            // 
            this.txt_qt028.Location = new System.Drawing.Point(942, 105);
            this.txt_qt028.Location = new System.Drawing.Point(942, 120);
            this.txt_qt028.Name = "txt_qt028";
            this.txt_qt028.Size = new System.Drawing.Size(172, 24);
            this.txt_qt028.StyleController = this.layoutMx1;
@@ -1072,7 +1088,7 @@
            // 
            // txt_qt027
            // 
            this.txt_qt027.Location = new System.Drawing.Point(942, 136);
            this.txt_qt027.Location = new System.Drawing.Point(942, 156);
            this.txt_qt027.Name = "txt_qt027";
            this.txt_qt027.Size = new System.Drawing.Size(172, 24);
            this.txt_qt027.StyleController = this.layoutMx1;
@@ -1081,7 +1097,7 @@
            // 
            // txt_qt026
            // 
            this.txt_qt026.Location = new System.Drawing.Point(840, 167);
            this.txt_qt026.Location = new System.Drawing.Point(840, 192);
            this.txt_qt026.Name = "txt_qt026";
            this.txt_qt026.Properties.Caption = "售后审核状态";
            this.txt_qt026.Size = new System.Drawing.Size(274, 24);
@@ -1100,6 +1116,17 @@
            this.layoutControlItem16.Text = "lbGuid";
            this.layoutControlItem16.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem16.TextVisible = false;
            //
            // layoutControlItem17
            //
            this.layoutControlItem17.Control = this.txt_source;
            this.layoutControlItem17.Location = new System.Drawing.Point(276, 180);
            this.layoutControlItem17.Name = "layoutControlItem17";
            this.layoutControlItem17.OptionsTableLayoutItem.ColumnIndex = 1;
            this.layoutControlItem17.OptionsTableLayoutItem.RowIndex = 5;
            this.layoutControlItem17.Size = new System.Drawing.Size(276, 38);
            this.layoutControlItem17.Text = "源单类型";
            this.layoutControlItem17.TextSize = new System.Drawing.Size(90, 18);
            // 
            // Root
            // 
@@ -1128,8 +1155,8 @@
            this.layoutControlItem24,
            this.layoutControlItem25,
            this.layoutControlItem11,
            this.layoutControlItem17,
            this.layoutControlItem26});
            this.layoutControlItem26,
            this.layoutControlItem27});
            this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
            this.Root.Name = "Root";
            columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
@@ -1164,7 +1191,7 @@
            rowDefinition4,
            rowDefinition5,
            rowDefinition6});
            this.Root.Size = new System.Drawing.Size(1126, 206);
            this.Root.Size = new System.Drawing.Size(1126, 238);
            this.Root.TextVisible = false;
            // 
            // layoutControlItem1
@@ -1172,7 +1199,7 @@
            this.layoutControlItem1.Control = this.txt_fBillNo;
            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
            this.layoutControlItem1.Name = "layoutControlItem1";
            this.layoutControlItem1.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem1.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem1.Text = "申请单号";
            this.layoutControlItem1.TextSize = new System.Drawing.Size(90, 18);
            // 
@@ -1182,7 +1209,7 @@
            this.layoutControlItem2.Location = new System.Drawing.Point(276, 0);
            this.layoutControlItem2.Name = "layoutControlItem2";
            this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
            this.layoutControlItem2.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem2.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem2.Text = "申请组织";
            this.layoutControlItem2.TextSize = new System.Drawing.Size(90, 18);
            // 
@@ -1192,60 +1219,60 @@
            this.layoutControlItem3.Location = new System.Drawing.Point(552, 0);
            this.layoutControlItem3.Name = "layoutControlItem3";
            this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 2;
            this.layoutControlItem3.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem3.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem3.Text = "申请人员";
            this.layoutControlItem3.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem4
            // 
            this.layoutControlItem4.Control = this.txt_fBillTypeID;
            this.layoutControlItem4.Location = new System.Drawing.Point(0, 31);
            this.layoutControlItem4.Location = new System.Drawing.Point(0, 36);
            this.layoutControlItem4.Name = "layoutControlItem4";
            this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1;
            this.layoutControlItem4.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem4.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem4.Text = "申请类型";
            this.layoutControlItem4.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem5
            // 
            this.layoutControlItem5.Control = this.txt_ftranstype;
            this.layoutControlItem5.Location = new System.Drawing.Point(276, 31);
            this.layoutControlItem5.Location = new System.Drawing.Point(276, 36);
            this.layoutControlItem5.Name = "layoutControlItem5";
            this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1;
            this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 1;
            this.layoutControlItem5.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem5.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem5.Text = "调拨类型 ";
            this.layoutControlItem5.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem6
            // 
            this.layoutControlItem6.Control = this.txt_fCreateDate;
            this.layoutControlItem6.Location = new System.Drawing.Point(552, 31);
            this.layoutControlItem6.Location = new System.Drawing.Point(552, 36);
            this.layoutControlItem6.Name = "layoutControlItem6";
            this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 2;
            this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 1;
            this.layoutControlItem6.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem6.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem6.Text = "申请时间";
            this.layoutControlItem6.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem7
            // 
            this.layoutControlItem7.Control = this.txt_fBusinessType;
            this.layoutControlItem7.Location = new System.Drawing.Point(0, 62);
            this.layoutControlItem7.Location = new System.Drawing.Point(0, 72);
            this.layoutControlItem7.Name = "layoutControlItem7";
            this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 2;
            this.layoutControlItem7.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem7.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem7.Text = "业务类型";
            this.layoutControlItem7.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem8
            // 
            this.layoutControlItem8.Control = this.txt_fOwnerTypeIdHead;
            this.layoutControlItem8.Location = new System.Drawing.Point(276, 62);
            this.layoutControlItem8.Location = new System.Drawing.Point(276, 72);
            this.layoutControlItem8.Name = "layoutControlItem8";
            this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 1;
            this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 2;
            this.layoutControlItem8.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem8.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem8.Text = "调出货主类型";
            this.layoutControlItem8.TextSize = new System.Drawing.Size(90, 18);
            // 
@@ -1255,18 +1282,18 @@
            this.layoutControlItem9.Location = new System.Drawing.Point(828, 0);
            this.layoutControlItem9.Name = "layoutControlItem9";
            this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 3;
            this.layoutControlItem9.Size = new System.Drawing.Size(278, 31);
            this.layoutControlItem9.Size = new System.Drawing.Size(278, 36);
            this.layoutControlItem9.Text = "审核人员";
            this.layoutControlItem9.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem10
            // 
            this.layoutControlItem10.Control = this.txt_fapprovedate;
            this.layoutControlItem10.Location = new System.Drawing.Point(828, 31);
            this.layoutControlItem10.Location = new System.Drawing.Point(828, 36);
            this.layoutControlItem10.Name = "layoutControlItem10";
            this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 3;
            this.layoutControlItem10.OptionsTableLayoutItem.RowIndex = 1;
            this.layoutControlItem10.Size = new System.Drawing.Size(278, 31);
            this.layoutControlItem10.Size = new System.Drawing.Size(278, 36);
            this.layoutControlItem10.Tag = "readonly";
            this.layoutControlItem10.Text = "审核时间";
            this.layoutControlItem10.TextSize = new System.Drawing.Size(90, 18);
@@ -1274,53 +1301,53 @@
            // layoutControlItem13
            // 
            this.layoutControlItem13.Control = this.txt_fTransferDirect;
            this.layoutControlItem13.Location = new System.Drawing.Point(0, 93);
            this.layoutControlItem13.Location = new System.Drawing.Point(0, 108);
            this.layoutControlItem13.Name = "layoutControlItem13";
            this.layoutControlItem13.OptionsTableLayoutItem.RowIndex = 3;
            this.layoutControlItem13.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem13.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem13.Text = "调拨方向";
            this.layoutControlItem13.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem14
            // 
            this.layoutControlItem14.Control = this.txt_fOwnerTypeInIdHead;
            this.layoutControlItem14.Location = new System.Drawing.Point(276, 93);
            this.layoutControlItem14.Location = new System.Drawing.Point(276, 108);
            this.layoutControlItem14.Name = "layoutControlItem14";
            this.layoutControlItem14.OptionsTableLayoutItem.ColumnIndex = 1;
            this.layoutControlItem14.OptionsTableLayoutItem.RowIndex = 3;
            this.layoutControlItem14.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem14.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem14.Text = "调入货主类型";
            this.layoutControlItem14.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem19
            // 
            this.layoutControlItem19.Control = this.txt_djtype;
            this.layoutControlItem19.Location = new System.Drawing.Point(276, 124);
            this.layoutControlItem19.Location = new System.Drawing.Point(276, 144);
            this.layoutControlItem19.Name = "layoutControlItem19";
            this.layoutControlItem19.OptionsTableLayoutItem.ColumnIndex = 1;
            this.layoutControlItem19.OptionsTableLayoutItem.RowIndex = 4;
            this.layoutControlItem19.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem19.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem19.Text = "单据类型";
            this.layoutControlItem19.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem15
            // 
            this.layoutControlItem15.Control = this.txt_fRemarks;
            this.layoutControlItem15.Location = new System.Drawing.Point(0, 124);
            this.layoutControlItem15.Location = new System.Drawing.Point(0, 144);
            this.layoutControlItem15.Name = "layoutControlItem15";
            this.layoutControlItem15.OptionsTableLayoutItem.RowIndex = 4;
            this.layoutControlItem15.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem15.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem15.Text = "申请备注";
            this.layoutControlItem15.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem12
            // 
            this.layoutControlItem12.Control = this.txt_chkStatus;
            this.layoutControlItem12.Location = new System.Drawing.Point(828, 62);
            this.layoutControlItem12.Location = new System.Drawing.Point(828, 72);
            this.layoutControlItem12.Name = "layoutControlItem12";
            this.layoutControlItem12.OptionsTableLayoutItem.ColumnIndex = 3;
            this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 2;
            this.layoutControlItem12.Size = new System.Drawing.Size(278, 31);
            this.layoutControlItem12.Size = new System.Drawing.Size(278, 36);
            this.layoutControlItem12.Text = "审核状态";
            this.layoutControlItem12.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem12.TextVisible = false;
@@ -1328,66 +1355,66 @@
            // layoutControlItem21
            // 
            this.layoutControlItem21.Control = this.txt_fCloseDate;
            this.layoutControlItem21.Location = new System.Drawing.Point(552, 124);
            this.layoutControlItem21.Location = new System.Drawing.Point(552, 144);
            this.layoutControlItem21.Name = "layoutControlItem21";
            this.layoutControlItem21.OptionsTableLayoutItem.ColumnIndex = 2;
            this.layoutControlItem21.OptionsTableLayoutItem.RowIndex = 4;
            this.layoutControlItem21.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem21.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem21.Text = "关闭时间";
            this.layoutControlItem21.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem20
            // 
            this.layoutControlItem20.Control = this.txt_fCloserId;
            this.layoutControlItem20.Location = new System.Drawing.Point(552, 93);
            this.layoutControlItem20.Location = new System.Drawing.Point(552, 108);
            this.layoutControlItem20.Name = "layoutControlItem20";
            this.layoutControlItem20.OptionsTableLayoutItem.ColumnIndex = 2;
            this.layoutControlItem20.OptionsTableLayoutItem.RowIndex = 3;
            this.layoutControlItem20.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem20.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem20.Text = "关闭人员";
            this.layoutControlItem20.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem22
            // 
            this.layoutControlItem22.Control = this.txt_fCloseStatusTxt;
            this.layoutControlItem22.Location = new System.Drawing.Point(552, 62);
            this.layoutControlItem22.Location = new System.Drawing.Point(552, 72);
            this.layoutControlItem22.Name = "layoutControlItem22";
            this.layoutControlItem22.OptionsTableLayoutItem.ColumnIndex = 2;
            this.layoutControlItem22.OptionsTableLayoutItem.RowIndex = 2;
            this.layoutControlItem22.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem22.Size = new System.Drawing.Size(276, 36);
            this.layoutControlItem22.Text = "关闭状态";
            this.layoutControlItem22.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem23
            // 
            this.layoutControlItem23.Control = this.txt_qt028;
            this.layoutControlItem23.Location = new System.Drawing.Point(828, 93);
            this.layoutControlItem23.Location = new System.Drawing.Point(828, 108);
            this.layoutControlItem23.Name = "layoutControlItem23";
            this.layoutControlItem23.OptionsTableLayoutItem.ColumnIndex = 3;
            this.layoutControlItem23.OptionsTableLayoutItem.RowIndex = 3;
            this.layoutControlItem23.Size = new System.Drawing.Size(278, 31);
            this.layoutControlItem23.Size = new System.Drawing.Size(278, 36);
            this.layoutControlItem23.Text = "售后审核人员";
            this.layoutControlItem23.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem24
            // 
            this.layoutControlItem24.Control = this.txt_qt027;
            this.layoutControlItem24.Location = new System.Drawing.Point(828, 124);
            this.layoutControlItem24.Location = new System.Drawing.Point(828, 144);
            this.layoutControlItem24.Name = "layoutControlItem24";
            this.layoutControlItem24.OptionsTableLayoutItem.ColumnIndex = 3;
            this.layoutControlItem24.OptionsTableLayoutItem.RowIndex = 4;
            this.layoutControlItem24.Size = new System.Drawing.Size(278, 31);
            this.layoutControlItem24.Size = new System.Drawing.Size(278, 36);
            this.layoutControlItem24.Text = "售后审核时间";
            this.layoutControlItem24.TextSize = new System.Drawing.Size(90, 18);
            // 
            // layoutControlItem25
            // 
            this.layoutControlItem25.Control = this.txt_qt026;
            this.layoutControlItem25.Location = new System.Drawing.Point(828, 155);
            this.layoutControlItem25.Location = new System.Drawing.Point(828, 180);
            this.layoutControlItem25.Name = "layoutControlItem25";
            this.layoutControlItem25.OptionsTableLayoutItem.ColumnIndex = 3;
            this.layoutControlItem25.OptionsTableLayoutItem.RowIndex = 5;
            this.layoutControlItem25.Size = new System.Drawing.Size(278, 31);
            this.layoutControlItem25.Size = new System.Drawing.Size(278, 38);
            this.layoutControlItem25.Text = "售后审核状态";
            this.layoutControlItem25.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem25.TextVisible = false;
@@ -1395,39 +1422,43 @@
            // layoutControlItem11
            // 
            this.layoutControlItem11.Control = this.txt_wjStatus;
            this.layoutControlItem11.Location = new System.Drawing.Point(552, 155);
            this.layoutControlItem11.Location = new System.Drawing.Point(552, 180);
            this.layoutControlItem11.Name = "layoutControlItem11";
            this.layoutControlItem11.OptionsTableLayoutItem.ColumnIndex = 2;
            this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 5;
            this.layoutControlItem11.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem11.Size = new System.Drawing.Size(276, 38);
            this.layoutControlItem11.Text = "完结标识";
            this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem11.TextVisible = false;
            // 
            // layoutControlItem17
            //
            this.layoutControlItem17.Control = this.txt_source;
            this.layoutControlItem17.Location = new System.Drawing.Point(276, 155);
            this.layoutControlItem17.Name = "layoutControlItem17";
            this.layoutControlItem17.OptionsTableLayoutItem.ColumnIndex = 1;
            this.layoutControlItem17.OptionsTableLayoutItem.RowIndex = 5;
            this.layoutControlItem17.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem17.Text = "源单类型";
            this.layoutControlItem17.TextSize = new System.Drawing.Size(90, 18);
            //
            // layoutControlItem26
            // 
            this.layoutControlItem26.Control = this.btnCopyXls;
            this.layoutControlItem26.Location = new System.Drawing.Point(0, 155);
            this.layoutControlItem26.Location = new System.Drawing.Point(0, 180);
            this.layoutControlItem26.MaxSize = new System.Drawing.Size(120, 31);
            this.layoutControlItem26.MinSize = new System.Drawing.Size(90, 31);
            this.layoutControlItem26.Name = "layoutControlItem26";
            this.layoutControlItem26.OptionsTableLayoutItem.RowIndex = 5;
            this.layoutControlItem26.Size = new System.Drawing.Size(276, 31);
            this.layoutControlItem26.Size = new System.Drawing.Size(276, 38);
            this.layoutControlItem26.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
            this.layoutControlItem26.Text = "快捷录入";
            this.layoutControlItem26.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem26.TextVisible = false;
            //
            // layoutControlItem27
            //
            this.layoutControlItem27.Control = this.btnDown;
            this.layoutControlItem27.Location = new System.Drawing.Point(276, 180);
            this.layoutControlItem27.MaxSize = new System.Drawing.Size(200, 31);
            this.layoutControlItem27.MinSize = new System.Drawing.Size(150, 31);
            this.layoutControlItem27.Name = "layoutControlItem27";
            this.layoutControlItem27.OptionsTableLayoutItem.ColumnIndex = 1;
            this.layoutControlItem27.OptionsTableLayoutItem.RowIndex = 5;
            this.layoutControlItem27.Size = new System.Drawing.Size(276, 38);
            this.layoutControlItem27.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
            this.layoutControlItem27.Text = "向下复制";
            this.layoutControlItem27.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem27.TextVisible = false;
            // 
            // tabMx
            // 
@@ -1435,7 +1466,7 @@
            this.tabMx.Location = new System.Drawing.Point(0, 0);
            this.tabMx.Name = "tabMx";
            this.tabMx.SelectedTabPage = this.tabMxPage1;
            this.tabMx.Size = new System.Drawing.Size(1126, 366);
            this.tabMx.Size = new System.Drawing.Size(1126, 320);
            this.tabMx.TabIndex = 3;
            this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.tabMxPage1});
@@ -1444,7 +1475,7 @@
            // 
            this.tabMxPage1.Controls.Add(this.gcMx1);
            this.tabMxPage1.Name = "tabMxPage1";
            this.tabMxPage1.Size = new System.Drawing.Size(1124, 334);
            this.tabMxPage1.Size = new System.Drawing.Size(1124, 288);
            this.tabMxPage1.Text = "调拨申请明细";
            // 
            // gcMx1
@@ -1465,7 +1496,7 @@
            this.rptDrHz,
            this.rptDcHz,
            this.btnTest1});
            this.gcMx1.Size = new System.Drawing.Size(1124, 334);
            this.gcMx1.Size = new System.Drawing.Size(1124, 288);
            this.gcMx1.TabIndex = 1;
            this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gvMx1});
@@ -2106,6 +2137,7 @@
            ((System.ComponentModel.ISupportInitialize)(this.txt_qt027.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_qt026.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
@@ -2129,8 +2161,8 @@
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit();
            this.tabMx.ResumeLayout(false);
            this.tabMxPage1.ResumeLayout(false);
@@ -2303,5 +2335,7 @@
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem26;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn54;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn55;
        private DevExpress.XtraEditors.SimpleButton btnDown;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem27;
    }
}
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs
@@ -158,6 +158,40 @@
                }
            };
            #endregion
            #region 2025-10-10 向下复制beg
            btnDown.Click += (s, e) =>
            {
                // 获取当前选中行的行号
                int focusedRowHandle = gvMx1.FocusedRowHandle;
                if (focusedRowHandle < 0) return;
                // 获取当前行的时长
                DataRow currentRow = gvMx1.GetDataRow(focusedRowHandle);
                if (currentRow == null) return;
                var hourValue = currentRow["drCkGuid"];
                var hourValue2 = currentRow["drCk"];
                if (hourValue == null || string.IsNullOrEmpty(hourValue.ToString())) {
                    MsgHelper.ShowError("当前选中的行无仓库,复制失败!");
                    return;
                }
                if (hourValue2 == null) {
                    MsgHelper.ShowError("当前选中的行无仓库,复制失败!");
                    return;
                }
                // 批量设置下面所有行的时长
                for (int i = focusedRowHandle + 1; i < gvMx1.DataRowCount; i++)
                {
                    var row = gvMx1.GetDataRow(i);
                    if (row != null)
                    {
                        row["drCkGuid"] = hourValue;
                        row["drCk"] = hourValue2;
                    }
                }
                gvMx1.RefreshData();
            };
            #endregion
        }
        private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
        {
@@ -680,8 +714,8 @@
                        getModel(lbGuid.Text.Trim());
                        int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid);
                        gridView1.FocusedRowHandle = rowHandle;
                        if (_inFieldValue <= 1)
                        UtilityHelper.SetCheckIco(gridView1, "chkStatus", "FAPPROVEBY", "FAPPROVEDATE", picCheckBox, this, _inFieldValue.ToString());
                        if (_inFieldValue <= 1)
                            UtilityHelper.SetCheckIco(gridView1, "chkStatus", "FAPPROVEBY", "FAPPROVEDATE", picCheckBox, this, _inFieldValue.ToString());
                    }
                    else
                    {
@@ -762,7 +796,7 @@
                        getModel(lbGuid.Text);
                    }
                    else
                    MsgHelper.ShowError("提示:" + _rtn.rtnMsg);
                        MsgHelper.ShowError("提示:" + _rtn.rtnMsg);
                }
                catch (Exception ex)
                {
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -309,6 +309,18 @@
                var _btnType = _btnAry2[0];
                _btnType.Enabled = !isEdt;
            }
            var _btnAry3 = controls.Find("btnCopyXls", false);
            if (_btnAry3.Length > 0)
            {
                var _btnType = _btnAry3[0];
                _btnType.Enabled = !isEdt;
            }
            var _btnAry4 = controls.Find("btnDown", false);
            if (_btnAry4.Length > 0)
            {
                var _btnType = _btnAry4[0];
                _btnType.Enabled = !isEdt;
            }
            foreach (JProperty property in dynamicObject.Properties())
            {
                var strName = property.Name;