diff --git a/src/views/materialsStation/equipment/equipmentRecord/index.vue b/src/views/materialsStation/equipment/equipmentRecord/index.vue
index d08a7714..2182fab6 100644
--- a/src/views/materialsStation/equipment/equipmentRecord/index.vue
+++ b/src/views/materialsStation/equipment/equipmentRecord/index.vue
@@ -113,13 +113,24 @@
label="序号"
align="center"
type="index"
+ width="55"
:index="index => (queryParams.pageNum - 1) * queryParams.pageSize + index + 1"
/>
-
-
+
+
+ {{ row.subUnitName }}
+ {{ '/' }}
+
+
+
+
+ {{ row.teamName }}
+ {{ '站内库存' }}
+
+
@@ -159,6 +170,7 @@
查询
+ 重置
导出
@@ -176,8 +188,6 @@
-
-
{
- this.dialogList = response.data.rows
- this.dialogTotal = response.data.total
- })
+ async getStoreCodeList() {
+ try {
+ this.loading = true
+ const res = await getStorageInfoListApi(this.dialogQuery)
+ this.dialogList = res.data.rows || []
+ this.dialogTotal = res.data.total || 0
+ } catch (error) {
+ console.log('🚀 ~ getStoreCodeList ~ error:', error)
+ } finally {
+ this.loading = false
+ }
},
/** 搜索在库按钮操作 */
handleDialogQuery() {
this.dialogQuery.pageNum = 1
+ this.dialogQuery.pageSize = 10
+ this.getStoreCodeList()
+ },
+ resetDialogQuery() {
+ this.dialogQuery.pageNum = 1
+ this.dialogQuery.pageSize = 10
+ this.dialogQuery.keyWord = ''
this.getStoreCodeList()
},
handleDialogStoreExport() {
this.download(
'material/material_maMachine/exportStorageInfoList',
{ ...this.dialogQuery },
- `综合查询_在库设备_${new Date().getTime()}.xlsx`
+ `设备编码详情_${new Date().getTime()}.xlsx`
)
}
// ------------------
diff --git a/src/views/materialsStation/equipment/equipmentRecord/index_old.vue b/src/views/materialsStation/equipment/equipmentRecord/index_old.vue
new file mode 100644
index 00000000..6775fb83
--- /dev/null
+++ b/src/views/materialsStation/equipment/equipmentRecord/index_old.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+ 导出数据
+
+
+
+
+
+
+
+
+ {{ row.proName }}
+
+
+
+
+
+
+
+
+
+