代码更新
This commit is contained in:
@@ -80,7 +80,7 @@ public class ProductInstorServiceImpl implements ProductInstorService {
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public JSONObject confirm(JSONObject whereJson) {
|
||||
String box_no = whereJson.getString("box_no");
|
||||
//1-报废入库;2-生产入库;3-退货入库
|
||||
//1-报废入库;2-生产入库;3-退货入库;4-拆分入库
|
||||
String option = whereJson.getString("option");
|
||||
String material_code = whereJson.getString("material_code");
|
||||
String is_virtual = whereJson.getString("is_virtual");
|
||||
@@ -112,6 +112,9 @@ public class ProductInstorServiceImpl implements ProductInstorService {
|
||||
if (option.equals("3")) {
|
||||
mst_jo.put("bill_type", "0002");
|
||||
}
|
||||
if (option.equals("4")) {
|
||||
mst_jo.put("bill_type", "0005");
|
||||
}
|
||||
//查询成品库仓库
|
||||
JSONObject stor = WQLObject.getWQLObject("st_ivt_bsrealstorattr").query("is_delete = '0' AND is_used = '1' AND is_productstore = '1'").uniqueResult(0);
|
||||
mst_jo.put("stor_id", stor.getString("stor_id"));
|
||||
|
||||
Reference in New Issue
Block a user