|
$model = DispatchSub::where('del_time',0)
|
|
$model = DispatchSub::where('del_time',0)
|
|
- ->select('id','order_no','table_header_mark','product_no','product_title','product_size','product_unit','dispatch_quantity','technology_material','technology_name','wood_name','process_mark','table_body_mark','production_quantity','dispatch_no','status','crt_id','process_id','dispatch_time_start','dispatch_time_end','crt_time','finished_num','waste_num','customer_name')
|
|
|
|
|
|
+ ->select('id','order_no','table_header_mark','product_no','product_title','product_size','product_unit','dispatch_quantity','technology_material','technology_name','wood_name','process_mark','table_body_mark','production_quantity','dispatch_no','status','crt_id','process_id','dispatch_time_start','dispatch_time_end','crt_time','finished_num','waste_num','customer_name','order_product_id')
|
|
if(isset($data['finished_num'])) $model->where('finished_num', '>',0);
|
|
if(isset($data['finished_num'])) $model->where('finished_num', '>',0);
|