From 4ec9f5be268151e9a95c54076ec0f396c4d40b6f Mon Sep 17 00:00:00 2001
From: xiaofajia <1665375861@qq.com>
Date: Thu, 28 Nov 2024 17:35:52 +0800
Subject: [PATCH] =?UTF-8?q?=E9=80=80=E8=B4=A7=E5=8D=9580%?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../repair/stockOperate/stockOperateItem.js | 9 +
.../stockOperate/Components/SoReturn.vue | 150 +++++++++++
src/views/repair/stockOperate/InStock.vue | 5 +
.../repair/stockOperate/form/SoReturnForm.vue | 252 ++++++++++++++++++
4 files changed, 416 insertions(+)
create mode 100644 src/views/repair/stockOperate/Components/SoReturn.vue
create mode 100644 src/views/repair/stockOperate/form/SoReturnForm.vue
diff --git a/src/api/repair/stockOperate/stockOperateItem.js b/src/api/repair/stockOperate/stockOperateItem.js
index 0368042..615c017 100644
--- a/src/api/repair/stockOperate/stockOperateItem.js
+++ b/src/api/repair/stockOperate/stockOperateItem.js
@@ -34,3 +34,12 @@ export function getMapBySoIdAndQuery(id, query){
method: 'get'
})
}
+
+// 根据供应商查询该供应商采购过的配件 分页
+export function getSoBySupplier(params){
+ return request({
+ url: preUrl + "/getSoBySupplier",
+ method: 'get',
+ params
+ })
+}
diff --git a/src/views/repair/stockOperate/Components/SoReturn.vue b/src/views/repair/stockOperate/Components/SoReturn.vue
new file mode 100644
index 0000000..d79559f
--- /dev/null
+++ b/src/views/repair/stockOperate/Components/SoReturn.vue
@@ -0,0 +1,150 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 导出
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+ {{ scope.$index + 1 }}
+
+
+
+
+
+
+
+
+
+ 查看
+
+ 作废
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/repair/stockOperate/InStock.vue b/src/views/repair/stockOperate/InStock.vue
index caa782b..8740cec 100644
--- a/src/views/repair/stockOperate/InStock.vue
+++ b/src/views/repair/stockOperate/InStock.vue
@@ -4,6 +4,9 @@
+
+
+
@@ -26,10 +29,12 @@ import SoInfo from "@/views/repair/stockOperate/Components/SoInfo.vue";
import SoIndex from "@/views/repair/stockOperate/Components/SoIndex.vue";
import SoVoid from "@/views/repair/stockOperate/Components/SoVoid.vue";
import SoiTable from "@/views/repair/stockOperate/Components/SoiTable.vue";
+import SoReturn from "@/views/repair/stockOperate/Components/SoReturn.vue";
export default {
name: "InStock",
components: {
+ SoReturn,
SoiTable,
SoVoid,
SoIndex,
diff --git a/src/views/repair/stockOperate/form/SoReturnForm.vue b/src/views/repair/stockOperate/form/SoReturnForm.vue
new file mode 100644
index 0000000..342fc3f
--- /dev/null
+++ b/src/views/repair/stockOperate/form/SoReturnForm.vue
@@ -0,0 +1,252 @@
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{getWarehouseName(scope.row.wares.warehouse)}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.$index + 1 }}
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+