Commit 3ad4dbe2 authored by lujunye's avatar lujunye

修复显示bug

parent 536446e3
......@@ -151,10 +151,6 @@ class GoodsManageListVC: BaseViewController, UICollectionViewDelegate, UICollect
self.itemsAllCount = dataM.data?.count as! Int
})
}
self.holder_view.isHidden = false
if dataM.data?.goods_res?.count == 0 {
self.holder_view.isHidden = true
}
//collection动画效果
DispatchQueue.main.asyncAfter(deadline: .now() + 0.33) {
......@@ -168,7 +164,9 @@ class GoodsManageListVC: BaseViewController, UICollectionViewDelegate, UICollect
})
}, completion: nil)
}
self.holder_view.isHidden = true
if dataM.data?.count == 0 {
self.holder_view.isHidden = false
self.collection?.mj_footer?.endRefreshingWithNoMoreData()
}else{
self.collection?.mj_footer?.endRefreshing()
......
......@@ -61,7 +61,7 @@
<rect key="frame" x="0.0" y="91" width="375" height="576"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="utN-aG-6HP">
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="utN-aG-6HP">
<rect key="frame" x="0.0" y="91" width="375" height="576"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="无数据1" translatesAutoresizingMaskIntoConstraints="NO" id="yTM-2A-buF">
......
......@@ -443,8 +443,8 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
self.navigationController?.pushViewController(vc, animated: true)
return
case 53: //销售下单-代客下单
// let vc = DaiKeXiaDanGouWuViewController()
let vc = PrintListMgVc()
let vc = DaiKeXiaDanGouWuViewController()
// let vc = PrintListMgVc()
self.navigationController?.pushViewController(vc, animated: true)
return
case 54: //扫码下单
......
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