修复气站用户配送点归属展示
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 功能:静态检查气站管理端全部标准资源是否具备独立记录页配置。
|
||||
* 版本:v1.2.0
|
||||
* 版本:v1.3.0
|
||||
*/
|
||||
import { readFileSync, existsSync } from 'node:fs';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
@@ -83,6 +83,13 @@ for (const marker of [
|
||||
if (!listSource.includes('recordEditReason(record)')) {
|
||||
fail('合同列表缺少编辑禁用原因提示');
|
||||
}
|
||||
if (
|
||||
!resourceSource.includes(
|
||||
"relation('delivery_basic_identity', '/delivery_basic', true, { label: '所属配送点', listLabel: '所属配送点', listRelationNameOnly: true, showIdentityCopy: true })",
|
||||
)
|
||||
) {
|
||||
fail('用户账户列表未按文档以所属配送点名称为主展示');
|
||||
}
|
||||
|
||||
const createCount = listResources.filter((item) => createModes.has(item.mode)).length;
|
||||
console.log(
|
||||
|
||||
Reference in New Issue
Block a user