|
@@ -966,11 +966,13 @@ $(document).ready(() => {
|
|
|
const colSetting = sheet.zh_setting.cols[iCol];
|
|
|
if (sheet.zh_setting.dgnUpFields.indexOf(colSetting.field) !== -1) {
|
|
|
if (node.b_code && node.b_code !== '') continue;
|
|
|
- } else if (colSetting.field === 'contract_qty') {
|
|
|
- if (node.is_tp) continue;
|
|
|
- } else if (colSetting.field === 'contract_tp') {
|
|
|
- if (!node.is_tp) continue;
|
|
|
} else if (colSetting.field !== 'postil') {
|
|
|
+ if (colSetting.field === 'contract_qty') {
|
|
|
+ if (node.is_tp) continue;
|
|
|
+ } else if (colSetting.field === 'contract_tp') {
|
|
|
+ if (!node.is_tp) continue;
|
|
|
+ }
|
|
|
+
|
|
|
if (node.children && node.children.length > 0) {
|
|
|
continue;
|
|
|
}
|