diff --git a/app/admin/lists/warehouse_product/WarehouseProductLists.php b/app/admin/lists/warehouse_product/WarehouseProductLists.php index ffed56121..320a6586c 100644 --- a/app/admin/lists/warehouse_product/WarehouseProductLists.php +++ b/app/admin/lists/warehouse_product/WarehouseProductLists.php @@ -73,7 +73,7 @@ class WarehouseProductLists extends BaseAdminDataLists implements ListsSearchInt } } return WarehouseProduct::where($this->searchWhere) - ->field(['id', 'pay_type','oid','admin_id','supplier_id', 'store_id', 'warehouse_id', 'product_id', 'financial_pm', 'batch', 'nums', 'price', 'purchase', 'cost', 'total_price', 'manufacture', 'expiration_date', 'status', 'mark', 'create_time','is_pay']) + ->field(['id', 'code','pay_type','oid','admin_id','supplier_id', 'store_id', 'warehouse_id', 'product_id', 'financial_pm', 'batch', 'nums', 'price', 'purchase', 'cost', 'total_price', 'manufacture', 'expiration_date', 'status', 'mark', 'create_time','is_pay']) ->limit($this->limitOffset, $this->limitLength) ->order(['id' => 'desc']) ->withTrashed() @@ -185,6 +185,7 @@ class WarehouseProductLists extends BaseAdminDataLists implements ListsSearchInt 'supplier_name' => '供应商', 'store_name' => '商品名称', 'financial_pm_name' => '出入库', + 'code' => '入库单', 'batch' => '批次', 'nums' => '数量', 'manufacture' => '生产日期', @@ -204,6 +205,7 @@ class WarehouseProductLists extends BaseAdminDataLists implements ListsSearchInt 'store_info' => '规格', 'unit_name' => '单位', 'financial_pm_name' => '出入库', + 'code' => '出库单', 'system_store_name' => '门店', 'nums' => '数量', 'purchase' => '供货价',