From f5c5657ec2a478de3a25ae1361c2cac828ac1394 Mon Sep 17 00:00:00 2001
From: qiezi <15576055375@163.com>
Date: Fri, 21 Feb 2025 17:13:58 +0800
Subject: [PATCH] 20240221
---
src/api/partspare/purchaseOrder.js | 9 +
.../partspare/inventoryStockPurchasing.vue | 690 ++++++++++++++++++
src/views/modules/partspare/purchaseOrder.vue | 370 ++++++++++
3 files changed, 1069 insertions(+)
create mode 100644 src/api/partspare/purchaseOrder.js
create mode 100644 src/views/modules/partspare/inventoryStockPurchasing.vue
create mode 100644 src/views/modules/partspare/purchaseOrder.vue
diff --git a/src/api/partspare/purchaseOrder.js b/src/api/partspare/purchaseOrder.js
new file mode 100644
index 0000000..231dfa8
--- /dev/null
+++ b/src/api/partspare/purchaseOrder.js
@@ -0,0 +1,9 @@
+import {createAPI} from "../../utils/httpRequest";
+
+export const saveBatchPurchaseOrder = (data) =>createAPI(`purchase/order/batch/save`, 'post', data)
+
+export const queryPurchaseOrder = (data) =>createAPI(`purchase/order/${data.no}/${data.size}`, 'post', data)
+
+export const cancelPurchaseOrder = (data) =>createAPI(`purchase/order/cancel`, 'post', data)
+
+export const closePurchaseOrder = (data) =>createAPI(`purchase/order/close`, 'post', data)
diff --git a/src/views/modules/partspare/inventoryStockPurchasing.vue b/src/views/modules/partspare/inventoryStockPurchasing.vue
new file mode 100644
index 0000000..30a9ab4
--- /dev/null
+++ b/src/views/modules/partspare/inventoryStockPurchasing.vue
@@ -0,0 +1,690 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 采购
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 仅显示低于安全库存的备件
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+ 关闭
+
+
+
+
+
+
diff --git a/src/views/modules/partspare/purchaseOrder.vue b/src/views/modules/partspare/purchaseOrder.vue
new file mode 100644
index 0000000..00dca67
--- /dev/null
+++ b/src/views/modules/partspare/purchaseOrder.vue
@@ -0,0 +1,370 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+ 取消
+
+
+
+
+
+
+
+
+
+
+