|
|
@@ -5152,12 +5152,17 @@ class Whlabel extends Start_Controller
|
|
|
$details = $tmp_info['details'];
|
|
|
}
|
|
|
}else{
|
|
|
- $tmp_info = $this->whlabel->find('warehouse = "' . $warehouse['id'] . '" and sku = "' . $sku . '" and details = "'.$details.'" ','*','id desc');
|
|
|
- if(empty($tmp_info)){
|
|
|
- $ed[] = array('msg'=>$sku . '-的库位' . $details . '不存在!');
|
|
|
- $j++;
|
|
|
- continue;
|
|
|
+ if($details == 'DZ001'){
|
|
|
+
|
|
|
+ }else{
|
|
|
+ $tmp_info = $this->whlabel->find('warehouse = "' . $warehouse['id'] . '" and sku = "' . $sku . '" and details = "'.$details.'" ','*','id desc');
|
|
|
+ if(empty($tmp_info)){
|
|
|
+ $ed[] = array('msg'=>$sku . '-的库位' . $details . '不存在!');
|
|
|
+ $j++;
|
|
|
+ continue;
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
$post['sku'] = $d['sku'];
|
|
|
$post['shop'] = $d['shop'];
|