Commit 2634125a authored by lujunye's avatar lujunye

采购跳转入库,隐藏移除按钮

parent 2ca74bcc
...@@ -17,6 +17,7 @@ protocol NewOnlyRKCellDelegate { ...@@ -17,6 +17,7 @@ protocol NewOnlyRKCellDelegate {
class NewOnlyRKCell: UITableViewCell,UITextFieldDelegate { class NewOnlyRKCell: UITableViewCell,UITextFieldDelegate {
var delegate:NewOnlyRKCellDelegate? var delegate:NewOnlyRKCellDelegate?
@IBOutlet weak var delBtn: UIButton!
@IBOutlet weak var rightBtn: UIButton! @IBOutlet weak var rightBtn: UIButton!
@IBOutlet weak var leftBtn: UIButton! @IBOutlet weak var leftBtn: UIButton!
......
...@@ -342,6 +342,7 @@ ...@@ -342,6 +342,7 @@
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/> <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections> <connections>
<outlet property="bzqTf" destination="fLT-jy-0yj" id="gg1-pH-dPz"/> <outlet property="bzqTf" destination="fLT-jy-0yj" id="gg1-pH-dPz"/>
<outlet property="delBtn" destination="cxO-LI-2Sg" id="CYL-OW-Rud"/>
<outlet property="detailLbl" destination="Fr1-SS-krs" id="sBl-qJ-DRF"/> <outlet property="detailLbl" destination="Fr1-SS-krs" id="sBl-qJ-DRF"/>
<outlet property="leftBtn" destination="6MO-V8-sMn" id="nSx-Sf-HFW"/> <outlet property="leftBtn" destination="6MO-V8-sMn" id="nSx-Sf-HFW"/>
<outlet property="nameLbl" destination="chy-ny-kVr" id="nGD-0R-eZB"/> <outlet property="nameLbl" destination="chy-ny-kVr" id="nGD-0R-eZB"/>
......
...@@ -412,6 +412,9 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne ...@@ -412,6 +412,9 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
let cell = tableView.dequeueReusableCell(withIdentifier: "NewOnlyRKCell") as! NewOnlyRKCell let cell = tableView.dequeueReusableCell(withIdentifier: "NewOnlyRKCell") as! NewOnlyRKCell
cell.tag = indexPath.row cell.tag = indexPath.row
cell.delegate = self cell.delegate = self
if isCaiGou {
cell.delBtn.isHidden = true
}
let data = rkSelectArr[indexPath.row] let data = rkSelectArr[indexPath.row]
cell.nameLbl.text = data.goods_name cell.nameLbl.text = data.goods_name
cell.detailLbl.text = data.spec_str! + " " + \(data.price!)" cell.detailLbl.text = data.spec_str! + " " + \(data.price!)"
......
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