Commit 53f15467 authored by Sandy's avatar Sandy

Revert "bug fix"

This reverts commit d1b197df.
parent d1b197df
...@@ -191,16 +191,16 @@ ...@@ -191,16 +191,16 @@
self.showBaseCountLabel.text =[NSString stringWithFormat:@"基础数量:%@%@",pdtDetail.baseQty, self.showBaseCountLabel.text =[NSString stringWithFormat:@"基础数量:%@%@",pdtDetail.baseQty,
pdtDetail.baseUnit]; pdtDetail.baseUnit];
self.showBasePrice.text = [NSString stringWithFormat:@"基础单价:%@元", pdtDetail.price]; self.showBasePrice.text = [NSString stringWithFormat:@"基础单价:%@元", pdtDetail.price];
self.showPriceLabel.text = [NSString stringWithFormat:@"包装单价:%.4f元",[pdtDetail.packprice floatValue]]; self.showPriceLabel.text = [NSString stringWithFormat:@"包装单价:%.2f元",[pdtDetail.packprice floatValue]];
self.showPurchaseLabel.text = [NSString stringWithFormat:@"采购单号:%@",pdtDetail.purchasebillnumber.length > 0 ? pdtDetail.purchasebillnumber: @"无"]; self.showPurchaseLabel.text = [NSString stringWithFormat:@"采购单号:%@",pdtDetail.purchasebillnumber.length > 0 ? pdtDetail.purchasebillnumber: @"无"];
self.showTotalLabel.text = [NSString stringWithFormat:@"总金额:%.4f元",[pdtDetail.total floatValue]]; self.showTotalLabel.text = [NSString stringWithFormat:@"总金额:%.2f元",[pdtDetail.total floatValue]];
self.showShippedBaseQty.text = [NSString stringWithFormat:@"转运包装数量:%@%@",pdtDetail.transferQty ? [pdtDetail.transferQty stringValue]:@"0",pdtDetail.unit]; self.showShippedBaseQty.text = [NSString stringWithFormat:@"转运包装数量:%@%@",pdtDetail.transferQty ? [pdtDetail.transferQty stringValue]:@"0",pdtDetail.unit];
self.showShippedQty.text = [NSString stringWithFormat:@"转运运基础数量:%@%@",pdtDetail.transferBaseQty ? [pdtDetail.transferBaseQty stringValue]:@"0",pdtDetail.baseUnit]; self.showShippedQty.text = [NSString stringWithFormat:@"转运运基础数量:%@%@",pdtDetail.transferBaseQty ? [pdtDetail.transferBaseQty stringValue]:@"0",pdtDetail.baseUnit];
self.showNoteLabel.text =[NSString stringWithFormat:@"备注:%@",pdtDetail.note ? pdtDetail.note :@"无"]; self.showNoteLabel.text =[NSString stringWithFormat:@"备注:%@",pdtDetail.note ? pdtDetail.note :@"无"];
self.showCheckPrice.text = [NSString stringWithFormat:@"考核单价:%.4f元", pdtDetail.checkPrice.doubleValue]; self.showCheckPrice.text = [NSString stringWithFormat:@"考核单价:%.2f元", pdtDetail.checkPrice.doubleValue];
self.showCheckTotal.text = [NSString stringWithFormat:@"考核总金额:%.4f元", pdtDetail.checkTotal.doubleValue]; self.showCheckTotal.text = [NSString stringWithFormat:@"考核总金额:%.2f元", pdtDetail.checkTotal.doubleValue];
} }
- (void)setSelected:(BOOL)selected animated:(BOOL)animated { - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
......
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