|
@@ -986,6 +986,7 @@ $(document).ready(() => {
|
|
|
const data_charu = $(this).attr('data-charu') ? $(this).attr('data-charu').split('$#$') : [];
|
|
|
const isDeal = $(this).data('gcl') !== undefined ? true : false;
|
|
|
let codeHtml = '<tr quantity="'+ $(this).children('td').eq(5).text() +'" gcl_id="" mx_id=""><td class="text-center">1</td><td colspan="7" class="colspan_1"> </td><td class="colspan_2 text-center"><input type="checkbox"></td></tr>';
|
|
|
+ console.log(isDeal, isCheck);
|
|
|
if (isDeal) {
|
|
|
const lid = $(this).data('lid');
|
|
|
let gcl = _.find(gclGatherData, function (item) {
|
|
@@ -1465,8 +1466,7 @@ $(document).ready(() => {
|
|
|
let hasNew = false;
|
|
|
for (const [index, leaf] of gcl.leafXmjs.entries()) {
|
|
|
if (!leaf.cid || leaf.ccid !== window.location.pathname.split('/')[4]) continue;
|
|
|
-
|
|
|
- const bwmx = [leaf.code, leaf.jldy || '', leaf.dwgc || '', leaf.fbgc || '', leaf.fxgc || '', leaf.gcl_id, leaf.mx_id, leaf.jldy || ''];
|
|
|
+ const bwmx = [leaf.code, leaf.jldy || '', leaf.dwgc || '', leaf.fbgc || '', leaf.fxgc || '', leaf.gcl_id, leaf.mx_id, leaf.bwmx || leaf.jldy || ''];
|
|
|
const de_qu = bwmx.join(infoSpr) + qtySpr + (leaf.quantity || 0);
|
|
|
if (data_bwmx.indexOf(de_qu) < 0) data_bwmx.push(de_qu);
|
|
|
hasNew = true;
|