生产工单添加批次号

This commit is contained in:
JinLu.Yin 2022-09-27 11:03:40 +08:00
parent b8b0af053f
commit bd6e9dec86

View File

@ -20,6 +20,7 @@ create table pro_workorder (
client_id bigint(20) comment '客户ID',
client_code varchar(64) comment '客户编码',
client_name varchar(255) comment '客户名称',
batch_code varchar(64) comment '批次号',
request_date datetime not null comment '需求日期',
parent_id bigint(20) default 0 not null comment '父工单',
ancestors varchar(500) not null comment '所有父节点ID',
@ -203,7 +204,7 @@ create table pro_route_product_bom (
record_id bigint(20) not null auto_increment comment '记录ID',
route_id bigint(20) not null comment '工艺路线ID',
process_id bigint(20) not null comment '工序ID',
product_id bigint(20) not null comment '产品物料ID',
product_id bigint(20) not null comment '产品BOM中的唯一ID',
item_id bigint(20) not null comment '产品物料ID',
item_code varchar(64) not null comment '产品物料编码',
item_name varchar(255) not null comment '产品物料名称',