完善订单金额调整上下文
This commit is contained in:
@@ -67,6 +67,7 @@ assert(routeKeys.has('POST /gasorder_contract/attachment/upload'), '配送合同
|
||||
assert(routeKeys.has('POST /gasorder_contract/attachment/cleanup'), '配送合同缺少临时附件清理接口');
|
||||
assert(routeKeys.has('GET /gasorder_contract/:identity/attachment'), '配送合同缺少受控附件读取接口');
|
||||
const recordPage = read('src/views/resource/ResourceRecordPage.vue');
|
||||
const actionDialog = read('src/views/resource/ResourceActionDialog.vue');
|
||||
assert(recordPage.includes('ResourceAccountSummary'), '账户资源页尚未接入 5173 头像摘要卡片');
|
||||
assert(recordPage.includes("field.key !== 'avatar'"), '头像字段仍可能显示为普通文本框');
|
||||
const listPage = read('src/views/shared/ResourceListPage.vue');
|
||||
@@ -142,5 +143,9 @@ assert(definitions.includes("listDisplayKey: 'address'"), '订单列表收货地
|
||||
assert(definitions.includes("listDisplayKey: 'contract_products_summary'"), '订单列表合同气瓶未使用可读摘要');
|
||||
assert(listPage.includes('function displayListField'), '资源列表未支持后端派生展示字段');
|
||||
assert(listPage.includes('field.listDetailLink'), '订单气瓶摘要缺少详情入口');
|
||||
assert(definitions.includes("actionContextKey: 'delivery_fee'"), '调整金额未读取当前配送费上下文');
|
||||
assert(definitions.includes("actionContextKey: 'discount_amount'"), '调整金额未读取当前优惠金额上下文');
|
||||
assert(recordPage.includes(':context-record="record"'), '业务动作弹窗未接收当前详情记录');
|
||||
assert(actionDialog.includes("field.type !== 'money'"), '金额动作上下文缺少分转元处理');
|
||||
|
||||
console.log(`独立资源页面契约通过:详情 ${listResources.length},新建 ${creatable.size},编辑 ${editable.size}`);
|
||||
|
||||
Reference in New Issue
Block a user