|
|
@@ -686,7 +686,8 @@ html;
|
|
|
if(!$asnNos) $this->error("无此ASN单号");
|
|
|
if (!$asn || strlen(request("asn"))<13)$this->error("非法ASN单号");
|
|
|
$owner = request("owner_id");
|
|
|
- $query = Store::query()->whereIn("asn_code",$asn);
|
|
|
+ $asnNos = preg_split('/[,, ]+/u', $asnNos);
|
|
|
+ $query = Store::query()->whereIn("asn_code",$asnNos);
|
|
|
if ($owner)$query->where("owner_id",$owner);
|
|
|
$stores = $query->with("storeItems")->get();
|
|
|
if (!$stores)$this->error("无此ASN单号");
|