| | |
| | | class="confirm-report-btn" |
| | | @click="showConfirmDialog" |
| | | :loading="reportLoading"> |
| | | 确认上报 |
| | | <!-- 直接在模板中判断 --> |
| | | {{ settleA === 17 ? '再次上报' : '确认上报' }} |
| | | </el-button> |
| | | <el-button @click="closeDetailDialog">关闭</el-button> |
| | | </div> |
| | |
| | | currentRow: null, |
| | | // 子表分页 |
| | | detailCurrentPage: 1, |
| | | settleA: 1, |
| | | detailPageSize: 5, |
| | | detailTotal: 0, |
| | | // 加载状态 |
| | |
| | | if (typeof done === 'function') { |
| | | done(); |
| | | } |
| | | |
| | | if (res.code === 200 || res.success) { |
| | | this.$message({ |
| | | message: `组货单号 ${groupOrderNo} 上报成功`, |
| | |
| | | this.currentRow = row; |
| | | this.detailDialogVisible = true; |
| | | this.detailCurrentPage = 1; |
| | | this.settleA = row.settle; |
| | | this.getTableDataB(row.itemName); |
| | | }, |
| | | |