Commit 4857b7dde07473732ee46ac305e978e23fb4790c

Authored by 易文鹏
1 parent 406bae2d

update

src/main/java/com/huaheng/api/acs/service/AcsServiceImpl.java
... ... @@ -226,7 +226,7 @@ public class AcsServiceImpl implements AcsService {
226 226 InventoryHeader inventoryHeader=inventoryHeaderService.getOne(inventoryLambdaQueryWrapper);
227 227 Container container=containerService.getContainerByCode(taskHeader.getContainerCode());
228 228 inventoryHeader.setTotalWeight(container.getWeight().toString());
229   - inventoryHeader.setCheckCount(0);
  229 + //inventoryHeader.setCheckCount(0);
230 230 inventoryHeaderService.updateById(inventoryHeader);
231 231  
232 232 Location location=locationService.getLocationByCode(taskHeader.getToLocation());
... ...
src/main/java/com/huaheng/pc/task/taskHeader/service/TaskHeaderServiceImpl.java
... ... @@ -283,7 +283,7 @@ public class TaskHeaderServiceImpl extends ServiceImpl<TaskHeaderMapper, TaskHea
283 283 invLamb.eq(InventoryHeader::getContainerCode, taskHeader.getContainerCode());
284 284 invLamb.last("limit 1");
285 285 InventoryHeader inventoryHeader=inventoryHeaderService.getOne(invLamb);
286   - inventoryHeader.setCheckCount(0);
  286 + //inventoryHeader.setCheckCount(0);
287 287 inventoryHeaderService.updateById(inventoryHeader);
288 288 break;
289 289 default:
... ...
src/main/resources/templates/config/materialType/add.html
... ... @@ -182,17 +182,17 @@
182 182 },
183 183 },
184 184 submitHandler: function(form) {
185   - // $.operate.save(prefix + "/add", $('#form-locationType-add').serialize());
  185 + $.operate.save(prefix + "/add", $('#form-locationType-add').serialize());
186 186 var tableValue = $.common.getTableValue("#form-materialType-add");
187   - tableValue = formValueReplace(tableValue, "enable", $("#enable option:selected").val());
188   - tableValue = formValueReplace(tableValue, "companyCode", $("#companyCode option:selected").val());
189   - tableValue = formValueReplace(tableValue, "receivingFlow", $("#receivingFlow option:selected").val());
190   - tableValue = formValueReplace(tableValue, "shippingFlow", $("#shippingFlow option:selected").val());
191   - tableValue = formValueReplace(tableValue, "locatingRule", $("#locatingRule option:selected").val());
192   - tableValue = formValueReplace(tableValue, "allocationRule", $("#allocationRule option:selected").val());
193   - tableValue = formValueReplace(tableValue, "replenishmentRule", $("#replenishmentRule option:selected").val());
194   - tableValue = formValueReplace(tableValue, "emptyLocRule", $("#emptyLocRule option:selected").val());
195   - tableValue = formValueReplace(tableValue, "pickingRule", $("#pickingRule option:selected").val());
  187 + // tableValue = formValueReplace(tableValue, "enable", $("#enable option:selected").val());
  188 + // tableValue = formValueReplace(tableValue, "companyCode", $("#companyCode option:selected").val());
  189 + // tableValue = formValueReplace(tableValue, "receivingFlow", $("#receivingFlow option:selected").val());
  190 + // tableValue = formValueReplace(tableValue, "shippingFlow", $("#shippingFlow option:selected").val());
  191 + // tableValue = formValueReplace(tableValue, "locatingRule", $("#locatingRule option:selected").val());
  192 + // tableValue = formValueReplace(tableValue, "allocationRule", $("#allocationRule option:selected").val());
  193 + // tableValue = formValueReplace(tableValue, "replenishmentRule", $("#replenishmentRule option:selected").val());
  194 + // tableValue = formValueReplace(tableValue, "emptyLocRule", $("#emptyLocRule option:selected").val());
  195 + // tableValue = formValueReplace(tableValue, "pickingRule", $("#pickingRule option:selected").val());
196 196 $.operate.save(prefix + "/add", tableValue);
197 197 }
198 198 });
... ...