| | |
| | | </el-table-column> |
| | | <el-table-column prop="grade" label="优先级" width="100"> |
| | | <template v-slot="{ row }"> |
| | | <el-input-number v-if="row && row.editable" v-model="row.grade" :min="1" :max="99" size="small" style="width: 80px"></el-input-number> |
| | | <el-input-number v-if="row && row.editable" v-model="row.grade" :min="1" :max="99" size="small" |
| | | style="width: 80px"></el-input-number> |
| | | <span v-else>{{ row ? row.grade : '' }}</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | }, |
| | | getStatusKey(taskType, taskStatus) { |
| | | if (taskType === 200) return `inbound_${taskStatus}`; |
| | | if (taskType === 204) return `inbound_${taskStatus}`; |
| | | if (taskType === 100) return `outbound_${taskStatus}`; |
| | | if (taskType === 140) return `outbound_${taskStatus}`; |
| | | if (taskType === 300) return `relocation_${taskStatus}`; |
| | | return `other_${taskStatus}`; |
| | | }, |
| | |
| | | if (taskType === 200 && taskStatus === 200) return true; |
| | | if (taskType === 100 && taskStatus === 100) return true; |
| | | if (taskType === 300 && taskStatus === 300) return true; |
| | | if (taskType === 140 && taskStatus === 100) return true; |
| | | if (taskType === 204 && taskStatus === 200) return true; |
| | | return false; |
| | | }, |
| | | submitDispatch() { |
| | |
| | | color: #606266; |
| | | margin-bottom: 10px; |
| | | } |
| | | |
| | | .dispatch-info .count { |
| | | color: #409eff; |
| | | font-weight: bold; |
| | | } |
| | | |
| | | .status-error { |
| | | color: #f56c6c; |
| | | } |
| | | |
| | | .fail-results { |
| | | margin-top: 15px; |
| | | padding: 10px; |
| | | background: #fef0f0; |
| | | border-radius: 4px; |
| | | } |
| | | |
| | | .fail-title { |
| | | font-size: 14px; |
| | | color: #f56c6c; |