diff --git a/src/api/check/physicalInventory.js b/src/api/check/physicalInventory.js
new file mode 100644
index 0000000..9c13596
--- /dev/null
+++ b/src/api/check/physicalInventory.js
@@ -0,0 +1,56 @@
+import { createAPI } from "@/utils/httpRequest.js";
+
+// ==================== 盘点主表 ==================== - rqrq
+
+// 查询盘点主表列表(分页)
+export const searchCountHeaderList = data => createAPI(`/check/physicalInventory/searchCountHeaderList`, 'post', data)
+
+// 根据site和countNo查询盘点主表
+export const getCountHeaderByNo = data => createAPI(`/check/physicalInventory/getCountHeaderByNo`, 'post', data)
+
+// 创建循环盘点单
+export const createCycleCount = data => createAPI(`/check/physicalInventory/createCycleCount`, 'post', data)
+
+// 创建空的手工盘点单(只有表头)
+export const createManualCount = data => createAPI(`/check/physicalInventory/createManualCount`, 'post', data)
+
+// 手工盘点 - 查询物料汇总(用于添加物料弹框)
+export const queryMaterialForManualCount = data => createAPI(`/check/physicalInventory/queryMaterialForManualCount`, 'post', data)
+
+// 手工盘点 - 添加物料到盘点单
+export const addMaterialToCount = data => createAPI(`/check/physicalInventory/addMaterialToCount`, 'post', data)
+
+// 下达盘点单
+export const releaseCount = data => createAPI(`/check/physicalInventory/releaseCount`, 'post', data)
+
+// 完成盘点单
+export const completeCount = data => createAPI(`/check/physicalInventory/completeCount`, 'post', data)
+
+// 取消盘点单
+export const cancelCount = data => createAPI(`/check/physicalInventory/cancelCount`, 'post', data)
+
+// 删除盘点单
+export const deleteCount = data => createAPI(`/check/physicalInventory/deleteCount`, 'post', data)
+
+// ==================== 盘点标签 ==================== - rqrq
+
+// 查询盘点标签明细
+export const searchCountLabelList = data => createAPI(`/check/physicalInventory/searchCountLabelList`, 'post', data)
+
+// 确认标签盘点
+export const confirmLabelCount = data => createAPI(`/check/physicalInventory/confirmLabelCount`, 'post', data)
+
+// ==================== 盘点栈板 ==================== - rqrq
+
+// 查询盘点栈板明细
+export const searchCountPalletList = data => createAPI(`/check/physicalInventory/searchCountPalletList`, 'post', data)
+
+// ==================== 盘点结果 ==================== - rqrq
+
+// 查询盘点结果列表
+export const searchCountResultList = data => createAPI(`/check/physicalInventory/searchCountResultList`, 'post', data)
+
+// ==================== 物料汇总 ==================== - rqrq
+
+// 查询物料汇总
+export const searchMaterialSummary = data => createAPI(`/check/physicalInventory/searchMaterialSummary`, 'post', data)
diff --git a/src/views/common/login.vue b/src/views/common/login.vue
index b868a3f..e8ef593 100644
--- a/src/views/common/login.vue
+++ b/src/views/common/login.vue
@@ -154,6 +154,7 @@
localStorage.setItem('refresh', "0")
localStorage.setItem('userName', this.dataForm.userName)
localStorage.setItem('site', this.selectedSite) // 保存选择的工厂
+
this.getConfigParams()
} else {
this.$message.error(data.msg)
diff --git a/src/views/main.vue b/src/views/main.vue
index 4836262..44630ee 100644
--- a/src/views/main.vue
+++ b/src/views/main.vue
@@ -122,9 +122,8 @@
this.loading = false
this.userId = data.user.userId
this.userName = data.user.username
- this.site = data.user.site
+ this.site = localStorage.getItem('site')
this.languageDefault = data.user.languageDefault
- this.site = data.user.site
this.userDisplay = data.user.userDisplay
}
})
diff --git a/src/views/modules/check/searchPhysicalInventory.vue b/src/views/modules/check/searchPhysicalInventory.vue
new file mode 100644
index 0000000..70fb548
--- /dev/null
+++ b/src/views/modules/check/searchPhysicalInventory.vue
@@ -0,0 +1,855 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 至
+
+
+
+ 查询
+ 重置
+ 循环盘点
+ 手工盘点
+
+
+
+
+
+
+
+
+ {{ scope.row.statusDesc }}
+ {{ scope.row.countPercent ? scope.row.countPercent + '%' : '' }}
+ {{ scope.row.checkedLabelCount }}/{{ scope.row.totalLabelCount }}
+ {{ formatDateTime(scope.row.applyDate) }}
+ {{ formatDateTime(scope.row.releaseDate) }}
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+ 添加物料
+ 下达
+ 完成
+ 取消
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.countFlagDesc }}
+ {{ formatDateTime(scope.row.countDate) }}
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
+
+ {{ scope.row.countFlagDesc }}
+ {{ formatDateTime(scope.row.countDate) }}
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
+
+ {{ scope.row.countResultDesc }}
+ {{ formatDateTime(scope.row.countDate) }}
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
+
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ createLoading ? '创建中...' : '创 建' }}
+ 取 消
+
+
+
+
+
+
+ 添加物料
+
+
+
+
+
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
+
+
+