Browse Source

二线出岛业务记账管理,记账数量、出/入库日期、记账日期查询结果不正确

CzRger 7 months ago
parent
commit
bedcbf6ab9
1 changed files with 4 additions and 4 deletions
  1. 4 4
      snowy-admin-web/src/views/yqyc/general-ledger/two/index.vue

+ 4 - 4
snowy-admin-web/src/views/yqyc/general-ledger/two/index.vue

@@ -288,14 +288,14 @@ const loadData = (parameter) => {
   tableRef.value.clearSelected()
   tableRef.value.clearSelected()
   // warehouseTime范围查询条件重载
   // warehouseTime范围查询条件重载
   if (searchFormStateReal.value.warehouseTime) {
   if (searchFormStateReal.value.warehouseTime) {
-    searchFormStateReal.value.startWarehouseTime = searchFormStateReal.value.warehouseTime[0]
-    searchFormStateReal.value.endWarehouseTime = searchFormStateReal.value.warehouseTime[1]
+    searchFormStateReal.value.startWarehouseTime = proxy.$util.YMDHms(searchFormStateReal.value.warehouseTime[0])
+    searchFormStateReal.value.endWarehouseTime = proxy.$util.YMDHms(searchFormStateReal.value.warehouseTime[1])
     delete searchFormStateReal.value.warehouseTime
     delete searchFormStateReal.value.warehouseTime
   }
   }
   // accountTime范围查询条件重载
   // accountTime范围查询条件重载
   if (searchFormStateReal.value.accountTime) {
   if (searchFormStateReal.value.accountTime) {
-    searchFormStateReal.value.startAccountTime = searchFormStateReal.value.accountTime[0]
-    searchFormStateReal.value.endAccountTime = searchFormStateReal.value.accountTime[1]
+    searchFormStateReal.value.startAccountTime = proxy.$util.YMDHms(searchFormStateReal.value.accountTime[0])
+    searchFormStateReal.value.endAccountTime = proxy.$util.YMDHms(searchFormStateReal.value.accountTime[1])
     delete searchFormStateReal.value.accountTime
     delete searchFormStateReal.value.accountTime
   }
   }
   return qySecondlineWarehouseApi.qySecondlineWarehousePage(Object.assign(parameter, searchFormStateReal.value)).then((data) => {
   return qySecondlineWarehouseApi.qySecondlineWarehousePage(Object.assign(parameter, searchFormStateReal.value)).then((data) => {