将助理成员显示名称统一为娜娜和小昊

This commit is contained in:
summer committed 2026-11-03 01:15:41 +08:00
1 parent f4ac7502d3
commit 518513e630
28 files changed
+120 -96

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ function harness(role='owner'){
}
test('详情归属旁入口区分麦麦和助理,今日订单也明确须审批,保留客户大标题与逐行货盘',()=>{
const owner=harness();owner.run('renderDetail()');const html=owner.nodes.get('#order-content').innerHTML;
assert.match(html,/<h2>合成客户<\/h2>/);assert.match(html,/助理1的订单<\/span><button[^>]*order-ownership-request[^>]*>修改归属/);assert.match(html,/出货货盘:现货/);
assert.match(html,/<h2>合成客户<\/h2>/);assert.match(html,/娜娜的订单<\/span><button[^>]*order-ownership-request[^>]*>修改归属/);assert.match(html,/出货货盘:现货/);
assert.match(owner.form().html,/麦麦核对后直接生效/);
const assistant=harness('assistant');assistant.run('renderDetail()');assert.match(assistant.nodes.get('#order-content').innerHTML,/>申请修改归属<\/button>/);const form=assistant.form();assert.match(form.html,/今天的订单也须审批/);assert.match(form.html,/提交归属申请/);assert.match(form.html,/原归属助理的列表移出/);assert.equal(assistant.run('orderOwnershipFormEntry.direct'),false);
});