Commit cf58e18e authored by Smile's avatar Smile

任务127 后台-集运-包裹列表

parent 488ca270
......@@ -425,7 +425,11 @@ export default {
obj[field] = obj[field].replace(/\s+/g, "")
},
getGoodsName(val){
return val.map((item, index) => `${index + 1}.${item.prodName}*${item.quantity}`).join('<br>');
if (!val || val.length === 0){
return null
}else{
return val.map((item, index) => `${index + 1}.${item.prodName}*${item.quantity}`).join('<br>');
}
},
getInspectionInfo(val,status){
if (!status && status!==2){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment