修改数量
This commit is contained in:
@@ -138,6 +138,10 @@ namespace BarCode.Web.Domain.Services
|
|||||||
{
|
{
|
||||||
d.Number = 1000;
|
d.Number = 1000;
|
||||||
}
|
}
|
||||||
|
else if(d.Number==0)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (d.isTwo == 0)//如果套装数为0,那么自动变成1
|
if (d.isTwo == 0)//如果套装数为0,那么自动变成1
|
||||||
{
|
{
|
||||||
d.isTwo = 1;
|
d.isTwo = 1;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ namespace BarCode.Web.Domain.Values
|
|||||||
public static ValueTuple<int, string> NoDateError = (40005, "数据不存在");
|
public static ValueTuple<int, string> NoDateError = (40005, "数据不存在");
|
||||||
public static ValueTuple<int, string> NoOrgError = (40006, "组织信息不存在");
|
public static ValueTuple<int, string> NoOrgError = (40006, "组织信息不存在");
|
||||||
public static ValueTuple<int, string> IsTwoError = (70001, "两件装产品,数量需填双数");
|
public static ValueTuple<int, string> IsTwoError = (70001, "两件装产品,数量需填双数");
|
||||||
|
public static ValueTuple<int, string> IsZeroError = (70002, "数量不能为0");
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 没有菜单权限,无法登录
|
/// 没有菜单权限,无法登录
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user