Explorar el Código

Merge branch 'master' of http://192.168.1.41:3000/maixinrong/Calculation

laiguoran hace 5 años
padre
commit
7a0a21586d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/public/js/stage_compare.js

+ 1 - 1
app/public/js/stage_compare.js

@@ -61,7 +61,7 @@ $(document).ready(function () {
         function checkDiffer(data) {
             const fieldSufs = sheet.zh_setting.fieldSufs;
             if (fieldSufs.length <= 1) return false;
-            const field = data.quantity ? 'gather_qty' : 'gather_tp';
+            const field = !data.is_tp ? 'gather_qty' : 'gather_tp';
             const base = data[field + fieldSufs[0]];
             for (let i = 1; i< fieldSufs.length; i++) {
                 const compare = data[field + fieldSufs[i]];