bulk_edit

This commit is contained in:
2025-11-13 09:16:33 +08:00
parent b384210fe7
commit 8fb17b2645
6 changed files with 9 additions and 9 deletions

View File

@@ -681,13 +681,13 @@ class Base extends Model
'tableCode',
];
$res = 0;
if(!empty($message['history'])) {
$list = $message['history'];
if(!empty($message['data']['history'])) {
$list = $message['data']['history'];
$table_name = 'tb_order_detail';
$edit_type = 'history';
$num = 'num';
}elseif (!empty($message['cart'])) {
$list = $message['cart'];
}elseif (!empty($message['data']['cart'])) {
$list = $message['data']['cart'];
$table_name = 'tb_cashier_cart';
$edit_type = 'cart';
$num = 'number';