//
//  TransferPdtDetail.h
//  XFFruit
//
//  Created by 陈俊俊 on 15/9/28.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "IBTModel.h"
#import "PurchaseBillProduct.h"
#import "TransportPdtDetail.h"
@interface TransferPdtDetail : IBTModel
@property (nonatomic,strong)NSString *uuid;             //唯一标识
@property (nonatomic,strong)NSString *productUuid;      //商品id
@property (nonatomic,strong)NSString *productCode;      //商品代码
@property (nonatomic,strong)NSString *productName;      //商品名称
@property (nonatomic,strong)NSString *sourcebillnumber; //来源单号
@property (nonatomic,strong)NSString *sourcePdtDetail;	//来源单明细id
@property (nonatomic,strong)NSString *sourcetype ;       //来源单类型
@property (nonatomic,strong)NSNumber *qpc;              //包装规格
@property (nonatomic,strong)NSString *qpcStr;           //包装规格描述
@property (nonatomic,strong)NSString *unit;             //包装单位
@property (nonatomic,strong)NSNumber *packprice;        //包装单价
@property (nonatomic,strong)NSString *baseUnit;         //规格单位
@property (nonatomic,strong)NSNumber *qty;              //转运的包装数量
@property (nonatomic,strong)NSNumber *price;            //基础单价
@property (nonatomic,strong)NSNumber *baseQty;          //转运的基础数量
@property (nonatomic,strong)NSNumber *total;            //转运合计金额
@property (nonatomic,strong)NSString *note;             //备注

//新增
@property (nonatomic,strong)NSNumber *rctBaseQty;        //收货的基础数量
@property (nonatomic,strong)NSNumber *rctQty;            //收货数量
@property (nonatomic,strong)NSNumber *rctTotal;          //收货金额

//新增手机和车辆信息
@property (nonatomic,strong)NSString *carphone;         //司机电话
@property (nonatomic,strong)NSString *carnumber;	    //车牌号

@property (strong, nonatomic) NSNumber *receivedQty;//收货数量


//采购单商品对象
//@property (nonatomic,strong)NSString *uuid;//唯一标识
//@property (nonatomic,strong)NSString *product_uuid;//商品uuid
//@property (nonatomic,strong)NSString *product_code;//商品代码
//@property (nonatomic,strong)NSString *product_name;//商品名称
//@property (nonatomic,strong)NSNumber *qpc;//包装规格
//@property (nonatomic,strong)NSString *qpcStr;//包装规格描述
//@property (nonatomic,strong)NSString *unit;//包装单位
//@property (nonatomic,strong)NSNumber *qty;//包装数量
//@property (nonatomic,strong)NSNumber *price;//包装单价
//@property (nonatomic,strong)NSNumber *baseQty;//基础数量
@property (nonatomic,strong)NSNumber *basePrice;//基础单价
//@property (nonatomic,strong)NSString *baseUnit;//规格单位
//@property (nonatomic,strong)NSNumber *total;//　金额
@property (nonatomic,strong)NSString *remark;//备注
@property (nonatomic,strong)NSNumber *shippedFlag;//发运标志，0 未发运，1已发运
@property (nonatomic,strong)NSNumber *shippedQty;//发运包装数量
@property (nonatomic,strong)NSNumber *shippedBaseQty;//发运基础数量
@property (strong, nonatomic) PurchaseBillProduct *purchasePdt;
@property (strong, nonatomic) TransportPdtDetail *transportPdt;

/** 考核单价 */
@property (strong, nonatomic) NSNumber *checkPrice;

/** 考核总金额 */
@property (strong, nonatomic) NSNumber *checkTotal;
/**
 *  柜号
 */
@property (strong, nonatomic) NSString *vnum;

- (PurchaseBillProduct *)changeToPurchasePdt;
- (TransportPdtDetail *)changeToTransportPdt;
- (void)z_setRctQty:(CGFloat)qty;
@end
