add:增加合格证入库功能。

This commit is contained in:
2024-11-27 11:16:42 +08:00
parent eba8a2048e
commit cd1798c22f
6 changed files with 36 additions and 4 deletions

View File

@@ -27,6 +27,7 @@ public class DictConstantPool {
,"qty","申请数量"
,"plan_qty","计划数量"
,"assign_qty","已领数量"
,"bar_code","条码"
,"unit_id","单位"
,"pcsn","批次"
,"vehicle_code","载具");

View File

@@ -143,6 +143,10 @@ public class BmFormStruc implements Serializable {
* 是否属于基础表单
*/
private Boolean is_base;
/**
* 条码
*/
private String bar_code;
}

View File

@@ -97,6 +97,16 @@ public class BmFormStrucDto implements Serializable {
*/
private String qty;
/**
* 计划数量
*/
private String plan_qty;
/**
* 已领取数量
*/
private String assign_qty;
/**
* 单位id
*/
@@ -121,6 +131,10 @@ public class BmFormStrucDto implements Serializable {
* 是否为基础表
*/
private Boolean is_base;
/**
* 是否为基础表
*/
private String bar_code;
/**
* 表单自动映射
*/

View File

@@ -125,7 +125,7 @@ public class PdaIOService {
public PmFormData getCertificateInfo(String id) {
PmFormData result = new PmFormData();
try {
if (id.contains("OP")) {
if (id.contains("OP")||id.contains("op")) {
getOpBills(id, result);
} else {
@@ -164,7 +164,7 @@ public class PdaIOService {
result.setOwnerId(dataList.get(7).toString());
result.setPcsn(dataList.get(8).toString());
result.setProduct_area(dataList.get(9).toString());
result.setStockInOrgId(dataList.get(10).toString());
//result.setStockId(dataList.get(10).toString());
}
}
}

View File

@@ -178,10 +178,16 @@ public class PmFormData implements Serializable {
private String product_area;
/**
* 生产车间
* ERP仓库
*/
@TableField(exist = false)
private String stockInOrgId;
private String stockId;
/**
* 条码
*/
private String bar_code;
}