diff --git a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java index 943c113c..5bbdc3c3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java @@ -393,7 +393,7 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService warehouseStorageOrder.setCreateBy(ShiroUtils.getLoginName()); result = warehouseStorageOrderMapper.insertWarehouseStorageOrder(warehouseStorageOrder); } - if(list2.size()>0) { + if(list2.size() > 0) { String warehouseStorageCode1 = redisCache.generateBillNo("RK"); //入库部门类型:采购入库单 for (WarehouseStorageOrderDetail warehouseStorageOrderDetail: list2) { diff --git a/ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html b/ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html index 2a544e63..be95f385 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html +++ b/ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html @@ -249,9 +249,6 @@ $("#form-edit").validate({focusCleanup: true}); function submitHandler() { if ($.validate.form()) { - $("#selectMaterialType").removeAttr("disabled"); - $("#selectProcessMethod").removeAttr("disabled"); - $("#selectUnit").removeAttr("disabled"); var materialType = $('#selectMaterialType').select2('val'); $('#materialType').val(materialType); if ($('textarea[name="comment"]').val()) { diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html b/ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html index e0be1cee..09e05ad8 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html @@ -253,7 +253,6 @@ }, } }) - var erpMaterial = [[${formData}]]; var prefix = ctx + "erp/material"; $("#form-edit").validate({focusCleanup: true}); function submitHandler() {