فهرست منبع

计量台账,复制粘贴调整

maixinrong 5 سال پیش
والد
کامیت
80a074952c
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      app/public/js/stage.js

+ 5 - 0
app/public/js/stage.js

@@ -728,6 +728,11 @@ $(document).ready(() => {
                     for (let iCol = 0; iCol < info.cellRange.colCount; iCol++) {
                         const curCol = info.cellRange.col + iCol;
                         const col = info.sheet.zh_setting.cols[curCol];
+                        if (col.field === 'contract_tp') {
+                            if (!node.is_tp) continue;
+                        } else if (col.field === 'contract_qty') {
+                            if (node.is_tp) continue;
+                        }
 
                         if (setting.dgnUpFields.indexOf(col.field) !== -1) {
                             if (node.b_code && node.b_code !== '') continue;