cnf
2025-07-26 1c400eb5a73bcb138f5b9cc210f040d7f442af73
WebApi/Gs.Warehouse/Services/MesInvItemArnManager.cs
@@ -213,10 +213,14 @@
    public ReturnDto<ExpandoObject> EditModel([FromBody] dynamic model)
    {
        Guid? guid = model.Guid; //到货单主键
        string shDh = model.PaperBillNo; //送货单号
        //string shDh = model.PaperBillNo; //送货单号
        string shDh = model.bcsl;
        string bz = model.Remark; //备注
        string gysId = model.SuppId; //供应商
        string orgId = model.OrgId; //收料组织
       // string depot = model.Depot;//仓库
        var _sb = new StringBuilder();
        var _split = "|";
        foreach (var m in model.list)
@@ -252,14 +256,12 @@
                        new("@outSum", SqlDbType.Int),
                        new("@outGuid", SqlDbType.UniqueIdentifier),
                        new("@outNo", SqlDbType.NVarChar, 300),
                        new("@inOrderGuid",
                            UtilityHelper.CheckGuid(guid)
                                ? guid
                                : DBNull.Value),
                        new("@inOrderGuid",  UtilityHelper.CheckGuid(guid)  ? guid  : DBNull.Value),
                        new("@inShdh", shDh),
                        new("@inBz", bz),
                        new("@inGysId", gysId),
                        new("@OrgId", orgId),
                      // new("@inDepot",depot),
                        new("@inEdtUserGuid", _userGuid),
                        new("@inLineList", _sb.ToString())
                    };