huangzhiguo il y a 2 ans
Parent
commit
31d86c040a

+ 5 - 0
src/main/webapp/WEB-INF/views/modules/product-new/productList.jsp

@@ -1012,6 +1012,11 @@
 
     // 审核(正常)
     function auditThis(id, name, status, costCheckFlag, costPrice, shopPercent, newvalidFlag, showtime, addtime, newProductType, validFlag) {
+        //比例成
+        if (null == shopPercent || "" == shopPercent) {
+            $.jBox.confirm("商品暂未填写成本比例,请前往编辑页面完善比例后再审核。","提示");
+            return;
+        }
         // 商品成本判断
         if (null == costCheckFlag || "" == costCheckFlag) {
             alertx("成本价未填写,请编辑成本价后再审核");