|
|
@ -237,7 +237,7 @@ const butttondata = (row,$index) => { |
|
|
|
defaultButtons.mainInspectRequestBtn({hasPermi:'wms:purchasereceipt-record-main:createInspectRequest',hide:row.inspectRequestFlag == "FALSE" }),// 生成到货检验申请 |
|
|
|
defaultButtons.mainPutawayRequestCpBtn({hasPermi:'wms:purchasereceipt-record-main:createPutawayRequest',hide:row.putawayRequestFlag == "FALSE" }),// 生成采购上架申请 |
|
|
|
defaultButtons.mainListPointBtn(null), // 标签打印 |
|
|
|
// defaultButtons.mainListRecoveryBtn(null), // 制品回收 |
|
|
|
defaultButtons.mainListRecoveryBtn({hide:row.recoveryRequestFlag == "TRUE" }), // 制品回收 //recoveryRequestFlag==TRUE不展示 |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
@ -281,6 +281,7 @@ const handleCreatePutawayRequest = async (number:string) => { |
|
|
|
const labelRecovery = async (row) => { |
|
|
|
try { |
|
|
|
await message.confirm(t('ts.确认撤销报工吗?')) |
|
|
|
tableObject.loading = true |
|
|
|
const params = ref({ |
|
|
|
number: '', |
|
|
|
inventoryStatus: '', |
|
|
@ -289,6 +290,7 @@ const labelRecovery = async (row) => { |
|
|
|
params.inventoryStatus= row.inventoryStatus; |
|
|
|
let resType = await ProductreceiptRecordMainApi.handleRecoveryProductreceiptRecord(params) |
|
|
|
message.success(t('ts.撤销报工成功')) |
|
|
|
buttonBaseClick('refresh',null) |
|
|
|
} catch { |
|
|
|
} finally { |
|
|
|
tableObject.loading = false |
|
|
|