Ver código fonte

修复调差bug

laiguoran 3 anos atrás
pai
commit
26d311c86e
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      app/public/js/measure_material.js

+ 2 - 2
app/public/js/measure_material.js

@@ -322,7 +322,7 @@ $(function () {
                                 hadQtySelfList.push(bill);
                                 insertSelfList.push({
                                     gcl_id: xmj.gcl_id,
-                                    mx_id: xmj.mx_id ? xmj.mx_id : null,
+                                    mx_id: xmj.mx_id ? xmj.mx_id : '',
                                     xmj_id: xmj.id ? xmj.id : null,
                                     gather_qty: xmj.gather_qty,
                                     quantity: bill.quantity,
@@ -336,7 +336,7 @@ $(function () {
                             for (const bill of one.bills) {
                                 insertList.push({
                                     gcl_id: xmj.gcl_id,
-                                    mx_id: xmj.mx_id ? xmj.mx_id : null,
+                                    mx_id: xmj.mx_id ? xmj.mx_id : '',
                                     xmj_id: xmj.id ? xmj.id : null,
                                     gather_qty: xmj.gather_qty,
                                     quantity: bill.quantity,