Browse Source

2025-11-04

销售发货装箱优化
master
fengyuan_yang 2 months ago
parent
commit
1a498b49e7
  1. 20
      src/views/modules/boxManage/com_saleBoxManage_boxing.vue
  2. 22
      src/views/modules/boxManage/com_saleBoxManage_pallet.vue
  3. 6
      src/views/modules/boxManage/saleBoxManage.vue

20
src/views/modules/boxManage/com_saleBoxManage_boxing.vue

@ -213,7 +213,25 @@ export default {
columnProp: "rollsQty",
headerAlign: "center",
align: "right",
columnLabel: "卷数",
columnLabel: "装箱张数",
columnWidth: '80',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: false
},
{
userId: this.$store.state.user.name,
functionId: this.functionId,
serialNumber: '750001Table2RollsQty',
tableId: "750001Table2",
tableName: "装箱清单",
columnProp: "xxx",
headerAlign: "center",
align: "right",
columnLabel: "装箱总数",
columnWidth: '80',
columnHidden: false,
columnImage: false,

22
src/views/modules/boxManage/com_saleBoxManage_pallet.vue

@ -45,7 +45,7 @@
</el-table-column>
</el-table>
<el-dialog title="箱清单" :visible.sync="palletModelFlag" width="700px" @close="searchTable" style="margin-top: 7px" v-drag :close-on-click-modal="false">
<el-dialog title="托清单" :visible.sync="palletModelFlag" width="700px" @close="searchTable" style="margin-top: 7px" v-drag :close-on-click-modal="false">
<el-form class="sl" inline="inline" label-position="top" style="margin-left: 7px;margin-top: -5px;">
<el-row>
<el-form-item label="销售发货单号">
@ -196,7 +196,25 @@ export default {
columnProp: "boxesQty",
headerAlign: "center",
align: "right",
columnLabel: "箱数",
columnLabel: "装托张数",
columnWidth: '80',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: false
},
{
userId: this.$store.state.user.name,
functionId: this.functionId,
serialNumber: '750002Table2BoxesQty',
tableId: "750002Table2",
tableName: "托清单",
columnProp: "xxx",
headerAlign: "center",
align: "right",
columnLabel: "装托总数",
columnWidth: '80',
columnHidden: false,
columnImage: false,

6
src/views/modules/boxManage/saleBoxManage.vue

@ -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
}

Loading…
Cancel
Save