| | |
| | | controls-position="right" |
| | | placeholder="输入实际数量" |
| | | style="width: 100%;" |
| | | :disabled="row.returned" |
| | | :disabled="orderRow?.end" |
| | | @change="val => handleActualQtyChange(row, val)" /> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button type="warning" |
| | | <el-button v-if="!orderRow?.end" |
| | | type="warning" |
| | | :loading="materialReturnConfirming" |
| | | :disabled="!canOpenReturnSummary" |
| | | @click="openReturnSummaryDialog"> |
| | |
| | | Number(item.actualQty || 0); |
| | | const canOpenReturnSummary = computed(() => |
| | | materialDetailTableData.value.some( |
| | | item => item.returned !== true && calcReturnQty(item) > 0 |
| | | item => calcReturnQty(item) > 0 |
| | | ) |
| | | ); |
| | | |