feat: 菜单按业务域重排为7组 + 预警中心更名异常告警 + AGV独立权限码与齐套测算分账明细
This commit is contained in:
@@ -352,9 +352,10 @@ func (c *Client) CreateCall(ctx context.Context, stationNo int, callDate string,
|
||||
// CreateShortageOnBehalf 库管代工位提交补料申请(转发 MES /api/internal/shortage/on-behalf)。
|
||||
// 复用 MES 现有补料申请 logic 只生成待主管审批的补料单;WMS 不审批、不调增叫料池额度。
|
||||
// 产品工号不作为独立字段下发(补料申请表无此列),由调用方附在补料原因里带过去。
|
||||
func (c *Client) CreateShortageOnBehalf(ctx context.Context, stationNo int, materialCode string, qty int, reason, operator string) error {
|
||||
func (c *Client) CreateShortageOnBehalf(ctx context.Context, stationNo int, materialCode, materialName, unit string, qty int, reason, operator string) error {
|
||||
return c.postJSON(ctx, "/api/internal/shortage/on-behalf", map[string]any{
|
||||
"stationNo": stationNo, "materialCode": materialCode,
|
||||
"materialName": materialName, "unit": unit,
|
||||
"qty": qty, "reason": reason, "operator": operator,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user