| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- //
- // NewDeliveryRequirementCell.h
- // IBOSSHSH
- //
- // Created by ssl on 2018/1/15.
- // Copyright © 2018年 elongtian. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "StatusInfoTextVC.h"
- #import "NewDispatchRequirementModel.h"
- @class NewDispatchRequirementCell;
- @protocol NewDispatchRequirementKeyBoardDelegate <NSObject>
- @optional
- /**
- 出示配送信息明细
- @param index <#index description#>
- */
- - (void)showDeliveryInfoDetail:(int)index;
- /**
- 文本值变化
- @param cell <#cell description#>
- @param txtfield <#txtfield description#>
- @param qualityTxt <#qualityTxt description#>
- @param remark <#remark description#>
- */
- - (void)textValueChange:(NewDispatchRequirementCell*)cell txtField:(UITextField*)txtfield qualityField:(UITextField*)qualityTxt remarkField:(UITextField*)remark ;
- /**
- 开始编辑
- @param cell <#cell description#>
- */
- - (void)beginEdit:(NewDispatchRequirementCell *)cell;
- /**
- 结束编辑
- @param cell <#cell description#>
- */
- - (void)endEdit:(NewDispatchRequirementCell *)cell;
- /**
- 到铺贴方式
- @param cell <#cell description#>
- */
- - (void)btnGoPayStyle:(NewDispatchRequirementCell *)cell;
- /**
- 到回执类型
- @param cell <#cell description#>
- */
- - (void)btnGoReceiptType:(NewDispatchRequirementCell *)cell;
- /**
- 弹出键盘事件
- @param cell <#cell description#>
- */
- - (void)keyboardWillShow:(NewDispatchRequirementCell *)cell;
- /**
- 隐藏键盘事件
- @param cell <#cell description#>
- */
- - (void)keyboardWillHide:(NewDispatchRequirementCell *)cell;
- @end
- @protocol DeliveryListTableViewCellDetegate <NSObject>
- /**
- 设置回执类型
- @param path <#path description#>
- */
- - (void)setDeliveryReceiptType:(NSIndexPath*) path;
- - (void)setInstallReceiptType:(NSIndexPath*) path;
- @end
- @interface NewDispatchRequirementCell : UITableViewCell<StatusInfoTextDelegate,UITextFieldDelegate>
- /**
- 编码
- */
- @property (strong,nonatomic) UILabel * code;
- @property (strong,nonatomic) UILabel * lblOnlyCode;
- @property (strong,nonatomic) UILabel * goodsName;
- @property (strong,nonatomic) UILabel * lblOutQuantity;
- /**
- 送货数量
- */
- @property (strong,nonatomic) UILabel * deliveryQuantity;
- /**
- 安装回执类型
- */
- @property (strong,nonatomic) UIButton *btnInstallState;
- /**
- 安装回执数量
- */
- @property (strong,nonatomic) UITextField *installReceiptQuantity;
- /**
- 回执数量
- */
- @property (strong,nonatomic) UITextField *receiptQuantity;
- /**
- 出库数量
- */
- @property (strong,nonatomic) UILabel * outQuantity;
- /**
- 回执类型
- */
- @property (strong,nonatomic) UIButton *btstate;
- /**
- 备注
- */
- @property (strong,nonatomic) UITextField *remark;
- /**
- 编码
- */
- @property (strong,nonatomic) NSString * sCode;
- /**
- 送货数量
- */
- @property (strong,nonatomic) NSString * sDeliveryQuantity;
- /**
- 配送回执类型
- */
- @property (strong,nonatomic) NSString * sReceiptType;
- /**
- 回执数量
- */
- //@property (strong,nonatomic) NSString * sReceiptQuantity;
- /**
- 回执备注
- */
- @property (strong,nonatomic) NSString * sReceiptRemarks;
- /**
- 出库数量
- */
- @property (strong,nonatomic) NSString * sOutQuantity;
- /**
- 明细id
- */
- @property (strong,nonatomic) NSString * sDetailID;
- /**
- 发票id
- */
- @property (strong,nonatomic) NSString * sInvoiceID;
- /**
- 发票明细id
- */
- @property (strong,nonatomic) NSString * sInvoiceDetailID;
- /**
- 回执类型
- */
- @property (strong,nonatomic)NSString *receiptType;
- /**
- 配送回执模型
- */
- @property (copy,nonatomic) NewDispatchRequirementModel* ml;
- /**
- 配送单元格代理
- */
- @property (nonatomic, weak) id <DeliveryListTableViewCellDetegate> dispatchDelegate;
- /**
- 设置配送回执单元格UI和数据
- @param model <#model description#>
- @param receiptType <#receiptType description#>
- */
- - (void)parseInfoModel:(NewDispatchRequirementModel *)model receiptType:(NSString*)receiptType receiptFlag:(NSString*)receiptFlag;
- /**
- 索引路径
- */
- @property (strong,nonatomic) NSIndexPath *myIndexPath;
- /**
- 单元格索引
- */
- @property (nonatomic) NSInteger cellIndex;
- /**
- 配送回执键盘代理
- */
- @property (nonatomic, weak) id<NewDispatchRequirementKeyBoardDelegate> nddelegate;
- /**
- 是否有小数点
- */
- @property (nonatomic)BOOL isHaveDian;
- @property (strong,nonatomic) UILabel *lblFinalDeliveryReceiptQuantity;
- @property (strong,nonatomic) UILabel *lblFinalInstallReceiptQuantity;
- @end
|