|
@ -24,7 +24,7 @@ namespace Stone.DataService.Biz.Bill |
|
|
Entity_t_JIS_VDA t_JIS_VDA = new Entity_t_JIS_VDA(); |
|
|
Entity_t_JIS_VDA t_JIS_VDA = new Entity_t_JIS_VDA(); |
|
|
|
|
|
|
|
|
DataSet dsData = t_JIS_VDA.GetData( |
|
|
DataSet dsData = t_JIS_VDA.GetData( |
|
|
$"PackageNo, 0 as IsCheck, AsnNumber, IsShipingVerification", |
|
|
$"PackageNo, 0 as IsCheck, AsnNumber, IsShipingVerification,IsPrintASN", |
|
|
$"[AsnNumber]='{AsnNumber}'", |
|
|
$"[AsnNumber]='{AsnNumber}'", |
|
|
$"[PackageNo] desc"); |
|
|
$"[PackageNo] desc"); |
|
|
|
|
|
|
|
@ -33,6 +33,8 @@ namespace Stone.DataService.Biz.Bill |
|
|
throw new Exception($"ASN编号{AsnNumber}不存在"); |
|
|
throw new Exception($"ASN编号{AsnNumber}不存在"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (dsData.Tables[0].Select("[IsPrintASN]=True").Length == 0) |
|
|
|
|
|
throw new Exception($"{AsnNumber} 未打印"); |
|
|
|
|
|
|
|
|
if (dsData.Tables[0].Select("[IsShipingVerification]=False").Length == 0) |
|
|
if (dsData.Tables[0].Select("[IsShipingVerification]=False").Length == 0) |
|
|
throw new Exception($"{AsnNumber} 已经完成发货校验"); |
|
|
throw new Exception($"{AsnNumber} 已经完成发货校验"); |
|
|