|
@@ -6314,7 +6314,7 @@ function checkAndChange(changeListData, showTips = false) {
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
|
- const info = makePushBwmx(clinfo, listinfo, removeList, updateList);
|
|
|
+ const info = makePushBwmx(clinfo, listinfo, removeList, updateList, showTips);
|
|
|
if (info && _.findIndex(changeLedgerList, { id: clinfo.gcl_id }) !== -1) {
|
|
|
// 可能因为升降级关系:细目,分部分项等会发生变化,更新清单
|
|
|
const updateInfo = {};
|
|
@@ -6372,7 +6372,7 @@ function checkAndChange(changeListData, showTips = false) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-function makePushBwmx(clinfo, listinfo, removeList, updateList) {
|
|
|
+function makePushBwmx(clinfo, listinfo, removeList, updateList, showTips = false) {
|
|
|
let info = '';
|
|
|
const checkKey = ['name', 'code', 'unit', 'unit_price'];
|
|
|
const checkLeafKey = ['oamount', 'bwmx', 'code', 'dwgc', 'fbgc', 'fxgc', 'jldy'];
|
|
@@ -6445,7 +6445,7 @@ function makePushBwmx(clinfo, listinfo, removeList, updateList) {
|
|
|
}
|
|
|
info = leafInfo;
|
|
|
} else {
|
|
|
- toastr.warning('台账清单列表已不存在'+ clinfo.code +',已更新变更清单列表');
|
|
|
+ if (!showTips) toastr.warning('台账清单列表已不存在'+ clinfo.code +',已更新变更清单列表');
|
|
|
if (changeStatus !== auditConst.status.revise) {
|
|
|
removeList.push(clinfo);
|
|
|
} else {
|