feat(钢卷管理): 添加钢卷退货功能及相关界面

- 在coil.js中新增returnCoil接口用于处理钢卷退货
- 添加exit.vue作为退货钢卷管理页面
- 在base.vue中添加退货按钮及相关处理逻辑
- 新增仓库图标资源
- 调整报表页面日期选择器的时间格式
This commit is contained in:
砂糖
2026-02-28 13:59:52 +08:00
parent f6f1808a9b
commit 093d3ef2cb
5 changed files with 81 additions and 3 deletions

View File

@@ -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
}
})
}