|
|
@@ -3136,7 +3136,7 @@
|
|
|
return true;
|
|
|
},
|
|
|
checkDataIsToBeEnd() {
|
|
|
- let count = this.workOrders.filter(e => this.checkData.includes(`${e.id}`))
|
|
|
+ let count = this.workOrders.filter(e => this.checkData.includes(e.id))
|
|
|
.filter(e => e.status !== '待货主完结').length;
|
|
|
if (count > 0) {
|
|
|
this.errorTempTip("勾选工单中有不符合完结条件的工单");
|
|
|
@@ -3146,7 +3146,7 @@
|
|
|
},
|
|
|
getCheckDetailsIds() {
|
|
|
return this.workOrders.filter(e => {
|
|
|
- return this.checkData.includes(`${e.id}`);
|
|
|
+ return this.checkData.includes(e.id);
|
|
|
}).map(e => {
|
|
|
return e.pending_detail ? e.pending_detail.detail_id : null;
|
|
|
}).filter(e => e);
|