|
|
@@ -35,27 +35,23 @@ class PackInfo : public QEnableSharedFromThis<PackInfo>
|
|
|
public:
|
|
|
PackInfo(const ProjectInfo & info);
|
|
|
|
|
|
- //QString code_single 是 string 码单
|
|
|
int quantity = 0;// 是 int 箱数
|
|
|
int level_id = 0;// 是 int 等级ID
|
|
|
QString level;
|
|
|
-// int tube_number;// 是 int 筒数
|
|
|
-// int gross_weight;// 是 int 毛重 单位:克
|
|
|
-// int net_weight;// 是 int 净重 单位:克
|
|
|
int machine_no = 0;// 是 string 机台
|
|
|
int packing_time = 0;// 是 string 打包时间
|
|
|
int packing_type = 0;// 是 string 打包类型
|
|
|
QString carton_type;// 是 string 纸箱
|
|
|
int operator_id = 0;// 是 int 操作员ID
|
|
|
-// details 是 array 成品详情
|
|
|
QString remark;// 否 string
|
|
|
|
|
|
- inline const QList<QSharedPointer<BoxInfo>> & boxes() const {return _boxes;}
|
|
|
+ inline const QList<QSharedPointer<BoxInfo>> & boxes() const {return _boxes;} //array 成品详情
|
|
|
inline const ProjectInfo & info() const {return _info;}
|
|
|
+ inline QString codeSingle() const {return code_single;} //string 码单
|
|
|
|
|
|
- int tube_number();
|
|
|
- int gross_weight();
|
|
|
- int net_weight();
|
|
|
+ int tube_number(); //int 筒数
|
|
|
+ int gross_weight(); // 毛重 单位:克
|
|
|
+ int net_weight(); //单位:克
|
|
|
|
|
|
QSharedPointer<BoxInfo> addBoxInfo();
|
|
|
|