|
@ -326,17 +326,22 @@ const openDetail = (row: any, titleName: any, titleValue: any) => { |
|
|
.find((account) => account.id == row.departmentCode)?.name |
|
|
.find((account) => account.id == row.departmentCode)?.name |
|
|
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) |
|
|
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) |
|
|
// 盲盘的时候不显示数量 |
|
|
// 盲盘的时候不显示数量 |
|
|
countJobDetailTableColumns.value.tableColumns = [] |
|
|
// countJobDetailTableColumns.value.tableColumns = [] |
|
|
|
|
|
// if (ro.isOpenCount == "FALSE") { |
|
|
|
|
|
// CountJobDetail.allSchemas.tableColumns.forEach((item) => { |
|
|
|
|
|
// if (item.field != 'qty') { |
|
|
|
|
|
// countJobDetailTableColumns.value.tableColumns.push(item) |
|
|
|
|
|
// } |
|
|
|
|
|
// }) |
|
|
|
|
|
// } else { |
|
|
|
|
|
// countJobDetailTableColumns.value.tableColumns = JSON.parse( |
|
|
|
|
|
// JSON.stringify(CountJobDetail.allSchemas.tableColumns) |
|
|
|
|
|
// ) |
|
|
|
|
|
// }w |
|
|
if (row.isOpenCount == "FALSE") { |
|
|
if (row.isOpenCount == "FALSE") { |
|
|
CountJobDetail.allSchemas.tableColumns.forEach((item) => { |
|
|
countJobDetailTableColumns.value.tableColumns = CountJobDetail.allSchemas.tableColumns.filter(item=>item.field != 'qty') |
|
|
if (item.field != 'qty') { |
|
|
|
|
|
countJobDetailTableColumns.value.tableColumns.push(item) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}else{ |
|
|
}else{ |
|
|
countJobDetailTableColumns.value.tableColumns = JSON.parse( |
|
|
countJobDetailTableColumns.value.tableColumns = CountJobDetail.allSchemas.tableColumns.filter(item=>item.field) |
|
|
JSON.stringify(CountJobDetail.allSchemas.tableColumns) |
|
|
|
|
|
) |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
detailRef.value.openDetail(row, titleName, titleValue, 'jobCountMain') |
|
|
detailRef.value.openDetail(row, titleName, titleValue, 'jobCountMain') |
|
|