提交
This commit is contained in:
1 parent
64219a68c7
commit
9a73e87ce8
102 files changed
+16756
-6670
No files matched your search
@@ -0,0 +1,27 @@
|
||||
-- ============================================================
|
||||
-- 质检管理 · 我的物料领用记录
|
||||
-- 与 web-admin/src/router/modules/sqxp.ts、backend/app/api/menu.py 对齐
|
||||
-- ============================================================
|
||||
|
||||
INSERT INTO `sys_menu` (
|
||||
`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`,
|
||||
`is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`,
|
||||
`create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`
|
||||
) VALUES (
|
||||
'92000000000000000000000000000001', '我的物料领用记录', 'QCM00000000000000000000000000001', 'C',
|
||||
'my-qc-material-usage', '/quality-inspection/my-qc-material-usage/index',
|
||||
'biz:myQcMaterialUsage:list',
|
||||
1, '1', '1', 'zkxw', 4, NULL,
|
||||
NULL, '', NOW(), NULL, NOW(), 0
|
||||
)
|
||||
ON DUPLICATE KEY UPDATE
|
||||
`menu_name` = VALUES(`menu_name`),
|
||||
`parent_id` = VALUES(`parent_id`),
|
||||
`path` = VALUES(`path`),
|
||||
`component` = VALUES(`component`),
|
||||
`perms` = VALUES(`perms`),
|
||||
`visible` = '1',
|
||||
`status` = '1',
|
||||
`order_num` = VALUES(`order_num`),
|
||||
`update_time` = NOW(),
|
||||
`del_flag` = 0;
|
||||
@@ -0,0 +1,27 @@
|
||||
-- ============================================================
|
||||
-- 生产管理 · 样本接收信息完善
|
||||
-- 与 web-admin/src/router/modules/sqxp.ts、backend/app/api/menu.py 对齐
|
||||
-- ============================================================
|
||||
|
||||
INSERT INTO `sys_menu` (
|
||||
`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`,
|
||||
`is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`,
|
||||
`create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`
|
||||
) VALUES (
|
||||
'91000000000000000000000000000001', '样本接收信息完善', 'PRM00000000000000000000000000001', 'C',
|
||||
'sample-reception-completion', '/production/sample-reception-completion/index',
|
||||
'production:sample-reception-completion:list',
|
||||
1, '1', '1', 'zkxw', 4, NULL,
|
||||
NULL, '', NOW(), NULL, NOW(), 0
|
||||
)
|
||||
ON DUPLICATE KEY UPDATE
|
||||
`menu_name` = VALUES(`menu_name`),
|
||||
`parent_id` = VALUES(`parent_id`),
|
||||
`path` = VALUES(`path`),
|
||||
`component` = VALUES(`component`),
|
||||
`perms` = VALUES(`perms`),
|
||||
`visible` = '1',
|
||||
`status` = '1',
|
||||
`order_num` = VALUES(`order_num`),
|
||||
`update_time` = NOW(),
|
||||
`del_flag` = 0;
|
||||
@@ -0,0 +1,4 @@
|
||||
-- 质检物料变动:任务使用关联领用记录 + 自由用量单位
|
||||
ALTER TABLE `biz_qc_material_usage`
|
||||
ADD COLUMN `parent_usage_id` varchar(64) DEFAULT NULL COMMENT '关联领用记录ID(task_complete指向manual_out)' AFTER `qc_task_no`,
|
||||
ADD COLUMN `usage_unit` varchar(32) DEFAULT NULL COMMENT '用量单位(领用/任务使用登记)' AFTER `change_qty`;
|
||||
Reference in new issue
Block a user