整合公共店铺配置与动态员工管理,保留最新订单功能及历史账兼容
This commit is contained in:
commit
b87f774386
84 files changed
+1622
-715
No files matched your search
@@ -66,7 +66,7 @@ test('打开单据即显示截图中的销售计算、附加收费、整单取
|
||||
test('详情审批印章仅认可当前已复核版本,待审批与历史批准不冒充整单已审批',()=>{
|
||||
const seal=html=>html.includes('class="order-review-seal"');
|
||||
for(const role of ['owner','assistant']){
|
||||
const html=render(order(),role).html;assert.equal(seal(html),true);assert.match(html,/已审批/);assert.match(html,/麦麦已复核/);assert.match(html,/<h2>合成客户<\/h2>/);
|
||||
const html=render(order(),role).html;assert.equal(seal(html),true);assert.match(html,/已审批/);assert.match(html,/店主已复核/);assert.match(html,/<h2>合成客户<\/h2>/);
|
||||
}
|
||||
for(const extra of [{reviewed_revision:2},{reviewed_revision:0},{revision:0,reviewed_revision:0},{revision:-1,reviewed_revision:-1},{revision:1.5,reviewed_revision:1.5},{revision:3,reviewed_revision:'3'},
|
||||
{changePending:{status:'pending'}},{cancellationPending:{status:'pending'}},
|
||||
|
||||
Reference in new issue
Block a user