更新登录页及优化相关功能
This commit is contained in:
@@ -15,6 +15,7 @@ from module_business.entity.do.master_do import (
|
||||
BizPallet,
|
||||
BizProductionLine,
|
||||
BizStrain,
|
||||
BizTunnel,
|
||||
BizWarehouse,
|
||||
)
|
||||
from module_business.entity.do.operation_do import (
|
||||
@@ -42,6 +43,7 @@ BATCH_MODELS = {
|
||||
BizProductionLine.line_id,
|
||||
BizProductionLine.line_code,
|
||||
),
|
||||
'biz_tunnel': (BizTunnel, BizTunnel.tunnel_id, BizTunnel.tunnel_code),
|
||||
'biz_warehouse': (BizWarehouse, BizWarehouse.warehouse_id, BizWarehouse.warehouse_code),
|
||||
'biz_pallet': (BizPallet, BizPallet.pallet_id, BizPallet.pallet_code),
|
||||
'biz_inbound_order': (BizInboundOrder, BizInboundOrder.inbound_id, BizInboundOrder.inbound_no),
|
||||
@@ -85,6 +87,7 @@ BATCH_LABELS = {
|
||||
'biz_customer': '客户',
|
||||
'biz_customer_site': '客户现场',
|
||||
'biz_production_line': '生产线',
|
||||
'biz_tunnel': '隧道',
|
||||
'biz_warehouse': '仓库',
|
||||
'biz_pallet': '托盘',
|
||||
'biz_inbound_order': '入库单',
|
||||
@@ -111,6 +114,7 @@ _DELETE_TIE_BREAK_ORDER = (
|
||||
'biz_pallet_event',
|
||||
'biz_filling_record',
|
||||
'biz_production_line',
|
||||
'biz_tunnel',
|
||||
'biz_customer_site',
|
||||
'biz_customer',
|
||||
'biz_warehouse',
|
||||
@@ -123,6 +127,7 @@ ROOT_TABLES = {
|
||||
'customer': 'biz_customer',
|
||||
'site': 'biz_customer_site',
|
||||
'line': 'biz_production_line',
|
||||
'tunnel': 'biz_tunnel',
|
||||
'warehouse': 'biz_warehouse',
|
||||
'pallet': 'biz_pallet',
|
||||
'inbound': 'biz_inbound_order',
|
||||
@@ -136,6 +141,7 @@ _EVENT_SOURCE_TABLES = {
|
||||
'INBOUND': 'biz_inbound_order',
|
||||
'FILLING': 'biz_filling_record',
|
||||
'SHIPMENT': 'biz_shipment_order',
|
||||
'TUNNEL': 'biz_tunnel',
|
||||
'USAGE': 'biz_usage_record',
|
||||
'RETURN': 'biz_return_order',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user