lu
2024-11-28 122819b5dd643d82a730e549f99bd56fe90eed21
DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
@@ -51,7 +51,7 @@
            {
                if (string.IsNullOrEmpty(this.txt_pba013.Text))
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowError("请先选择供应商,才能选择来料明细!");
                    Gs.DevApp.ToolBox.MsgHelper.ShowError("请先选择车间,才能选择任务单!");
                    return;
                }
                var frm = new SelectWompba(this.txt_pba013.Text);
@@ -138,14 +138,15 @@
            toolBarMenu1.guidKey = "";
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_hNo, gridView1);
                lbGuid, txt_hNo, gridView1, "hNo");
            //toolBarMenu1.guidKey = rowGuid;
            if (string.IsNullOrEmpty(rowGuid))
            {
                MsgHelper.Warning("请先选择你要操作的行!");
                return;
            }
            //MsgHelper.Warning(rowGuid);
            if (!MsgHelper.AskQuestion("你选择了【" + rowName + "】,确定审核吗?"))
                return;
            UcLoading _loading = new UcLoading();
            var _obj = new
            {
@@ -157,16 +158,13 @@
                    _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(), false, 999);
                    else
                        getPageList(1, UtilityHelper.GetPageSize());
                }
                else
                {
                    MsgHelper.Warning(_rtn.rtnMsg);
                }
            }
            catch (Exception ex)
@@ -365,12 +363,12 @@
                    _obj.list.Add(new
                    {
                        Guid = _guid,
                        AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["aboutGuid"].ToString()),
                        AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["caaGuid"].ToString()),
                        LineId = int.Parse(row["daa015"].ToString()),//产线id
                        Yjkgsj = (row["mesStartProd"].ToString()),//预计开工时间
                        Jhrs = row["daa015"].ToString(),//计划人数
                        Jhrs = row["planPersonnel"].ToString(),//计划人数
                        Hxsj = row["changeLinetime"].ToString(),//换线时间
                        Bz = row["daa009"].ToString(),//换线时间
                        Bz = row["daa009"].ToString(),//备注
                        Blsj = row["prepareTime"].ToString(),//预计备料时间
                        Pcsl = row["daa008"].ToString()//排产数量
                    });