|
@@ -236,7 +236,7 @@
|
|
|
if (ids.value.length < 1) {
|
|
|
proxy.$modal.msgError("至少选择一条数据");
|
|
|
} else {
|
|
|
- if (setContinue) {
|
|
|
+ if (setContinue.value) {
|
|
|
proxy.$modal.msgError("只能修改循环工单");
|
|
|
} else {
|
|
|
continueOpen.value = true;
|
|
@@ -278,7 +278,9 @@
|
|
|
// 多选框选中数据
|
|
|
function handleSelectionChange(selection) {
|
|
|
ids.value = selection.map((item) => item.id);
|
|
|
- setContinue.value = selection.map((item) => item.type === 2);
|
|
|
+ setContinue.value = selection.filter((item) => {
|
|
|
+ return item.type === 2
|
|
|
+ }).length > 0;
|
|
|
}
|
|
|
|
|
|
/** 新增按钮操作 */
|