|
@@ -248,8 +248,8 @@
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
- <!--容重(克/升)>=-->
|
|
|
|
- <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
|
|
|
|
|
|
+ <!--容重(克/升)>=-->
|
|
|
|
+ <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
|
|
<ws-input
|
|
<ws-input
|
|
v-model="deptBudgetList.warehouseInOutDetail.bulkDensity"
|
|
v-model="deptBudgetList.warehouseInOutDetail.bulkDensity"
|
|
placeholder="请输入容重"
|
|
placeholder="请输入容重"
|
|
@@ -275,11 +275,11 @@
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
- <!--不完整粒(%)<=-->
|
|
|
|
- <ws-form-item label="不完整粒(%)<=" span="1" prop="imperfectGrain">
|
|
|
|
|
|
+ <!--不完善粒(%)<=-->
|
|
|
|
+ <ws-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain">
|
|
<ws-input
|
|
<ws-input
|
|
v-model="deptBudgetList.warehouseInOutDetail.imperfectGrain"
|
|
v-model="deptBudgetList.warehouseInOutDetail.imperfectGrain"
|
|
- placeholder="请输入不完整粒占比"
|
|
|
|
|
|
+ placeholder="请输入不完善粒占比"
|
|
maxlength="40"
|
|
maxlength="40"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
@@ -693,11 +693,11 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- //不完整粒(%)
|
|
|
|
|
|
+ //不完善粒(%)
|
|
if (this.deptBudgetList.warehouseInOutDetail.imperfectGrain) {
|
|
if (this.deptBudgetList.warehouseInOutDetail.imperfectGrain) {
|
|
if (isNaN(this.deptBudgetList.warehouseInOutDetail.imperfectGrain)) {
|
|
if (isNaN(this.deptBudgetList.warehouseInOutDetail.imperfectGrain)) {
|
|
this.$message({
|
|
this.$message({
|
|
- message: '不完整粒(%)非数字!',
|
|
|
|
|
|
+ message: '不完善粒(%)非数字!',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
return
|
|
return
|
|
@@ -717,7 +717,7 @@ export default {
|
|
2)
|
|
2)
|
|
) {
|
|
) {
|
|
this.$message({
|
|
this.$message({
|
|
- message: '不完整粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
|
|
|
|
|
|
+ message: '不完善粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
return
|
|
return
|
|
@@ -727,7 +727,7 @@ export default {
|
|
if (this.deptBudgetList.warehouseInOutDetail.bulkDensity) {
|
|
if (this.deptBudgetList.warehouseInOutDetail.bulkDensity) {
|
|
if (isNaN(this.deptBudgetList.warehouseInOutDetail.bulkDensity)) {
|
|
if (isNaN(this.deptBudgetList.warehouseInOutDetail.bulkDensity)) {
|
|
this.$message({
|
|
this.$message({
|
|
- message: '容重(克/升)非数字!',
|
|
|
|
|
|
+ message: '容重(克/升)非数字!',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
return
|
|
return
|
|
@@ -747,7 +747,7 @@ export default {
|
|
0)
|
|
0)
|
|
) {
|
|
) {
|
|
this.$message({
|
|
this.$message({
|
|
- message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
|
|
|
|
|
|
+ message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
return
|
|
return
|
|
@@ -1022,11 +1022,11 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- //不完整粒(%)
|
|
|
|
|
|
+ //不完善粒(%)
|
|
if (this.deptBudgetList.warehouseInOutDetail.imperfectGrain) {
|
|
if (this.deptBudgetList.warehouseInOutDetail.imperfectGrain) {
|
|
if (isNaN(this.deptBudgetList.warehouseInOutDetail.imperfectGrain)) {
|
|
if (isNaN(this.deptBudgetList.warehouseInOutDetail.imperfectGrain)) {
|
|
this.$message({
|
|
this.$message({
|
|
- message: '不完整粒(%)非数字!',
|
|
|
|
|
|
+ message: '不完善粒(%)非数字!',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
return
|
|
return
|
|
@@ -1046,7 +1046,7 @@ export default {
|
|
2)
|
|
2)
|
|
) {
|
|
) {
|
|
this.$message({
|
|
this.$message({
|
|
- message: '不完整粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
|
|
|
|
|
|
+ message: '不完善粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
return
|
|
return
|
|
@@ -1056,7 +1056,7 @@ export default {
|
|
if (this.deptBudgetList.warehouseInOutDetail.bulkDensity) {
|
|
if (this.deptBudgetList.warehouseInOutDetail.bulkDensity) {
|
|
if (isNaN(this.deptBudgetList.warehouseInOutDetail.bulkDensity)) {
|
|
if (isNaN(this.deptBudgetList.warehouseInOutDetail.bulkDensity)) {
|
|
this.$message({
|
|
this.$message({
|
|
- message: '容重(克/升)非数字!',
|
|
|
|
|
|
+ message: '容重(克/升)非数字!',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
return
|
|
return
|
|
@@ -1076,7 +1076,7 @@ export default {
|
|
0)
|
|
0)
|
|
) {
|
|
) {
|
|
this.$message({
|
|
this.$message({
|
|
- message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
|
|
|
|
|
|
+ message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
return
|
|
return
|