|
@ -161,7 +161,7 @@ const { getList, setSearchParams } = tableMethods |
|
|
|
|
|
|
|
|
// 列表头部按钮 |
|
|
// 列表头部按钮 |
|
|
const HeadButttondata = [ |
|
|
const HeadButttondata = [ |
|
|
defaultButtons.defaultExportBtn({ hasPermi: 'wms:bs-purchasereceipt-record-main:export' }), // 导出 |
|
|
defaultButtons.defaultExportBtn({ hasPermi: 'wms:purchasereceipt-record-main:export' }), // 导出 |
|
|
defaultButtons.defaultFreshBtn(null), // 刷新 |
|
|
defaultButtons.defaultFreshBtn(null), // 刷新 |
|
|
defaultButtons.defaultFilterBtn(null), // 筛选 |
|
|
defaultButtons.defaultFilterBtn(null), // 筛选 |
|
|
defaultButtons.defaultSetBtn(null) // 设置 |
|
|
defaultButtons.defaultSetBtn(null) // 设置 |
|
@ -235,14 +235,14 @@ const butttondata = (row, $index) => { |
|
|
} |
|
|
} |
|
|
return [ |
|
|
return [ |
|
|
defaultButtons.mainInspectRequestBtn({ |
|
|
defaultButtons.mainInspectRequestBtn({ |
|
|
hasPermi: 'wms:bs-purchasereceipt-record-main:createInspectRequest', |
|
|
hasPermi: 'wms:purchasereceipt-record-main:createInspectRequest', |
|
|
hide: isShowputawayRequestFlagButton(row) |
|
|
hide: isShowputawayRequestFlagButton(row) |
|
|
}), // 生成到货检验申请 |
|
|
}), // 生成到货检验申请 |
|
|
defaultButtons.mainPutawayRequestBtn({ |
|
|
defaultButtons.mainPutawayRequestBtn({ |
|
|
hide: (row.isPutaway==1 || row.putawayRequestFlag == 'FALSE')?false:true |
|
|
hide: (row.isPutaway==1 || row.putawayRequestFlag == 'FALSE')?false:true |
|
|
}), // 生成采购上架申请 |
|
|
}), // 生成采购上架申请 |
|
|
defaultButtons.mainPurchasereturnRecordBtn({ |
|
|
defaultButtons.mainPurchasereturnRecordBtn({ |
|
|
hasPermi: 'wms:bs-purchasereceipt-record-main:createPurchasereturnRecord', |
|
|
hasPermi: 'wms:purchasereceipt-record-main:createPurchasereturnRecord', |
|
|
hide: row.purchasereturnRecordFlag == 'FALSE' |
|
|
hide: row.purchasereturnRecordFlag == 'FALSE' |
|
|
}), // 生成采购退后记录申请 |
|
|
}), // 生成采购退后记录申请 |
|
|
//defaultButtons.mainListPlanCheckQualityReportBtn({hide:row.orderTypeM == "2"}), // 查看质检报告 |
|
|
//defaultButtons.mainListPlanCheckQualityReportBtn({hide:row.orderTypeM == "2"}), // 查看质检报告 |
|
|