feat(worker-platform): 彻底去除非平台内部现货履约,寄卖匹配全面收敛为接单平台指派打手
1. 手动指定现货弹窗移除 deliveryKind 冗余单选框,统一收敛为一键指派供货打手履约; 2. 匹配确认后自动冻结打手履约押金、启动交付倒计时与履约时效监控,消除脱管盲区; 3. 订单发布前置拦截弹窗移除内部代交付入口,统一为走接单平台指派; 4. 未关联供货打手的现货进行明确阻断与告警提示,避免无监管指派; 5. 同步更新前端静态单测并保证全量测试与构建通过。
This commit is contained in:
@@ -3205,9 +3205,6 @@ export default function WorkOrdersPanel() {
|
||||
backgroundColor: '#fff',
|
||||
}}
|
||||
>
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c', marginBottom: 8 }}>
|
||||
选择履约方式(都会立刻占用该现货)
|
||||
</div>
|
||||
{inv.workerId ? (
|
||||
<>
|
||||
<Button
|
||||
@@ -3235,32 +3232,15 @@ export default function WorkOrdersPanel() {
|
||||
>
|
||||
走接单平台指派打手
|
||||
</Button>
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c', margin: '4px 0 14px' }}>
|
||||
由该供货打手接单,需冻结履约押金
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c', marginTop: 6, textAlign: 'center' }}>
|
||||
指派供货打手履约 · 自动冻结履约押金
|
||||
</div>
|
||||
</>
|
||||
) : null}
|
||||
<Button
|
||||
block
|
||||
type={inv.workerId ? 'default' : 'primary'}
|
||||
icon={<PushpinOutlined />}
|
||||
loading={consignmentInterceptModal.submitting}
|
||||
onClick={() =>
|
||||
confirmConsignmentMatchAction({
|
||||
kind: 'internal_stock',
|
||||
matchType: m.matchType,
|
||||
consignmentNo: inv.sourceSubmissionNo || '客服手工入库',
|
||||
onOk: () => {
|
||||
void handleFulfillWithConsignment(inv.id, !isExact)
|
||||
},
|
||||
})
|
||||
}
|
||||
>
|
||||
内部现货履约
|
||||
</Button>
|
||||
<div style={{ fontSize: 11, color: '#8c8c8c', marginTop: 4 }}>
|
||||
不外派打手,直接用库存账号赠送
|
||||
</div>
|
||||
) : (
|
||||
<div style={{ fontSize: 12, color: '#cf1322', textAlign: 'center' }}>
|
||||
该现货未关联供货打手,无法走平台指派;请先关联打手
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user