|
|
|
@ -246,6 +246,10 @@ |
|
|
|
<el-form-item label="卷标签"> |
|
|
|
<el-input ref="rollNoInput" v-model="caseForm.rollNo" @keyup.enter.native="scanCaseRoll" placeholder="请扫描卷标签" style="width: 200px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<span style="margin-left: 20px; font-size: 14px; display: inline-block; margin-top: 20px;"> |
|
|
|
<span style="color: #606266;">需求数量:</span> |
|
|
|
<span style="color: rgb(38, 92, 147); font-weight: bold;">{{currentRow.requiredQty || 0}}</span> |
|
|
|
</span> |
|
|
|
<span style="margin-left: 20px; font-size: 14px; display: inline-block; margin-top: 20px;"> |
|
|
|
<span style="color: #606266;">盒数量:</span> |
|
|
|
<span style="color: rgb(38, 92, 147); font-weight: bold;">{{caseStatistics.casesCount}}</span> |
|
|
|
@ -1065,7 +1069,7 @@ export default { |
|
|
|
const totalQty = existingQty + newScanQty |
|
|
|
|
|
|
|
if(totalQty > requiredQty){ |
|
|
|
this.$message.error(`装箱数量超出限制!要求发货数量:${requiredQty},已装箱:${existingQty},本次扫描:${newScanQty},总计:${totalQty}`) |
|
|
|
this.$message.error(`装箱数量超出限制!要求发货数量:${requiredQty},本次扫描:${newScanQty},总计:${totalQty}`) |
|
|
|
return false |
|
|
|
} |
|
|
|
|
|
|
|
|