将助理成员显示名称统一为娜娜和小昊
This commit is contained in:
1 parent
f4ac7502d3
commit
518513e630
28 files changed
+120
-96
No files matched your search
@@ -112,6 +112,6 @@ test('恢复原操作入口对新启用路由复用原key,并在409时返回
|
||||
});
|
||||
test('历史购料更正复核同时展示关联锁价的前后料费和自动付款归属',async()=>{
|
||||
const h=harness(),row=change();row.preview.relatedPriceLocks=[{id:'affected-lock',number:'合成关联锁价',date:OLD,customer:'合成<锁价客户>',before:{materialAmount:90000,usedMaterialAmount:0,leftoverCost:0,allocations:[{payer:'owner',amount:90000}]},after:{materialAmount:91000,usedMaterialAmount:0,leftoverCost:0,allocations:[{payer:'owner',amount:50000},{payer:'assistant2',amount:41000}]}}];h.context.__request=row;h.run('api=async()=>__request');await h.run('openMaterialChange("synthetic-change")');
|
||||
assert.match(h.dialog.innerHTML,/合成关联锁价/);assert.match(h.dialog.innerHTML,/合成<锁价客户>/);assert.match(h.dialog.innerHTML,/原锁预留料费/);assert.match(h.dialog.innerHTML,/¥900\.00/);assert.match(h.dialog.innerHTML,/¥910\.00/);assert.match(h.dialog.innerHTML,/助理2 ¥410\.00/);
|
||||
assert.match(h.dialog.innerHTML,/合成关联锁价/);assert.match(h.dialog.innerHTML,/合成<锁价客户>/);assert.match(h.dialog.innerHTML,/原锁预留料费/);assert.match(h.dialog.innerHTML,/¥900\.00/);assert.match(h.dialog.innerHTML,/¥910\.00/);assert.match(h.dialog.innerHTML,/小昊 ¥410\.00/);
|
||||
row.preview.relatedPriceLocks[0].after.allocations=[];assert.throws(()=>h.run('validateMaterialChangeRequest(__request,true)'),/锁价单的成本影响未完整返回/);
|
||||
});
|
||||
Reference in new issue
Block a user