浏览代码

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

CzRger 7 月之前
父节点
当前提交
bedcbf6ab9
共有 1 个文件被更改,包括 4 次插入4 次删除
  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()
   // 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
   }
   // 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
   }
   return qySecondlineWarehouseApi.qySecondlineWarehousePage(Object.assign(parameter, searchFormStateReal.value)).then((data) => {