Commit cdc62a93 by liuyang

2024-07-30 修复入库质检单质检完成数据回写bug

parent 63b536b1
...@@ -6,6 +6,7 @@ import com.baosight.hggp.core.enums.DeleteFlagEnum; ...@@ -6,6 +6,7 @@ import com.baosight.hggp.core.enums.DeleteFlagEnum;
import com.baosight.hggp.hg.cg.domain.*; import com.baosight.hggp.hg.cg.domain.*;
import com.baosight.hggp.hg.constant.HGConstant; import com.baosight.hggp.hg.constant.HGConstant;
import com.baosight.hggp.hg.constant.HGSqlConstant; import com.baosight.hggp.hg.constant.HGSqlConstant;
import com.baosight.hggp.hg.kc.tools.HGKCTools;
import com.baosight.hggp.hg.zl.domain.HGZL001; import com.baosight.hggp.hg.zl.domain.HGZL001;
import com.baosight.hggp.util.AssertUtils; import com.baosight.hggp.util.AssertUtils;
import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.CollectionUtils;
...@@ -560,6 +561,9 @@ public class HGCGTools { ...@@ -560,6 +561,9 @@ public class HGCGTools {
paramDetailMap.put(HGCG003B.FIELD_DEPOSIT_QTY, zl001.getQualifyQty()); paramDetailMap.put(HGCG003B.FIELD_DEPOSIT_QTY, zl001.getQualifyQty());
DaoUtils.update(HGSqlConstant.HgCg003B.UPDATE_CONFIRM, paramDetailMap); DaoUtils.update(HGSqlConstant.HgCg003B.UPDATE_CONFIRM, paramDetailMap);
//采购入库
HGKCTools.HgKc001.putInStorageData(zl001.getReceiveDetailId());
}); });
//获取质检通过的收货单信息 //获取质检通过的收货单信息
List<String> receiveNos = zl001s.stream().map(o->o.getReceiveNo()).collect(Collectors.toList()); List<String> receiveNos = zl001s.stream().map(o->o.getReceiveNo()).collect(Collectors.toList());
......
...@@ -37,7 +37,8 @@ public class ServiceHGCW010A extends ServiceBase { ...@@ -37,7 +37,8 @@ public class ServiceHGCW010A extends ServiceBase {
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "账期维护",operType = "查询",operDesc = "初始化") @OperationLogAnnotation(operModul = "销售开票",operType = "查询",operDesc = "初始化")
@Override
public EiInfo initLoad(EiInfo inInfo) { public EiInfo initLoad(EiInfo inInfo) {
try { try {
EiInfoUtils.addBlock(inInfo,"roleCompany", UserSessionUtils.getRoleCompany(), Company.class); EiInfoUtils.addBlock(inInfo,"roleCompany", UserSessionUtils.getRoleCompany(), Company.class);
...@@ -55,7 +56,7 @@ public class ServiceHGCW010A extends ServiceBase { ...@@ -55,7 +56,7 @@ public class ServiceHGCW010A extends ServiceBase {
* @param inInfo * @param inInfo
* @return * @return
*/ */
@OperationLogAnnotation(operModul = "账期维护",operType = "查询",operDesc = "查询") @OperationLogAnnotation(operModul = "销售开票",operType = "查询",operDesc = "查询")
@Override @Override
public EiInfo query(EiInfo inInfo) { public EiInfo query(EiInfo inInfo) {
try { try {
......
...@@ -108,7 +108,7 @@ function saveFunc() { ...@@ -108,7 +108,7 @@ function saveFunc() {
$.each(rows, function(index, item) { $.each(rows, function(index, item) {
let reviewStatus= item.get("reviewStatus"); let reviewStatus= item.get("reviewStatus");
if((reviewStatus === "1")){ if((reviewStatus === "1")){
message("数据已审核"); message("数据已审核,无法修改");
flag = false; flag = false;
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment