Pārlūkot izejas kodu

【功能完善】+【反馈:2024080105】+【V6 ViewParam条件修改】

DINGYL 1 mēnesi atpakaļ
vecāks
revīzija
a6e2ee31eb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      WebContent/app/view/v6/pagingQuery/Form.js

+ 1 - 1
WebContent/app/view/v6/pagingQuery/Form.js

@@ -474,7 +474,7 @@ Ext.define('erp.view.v6.pagingQuery.Form', {
     } else if(f.xtype=='condatefield' ) {
       if(f.firstVal && f.secondVal ){
       if (f.name && f.name.indexOf('querydate') >= 0) {
-          return f.logic+".set_from"+f.name+"('"+Ext.Date.format(f.firstVal, 'Y-m-d') +"')='"+Ext.Date.format(f.firstVal, 'Y-m-d') +"' and " +f.logic+".set_to"+f.name+"('"+Ext.Date.format(f.secondVal, 'Y-m-d') +"')='"+Ext.Date.format(f.firstVal, 'Y-m-d') +"'";
+          return f.logic+".set_from"+f.name+"('"+Ext.Date.format(f.firstVal, 'Y-m-d') +"')='"+Ext.Date.format(f.firstVal, 'Y-m-d') +"' and " +f.logic+".set_to"+f.name+"('"+Ext.Date.format(f.secondVal, 'Y-m-d') +"')='"+Ext.Date.format(f.secondVal, 'Y-m-d') +"'";
       } else {
           return f.logic+".set_fromdate('"+Ext.Date.format(f.firstVal, 'Y-m-d') +"')='"+Ext.Date.format(f.firstVal, 'Y-m-d') +"' and " +f.logic+".set_todate('"+Ext.Date.format(f.secondVal, 'Y-m-d') +"')='"+Ext.Date.format(f.secondVal, 'Y-m-d')+"'";
       }