Commit f3261261 authored by freecui's avatar freecui

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

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