diff --git a/src/api/wms/purchasereceiptJobMain/index.ts b/src/api/wms/purchasereceiptJobMain/index.ts index 9e3463fb0..6db386db5 100644 --- a/src/api/wms/purchasereceiptJobMain/index.ts +++ b/src/api/wms/purchasereceiptJobMain/index.ts @@ -123,4 +123,9 @@ export const abandonPurchasereceiptJobMainSpare = (id: number) => { // 承接采购收货任务主 export const acceptPurchasereceiptJobMain = (id: number) => { return request.put({ url: '/wms/purchasereceipt-job-main/accept?id=' + id }) -} \ No newline at end of file +} + +// 拒收采购收货任务主 +export const refusalPurchasereceiptJobMain = (id: number) => { + return request.put({ url: '/wms/purchasereceipt-job-main/refusal?id=' + id }) +} diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index d828c8d92..628ea1968 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -56,6 +56,7 @@ export default { copySuccess: 'Copy Success', copyError: 'Copy Error', closeSuccess: 'Close Success', + refusalSuccess: 'Refusal Success', reAddSuccess: 'ReAdd Success', submitSuccess: 'Submit Success', agreeSuccess: 'Agree Success', @@ -66,6 +67,7 @@ export default { giveupSuccess: 'Giveup Success', dealwithSuccess: 'Dealwith Success', confirmColse: 'Confirm Close?', + confirmRefusal: 'Confirm Refusal?', confirmReAdd: 'Confirm ReAdd?', confirmAgree: 'Confirm Agree?', confirmRefused: 'Confirm Refused?', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 0a7311fa7..6bb427ae3 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -56,6 +56,7 @@ export default { copySuccess: '复制成功', copyError: '复制失败', closeSuccess: '关闭成功', + refusalSuccess: '拒收成功', reAddSuccess: '重新添加成功', submitSuccess: '提交成功', agreeSuccess: '审批通过成功', @@ -66,6 +67,7 @@ export default { acceptSuccess: '承接成功', giveupSuccess: '放弃成功', confirmColse: '确认关闭吗?', + confirmRefusal: '确认拒收吗?', confirmReAdd: '确认重新添加吗?', confirmAgree: '确认审批通过吗?', confirmRefused: '确认审批驳回吗?', diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue index b795dc5dd..0e8bada93 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue @@ -90,12 +90,8 @@ > - - - -