调整批零用户库存变动日志返回
parent
aa78727b0b
commit
7be71e7a6e
|
|
@ -18,7 +18,6 @@ class UserProductLogResource extends JsonResource
|
||||||
return [
|
return [
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
'product_name'=> $this->product?->name,
|
'product_name'=> $this->product?->name,
|
||||||
'type'=> $this->type,
|
|
||||||
'remark' => $this->remark,
|
'remark' => $this->remark,
|
||||||
'qty' => (in_array($this->type, [
|
'qty' => (in_array($this->type, [
|
||||||
DealerUserProductLog::TYPE_ORDER_IN,
|
DealerUserProductLog::TYPE_ORDER_IN,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue