Browse Source

细节优化

wufeng 2 năm trước cách đây
mục cha
commit
5f52e4c212
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/admin/controller/ReorderChild.php

+ 1 - 1
app/admin/controller/ReorderChild.php

@@ -21,7 +21,7 @@ class ReorderChild extends Base
 
         $val = Validate::rule([
             'returnCode|退货单编号' => 'require',
-            'outCode|发货单编号' => 'require',
+            'outCode|发货单编号' => 'requireIf:type,2',
             'list|退货工单集合' => 'require|array|max:100',
             'type|工单退货类型' => 'require|number|in:1,2',
         ]);