Browse Source

修改bug

master
liuchen864 1 year ago
parent
commit
1b9959322e
  1. 2
      src/api/wms/purchasereturnJobMain/index.ts
  2. 2
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue

2
src/api/wms/purchasereturnJobMain/index.ts

@ -91,5 +91,5 @@ export const importTemplate = () => {
// 关闭采购退货任务主
export const closePurchasereturnJobMain = (id: number) => {
return request.download({ url: '/wms/purchasereturn-job-main/close?id=' + id })
return request.put({ url: '/wms/purchasereturn-job-main/close?id=' + id })
}

2
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue

@ -198,7 +198,7 @@ const buttonTableClick = async (val, row) => {
const handleClose = async (id: number) => {
try {
await message.confirm(t('common.confirmColse'))
await PurchasereceiptJobMainApi.closePurchasereceiptJobMain(id)
await PurchasereturnJobMainApi.closePurchasereturnJobMain(id)
message.success(t('common.closeSuccess'))
await getList()
} catch {}

Loading…
Cancel
Save