Commit f3261261 authored by freecui's avatar freecui

加工单详情:已完成和已废不能编辑

parent 39284cb2
......@@ -274,7 +274,7 @@ typedef NS_ENUM(NSInteger, cellRow) {
if (indexPath.row <= kWarehouse ||indexPath.row == kRemark) {
xfCell = [tableView dequeueReusableCellWithIdentifier:noLblCell];
if (!xfCell ) {
xfCell = [[GXFTableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:noLblCell textFieldPlaceholder:_d_arrRightTableV[indexPath.row] isEdit:YES];
xfCell = [[GXFTableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:noLblCell textFieldPlaceholder:_d_arrRightTableV[indexPath.row] isEdit:NO];
}
switch (indexPath.row) {
case kTitle:
......@@ -304,6 +304,7 @@ typedef NS_ENUM(NSInteger, cellRow) {
if (!xfCell ) {
xfCell = [[GXFTableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:lblCell textFieldPlaceholder:_d_arrRightTableV[indexPath.row] hasLable:YES backLableText:@"元"];
}
xfCell.f_textField.enabled = NO;
xfCell.f_textField.text = [NSString stringWithFormat:@"%@",_d_processBill.total] ;
} else {
xfCell = [tableView dequeueReusableCellWithIdentifier:noLblCell];
......@@ -312,6 +313,7 @@ typedef NS_ENUM(NSInteger, cellRow) {
}
}
xfCell.f_textField.tag = indexPath.row;
xfCell.textLabel.text = _d_arrLeftTableV[indexPath.row];
xfCell.textLabel.textColor = [UIColor blackColor];
......
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