|
@@ -2237,7 +2237,7 @@ function makePushBwmx(clinfo, listinfo, removeList, updateList, lidIsNumber) {
|
|
} else {
|
|
} else {
|
|
pushbwmx = '0*;*' + (listinfo.quantity !== null ? listinfo.quantity : 0);
|
|
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) {
|
|
if (bwmx) {
|
|
const bwmxArray = bwmx.split('$#$');
|
|
const bwmxArray = bwmx.split('$#$');
|
|
bwmxArray.push(pushbwmx);
|
|
bwmxArray.push(pushbwmx);
|