|
|
|
@ -1892,6 +1892,11 @@ |
|
|
|
} else { |
|
|
|
// 找到operatorList中actualOrderCount最小值 |
|
|
|
const minActualOrderCount = Math.min(...this.operatorList.map(item => item.actualOrderCount)); |
|
|
|
if (this.saveModalData.bu==='2_01-Label'){ |
|
|
|
this.saveModalData.planOperator = row.adminID; |
|
|
|
this.saveModalData.planOperatorName = row.adminName; |
|
|
|
this.operatorModelFlag = false; |
|
|
|
} else { |
|
|
|
if (row.actualOrderCount === minActualOrderCount) { |
|
|
|
// 只有actualOrderCount最小的行允许选择 |
|
|
|
this.saveModalData.planOperator = row.adminID; |
|
|
|
@ -1902,6 +1907,7 @@ |
|
|
|
this.$message.warning('只能选择实际维修工单数最小的人员!'); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
} |
|
|
|
|