فهرست منبع

Merge branch 'dev' of http://192.168.1.41:3000/maixinrong/Calculation into dev

MaiXinRong 1 سال پیش
والد
کامیت
9882e30075
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/public/js/change_information_set.js

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

@@ -2237,7 +2237,7 @@ function makePushBwmx(clinfo, listinfo, removeList, updateList, lidIsNumber) {
     } else {
         pushbwmx = '0*;*' + (listinfo.quantity !== null ? listinfo.quantity : 0);
     }
-    const bwmx = $('#table-list-select tr[data-index="'+ clinfo.lid +'"]').attr('data-bwmx');
+    const bwmx = lidIsNumber ? $('#table-list-select tr[data-index="'+ clinfo.lid +'"]').attr('data-bwmx') : $('#table-list-select tr[data-lid="'+ clinfo.lid +'"]').attr('data-bwmx');
     if (bwmx) {
         const bwmxArray = bwmx.split('$#$');
         bwmxArray.push(pushbwmx);