From d90f2151bbd8bb2683e441b87915178c846cb2e5 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 18 十二月 2024 13:44:05 +0800
Subject: [PATCH] 生产领料单
---
DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.resx | 120 ++++
DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.cs | 337 ++++++++++++
DevApp/Gs.DevApp/Gs.DevApp.csproj | 27
DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.Designer.cs | 1159 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 1,634 insertions(+), 9 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.Designer.cs
new file mode 100644
index 0000000..e811567
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.Designer.cs
@@ -0,0 +1,1159 @@
+/* Create By GS EasyCode */
+namespace Gs.DevApp.DevFrm
+{
+ partial class Frm_MesItemBlDJ
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.gvMx2remark = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx2depotSectionCode = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx2depotCode = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx2quantity = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx2lotNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx2itemNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx2itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.tabMxPage2 = new DevExpress.XtraTab.XtraTabPage();
+ this.gcMx2 = new DevExpress.XtraGrid.GridControl();
+ this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.gvMx1itemId = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1tlQty = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1rkQty = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1workNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1remark = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1createDate = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1createBy = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1quantity = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1itemNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
+ this.gcMx1 = new DevExpress.XtraGrid.GridControl();
+ this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.lb_depotId = new DevExpress.XtraEditors.LabelControl();
+ this.gv_pbillNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_boardItem = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_outType = new DevExpress.XtraEditors.LabelControl();
+ this.txt_outType = new DevExpress.XtraEditors.TextEdit();
+ this.gv_outType = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_workNo = new DevExpress.XtraEditors.LabelControl();
+ this.txt_workNo = new DevExpress.XtraEditors.TextEdit();
+ this.gv_workNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_receiver = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_outPart = new DevExpress.XtraEditors.LabelControl();
+ this.gv_outPart = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_outDate = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_checkDate = new DevExpress.XtraEditors.LabelControl();
+ this.txt_checkDate = new DevExpress.XtraEditors.TextEdit();
+ this.gv_checkDate = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_checkUser = new DevExpress.XtraEditors.LabelControl();
+ this.txt_checkUser = new DevExpress.XtraEditors.TextEdit();
+ this.gv_checkUser = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.gv_reason = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_remark = new DevExpress.XtraEditors.LabelControl();
+ this.txt_remark = new DevExpress.XtraEditors.TextEdit();
+ this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_createDate = new DevExpress.XtraEditors.LabelControl();
+ this.txt_createDate = new DevExpress.XtraEditors.TextEdit();
+ this.gv_createDate = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_createBy = new DevExpress.XtraEditors.LabelControl();
+ this.txt_createBy = new DevExpress.XtraEditors.TextEdit();
+ this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_status = new DevExpress.XtraEditors.LabelControl();
+ this.gv_status = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.lb_taskNo = new DevExpress.XtraEditors.LabelControl();
+ this.txt_taskNo = new DevExpress.XtraEditors.TextEdit();
+ this.lb_itemOutNo = new DevExpress.XtraEditors.LabelControl();
+ this.txt_itemOutNo = new DevExpress.XtraEditors.TextEdit();
+ this.gv_itemOutNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
+ this.gcMain = new DevExpress.XtraGrid.GridControl();
+ this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
+ this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
+ this.pageBar1 = new UserControls.Data.UcPageBar();
+ this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
+ this.tabMx = new DevExpress.XtraTab.XtraTabControl();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.txt_outPart = new Gs.DevApp.UserControl.UcLookDepartment();
+ this.depot_id = new Gs.DevApp.UserControl.UcLookCk();
+ this.txt_status = new DevExpress.XtraEditors.CheckEdit();
+ this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
+ this.lbGuid = new System.Windows.Forms.Label();
+ this.tabMxPage2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit();
+ this.tabMxPage1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_outType.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_workNo.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_taskNo.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemOutNo.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
+ this.xtraTabControl1.SuspendLayout();
+ this.xtraTabPage1.SuspendLayout();
+ this.xtraTabPage2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
+ this.tabMx.SuspendLayout();
+ this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).BeginInit();
+ this.SuspendLayout();
+ //
+ // gvMx2remark
+ //
+ this.gvMx2remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx2remark.AppearanceCell.Options.UseFont = true;
+ this.gvMx2remark.Caption = "澶囨敞 ";
+ this.gvMx2remark.FieldName = "remark";
+ this.gvMx2remark.MinWidth = 50;
+ this.gvMx2remark.Name = "gvMx2remark";
+ this.gvMx2remark.Tag = "query_a.REMARK";
+ this.gvMx2remark.Visible = true;
+ this.gvMx2remark.VisibleIndex = 6;
+ this.gvMx2remark.Width = 94;
+ //
+ // gvMx2depotSectionCode
+ //
+ this.gvMx2depotSectionCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx2depotSectionCode.AppearanceCell.Options.UseFont = true;
+ this.gvMx2depotSectionCode.Caption = "璐т綅缂栫爜 ";
+ this.gvMx2depotSectionCode.FieldName = "depotSectionCode";
+ this.gvMx2depotSectionCode.MinWidth = 50;
+ this.gvMx2depotSectionCode.Name = "gvMx2depotSectionCode";
+ this.gvMx2depotSectionCode.Tag = "query_a.DEPOT_SECTION_CODE";
+ this.gvMx2depotSectionCode.Visible = true;
+ this.gvMx2depotSectionCode.VisibleIndex = 5;
+ this.gvMx2depotSectionCode.Width = 94;
+ //
+ // gvMx2depotCode
+ //
+ this.gvMx2depotCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx2depotCode.AppearanceCell.Options.UseFont = true;
+ this.gvMx2depotCode.Caption = "浠撳簱缂栫爜 ";
+ this.gvMx2depotCode.FieldName = "depotCode";
+ this.gvMx2depotCode.MinWidth = 50;
+ this.gvMx2depotCode.Name = "gvMx2depotCode";
+ this.gvMx2depotCode.Tag = "query_a.DEPOT_CODE";
+ this.gvMx2depotCode.Visible = true;
+ this.gvMx2depotCode.VisibleIndex = 4;
+ this.gvMx2depotCode.Width = 94;
+ //
+ // gvMx2quantity
+ //
+ this.gvMx2quantity.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx2quantity.AppearanceCell.Options.UseFont = true;
+ this.gvMx2quantity.Caption = "鏁伴噺";
+ this.gvMx2quantity.FieldName = "quantity";
+ this.gvMx2quantity.MinWidth = 50;
+ this.gvMx2quantity.Name = "gvMx2quantity";
+ this.gvMx2quantity.Tag = "query_a.QUANTITY";
+ this.gvMx2quantity.Visible = true;
+ this.gvMx2quantity.VisibleIndex = 3;
+ this.gvMx2quantity.Width = 94;
+ //
+ // gvMx2lotNo
+ //
+ this.gvMx2lotNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx2lotNo.AppearanceCell.Options.UseFont = true;
+ this.gvMx2lotNo.Caption = "鐗╂枡鍚嶇О";
+ this.gvMx2lotNo.FieldName = "lotNo";
+ this.gvMx2lotNo.MinWidth = 50;
+ this.gvMx2lotNo.Name = "gvMx2lotNo";
+ this.gvMx2lotNo.Tag = "query_a.LOT_NO";
+ this.gvMx2lotNo.Visible = true;
+ this.gvMx2lotNo.VisibleIndex = 2;
+ this.gvMx2lotNo.Width = 94;
+ //
+ // gvMx2itemNo
+ //
+ this.gvMx2itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx2itemNo.AppearanceCell.Options.UseFont = true;
+ this.gvMx2itemNo.Caption = "鐗╂枡缂栫爜";
+ this.gvMx2itemNo.FieldName = "itemNo";
+ this.gvMx2itemNo.MinWidth = 50;
+ this.gvMx2itemNo.Name = "gvMx2itemNo";
+ this.gvMx2itemNo.Tag = "query_a.ITEM_NO";
+ this.gvMx2itemNo.Visible = true;
+ this.gvMx2itemNo.VisibleIndex = 1;
+ this.gvMx2itemNo.Width = 94;
+ //
+ // gvMx2itemBarcode
+ //
+ this.gvMx2itemBarcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx2itemBarcode.AppearanceCell.Options.UseFont = true;
+ this.gvMx2itemBarcode.Caption = "鐗╂枡鏉$爜";
+ this.gvMx2itemBarcode.FieldName = "itemBarcode";
+ this.gvMx2itemBarcode.MinWidth = 50;
+ this.gvMx2itemBarcode.Name = "gvMx2itemBarcode";
+ this.gvMx2itemBarcode.Tag = "query_a.ITEM_BARCODE";
+ this.gvMx2itemBarcode.Visible = true;
+ this.gvMx2itemBarcode.VisibleIndex = 0;
+ this.gvMx2itemBarcode.Width = 94;
+ //
+ // tabMxPage2
+ //
+ this.tabMxPage2.Controls.Add(this.gcMx2);
+ this.tabMxPage2.Name = "tabMxPage2";
+ this.tabMxPage2.Size = new System.Drawing.Size(1124, 417);
+ this.tabMxPage2.Text = "鍑哄簱鏉$爜";
+ //
+ // gcMx2
+ //
+ this.gcMx2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.gcMx2.Location = new System.Drawing.Point(0, 0);
+ this.gcMx2.MainView = this.gvMx2;
+ this.gcMx2.Name = "gcMx2";
+ this.gcMx2.Size = new System.Drawing.Size(1124, 417);
+ this.gcMx2.TabIndex = 0;
+ this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.gvMx2});
+ //
+ // gvMx2
+ //
+ this.gvMx2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.gvMx2itemBarcode,
+ this.gvMx2itemNo,
+ this.gvMx2lotNo,
+ this.gvMx2quantity,
+ this.gvMx2depotCode,
+ this.gvMx2depotSectionCode,
+ this.gvMx2remark});
+ this.gvMx2.GridControl = this.gcMx2;
+ this.gvMx2.Name = "gvMx2";
+ this.gvMx2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
+ this.gvMx2.OptionsFind.ShowSearchNavButtons = false;
+ this.gvMx2.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
+ this.gvMx2.OptionsView.ShowGroupPanel = false;
+ //
+ // gvMx1itemId
+ //
+ this.gvMx1itemId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1itemId.AppearanceCell.Options.UseFont = true;
+ this.gvMx1itemId.Caption = "鐗╂枡ID ";
+ this.gvMx1itemId.FieldName = "itemId";
+ this.gvMx1itemId.MinWidth = 50;
+ this.gvMx1itemId.Name = "gvMx1itemId";
+ this.gvMx1itemId.Tag = "query_a.item_id";
+ this.gvMx1itemId.Visible = true;
+ this.gvMx1itemId.VisibleIndex = 9;
+ this.gvMx1itemId.Width = 94;
+ //
+ // gvMx1tlQty
+ //
+ this.gvMx1tlQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1tlQty.AppearanceCell.Options.UseFont = true;
+ this.gvMx1tlQty.Caption = "宸叉壂鏁伴噺 ";
+ this.gvMx1tlQty.FieldName = "tlQty";
+ this.gvMx1tlQty.MinWidth = 50;
+ this.gvMx1tlQty.Name = "gvMx1tlQty";
+ this.gvMx1tlQty.Tag = "query_a.tl_qty";
+ this.gvMx1tlQty.Visible = true;
+ this.gvMx1tlQty.VisibleIndex = 8;
+ this.gvMx1tlQty.Width = 94;
+ //
+ // gvMx1rkQty
+ //
+ this.gvMx1rkQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1rkQty.AppearanceCell.Options.UseFont = true;
+ this.gvMx1rkQty.Caption = "宸插叆搴撴暟 ";
+ this.gvMx1rkQty.FieldName = "rkQty";
+ this.gvMx1rkQty.MinWidth = 50;
+ this.gvMx1rkQty.Name = "gvMx1rkQty";
+ this.gvMx1rkQty.Tag = "query_a.rk_qty";
+ this.gvMx1rkQty.Visible = true;
+ this.gvMx1rkQty.VisibleIndex = 7;
+ this.gvMx1rkQty.Width = 94;
+ //
+ // gvMx1workNo
+ //
+ this.gvMx1workNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1workNo.AppearanceCell.Options.UseFont = true;
+ this.gvMx1workNo.Caption = "浠诲姟鍗曞彿";
+ this.gvMx1workNo.FieldName = "workNo";
+ this.gvMx1workNo.MinWidth = 50;
+ this.gvMx1workNo.Name = "gvMx1workNo";
+ this.gvMx1workNo.Tag = "query_a.work_no";
+ this.gvMx1workNo.Visible = true;
+ this.gvMx1workNo.VisibleIndex = 6;
+ this.gvMx1workNo.Width = 94;
+ //
+ // gvMx1remark
+ //
+ this.gvMx1remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1remark.AppearanceCell.Options.UseFont = true;
+ this.gvMx1remark.Caption = "澶囨敞淇℃伅 ";
+ this.gvMx1remark.FieldName = "remark";
+ this.gvMx1remark.MinWidth = 50;
+ this.gvMx1remark.Name = "gvMx1remark";
+ this.gvMx1remark.Tag = "query_a.remark";
+ this.gvMx1remark.Visible = true;
+ this.gvMx1remark.VisibleIndex = 5;
+ this.gvMx1remark.Width = 94;
+ //
+ // gvMx1createDate
+ //
+ this.gvMx1createDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1createDate.AppearanceCell.Options.UseFont = true;
+ this.gvMx1createDate.Caption = "鐗╂枡瑙勬牸";
+ this.gvMx1createDate.FieldName = "createDate";
+ this.gvMx1createDate.MinWidth = 50;
+ this.gvMx1createDate.Name = "gvMx1createDate";
+ this.gvMx1createDate.Tag = "query_a.create_date";
+ this.gvMx1createDate.Visible = true;
+ this.gvMx1createDate.VisibleIndex = 4;
+ this.gvMx1createDate.Width = 94;
+ //
+ // gvMx1createBy
+ //
+ this.gvMx1createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1createBy.AppearanceCell.Options.UseFont = true;
+ this.gvMx1createBy.Caption = "鐗╂枡鍚嶇О";
+ this.gvMx1createBy.FieldName = "createBy";
+ this.gvMx1createBy.MinWidth = 50;
+ this.gvMx1createBy.Name = "gvMx1createBy";
+ this.gvMx1createBy.Tag = "query_a.create_by";
+ this.gvMx1createBy.Visible = true;
+ this.gvMx1createBy.VisibleIndex = 3;
+ this.gvMx1createBy.Width = 94;
+ //
+ // gvMx1quantity
+ //
+ this.gvMx1quantity.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1quantity.AppearanceCell.Options.UseFont = true;
+ this.gvMx1quantity.Caption = "鐢宠鏁伴噺 ";
+ this.gvMx1quantity.FieldName = "quantity";
+ this.gvMx1quantity.MinWidth = 50;
+ this.gvMx1quantity.Name = "gvMx1quantity";
+ this.gvMx1quantity.Tag = "query_a.quantity";
+ this.gvMx1quantity.Visible = true;
+ this.gvMx1quantity.VisibleIndex = 2;
+ this.gvMx1quantity.Width = 94;
+ //
+ // gvMx1itemNo
+ //
+ this.gvMx1itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1itemNo.AppearanceCell.Options.UseFont = true;
+ this.gvMx1itemNo.Caption = "鐗╂枡缂栧彿 ";
+ this.gvMx1itemNo.FieldName = "itemNo";
+ this.gvMx1itemNo.MinWidth = 50;
+ this.gvMx1itemNo.Name = "gvMx1itemNo";
+ this.gvMx1itemNo.Tag = "query_a.item_no";
+ this.gvMx1itemNo.Visible = true;
+ this.gvMx1itemNo.VisibleIndex = 1;
+ this.gvMx1itemNo.Width = 94;
+ //
+ // gvMx1guid
+ //
+ this.gvMx1guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gvMx1guid.AppearanceCell.Options.UseFont = true;
+ this.gvMx1guid.Caption = "guid ";
+ this.gvMx1guid.FieldName = "guid";
+ this.gvMx1guid.MinWidth = 50;
+ this.gvMx1guid.Name = "gvMx1guid";
+ this.gvMx1guid.Tag = "query_a.guid";
+ this.gvMx1guid.Visible = true;
+ this.gvMx1guid.VisibleIndex = 0;
+ this.gvMx1guid.Width = 94;
+ //
+ // tabMxPage1
+ //
+ this.tabMxPage1.Controls.Add(this.gcMx1);
+ this.tabMxPage1.Name = "tabMxPage1";
+ this.tabMxPage1.Size = new System.Drawing.Size(1124, 417);
+ this.tabMxPage1.Text = "鍑哄簱鏄庣粏";
+ //
+ // gcMx1
+ //
+ this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.gcMx1.Location = new System.Drawing.Point(0, 0);
+ this.gcMx1.MainView = this.gvMx1;
+ this.gcMx1.Name = "gcMx1";
+ this.gcMx1.Size = new System.Drawing.Size(1124, 417);
+ this.gcMx1.TabIndex = 0;
+ this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.gvMx1});
+ //
+ // gvMx1
+ //
+ this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.gvMx1guid,
+ this.gvMx1workNo,
+ this.gvMx1itemNo,
+ this.gvMx1createBy,
+ this.gvMx1createDate,
+ this.gvMx1quantity,
+ this.gvMx1remark,
+ this.gvMx1rkQty,
+ this.gvMx1tlQty,
+ this.gvMx1itemId});
+ this.gvMx1.GridControl = this.gcMx1;
+ this.gvMx1.Name = "gvMx1";
+ this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
+ this.gvMx1.OptionsFind.ShowSearchNavButtons = false;
+ this.gvMx1.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
+ this.gvMx1.OptionsView.ShowGroupPanel = false;
+ //
+ // lb_depotId
+ //
+ this.lb_depotId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_depotId.Appearance.Options.UseFont = true;
+ this.lb_depotId.Location = new System.Drawing.Point(302, 51);
+ this.lb_depotId.Name = "lb_depotId";
+ this.lb_depotId.Size = new System.Drawing.Size(34, 21);
+ this.lb_depotId.TabIndex = 571;
+ this.lb_depotId.Text = "浠撳簱";
+ //
+ // gv_pbillNo
+ //
+ this.gv_pbillNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_pbillNo.AppearanceCell.Options.UseFont = true;
+ this.gv_pbillNo.Caption = "宸ュ崟鍗曞彿";
+ this.gv_pbillNo.FieldName = "pbillNo";
+ this.gv_pbillNo.MinWidth = 50;
+ this.gv_pbillNo.Name = "gv_pbillNo";
+ this.gv_pbillNo.OptionsColumn.AllowEdit = false;
+ this.gv_pbillNo.Tag = "query_a.pbill_no";
+ this.gv_pbillNo.Visible = true;
+ this.gv_pbillNo.VisibleIndex = 3;
+ this.gv_pbillNo.Width = 94;
+ //
+ // gv_boardItem
+ //
+ this.gv_boardItem.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_boardItem.AppearanceCell.Options.UseFont = true;
+ this.gv_boardItem.Caption = "浜у搧缂栫爜";
+ this.gv_boardItem.FieldName = "boardItem";
+ this.gv_boardItem.MinWidth = 50;
+ this.gv_boardItem.Name = "gv_boardItem";
+ this.gv_boardItem.OptionsColumn.AllowEdit = false;
+ this.gv_boardItem.Tag = "query_a.board_item";
+ this.gv_boardItem.Visible = true;
+ this.gv_boardItem.VisibleIndex = 4;
+ this.gv_boardItem.Width = 94;
+ //
+ // lb_outType
+ //
+ this.lb_outType.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_outType.Appearance.Options.UseFont = true;
+ this.lb_outType.Location = new System.Drawing.Point(263, 89);
+ this.lb_outType.Name = "lb_outType";
+ this.lb_outType.Size = new System.Drawing.Size(73, 21);
+ this.lb_outType.TabIndex = 450;
+ this.lb_outType.Text = "鍑哄簱绫诲埆 ";
+ //
+ // txt_outType
+ //
+ this.txt_outType.Location = new System.Drawing.Point(342, 85);
+ this.txt_outType.Name = "txt_outType";
+ this.txt_outType.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txt_outType.Properties.Appearance.Options.UseFont = true;
+ this.txt_outType.Size = new System.Drawing.Size(174, 28);
+ this.txt_outType.TabIndex = 450;
+ //
+ // gv_outType
+ //
+ this.gv_outType.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_outType.AppearanceCell.Options.UseFont = true;
+ this.gv_outType.Caption = "鍑哄簱绫诲埆 ";
+ this.gv_outType.FieldName = "outType";
+ this.gv_outType.MinWidth = 50;
+ this.gv_outType.Name = "gv_outType";
+ this.gv_outType.OptionsColumn.AllowEdit = false;
+ this.gv_outType.Tag = "query_a.out_type";
+ this.gv_outType.Visible = true;
+ this.gv_outType.VisibleIndex = 7;
+ this.gv_outType.Width = 94;
+ //
+ // lb_workNo
+ //
+ this.lb_workNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_workNo.Appearance.Options.UseFont = true;
+ this.lb_workNo.Location = new System.Drawing.Point(20, 52);
+ this.lb_workNo.Name = "lb_workNo";
+ this.lb_workNo.Size = new System.Drawing.Size(73, 21);
+ this.lb_workNo.TabIndex = 387;
+ this.lb_workNo.Text = "浠诲姟鍗曞彿 ";
+ //
+ // txt_workNo
+ //
+ this.txt_workNo.Location = new System.Drawing.Point(98, 48);
+ this.txt_workNo.Name = "txt_workNo";
+ this.txt_workNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txt_workNo.Properties.Appearance.Options.UseFont = true;
+ this.txt_workNo.Size = new System.Drawing.Size(150, 28);
+ this.txt_workNo.TabIndex = 387;
+ //
+ // gv_workNo
+ //
+ this.gv_workNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_workNo.AppearanceCell.Options.UseFont = true;
+ this.gv_workNo.Caption = "浠诲姟鍗曞彿";
+ this.gv_workNo.FieldName = "workNo";
+ this.gv_workNo.MinWidth = 100;
+ this.gv_workNo.Name = "gv_workNo";
+ this.gv_workNo.OptionsColumn.AllowEdit = false;
+ this.gv_workNo.Tag = "query_a.work_no";
+ this.gv_workNo.Visible = true;
+ this.gv_workNo.VisibleIndex = 2;
+ this.gv_workNo.Width = 100;
+ //
+ // gv_receiver
+ //
+ this.gv_receiver.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_receiver.AppearanceCell.Options.UseFont = true;
+ this.gv_receiver.Caption = "棰嗘枡浜�";
+ this.gv_receiver.FieldName = "receiver";
+ this.gv_receiver.MinWidth = 50;
+ this.gv_receiver.Name = "gv_receiver";
+ this.gv_receiver.OptionsColumn.AllowEdit = false;
+ this.gv_receiver.Tag = "query_a.receiver";
+ this.gv_receiver.Visible = true;
+ this.gv_receiver.VisibleIndex = 10;
+ this.gv_receiver.Width = 94;
+ //
+ // lb_outPart
+ //
+ this.lb_outPart.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_outPart.Appearance.Options.UseFont = true;
+ this.lb_outPart.Location = new System.Drawing.Point(263, 20);
+ this.lb_outPart.Name = "lb_outPart";
+ this.lb_outPart.Size = new System.Drawing.Size(73, 21);
+ this.lb_outPart.TabIndex = 319;
+ this.lb_outPart.Text = "棰嗘枡閮ㄩ棬 ";
+ //
+ // gv_outPart
+ //
+ this.gv_outPart.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_outPart.AppearanceCell.Options.UseFont = true;
+ this.gv_outPart.Caption = "棰嗘枡閮ㄩ棬 ";
+ this.gv_outPart.FieldName = "outPart";
+ this.gv_outPart.MinWidth = 50;
+ this.gv_outPart.Name = "gv_outPart";
+ this.gv_outPart.OptionsColumn.AllowEdit = false;
+ this.gv_outPart.Tag = "query_a.out_part";
+ this.gv_outPart.Visible = true;
+ this.gv_outPart.VisibleIndex = 11;
+ this.gv_outPart.Width = 94;
+ //
+ // gv_outDate
+ //
+ this.gv_outDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_outDate.AppearanceCell.Options.UseFont = true;
+ this.gv_outDate.Caption = "鍑哄簱鏃ユ湡 ";
+ this.gv_outDate.FieldName = "outDate";
+ this.gv_outDate.MinWidth = 120;
+ this.gv_outDate.Name = "gv_outDate";
+ this.gv_outDate.OptionsColumn.AllowEdit = false;
+ this.gv_outDate.Tag = "query_a.out_date";
+ this.gv_outDate.Visible = true;
+ this.gv_outDate.VisibleIndex = 6;
+ this.gv_outDate.Width = 120;
+ //
+ // lb_checkDate
+ //
+ this.lb_checkDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_checkDate.Appearance.Options.UseFont = true;
+ this.lb_checkDate.Location = new System.Drawing.Point(773, 52);
+ this.lb_checkDate.Name = "lb_checkDate";
+ this.lb_checkDate.Size = new System.Drawing.Size(73, 21);
+ this.lb_checkDate.TabIndex = 262;
+ this.lb_checkDate.Text = "瀹℃牳鏃ユ湡 ";
+ //
+ // txt_checkDate
+ //
+ this.txt_checkDate.Location = new System.Drawing.Point(850, 48);
+ this.txt_checkDate.Name = "txt_checkDate";
+ this.txt_checkDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txt_checkDate.Properties.Appearance.Options.UseFont = true;
+ this.txt_checkDate.Size = new System.Drawing.Size(168, 28);
+ this.txt_checkDate.TabIndex = 262;
+ //
+ // gv_checkDate
+ //
+ this.gv_checkDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_checkDate.AppearanceCell.Options.UseFont = true;
+ this.gv_checkDate.Caption = "瀹℃牳鏃ユ湡 ";
+ this.gv_checkDate.FieldName = "checkDate";
+ this.gv_checkDate.MinWidth = 120;
+ this.gv_checkDate.Name = "gv_checkDate";
+ this.gv_checkDate.OptionsColumn.AllowEdit = false;
+ this.gv_checkDate.Tag = "query_a.check_date";
+ this.gv_checkDate.Visible = true;
+ this.gv_checkDate.VisibleIndex = 9;
+ this.gv_checkDate.Width = 120;
+ //
+ // lb_checkUser
+ //
+ this.lb_checkUser.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_checkUser.Appearance.Options.UseFont = true;
+ this.lb_checkUser.Location = new System.Drawing.Point(790, 20);
+ this.lb_checkUser.Name = "lb_checkUser";
+ this.lb_checkUser.Size = new System.Drawing.Size(56, 21);
+ this.lb_checkUser.TabIndex = 258;
+ this.lb_checkUser.Text = "瀹℃牳浜� ";
+ //
+ // txt_checkUser
+ //
+ this.txt_checkUser.Location = new System.Drawing.Point(850, 16);
+ this.txt_checkUser.Name = "txt_checkUser";
+ this.txt_checkUser.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txt_checkUser.Properties.Appearance.Options.UseFont = true;
+ this.txt_checkUser.Size = new System.Drawing.Size(168, 28);
+ this.txt_checkUser.TabIndex = 258;
+ //
+ // gv_checkUser
+ //
+ this.gv_checkUser.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_checkUser.AppearanceCell.Options.UseFont = true;
+ this.gv_checkUser.Caption = "瀹℃牳浜� ";
+ this.gv_checkUser.FieldName = "checkUser";
+ this.gv_checkUser.MinWidth = 50;
+ this.gv_checkUser.Name = "gv_checkUser";
+ this.gv_checkUser.OptionsColumn.AllowEdit = false;
+ this.gv_checkUser.Tag = "query_a.check_user";
+ this.gv_checkUser.Visible = true;
+ this.gv_checkUser.VisibleIndex = 8;
+ this.gv_checkUser.Width = 94;
+ //
+ // gv_reason
+ //
+ this.gv_reason.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_reason.AppearanceCell.Options.UseFont = true;
+ this.gv_reason.Caption = "鍑哄簱鍘熷洜 ";
+ this.gv_reason.FieldName = "reason";
+ this.gv_reason.MinWidth = 50;
+ this.gv_reason.Name = "gv_reason";
+ this.gv_reason.OptionsColumn.AllowEdit = false;
+ this.gv_reason.Tag = "query_a.reason";
+ this.gv_reason.Visible = true;
+ this.gv_reason.VisibleIndex = 15;
+ this.gv_reason.Width = 94;
+ //
+ // lb_remark
+ //
+ this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_remark.Appearance.Options.UseFont = true;
+ this.lb_remark.Location = new System.Drawing.Point(522, 83);
+ this.lb_remark.Name = "lb_remark";
+ this.lb_remark.Size = new System.Drawing.Size(73, 21);
+ this.lb_remark.TabIndex = 243;
+ this.lb_remark.Text = "澶囨敞淇℃伅 ";
+ //
+ // txt_remark
+ //
+ this.txt_remark.Location = new System.Drawing.Point(599, 79);
+ this.txt_remark.Name = "txt_remark";
+ this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txt_remark.Properties.Appearance.Options.UseFont = true;
+ this.txt_remark.Size = new System.Drawing.Size(171, 28);
+ this.txt_remark.TabIndex = 243;
+ //
+ // gv_remark
+ //
+ this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_remark.AppearanceCell.Options.UseFont = true;
+ this.gv_remark.Caption = "澶囨敞淇℃伅 ";
+ this.gv_remark.FieldName = "remark";
+ this.gv_remark.MinWidth = 50;
+ this.gv_remark.Name = "gv_remark";
+ this.gv_remark.OptionsColumn.AllowEdit = false;
+ this.gv_remark.Tag = "query_a.remark";
+ this.gv_remark.Visible = true;
+ this.gv_remark.VisibleIndex = 14;
+ this.gv_remark.Width = 94;
+ //
+ // lb_createDate
+ //
+ this.lb_createDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_createDate.Appearance.Options.UseFont = true;
+ this.lb_createDate.Location = new System.Drawing.Point(522, 52);
+ this.lb_createDate.Name = "lb_createDate";
+ this.lb_createDate.Size = new System.Drawing.Size(73, 21);
+ this.lb_createDate.TabIndex = 226;
+ this.lb_createDate.Text = "鍒涘缓鏃堕棿 ";
+ //
+ // txt_createDate
+ //
+ this.txt_createDate.Location = new System.Drawing.Point(599, 48);
+ this.txt_createDate.Name = "txt_createDate";
+ this.txt_createDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txt_createDate.Properties.Appearance.Options.UseFont = true;
+ this.txt_createDate.Size = new System.Drawing.Size(171, 28);
+ this.txt_createDate.TabIndex = 226;
+ //
+ // gv_createDate
+ //
+ this.gv_createDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_createDate.AppearanceCell.Options.UseFont = true;
+ this.gv_createDate.Caption = "鍒涘缓鏃堕棿";
+ this.gv_createDate.FieldName = "createDate";
+ this.gv_createDate.MinWidth = 50;
+ this.gv_createDate.Name = "gv_createDate";
+ this.gv_createDate.OptionsColumn.AllowEdit = false;
+ this.gv_createDate.Tag = "query_a.create_date";
+ this.gv_createDate.Visible = true;
+ this.gv_createDate.VisibleIndex = 13;
+ this.gv_createDate.Width = 94;
+ //
+ // lb_createBy
+ //
+ this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_createBy.Appearance.Options.UseFont = true;
+ this.lb_createBy.Location = new System.Drawing.Point(539, 20);
+ this.lb_createBy.Name = "lb_createBy";
+ this.lb_createBy.Size = new System.Drawing.Size(56, 21);
+ this.lb_createBy.TabIndex = 222;
+ this.lb_createBy.Text = "鍒涘缓浜� ";
+ //
+ // txt_createBy
+ //
+ this.txt_createBy.Location = new System.Drawing.Point(599, 16);
+ this.txt_createBy.Name = "txt_createBy";
+ this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txt_createBy.Properties.Appearance.Options.UseFont = true;
+ this.txt_createBy.Size = new System.Drawing.Size(171, 28);
+ this.txt_createBy.TabIndex = 222;
+ //
+ // gv_createBy
+ //
+ this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_createBy.AppearanceCell.Options.UseFont = true;
+ this.gv_createBy.Caption = "鍒涘缓浜�";
+ this.gv_createBy.FieldName = "createBy";
+ this.gv_createBy.MinWidth = 50;
+ this.gv_createBy.Name = "gv_createBy";
+ this.gv_createBy.OptionsColumn.AllowEdit = false;
+ this.gv_createBy.Tag = "query_a.create_by";
+ this.gv_createBy.Visible = true;
+ this.gv_createBy.VisibleIndex = 12;
+ this.gv_createBy.Width = 94;
+ //
+ // lb_status
+ //
+ this.lb_status.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_status.Appearance.Options.UseFont = true;
+ this.lb_status.Location = new System.Drawing.Point(807, 86);
+ this.lb_status.Name = "lb_status";
+ this.lb_status.Size = new System.Drawing.Size(39, 21);
+ this.lb_status.TabIndex = 219;
+ this.lb_status.Text = "瀹℃牳 ";
+ //
+ // gv_status
+ //
+ this.gv_status.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_status.AppearanceCell.Options.UseFont = true;
+ this.gv_status.Caption = "瀹℃牳鏍囪瘑";
+ this.gv_status.FieldName = "status";
+ this.gv_status.MinWidth = 50;
+ this.gv_status.Name = "gv_status";
+ this.gv_status.OptionsColumn.AllowEdit = false;
+ this.gv_status.Tag = "query_a.status";
+ this.gv_status.Visible = true;
+ this.gv_status.VisibleIndex = 0;
+ this.gv_status.Width = 94;
+ //
+ // lb_taskNo
+ //
+ this.lb_taskNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_taskNo.Appearance.Options.UseFont = true;
+ this.lb_taskNo.Location = new System.Drawing.Point(20, 86);
+ this.lb_taskNo.Name = "lb_taskNo";
+ this.lb_taskNo.Size = new System.Drawing.Size(73, 21);
+ this.lb_taskNo.TabIndex = 216;
+ this.lb_taskNo.Text = "鐢熶骇璁㈠崟 ";
+ //
+ // txt_taskNo
+ //
+ this.txt_taskNo.Location = new System.Drawing.Point(98, 82);
+ this.txt_taskNo.Name = "txt_taskNo";
+ this.txt_taskNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txt_taskNo.Properties.Appearance.Options.UseFont = true;
+ this.txt_taskNo.Size = new System.Drawing.Size(150, 28);
+ this.txt_taskNo.TabIndex = 216;
+ //
+ // lb_itemOutNo
+ //
+ this.lb_itemOutNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.lb_itemOutNo.Appearance.Options.UseFont = true;
+ this.lb_itemOutNo.Location = new System.Drawing.Point(20, 20);
+ this.lb_itemOutNo.Name = "lb_itemOutNo";
+ this.lb_itemOutNo.Size = new System.Drawing.Size(73, 21);
+ this.lb_itemOutNo.TabIndex = 213;
+ this.lb_itemOutNo.Text = "鍑哄簱鍗曞彿 ";
+ //
+ // txt_itemOutNo
+ //
+ this.txt_itemOutNo.Location = new System.Drawing.Point(98, 16);
+ this.txt_itemOutNo.Name = "txt_itemOutNo";
+ this.txt_itemOutNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.txt_itemOutNo.Properties.Appearance.Options.UseFont = true;
+ this.txt_itemOutNo.Size = new System.Drawing.Size(150, 28);
+ this.txt_itemOutNo.TabIndex = 213;
+ //
+ // gv_itemOutNo
+ //
+ this.gv_itemOutNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gv_itemOutNo.AppearanceCell.Options.UseFont = true;
+ this.gv_itemOutNo.Caption = "鍑哄簱鍗曞彿";
+ this.gv_itemOutNo.FieldName = "itemOutNo";
+ this.gv_itemOutNo.MinWidth = 100;
+ this.gv_itemOutNo.Name = "gv_itemOutNo";
+ this.gv_itemOutNo.OptionsColumn.AllowEdit = false;
+ this.gv_itemOutNo.Tag = "query_a.item_out_no";
+ this.gv_itemOutNo.Visible = true;
+ this.gv_itemOutNo.VisibleIndex = 1;
+ this.gv_itemOutNo.Width = 150;
+ //
+ // toolBarMenu1
+ //
+ this.toolBarMenu1.chkParameter = null;
+ this.toolBarMenu1.currentAction = null;
+ this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.toolBarMenu1.guidKey = null;
+ this.toolBarMenu1.isSetBtn = false;
+ this.toolBarMenu1.Location = new System.Drawing.Point(0, 0);
+ this.toolBarMenu1.Name = "toolBarMenu1";
+ this.toolBarMenu1.rptParameter = null;
+ this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80);
+ this.toolBarMenu1.TabIndex = 0;
+ this.toolBarMenu1.xlsInService = null;
+ this.toolBarMenu1.xlsOutParameter = null;
+ //
+ // gcMain
+ //
+ this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gcMain.Location = new System.Drawing.Point(0, 0);
+ this.gcMain.MainView = this.gridView1;
+ this.gcMain.Name = "gcMain";
+ this.gcMain.Size = new System.Drawing.Size(1126, 531);
+ this.gcMain.TabIndex = 1;
+ this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.gridView1});
+ //
+ // gridView1
+ //
+ this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.gridView1.Appearance.Row.Options.UseFont = true;
+ this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.gv_status,
+ this.gv_itemOutNo,
+ this.gv_workNo,
+ this.gv_pbillNo,
+ this.gv_boardItem,
+ this.gridColumn1,
+ this.gv_outDate,
+ this.gv_outType,
+ this.gv_checkUser,
+ this.gv_checkDate,
+ this.gv_receiver,
+ this.gv_outPart,
+ this.gv_createBy,
+ this.gv_createDate,
+ this.gv_remark,
+ this.gv_reason});
+ this.gridView1.GridControl = this.gcMain;
+ this.gridView1.IndicatorWidth = 50;
+ this.gridView1.Name = "gridView1";
+ this.gridView1.OptionsFind.ShowSearchNavButtons = false;
+ this.gridView1.OptionsView.ShowAutoFilterRow = true;
+ this.gridView1.OptionsView.ShowGroupPanel = false;
+ //
+ // gridColumn1
+ //
+ this.gridColumn1.Caption = "浜у搧鍚嶇О";
+ this.gridColumn1.MinWidth = 120;
+ this.gridColumn1.Name = "gridColumn1";
+ this.gridColumn1.Visible = true;
+ this.gridColumn1.VisibleIndex = 5;
+ this.gridColumn1.Width = 120;
+ //
+ // xtraTabControl1
+ //
+ this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.xtraTabControl1.Location = new System.Drawing.Point(0, 80);
+ this.xtraTabControl1.Name = "xtraTabControl1";
+ this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
+ this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602);
+ this.xtraTabControl1.TabIndex = 3;
+ this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
+ this.xtraTabPage1,
+ this.xtraTabPage2});
+ //
+ // xtraTabPage1
+ //
+ this.xtraTabPage1.Controls.Add(this.gcMain);
+ this.xtraTabPage1.Controls.Add(this.pageBar1);
+ this.xtraTabPage1.Name = "xtraTabPage1";
+ this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570);
+ this.xtraTabPage1.Text = "鏁版嵁鍒楄〃";
+ //
+ // pageBar1
+ //
+ this.pageBar1.CurrentPage = 1;
+ this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.pageBar1.Location = new System.Drawing.Point(0, 531);
+ this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5);
+ this.pageBar1.Name = "pageBar1";
+ this.pageBar1.RecordCount = 0;
+ this.pageBar1.Size = new System.Drawing.Size(1126, 39);
+ this.pageBar1.TabIndex = 3;
+ this.pageBar1.TotalPages = 0;
+ //
+ // xtraTabPage2
+ //
+ this.xtraTabPage2.Controls.Add(this.tabMx);
+ this.xtraTabPage2.Controls.Add(this.panel1);
+ this.xtraTabPage2.Name = "xtraTabPage2";
+ this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570);
+ this.xtraTabPage2.Text = "鏁版嵁璇︾粏";
+ //
+ // tabMx
+ //
+ this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabMx.Location = new System.Drawing.Point(0, 121);
+ this.tabMx.Name = "tabMx";
+ this.tabMx.SelectedTabPage = this.tabMxPage1;
+ this.tabMx.Size = new System.Drawing.Size(1126, 449);
+ this.tabMx.TabIndex = 2;
+ this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
+ this.tabMxPage1,
+ this.tabMxPage2});
+ //
+ // panel1
+ //
+ this.panel1.BackColor = System.Drawing.Color.White;
+ this.panel1.Controls.Add(this.txt_outPart);
+ this.panel1.Controls.Add(this.depot_id);
+ this.panel1.Controls.Add(this.txt_status);
+ this.panel1.Controls.Add(this.labelControl11);
+ this.panel1.Controls.Add(this.lbGuid);
+ this.panel1.Controls.Add(this.lb_depotId);
+ this.panel1.Controls.Add(this.lb_outType);
+ this.panel1.Controls.Add(this.txt_outType);
+ this.panel1.Controls.Add(this.lb_workNo);
+ this.panel1.Controls.Add(this.txt_workNo);
+ this.panel1.Controls.Add(this.lb_outPart);
+ this.panel1.Controls.Add(this.lb_checkDate);
+ this.panel1.Controls.Add(this.txt_checkDate);
+ this.panel1.Controls.Add(this.lb_checkUser);
+ this.panel1.Controls.Add(this.txt_checkUser);
+ this.panel1.Controls.Add(this.lb_remark);
+ this.panel1.Controls.Add(this.txt_remark);
+ this.panel1.Controls.Add(this.lb_createDate);
+ this.panel1.Controls.Add(this.txt_createDate);
+ this.panel1.Controls.Add(this.lb_createBy);
+ this.panel1.Controls.Add(this.txt_createBy);
+ this.panel1.Controls.Add(this.lb_status);
+ this.panel1.Controls.Add(this.lb_taskNo);
+ this.panel1.Controls.Add(this.txt_taskNo);
+ this.panel1.Controls.Add(this.lb_itemOutNo);
+ this.panel1.Controls.Add(this.txt_itemOutNo);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel1.Font = new System.Drawing.Font("Tahoma", 10F);
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(1126, 121);
+ this.panel1.TabIndex = 1;
+ //
+ // txt_outPart
+ //
+ this.txt_outPart.IsReadly = false;
+ this.txt_outPart.Location = new System.Drawing.Point(342, 19);
+ this.txt_outPart.Name = "txt_outPart";
+ this.txt_outPart.Size = new System.Drawing.Size(174, 28);
+ this.txt_outPart.TabIndex = 574;
+ //
+ // depot_id
+ //
+ this.depot_id.IsReadly = false;
+ this.depot_id.Location = new System.Drawing.Point(342, 51);
+ this.depot_id.Margin = new System.Windows.Forms.Padding(0);
+ this.depot_id.Name = "depot_id";
+ this.depot_id.Size = new System.Drawing.Size(174, 28);
+ this.depot_id.TabIndex = 573;
+ //
+ // txt_status
+ //
+ this.txt_status.Location = new System.Drawing.Point(850, 84);
+ this.txt_status.Name = "txt_status";
+ this.txt_status.Properties.Caption = "";
+ this.txt_status.Size = new System.Drawing.Size(44, 24);
+ this.txt_status.TabIndex = 572;
+ //
+ // labelControl11
+ //
+ this.labelControl11.Location = new System.Drawing.Point(919, 86);
+ this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.labelControl11.Name = "labelControl11";
+ this.labelControl11.Size = new System.Drawing.Size(45, 18);
+ this.labelControl11.TabIndex = 130;
+ this.labelControl11.Text = "涓婚敭锛�";
+ this.labelControl11.Visible = false;
+ //
+ // lbGuid
+ //
+ this.lbGuid.AutoSize = true;
+ this.lbGuid.Location = new System.Drawing.Point(970, 86);
+ this.lbGuid.Name = "lbGuid";
+ this.lbGuid.Size = new System.Drawing.Size(0, 21);
+ this.lbGuid.TabIndex = 1;
+ this.lbGuid.Visible = false;
+ //
+ // Frm_MesInvItemOut_SCLL
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1128, 682);
+ this.Controls.Add(this.xtraTabControl1);
+ this.Controls.Add(this.toolBarMenu1);
+ this.Name = "Frm_MesInvItemOut_SCLL";
+ this.Text = "鐢熶骇棰嗘枡鍗�";
+ this.tabMxPage2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit();
+ this.tabMxPage1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_outType.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_workNo.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_taskNo.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_itemOutNo.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
+ this.xtraTabControl1.ResumeLayout(false);
+ this.xtraTabPage1.ResumeLayout(false);
+ this.xtraTabPage2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit();
+ this.tabMx.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+ #endregion
+ private UserControl.UcToolBarMenu toolBarMenu1;
+ private DevExpress.XtraGrid.GridControl gcMain;
+ private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
+ private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
+ private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
+ private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
+ private UserControls.Data.UcPageBar pageBar1;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Label lbGuid;
+ private DevExpress.XtraEditors.LabelControl labelControl11;
+ private DevExpress.XtraTab.XtraTabControl tabMx;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx2remark;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx2depotSectionCode;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx2depotCode;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx2quantity;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx2lotNo;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx2itemNo;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx2itemBarcode;
+ private DevExpress.XtraTab.XtraTabPage tabMxPage2;
+ private DevExpress.XtraGrid.GridControl gcMx2;
+ private DevExpress.XtraGrid.Views.Grid.GridView gvMx2;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemId;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1tlQty;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1rkQty;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1workNo;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1remark;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1createDate;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1createBy;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1quantity;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemNo;
+ private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid;
+ private DevExpress.XtraTab.XtraTabPage tabMxPage1;
+ private DevExpress.XtraGrid.GridControl gcMx1;
+ private DevExpress.XtraGrid.Views.Grid.GridView gvMx1;
+ private DevExpress.XtraEditors.LabelControl lb_depotId;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_pbillNo;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_boardItem;
+
+ private DevExpress.XtraEditors.LabelControl lb_outType;
+ private DevExpress.XtraEditors.TextEdit txt_outType;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_outType;
+
+ private DevExpress.XtraEditors.LabelControl lb_workNo;
+ private DevExpress.XtraEditors.TextEdit txt_workNo;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_workNo;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_receiver;
+
+ private DevExpress.XtraEditors.LabelControl lb_outPart;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_outPart;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_outDate;
+
+ private DevExpress.XtraEditors.LabelControl lb_checkDate;
+ private DevExpress.XtraEditors.TextEdit txt_checkDate;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_checkDate;
+
+ private DevExpress.XtraEditors.LabelControl lb_checkUser;
+ private DevExpress.XtraEditors.TextEdit txt_checkUser;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_checkUser;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_reason;
+
+ private DevExpress.XtraEditors.LabelControl lb_remark;
+ private DevExpress.XtraEditors.TextEdit txt_remark;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_remark;
+
+ private DevExpress.XtraEditors.LabelControl lb_createDate;
+ private DevExpress.XtraEditors.TextEdit txt_createDate;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_createDate;
+
+ private DevExpress.XtraEditors.LabelControl lb_createBy;
+ private DevExpress.XtraEditors.TextEdit txt_createBy;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_createBy;
+
+ private DevExpress.XtraEditors.LabelControl lb_status;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_status;
+
+ private DevExpress.XtraEditors.LabelControl lb_taskNo;
+ private DevExpress.XtraEditors.TextEdit txt_taskNo;
+
+ private DevExpress.XtraEditors.LabelControl lb_itemOutNo;
+ private DevExpress.XtraEditors.TextEdit txt_itemOutNo;
+ private DevExpress.XtraGrid.Columns.GridColumn gv_itemOutNo;
+ private DevExpress.XtraEditors.CheckEdit txt_status;
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
+ private UserControl.UcLookCk depot_id;
+ private UserControl.UcLookDepartment txt_outPart;
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.cs
new file mode 100644
index 0000000..b7374c8
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.cs
@@ -0,0 +1,337 @@
+using Gs.DevApp.Entity;
+using Gs.DevApp.ToolBox;
+using Gs.DevApp.UserControl;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Gs.DevApp.DevFrm
+{
+ public partial class Frm_MesItemBlDJ : DevExpress.XtraEditors.XtraForm
+ {
+ string _webServiceName = "MesItemBlDJManager/";
+ List<FilterEntity> _filterList = new List<FilterEntity>();
+ public Frm_MesItemBlDJ()
+ {
+ InitializeComponent();
+ this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
+ this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick;
+ this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
+ toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
+ toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
+ Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (value) =>
+ {
+ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
+ });
+ Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) =>
+ {
+ getModel(value);
+ }, (value) =>
+ {
+ getPageList(this.pageBar1.CurrentPage);
+ });
+ getPageList(1);
+ pageBar1.PagerEvent += PageBar1_PagerEvent;
+ depot_id.getSuppler("");
+ }
+
+ private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
+ {
+ _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns);
+ Task.Delay(100);
+ getPageList(1);
+ }
+
+
+ /// <summary>
+ /// 鍒嗛〉浜嬩欢
+ /// </summary>
+ /// <param name="curPage"></param>
+ /// <param name="pageSize"></param>
+ private void PageBar1_PagerEvent(int curPage, int pageSize)
+ {
+ getPageList(curPage);
+ }
+ /// <summary>
+ /// 鏌ヨ浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e)
+ {
+ gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged;
+ gridView1.ActiveFilter.Clear();
+ gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged;
+ var frm = new ShowFilter(gridView1.Columns, _filterList);
+ frm.UpdateParent += Frm_UpdateParent;
+ frm.ShowDialog();
+ }
+ /// <summary>
+ /// 鏌ヨ鍥炶皟
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void Frm_UpdateParent(object sender, UpdateParentEventArgs e)
+ {
+ _filterList = e.FilterList;
+ getPageList(1);
+ }
+ /// <summary>
+ /// 瀹℃牳浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnChkClick(object sender, EventArgs e)
+ {
+ _toolCk(1);
+ }
+
+ /// <summary>
+ /// 鍙嶅鏍�
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ /// <exception cref="NotImplementedException"></exception>
+ private void ToolBarMenu1_btnFChkClick(object sender, EventArgs e)
+ {
+ _toolCk(0);
+ }
+ /// <summary>
+ /// 鍙栨秷浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnEscClick(object sender, EventArgs e)
+ {
+ Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 1);
+ }
+
+
+ /// <summary>
+ /// 鍒锋柊浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e)
+ {
+ if (xtraTabControl1.SelectedTabPageIndex == 1)
+ getModel(lbGuid.Text.Trim());
+ else
+ {
+ _filterList.Clear();
+ if (gridView1.ActiveFilter.Count > 0)
+ {
+ gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged;
+ gridView1.ActiveFilter.Clear();
+ gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged;
+ }
+ getPageList(1);
+ }
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ /// <param name="curPage">绗嚑椤�</param>
+ /// <param name="pageSize">姣忛〉鍑犳潯</param>
+ private void getPageList(int curPage)
+ {
+ var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
+ PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString());
+ string json = JsonConvert.SerializeObject(pgq);
+ try
+ {
+ string strReturn = UtilityHelper.HttpPost("", _webServiceName + "GetListPage", json);
+ ReturnModel<PageListModel> dd = UtilityHelper.ReturnToTablePage(strReturn);
+ if (dd.rtnCode > 0)
+ {
+ DataTable dt = dd.rtnData.list;
+ gcMain.BindingContext = new BindingContext();
+ gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged;
+ if (dt.Rows.Count > 0)
+ {
+ gcMain.DataSource = dt;
+ gcMain.ForceInitialize();
+ }
+ else
+ UtilityHelper.SetDefaultTable(gcMain, gridView1);
+ gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged;
+ pageBar1.TotalPages = dd.rtnData.pages;//鎬婚〉
+ pageBar1.CurrentPage = curPage;//褰撳墠椤�
+ pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟
+ }
+ else
+ {
+ ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg);
+ }
+ }
+ catch (Exception ex)
+ {
+ ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ }
+ private void getModel(string strGuid)
+ {
+ bool isEdit = false;
+ if (toolBarMenu1.currentAction == "add") return;
+ if (toolBarMenu1.currentAction == "edit") isEdit = true;
+ if (string.IsNullOrEmpty(strGuid))
+ {
+ ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ return;
+ }
+ var _obj = new
+ {
+ guid = strGuid,//涓诲缓
+ };
+ try
+ {
+ string strJson = UtilityHelper.HttpPost("", _webServiceName + "GetModel", JsonConvert.SerializeObject(_obj));
+ ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson);
+ if (_rtn.rtnCode > 0)
+ {
+ dynamic dy = _rtn.rtnData;
+ lbGuid.Text = strGuid;
+ List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
+ gvList.Add(gvMx1);
+ gvList.Add(gvMx2);
+ UtilityHelper.SetValueByObj(this.panel1.Controls, dy, isEdit, gvList);
+ JObject _job = JObject.Parse(strJson);
+ JArray array = new JArray();
+ foreach (var a in _job["rtnData"]["list"])
+ {
+ array.Add(a);
+ }
+ DataTable dt = JsonConvert.DeserializeObject<DataTable>(array.ToString());
+ if (dt.Rows.Count > 0)
+ {
+ gcMx1.BindingContext = new BindingContext();
+ gcMx1.DataSource = dt;
+ gcMx1.ForceInitialize();
+ }
+ else
+ {
+ Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
+ }
+ JArray array1 = new JArray();
+ foreach (var a in _job["rtnData"]["list2"])
+ {
+ array1.Add(a);
+ }
+ DataTable dt1 = JsonConvert.DeserializeObject<DataTable>(array1.ToString());
+ if (dt1.Rows.Count > 0)
+ {
+ gcMx2.BindingContext = new BindingContext();
+ gcMx2.DataSource = dt1;
+ gcMx2.ForceInitialize();
+ }
+ else
+ {
+ Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx2, gvMx2);
+ }
+ }
+ else
+ ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
+ }
+ catch (Exception ex)
+ {
+ ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ }
+
+ private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
+ {
+ gvMx2.CloseEditor();
+ gvMx2.UpdateCurrentRow();
+ var rowhandle = gvMx2.FocusedRowHandle;
+ if (rowhandle < 0)
+ return;
+ if (e.Button.Index == 0)
+ {
+ var dr = gvMx2.GetDataRow(rowhandle);
+ var mxGuid = dr["guid"].ToString();
+ if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾鍒犻櫎鍚楋紵"))
+ return;
+ if (string.IsNullOrEmpty(mxGuid))
+ {
+ gvMx2.DeleteRow(rowhandle);
+ return;
+ }
+ var strJson = "";
+ var lst = new List<string>();
+ lst.Add(mxGuid);
+ try
+ {
+ strJson = UtilityHelper.HttpPost("",
+ _webServiceName + "DeleteModelMx2",
+ JsonConvert.SerializeObject(lst));
+ var _rtn = UtilityHelper.ReturnToDynamic(strJson);
+ if (_rtn.rtnCode > 0) getModel(lbGuid.Text);
+ MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ }
+ }
+
+ /// <summary>
+ /// 宸ュ叿鏉′簨浠�
+ /// </summary>
+ /// <param name="inFieldValue"></param>
+ private void _toolCk(int _inFieldValue)
+ {
+ string strMsg = "";
+ switch (_inFieldValue)
+ {
+ case 1:
+ strMsg = "瀹℃牳";
+ break;
+ case 0:
+ strMsg = "鍙嶅鏍�";
+ break;
+ };
+ toolBarMenu1.guidKey = "";
+ string rowGuid, rowName;
+ (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_itemOutNo, gridView1, "billNo");
+ if (string.IsNullOrEmpty(rowGuid))
+ {
+ MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ return;
+ }
+ if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵"))
+ return;
+
+ var _obj = new
+ {
+ guid = rowGuid,
+ inFieldValue = _inFieldValue,
+ };
+ try
+ {
+ var strJson = UtilityHelper.HttpPost("",
+ _webServiceName + "EditModelSubmit",
+ JsonConvert.SerializeObject(_obj));
+ var _rtn = UtilityHelper.ReturnToDynamic(strJson);
+ MsgHelper.Warning(_rtn.rtnData.outMsg.ToString());
+ if (_rtn.rtnCode > 0)
+ {
+ if (xtraTabControl1.SelectedTabPageIndex == 1)
+ getModel(lbGuid.Text.Trim());
+ else
+ getPageList(this.pageBar1.CurrentPage);
+ }
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.resx b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.resx
new file mode 100644
index 0000000..d58980a
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBlDJ.resx
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj
index 6174c3b..0424053 100644
--- a/DevApp/Gs.DevApp/Gs.DevApp.csproj
+++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -248,6 +248,18 @@
<Compile Include="DevFrm\Ck\Frm_MesInvItemOuts.Designer.cs">
<DependentUpon>Frm_MesInvItemOuts.cs</DependentUpon>
</Compile>
+ <Compile Include="DevFrm\Ck\Frm_MesInvItemOut_SCLL.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="DevFrm\Ck\Frm_MesInvItemOut_SCLL.Designer.cs">
+ <DependentUpon>Frm_MesInvItemOut_SCLL.cs</DependentUpon>
+ </Compile>
+ <Compile Include="DevFrm\Ck\Frm_MesItemBlDJ.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="DevFrm\Ck\Frm_MesItemBlDJ.Designer.cs">
+ <DependentUpon>Frm_MesItemBlDJ.cs</DependentUpon>
+ </Compile>
<Compile Include="DevFrm\Ck\Frm_MesItemBl.cs">
<SubType>Form</SubType>
</Compile>
@@ -509,12 +521,6 @@
</Compile>
<Compile Include="DevFrm\Ck\Frm_MesInvItemOuts_SQ.Designer.cs">
<DependentUpon>Frm_MesInvItemOuts_SQ.cs</DependentUpon>
- </Compile>
- <Compile Include="DevFrm\Ck\Frm_MesInvItemOut_SCLL.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="DevFrm\Ck\Frm_MesInvItemOut_SCLL.Designer.cs">
- <DependentUpon>Frm_MesInvItemOut_SCLL.cs</DependentUpon>
</Compile>
<Compile Include="DevFrm\Warehouse\Frm_MesRohIn.cs">
<SubType>Form</SubType>
@@ -800,6 +806,12 @@
<EmbeddedResource Include="DevFrm\BasicData\Frm_MesUnit.resx">
<DependentUpon>Frm_MesUnit.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="DevFrm\Ck\Frm_MesInvItemOut_SCLL.resx">
+ <DependentUpon>Frm_MesInvItemOut_SCLL.cs</DependentUpon>
+ </EmbeddedResource>
+ <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemBlDJ.resx">
+ <DependentUpon>Frm_MesItemBlDJ.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="DevFrm\Ck\Frm_MesItemBl.resx">
<DependentUpon>Frm_MesItemBl.cs</DependentUpon>
</EmbeddedResource>
@@ -923,9 +935,6 @@
</EmbeddedResource>
<EmbeddedResource Include="DevFrm\Ck\Frm_MesInvItemOuts_SQ.resx">
<DependentUpon>Frm_MesInvItemOuts_SQ.cs</DependentUpon>
- </EmbeddedResource>
- <EmbeddedResource Include="DevFrm\Ck\Frm_MesInvItemOut_SCLL.resx">
- <DependentUpon>Frm_MesInvItemOut_SCLL.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DevFrm\Warehouse\Frm_MesRohIn.resx">
<DependentUpon>Frm_MesRohIn.cs</DependentUpon>
--
Gitblit v1.9.3