|
|
@@ -428,10 +428,10 @@ define(['app/app'], function(app) {
|
|
|
}, 3000);
|
|
|
}else{
|
|
|
detail.inputError = 1;
|
|
|
- detail.number = Number(NumberService.sub(detail.goodsHistory.minBuyQty, detail.goodsHistory.minBuyQty %detail.goodsHistory.minPackQty));
|
|
|
+ detail.number = Number(NumberService.sub(detail.goodsHistory.minBuyQty, detail.goodsHistory.minBuyQty % detail.goodsHistory.minPackQty));
|
|
|
$timeout(function () {
|
|
|
detail.inputError = 0;
|
|
|
- },2000);
|
|
|
+ },3000);
|
|
|
}
|
|
|
}else if(detail.number > detail.goodsHistory.reserve){
|
|
|
if(detail.goodsHistory.breakUp) {
|
|
|
@@ -445,7 +445,7 @@ define(['app/app'], function(app) {
|
|
|
detail.number = Number(NumberService.sub(detail.goodsHistory.reserve, detail.goodsHistory.reserve %detail.goodsHistory.minPackQty));
|
|
|
$timeout(function () {
|
|
|
detail.inputError = 0;
|
|
|
- },2000);
|
|
|
+ },3000);
|
|
|
}
|
|
|
// toaster.pop('info', '提示','库存不足');
|
|
|
}else {
|
|
|
@@ -459,7 +459,7 @@ define(['app/app'], function(app) {
|
|
|
}
|
|
|
$timeout(function () {
|
|
|
detail.inputError = 0;
|
|
|
- },2000);
|
|
|
+ },3000);
|
|
|
}
|
|
|
}
|
|
|
}
|