Explorar o código

Merge branch 'dev' of http://192.168.1.41:3000/maixinrong/Calculation into dev

Tony Kang hai 1 ano
pai
achega
3f0515912d
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      app/public/js/ledger.js
  2. 1 1
      app/public/js/revise.js

+ 1 - 1
app/public/js/ledger.js

@@ -561,7 +561,7 @@ $(document).ready(function() {
                         }
                     }
                 }
-                if (col.field === 'node_type' && newValue && newValue !== '0') {
+                if (col.field === 'node_type' && newValue && newValue !== '0' && newValue !== '19') {
                     const sameNodeType = sortData.find(x => { return x.node_type == newValue; });
                     console.log(newValue, sameNodeType);
                     if (sameNodeType) {

+ 1 - 1
app/public/js/revise.js

@@ -521,7 +521,7 @@ $(document).ready(() => {
                         }
                     }
                 }
-                if (col.field === 'node_type' && newValue && newValue !== '0') {
+                if (col.field === 'node_type' && newValue && newValue !== '0' && newValue !== '19') {
                     const sameNodeType = sortData.find(x => { return x.node_type == newValue; });
                     if (sameNodeType) {
                         toastr.error('已存在该费用类别,请勿重复选择');