Browse Source

修改。

master
yibo 8 years ago
parent
commit
e53c414fc1
2 changed files with 3 additions and 4 deletions
  1. +2
    -2
      BO/Utils/BillRpc/WeightBillRpc.cs
  2. +1
    -2
      ButcherWeight/WeightForm.cs

+ 2
- 2
BO/Utils/BillRpc/WeightBillRpc.cs View File

@ -107,10 +107,10 @@ namespace BO.Utils.BillRpc
return serializer.Deserialize<PrintWeightBill>(obj);
}
public static void DoCheck(long b3ID)
public static void DoCheck(long id)
{
const string method = "/MainSystem/B3ClientService/Rpcs/BillRpc/WeightBillRpc/DoCheck";
RpcFacade.Call<int>(method, b3ID,ButcherAppContext.Context.UserConfig.UserName);
RpcFacade.Call<int>(method, id, ButcherAppContext.Context.UserConfig.UserName);
}
}
}

+ 1
- 2
ButcherWeight/WeightForm.cs View File

@ -529,8 +529,7 @@ namespace ButcherWeight
var entity = WeightBillRpc.GetPrintWeightBill(Dmo.ID);
ClientPrint.BwpClientPrint print = new ClientPrint.BwpClientPrint("WeightBillPrint.xaml", entity, new DocumentRenderer());
print.PrintDirect();
if (Dmo.B3ID.HasValue)
WeightBillRpc.DoCheck(Dmo.B3ID.Value);
WeightBillRpc.DoCheck(Dmo.ID);
}
}
}

Loading…
Cancel
Save