Browse Source

bug修复

hu 5 months ago
parent
commit
a0a42ceb58
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/custom/restcontroller/webmanage/sale/stockbill/stockbill.java

+ 3 - 3
src/custom/restcontroller/webmanage/sale/stockbill/stockbill.java

@@ -292,11 +292,11 @@ public class stockbill extends Controller {
         }
         row.put("qty",rowsdetail.sum("qty"));
         if(expressformrows.isEmpty()){
+            row.put("expressform_mailno","");
+            row.put("expressform_txlogisticid","");
+        }else{
             row.put("expressform_mailno",expressformrows.get(0).getString("mailno"));
             row.put("expressform_txlogisticid",expressformrows.get(0).getString("txlogisticid"));
-        }else{
-            row.put("expressform_mailno",expressformrows);
-            row.put("expressform_txlogisticid",expressformrows);
         }