feat(钢卷管理): 添加钢卷退货功能及相关界面
- 在coil.js中新增returnCoil接口用于处理钢卷退货 - 添加exit.vue作为退货钢卷管理页面 - 在base.vue中添加退货按钮及相关处理逻辑 - 新增仓库图标资源 - 调整报表页面日期选择器的时间格式
This commit is contained in:
@@ -305,3 +305,18 @@ export function cancelSpecialSplit(pendingActionId) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 钢卷被退货,发给客户的钢卷被退货
|
||||
*/
|
||||
export function returnCoil(coilId) {
|
||||
if (!coilId) {
|
||||
return Promise.reject(new Error('coilId is required'))
|
||||
}
|
||||
return request({
|
||||
url: '/wms/materialCoil/return',
|
||||
method: 'post',
|
||||
params: {
|
||||
coilId
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user