|
@@ -119,6 +119,10 @@ $(document).ready(() => {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
],
|
|
],
|
|
|
|
+ localCache: {
|
|
|
|
+ key: 'changes-spread',
|
|
|
|
+ colWidth: true,
|
|
|
|
+ }
|
|
};
|
|
};
|
|
|
|
|
|
const changeCol = {
|
|
const changeCol = {
|
|
@@ -836,9 +840,8 @@ function tableDataRemake(changeListData) {
|
|
let pushbwmx = '0*;*0';
|
|
let pushbwmx = '0*;*0';
|
|
if (listinfo.leafXmjs !== undefined) {
|
|
if (listinfo.leafXmjs !== undefined) {
|
|
const leafInfo = listinfo.leafXmjs.find(function (item) {
|
|
const leafInfo = listinfo.leafXmjs.find(function (item) {
|
|
- return (item.bwmx === undefined || item.bwmx === clinfo.bwmx) && (item.quantity !== null ? item.quantity === parseFloat(clinfo.oamount) : 0 === parseFloat(clinfo.oamount));
|
|
|
|
|
|
+ return (item.bwmx === undefined || item.bwmx === clinfo.bwmx) && item.code === clinfo.xmj_code && (item.quantity !== null ? item.quantity === parseFloat(clinfo.oamount) : 0 === parseFloat(clinfo.oamount));
|
|
});
|
|
});
|
|
- console.log(leafInfo);
|
|
|
|
if (leafInfo) {
|
|
if (leafInfo) {
|
|
pushbwmx = leafInfo.code + '!_!' + (leafInfo.jldy !== undefined ? leafInfo.jldy : '') + '!_!' +
|
|
pushbwmx = leafInfo.code + '!_!' + (leafInfo.jldy !== undefined ? leafInfo.jldy : '') + '!_!' +
|
|
(leafInfo.dwgc ? leafInfo.dwgc : '') + '!_!' +
|
|
(leafInfo.dwgc ? leafInfo.dwgc : '') + '!_!' +
|
|
@@ -868,7 +871,7 @@ function tableDataRemake(changeListData) {
|
|
let pushbwmx = '0*;*0';
|
|
let pushbwmx = '0*;*0';
|
|
if (listinfo.leafXmjs !== undefined) {
|
|
if (listinfo.leafXmjs !== undefined) {
|
|
const leafInfo = listinfo.leafXmjs.find(function (item) {
|
|
const leafInfo = listinfo.leafXmjs.find(function (item) {
|
|
- return (item.bwmx === undefined || item.bwmx === clinfo.bwmx || item.jldy === clinfo.bwmx) && (item.quantity !== null ? item.quantity === parseFloat(clinfo.oamount) : 0 === parseFloat(clinfo.oamount));
|
|
|
|
|
|
+ return (item.bwmx === undefined || item.bwmx === clinfo.bwmx || item.jldy === clinfo.bwmx) && item.code === clinfo.xmj_code && (item.quantity !== null ? item.quantity === parseFloat(clinfo.oamount) : 0 === parseFloat(clinfo.oamount));
|
|
});
|
|
});
|
|
if (leafInfo) {
|
|
if (leafInfo) {
|
|
pushbwmx = leafInfo.code + '!_!' + (leafInfo.jldy !== undefined ? leafInfo.jldy : '') + '!_!' +
|
|
pushbwmx = leafInfo.code + '!_!' + (leafInfo.jldy !== undefined ? leafInfo.jldy : '') + '!_!' +
|