From 4d97a259f3069f9b18d87ac3fab710618f2c6087 Mon Sep 17 00:00:00 2001
From: lishenao <3065849776@qq.com>
Date: 星期四, 03 七月 2025 15:19:31 +0800
Subject: [PATCH] 库存管理数据修改
---
src/views/inventoryManagement/dispatchLog/index.vue | 39 ++-------------------------------------
1 files changed, 2 insertions(+), 37 deletions(-)
diff --git a/src/views/inventoryManagement/dispatchLog/index.vue b/src/views/inventoryManagement/dispatchLog/index.vue
index 1e56a3d..c83b0b0 100644
--- a/src/views/inventoryManagement/dispatchLog/index.vue
+++ b/src/views/inventoryManagement/dispatchLog/index.vue
@@ -73,33 +73,24 @@
show-overflow-tooltip
/>
<el-table-column
- label="鍚◣鍗曚环"
- prop="taxInclusiveUnitPrice"
label="鍚◣鍗曚环(鍏�)"
prop="entryDate"
width="100"
show-overflow-tooltip
/>
<el-table-column
- label="鍚◣鎬讳环"
- prop="taxInclusiveTotalPrice"
label="鍚◣鎬讳环(鍏�)"
prop="executionDate"
width="100"
show-overflow-tooltip
/>
<el-table-column
- label="绋庣巼"
- prop="taxRate"
label="绋庣巼(%)"
prop="executionDate"
width="100"
show-overflow-tooltip
/>
<el-table-column
- label="涓嶅惈绋庢�讳环"
- prop="taxExclusiveTotalPrice"
- width="100"
label="涓嶅惈绋庢�讳环(鍏�)"
prop="executionDate"
width="180"
@@ -148,24 +139,16 @@
import { userListNoPage } from "@/api/system/user.js";
import {
getStockOutPage,
- addStockOut,
- updateStockOut,
delStockOut,
- exportStockOut,
- getStockManageById
} from "@/api/inventoryManagement/stockOut.js";
const userStore = useUserStore();
const { proxy } = getCurrentInstance();
const tableData = ref([]);
-// const productData = ref([]);
const selectedRows = ref([]);
const userList = ref([]);
-// const customerOption = ref([]);
const tableLoading = ref(false);
-const supplierList = ref([])
const productList = ref([])
-const productModelList = ref([])
const page = reactive({
current: 1,
size: 100,
@@ -199,12 +182,6 @@
inboundBatch: '',
inboundQuantity: ''
},
- rules: {
- supplierId: [{ required: true, message: '璇烽�夋嫨渚涘簲鍟�', trigger: 'change' }],
- productRecordid: [{ required: true, message: '璇烽�夋嫨浜у搧', trigger: 'change' }],
- inboundTime: [{ required: true, message: '璇烽�夋嫨鍏ュ簱鏃堕棿', trigger: 'change' }],
- inboundQuantity: [{ required: true, message: '璇疯緭鍏ュ叆搴撴暟閲�', trigger: 'blur' }]
- },
});
const { searchForm } = toRefs(data);
@@ -234,20 +211,7 @@
tableLoading.value = false;
});
};
-// const findNodeById = (nodes, productId) => {
-// for (let i = 0; i < nodes.length; i++) {
-// if (nodes[i].value === productId) {
-// return nodes[i].label; // 鎵惧埌鑺傜偣锛岃繑鍥炶鑺傜偣
-// }
-// if (nodes[i].children && nodes[i].children.length > 0) {
-// const foundNode = findNodeById(nodes[i].children, productId);
-// if (foundNode) {
-// return foundNode.label; // 鍦ㄥ瓙鑺傜偣涓壘鍒帮紝杩斿洖璇ヨ妭鐐�
-// }
-// }
-// }
-// return null; // 娌℃湁鎵惧埌鑺傜偣锛岃繑鍥瀗ull
-// };
+
// 琛ㄦ牸閫夋嫨鏁版嵁
const handleSelectionChange = (selection) => {
// 杩囨护鎺夊瓙鏁版嵁
@@ -279,6 +243,7 @@
proxy.$modal.msg("宸插彇娑�");
});
};
+
// 鍒犻櫎
const handleDelete = () => {
let ids = [];
--
Gitblit v1.9.3