|
|
@ -326,17 +326,22 @@ const openDetail = (row: any, titleName: any, titleValue: any) => { |
|
|
|
.find((account) => account.id == row.departmentCode)?.name |
|
|
|
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") { |
|
|
|
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) |
|
|
|
) |
|
|
|
countJobDetailTableColumns.value.tableColumns = CountJobDetail.allSchemas.tableColumns.filter(item=>item.field != 'qty') |
|
|
|
}else{ |
|
|
|
countJobDetailTableColumns.value.tableColumns = CountJobDetail.allSchemas.tableColumns.filter(item=>item.field) |
|
|
|
} |
|
|
|
|
|
|
|
detailRef.value.openDetail(row, titleName, titleValue, 'jobCountMain') |
|
|
|