|
|
@ -168,7 +168,7 @@ |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="rollCount" |
|
|
prop="rollCount" |
|
|
label="卷数" |
|
|
|
|
|
|
|
|
label="分切卷数" |
|
|
min-width="100" |
|
|
min-width="100" |
|
|
align="center"> |
|
|
align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
@ -1777,20 +1777,20 @@ export default { |
|
|
// 用户点击取消,说明不想要这次批量排产 |
|
|
// 用户点击取消,说明不想要这次批量排产 |
|
|
// 已成功排产的记录保留在数据库中(不删除) |
|
|
// 已成功排产的记录保留在数据库中(不删除) |
|
|
// 只需要从排产明细列表中删除已执行的行,保留未执行的行 |
|
|
// 只需要从排产明细列表中删除已执行的行,保留未执行的行 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.$message.warning(`已取消批量排产,已成功排产 ${this.successScheduledList.length} 条记录保留`); |
|
|
this.$message.warning(`已取消批量排产,已成功排产 ${this.successScheduledList.length} 条记录保留`); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 从排产明细列表中删除已成功排产的行 |
|
|
// 从排产明细列表中删除已成功排产的行 |
|
|
// 保留从 currentIndex 开始的所有未执行的记录 |
|
|
// 保留从 currentIndex 开始的所有未执行的记录 |
|
|
this.scheduleDetailList = this.scheduleDetailList.slice(currentIndex); |
|
|
this.scheduleDetailList = this.scheduleDetailList.slice(currentIndex); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 清空成功记录列表 |
|
|
// 清空成功记录列表 |
|
|
this.successScheduledList = []; |
|
|
this.successScheduledList = []; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 刷新页面数据 |
|
|
// 刷新页面数据 |
|
|
this.refreshShopOrderData(); |
|
|
this.refreshShopOrderData(); |
|
|
this.getOrderScheduleList(); |
|
|
this.getOrderScheduleList(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 提示用户可以修改数量后继续 |
|
|
// 提示用户可以修改数量后继续 |
|
|
if(this.scheduleDetailList.length > 0){ |
|
|
if(this.scheduleDetailList.length > 0){ |
|
|
this.$message.warning(`已保留 ${this.scheduleDetailList.length} 条未执行的记录,请修改后继续操作`); |
|
|
this.$message.warning(`已保留 ${this.scheduleDetailList.length} 条未执行的记录,请修改后继续操作`); |
|
|
|