diff --git a/src/api/firstOrder/inbound.js b/src/api/firstOrder/inbound.js
new file mode 100644
index 0000000..84f3845
--- /dev/null
+++ b/src/api/firstOrder/inbound.js
@@ -0,0 +1,15 @@
+import request from '@/router/axios';
+
+export const getList = (current, size, params) => {
+ return request({
+ url: '/smartpark/onePutStorage/list',
+ method: 'get',
+ params: {
+ ...params,
+ pageSize:size,
+ pageNum:current,
+ },
+ cryptoToken: false,
+ cryptoData: false
+ })
+}
\ No newline at end of file
diff --git a/src/api/materials/list.js b/src/api/materials/list.js
new file mode 100644
index 0000000..4612ae4
--- /dev/null
+++ b/src/api/materials/list.js
@@ -0,0 +1,42 @@
+import request from '@/router/axios';
+
+export const getList = (current, size, params) => {
+ return request({
+ url: '/smartpark/material/list',
+ method: 'get',
+ params: {
+ ...params,
+ pageSize: size,
+ pageNum: current,
+ },
+ cryptoToken: false,
+ cryptoData: false
+ })
+}
+export const add = (row) => {
+ return request({
+ url: '/smartpark/material/submit',
+ method: 'post',
+ data: row,
+ cryptoToken: false,
+ cryptoData: false
+ })
+}
+export const update = (row) => {
+ return request({
+ url: '/smartpark/material/submit',
+ method: 'post',
+ data: row,
+ cryptoToken: false,
+ cryptoData: false
+ })
+}
+export const remove = (ids) => {
+ return request({
+ url: '/smartpark/material/remove',
+ method: 'post',
+ params: { ids }, // 使用params而不是data,将参数放在URL查询参数中
+ cryptoToken: false,
+ cryptoData: false
+ })
+}
diff --git a/src/api/purchaseOrders/index.js b/src/api/purchaseOrders/index.js
new file mode 100644
index 0000000..38878ee
--- /dev/null
+++ b/src/api/purchaseOrders/index.js
@@ -0,0 +1,15 @@
+import request from '@/router/axios';
+
+export const getList = (current, size, params) => {
+ return request({
+ url: '/smartpark/purchaseEnd/list',
+ method: 'get',
+ params: {
+ ...params,
+ pageSize: size,
+ pageNum: current,
+ },
+ cryptoToken: false,
+ cryptoData: false
+ })
+}
\ No newline at end of file
diff --git a/src/views/firstOrder/inbound.vue b/src/views/firstOrder/inbound.vue
index 7726aca..9941060 100644
--- a/src/views/firstOrder/inbound.vue
+++ b/src/views/firstOrder/inbound.vue
@@ -3,7 +3,7 @@
+ @refresh-change="refreshChange" @on-load="onLoad">
新增入库单
@@ -12,12 +12,13 @@
- {{scope.row.caigoudanmingcheng}}
+ {{
+ scope.row.caigoudanmingcheng }}
无
详情
- 编辑
+ 编辑
@@ -26,12 +27,13 @@
-
+