Commit 95dae9b2 authored by Sandy's avatar Sandy

修改发运单金额显示

parent 268e9a05
...@@ -204,10 +204,10 @@ ...@@ -204,10 +204,10 @@
if (transferProduct.rctBaseQty == nil) { if (transferProduct.rctBaseQty == nil) {
self.showshjcCountLabel.text = @"基础数量[实收]:空"; self.showshjcCountLabel.text = @"基础数量[实收]:空";
} }
self.showbzPriceLabel.text = [NSString stringWithFormat:@"包装单价:%.2f元",[transferProduct.packprice floatValue]]; self.showbzPriceLabel.text = [NSString stringWithFormat:@"包装单价:%.4f元",[transferProduct.packprice floatValue]];
self.showjcPriceLabel.text = [NSString stringWithFormat:@"基础单价:%.2f元",[transferProduct.price floatValue]]; self.showjcPriceLabel.text = [NSString stringWithFormat:@"基础单价:%.4f元",[transferProduct.price floatValue]];
self.showshTotalLabel.text = [NSString stringWithFormat:@"总金额[实收]:%.2f元", self.showshTotalLabel.text = [NSString stringWithFormat:@"总金额[实收]:%.4f元",
transferProduct.rctQty.doubleValue * transferProduct.packprice.doubleValue]; transferProduct.rctQty.doubleValue * transferProduct.packprice.doubleValue];
if (transferProduct.rctTotal == nil) { if (transferProduct.rctTotal == nil) {
self.showshTotalLabel.text = @"总金额[实收]:空"; self.showshTotalLabel.text = @"总金额[实收]:空";
...@@ -215,12 +215,12 @@ ...@@ -215,12 +215,12 @@
self.showCounterNum.text = [NSString stringWithFormat:@"柜号:%@", transferProduct.vnum ? transferProduct.vnum : @""]; self.showCounterNum.text = [NSString stringWithFormat:@"柜号:%@", transferProduct.vnum ? transferProduct.vnum : @""];
self.showTotalLabel.text = [NSString stringWithFormat:@"总金额:%.2f元", self.showTotalLabel.text = [NSString stringWithFormat:@"总金额:%.4f元",
transferProduct.packprice.doubleValue * transferProduct.qty.doubleValue]; transferProduct.packprice.doubleValue * transferProduct.qty.doubleValue];
self.showNoteLabel.text =[NSString stringWithFormat:@"备注:%@",transferProduct.note ? transferProduct.note :@"无" ]; self.showNoteLabel.text =[NSString stringWithFormat:@"备注:%@",transferProduct.note ? transferProduct.note :@"无" ];
self.showCheckPrice.text = [NSString stringWithFormat:@"考核单价:%.2f元", transferProduct.checkPrice.doubleValue]; self.showCheckPrice.text = [NSString stringWithFormat:@"考核单价:%.4f元", transferProduct.checkPrice.doubleValue];
self.showCheckTotal.text = [NSString stringWithFormat:@"考核总金额:%.2f元", transferProduct.checkTotal.doubleValue]; self.showCheckTotal.text = [NSString stringWithFormat:@"考核总金额:%.4f元", transferProduct.checkTotal.doubleValue];
if ([state isEqualToString:@"YES"]) { if ([state isEqualToString:@"YES"]) {
if ([transferProduct.qty floatValue] > [transferProduct.rctQty floatValue]) { if ([transferProduct.qty floatValue] > [transferProduct.rctQty floatValue]) {
......
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