diff --git a/src/api/device/sparePartsLedger.js b/src/api/device/sparePartsLedger.js
new file mode 100644
index 00000000..2fb0e6a1
--- /dev/null
+++ b/src/api/device/sparePartsLedger.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询备品备件台账管理列表
+export function listSparePartsLedger(query) {
+ return request({
+ url: '/device/sparePartsLedger/list',
+ method: 'get',
+ params: query
+ });
+}
+
+// 查询备品备件台账管理详细
+export function getSparePartsLedger(storageId) {
+ return request({
+ url: '/device/sparePartsLedger/' + storageId,
+ method: 'get'
+ });
+}
+
+// 新增备品备件台账管理
+export function addSparePartsLedger(data) {
+ return request({
+ url: '/device/sparePartsLedger',
+ method: 'post',
+ data: data
+ });
+}
+
+// 修改备品备件台账管理
+export function updateSparePartsLedger(data) {
+ return request({
+ url: '/device/sparePartsLedger',
+ method: 'put',
+ data: data
+ });
+}
+
+// 删除备品备件台账管理
+export function delSparePartsLedger(storageId) {
+ return request({
+ url: '/device/sparePartsLedger/' + storageId,
+ method: 'delete'
+ });
+}
diff --git a/src/views/device/sparePartsLedger/index.vue b/src/views/device/sparePartsLedger/index.vue
new file mode 100644
index 00000000..007046e6
--- /dev/null
+++ b/src/views/device/sparePartsLedger/index.vue
@@ -0,0 +1,538 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.gmtCreate, '{y}-{m}-{d}') }}
+
+
+
+
+
+ {{ parseTime(scope.row.gmtModified, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+