@ -136,6 +136,11 @@ export const handlePurchasereturnRequestMain = async (id) => {
return await request.put({ url: `/wms/purchasereturn-request-main/handle?id=` + id })
}
// 处理采购退货申请主(新)
export const handlePurchasereturnRequestMainNew = async (id) => {
return await request.put({ url: `/wms/purchasereturn-request-main/handleNew?id=` + id })
// 生成标签
export const genLabel = async (data) => {
return await request.post({ url: `/wms/purchasereturn-request-main/genLabel`, data })
@ -640,7 +640,7 @@ const handleHandle = async (id: number) => {
try {
await message.confirm(t('common.confirmHandle'))
tableObject.loading = true
await PurchasereturnRequestMainApi.handlePurchasereturnRequestMain(id)
await PurchasereturnRequestMainApi.handlePurchasereturnRequestMainNew(id)
message.success(t('common.handleSuccess'))
buttonBaseClick('refresh',null)
} catch {