|
|
@ -88,9 +88,9 @@ |
|
|
|
@searchTableSuccessDetail="searchTableSuccessDetail" |
|
|
|
:detailValidate="detailValidate" |
|
|
|
:detailButtonIsShowAddStatusArray="['1','3','4','5','6']" |
|
|
|
:detailButtonIsShowEdit="true" |
|
|
|
:detailButtonIsShowDelete="true" |
|
|
|
:detailButtonIsShowAdd="true" |
|
|
|
:detailButtonIsShowEdit="detailData.type == 'SCHEDULE'" |
|
|
|
:detailButtonIsShowDelete="detailData.type == 'SCHEDULE'" |
|
|
|
:detailButtonIsShowAdd="detailData.type == 'SCHEDULE'" |
|
|
|
addHasPermi="wms:purchase-plan-main:create" |
|
|
|
editHasPermi="wms:purchase-plan-main:update" |
|
|
|
deleteHasPermi="wms:purchase-plan-main:delete" |
|
|
@ -548,8 +548,10 @@ const isShowMainButton1 = (row, val) => { |
|
|
|
} |
|
|
|
// 获取部门 用于详情 部门回显 |
|
|
|
/** 详情操作 */ |
|
|
|
const detailRef = ref() |
|
|
|
const openDetail = (row : any, titleName : any, titleValue : any) => { |
|
|
|
const detailRef = ref() |
|
|
|
const detailData = ref({}) |
|
|
|
const openDetail = (row: any, titleName: any, titleValue: any) => { |
|
|
|
detailData.value = row |
|
|
|
detailRef.value.openDetail(row, titleName, titleValue,'planPurchaseMain') |
|
|
|
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name |
|
|
|
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) |
|
|
|