|
|
@ -596,7 +596,6 @@ namespace ButcherWeight |
|
|
throw new Exception("养殖户电话不能为空"); |
|
|
throw new Exception("养殖户电话不能为空"); |
|
|
if (string.IsNullOrEmpty(Dmo.Farmer_Address)) |
|
|
if (string.IsNullOrEmpty(Dmo.Farmer_Address)) |
|
|
throw new Exception("养殖户地址不能为空"); |
|
|
throw new Exception("养殖户地址不能为空"); |
|
|
return; |
|
|
|
|
|
var entity = WeightBillRpc.GetPrintWeightBill(Dmo.ID); |
|
|
var entity = WeightBillRpc.GetPrintWeightBill(Dmo.ID); |
|
|
if (string.IsNullOrEmpty(entity.Supplier_Name)) |
|
|
if (string.IsNullOrEmpty(entity.Supplier_Name)) |
|
|
throw new Exception("缺少供应商信息,打印失败"); |
|
|
throw new Exception("缺少供应商信息,打印失败"); |
|
|
|