diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue index f39cbe5c1..dcc78a985 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue @@ -88,9 +88,9 @@ @searchTableSuccessDetail="searchTableSuccessDetail" :detailValidate="detailValidate" :detailButtonIsShowAddStatusArray="['1','3','4','5','6']" - :detailButtonIsShowEdit="false" - :detailButtonIsShowDelete="false" - :detailButtonIsShowAdd="false" + :detailButtonIsShowEdit="detailData.type == 'SCHEDULE'&& detailData.status != 4" + :detailButtonIsShowDelete="detailData.type == 'SCHEDULE'&& detailData.status != 4" + :detailButtonIsShowAdd="detailData.type == 'SCHEDULE'&& detailData.status != 4" addHasPermi="wms:purchase-plan-main:create" editHasPermi="wms:purchase-plan-main:update" deleteHasPermi="wms:purchase-plan-main:delete"