|
@@ -34947,6 +34947,11 @@ ORDER BY
|
|
|
data.Coefficient = 1;
|
|
data.Coefficient = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if (data.Count == 0)
|
|
|
|
|
+ {
|
|
|
|
|
+ data.Count = 1;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
var id = await _sqlSugar.Insertable(data).ExecuteReturnIdentityAsync();
|
|
var id = await _sqlSugar.Insertable(data).ExecuteReturnIdentityAsync();
|
|
|
return Ok(JsonView(true, "SUCCESS", new { id }));
|
|
return Ok(JsonView(true, "SUCCESS", new { id }));
|
|
|
}
|
|
}
|
|
@@ -34987,7 +34992,7 @@ ORDER BY
|
|
|
child.CostPrice = 0;
|
|
child.CostPrice = 0;
|
|
|
child.Currency = 836;
|
|
child.Currency = 836;
|
|
|
child.Rate = 1;
|
|
child.Rate = 1;
|
|
|
- child.Count = 0;
|
|
|
|
|
|
|
+ child.Count = 1;
|
|
|
child.Unit = 0;
|
|
child.Unit = 0;
|
|
|
child.Coefficient = 1;
|
|
child.Coefficient = 1;
|
|
|
child.BaoJiaPrice = 0;
|
|
child.BaoJiaPrice = 0;
|
|
@@ -35005,9 +35010,9 @@ ORDER BY
|
|
|
costPrice = 0m,
|
|
costPrice = 0m,
|
|
|
currency = 836,
|
|
currency = 836,
|
|
|
rate = 1m,
|
|
rate = 1m,
|
|
|
- count = 0,
|
|
|
|
|
|
|
+ count = 1,
|
|
|
unit = "",
|
|
unit = "",
|
|
|
- coefficient = 0m,
|
|
|
|
|
|
|
+ coefficient = 1m,
|
|
|
baoJiaPrice = 0m,
|
|
baoJiaPrice = 0m,
|
|
|
addedValue = 0m,
|
|
addedValue = 0m,
|
|
|
details = "",
|
|
details = "",
|