|
|
@@ -1506,31 +1506,54 @@ class Fullorderexcel extends Start_Controller {
|
|
|
$dq_goods_item = explode('|',trim($tmp_goods_item,'|'));
|
|
|
//'gradefpdata','colorfpdata','densityfpdata','hairnumberfpdata','lacetypefpdata'
|
|
|
$ddq_goods_item = explode('-',trim($dq_goods_item[0],'-'));
|
|
|
+ $now_good_sku_info = [];
|
|
|
foreach($ddq_goods_item as $ll){
|
|
|
if(!empty($typeclass[$ll])){
|
|
|
- if($typeclass[$ll]['classid'] == 13){
|
|
|
- //等级
|
|
|
- $sku_gradefpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
- }
|
|
|
- if($typeclass[$ll]['classid'] == 8){
|
|
|
- //颜色
|
|
|
- $sku_colorfpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
- }
|
|
|
- if($typeclass[$ll]['classid'] == 10){
|
|
|
- //密度
|
|
|
- $sku_densityfpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
- }
|
|
|
- if($typeclass[$ll]['classid'] == 43){
|
|
|
- //人发头套编码
|
|
|
- $sku_hairnumberfpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
- }
|
|
|
- if($typeclass[$ll]['classid'] == 18){
|
|
|
- //头套种类
|
|
|
- $sku_lacetypefpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
+ $now_good_sku_info[$typeclass[$ll]['classid']] = empty($typeclass[$ll]['title'])? " --" : $typeclass[$ll]['title'];
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(isset($now_good_sku_info[13])){
|
|
|
+ $sku_gradefpdata_str .= $now_good_sku_info[13]."<br/>";
|
|
|
+ }else{
|
|
|
+ $sku_gradefpdata_str .= " -- <br/>";
|
|
|
+ }
|
|
|
+ if(isset($now_good_sku_info[8])){
|
|
|
+ $sku_colorfpdata_str .= $now_good_sku_info[8]."<br/>";
|
|
|
+ }else{
|
|
|
+ $sku_colorfpdata_str .= " -- <br/>";
|
|
|
+ }
|
|
|
+ if(isset($now_good_sku_info[10])){
|
|
|
+ $sku_densityfpdata_str .= $now_good_sku_info[10]."<br/>";
|
|
|
+ }else{
|
|
|
+ $sku_densityfpdata_str .= " -- <br/>";
|
|
|
+ }
|
|
|
+ if(isset($now_good_sku_info[43])){
|
|
|
+ $sku_hairnumberfpdata_str .= $now_good_sku_info[43]."<br/>";
|
|
|
+ }else{
|
|
|
+ $sku_hairnumberfpdata_str .= " -- <br/>";
|
|
|
+ }
|
|
|
+ if(isset($now_good_sku_info[18])){
|
|
|
+ $sku_lacetypefpdata_str .= $now_good_sku_info[18]."<br/>";
|
|
|
+ }else{
|
|
|
+ $sku_lacetypefpdata_str .= " -- <br/>";
|
|
|
+ }
|
|
|
+ // if($typeclass[$ll]['classid'] == 13){
|
|
|
+ // //等级
|
|
|
+ // $sku_gradefpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
+ // }elseif($typeclass[$ll]['classid'] == 8){
|
|
|
+ // //颜色
|
|
|
+ // $sku_colorfpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
+ // }elseif($typeclass[$ll]['classid'] == 10){
|
|
|
+ // //密度
|
|
|
+ // $sku_densityfpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
+ // }elseif($typeclass[$ll]['classid'] == 43){
|
|
|
+ // //人发头套编码
|
|
|
+ // $sku_hairnumberfpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
+ // }elseif($typeclass[$ll]['classid'] == 18){
|
|
|
+ // //头套种类
|
|
|
+ // $sku_lacetypefpdata_str .= empty($typeclass[$ll]['title'])? " --<br/>" : $typeclass[$ll]['title']."<br/>";
|
|
|
+ // }
|
|
|
+
|
|
|
|
|
|
}
|
|
|
return [
|