Explorar el Código

修复调差bug

laiguoran hace 3 años
padre
commit
26d311c86e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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,