소스 검색

修复调差bug

laiguoran 3 년 전
부모
커밋
26d311c86e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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,