|
@@ -671,6 +671,7 @@
|
|
|
for (let i = 0; i < this.tranCarInfoList.length; i++) {
|
|
|
if (this.tranCarInfoList[i].carNo == this.deptBudgetList.carNo) {
|
|
|
this.deptBudgetList.tranCarNo = this.tranCarInfoList[i].tranCarNo
|
|
|
+ this.deptBudgetList.carId = this.tranCarInfoList[i].id
|
|
|
this.deptBudgetList.freight = Math.round(
|
|
|
this.tranCarInfoList[i].tranPrice
|
|
|
)
|
|
@@ -1628,7 +1629,7 @@
|
|
|
return
|
|
|
}
|
|
|
if (
|
|
|
- this.deptBudgetList.warehouseInOutDetail.waterContent < 1 ||
|
|
|
+ this.deptBudgetList.warehouseInOutDetail.waterContent < 0 ||
|
|
|
this.deptBudgetList.warehouseInOutDetail.waterContent > 40 ||
|
|
|
(String(
|
|
|
this.deptBudgetList.warehouseInOutDetail.waterContent
|
|
@@ -1642,7 +1643,7 @@
|
|
|
2)
|
|
|
) {
|
|
|
this.$message({
|
|
|
- message: '水分(%)输入错误! 取值范围1-40之间且可以保留2小数',
|
|
|
+ message: '水分(%)输入错误! 取值范围0-40之间且可以保留2小数',
|
|
|
type: 'warning',
|
|
|
})
|
|
|
return
|
|
@@ -1659,7 +1660,7 @@
|
|
|
return
|
|
|
}
|
|
|
if (
|
|
|
- this.deptBudgetList.warehouseInOutDetail.impurity < 1 ||
|
|
|
+ this.deptBudgetList.warehouseInOutDetail.impurity < 0 ||
|
|
|
this.deptBudgetList.warehouseInOutDetail.impurity > 40 ||
|
|
|
(String(this.deptBudgetList.warehouseInOutDetail.impurity).indexOf(
|
|
|
'.'
|
|
@@ -1672,7 +1673,7 @@
|
|
|
2)
|
|
|
) {
|
|
|
this.$message({
|
|
|
- message: '杂质(%)输入错误! 取值范围1-40之间且可以保留2小数',
|
|
|
+ message: '杂质(%)输入错误! 取值范围0-40之间且可以保留2小数',
|
|
|
type: 'warning',
|
|
|
})
|
|
|
return
|
|
@@ -1688,7 +1689,7 @@
|
|
|
return
|
|
|
}
|
|
|
if (
|
|
|
- this.deptBudgetList.warehouseInOutDetail.mildewGrain < 1 ||
|
|
|
+ this.deptBudgetList.warehouseInOutDetail.mildewGrain < 0 ||
|
|
|
this.deptBudgetList.warehouseInOutDetail.mildewGrain > 40 ||
|
|
|
(String(this.deptBudgetList.warehouseInOutDetail.mildewGrain).indexOf(
|
|
|
'.'
|
|
@@ -1702,7 +1703,7 @@
|
|
|
2)
|
|
|
) {
|
|
|
this.$message({
|
|
|
- message: '霉变粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
|
|
|
+ message: '霉变粒(%)输入错误! 取值范围0-40之间且可以保留2小数',
|
|
|
type: 'warning',
|
|
|
})
|
|
|
return
|
|
@@ -1719,7 +1720,7 @@
|
|
|
return
|
|
|
}
|
|
|
if (
|
|
|
- this.deptBudgetList.warehouseInOutDetail.jiaorenli < 1 ||
|
|
|
+ this.deptBudgetList.warehouseInOutDetail.jiaorenli < 0 ||
|
|
|
this.deptBudgetList.warehouseInOutDetail.jiaorenli > 40 ||
|
|
|
(String(this.deptBudgetList.warehouseInOutDetail.jiaorenli).indexOf(
|
|
|
'.'
|
|
@@ -1732,7 +1733,7 @@
|
|
|
2)
|
|
|
) {
|
|
|
this.$message({
|
|
|
- message: '热损伤(%)输入错误! 取值范围1-40之间且可以保留2小数',
|
|
|
+ message: '热损伤(%)输入错误! 取值范围0-40之间且可以保留2小数',
|
|
|
type: 'warning',
|
|
|
})
|
|
|
return
|
|
@@ -1749,7 +1750,7 @@
|
|
|
return
|
|
|
}
|
|
|
if (
|
|
|
- this.deptBudgetList.warehouseInOutDetail.imperfectGrain < 1 ||
|
|
|
+ this.deptBudgetList.warehouseInOutDetail.imperfectGrain < 0 ||
|
|
|
this.deptBudgetList.warehouseInOutDetail.imperfectGrain > 40 ||
|
|
|
(String(
|
|
|
this.deptBudgetList.warehouseInOutDetail.imperfectGrain
|
|
@@ -1763,7 +1764,7 @@
|
|
|
2)
|
|
|
) {
|
|
|
this.$message({
|
|
|
- message: '不完善粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
|
|
|
+ message: '不完善粒(%)输入错误! 取值范围0-40之间且可以保留2小数',
|
|
|
type: 'warning',
|
|
|
})
|
|
|
return
|