From 9feea2f82cb21abf58643dcffd875b1ed6f1162b Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期二, 08 七月 2025 11:06:41 +0800 Subject: [PATCH] yys 1.新增入库查询 2.新增入库 3.入库分页查询 4.编辑 --- src/views/inventoryManagement/dispatchLog/index.vue | 41 +++-------------------------------------- 1 files changed, 3 insertions(+), 38 deletions(-) diff --git a/src/views/inventoryManagement/dispatchLog/index.vue b/src/views/inventoryManagement/dispatchLog/index.vue index 1e56a3d..81eff0b 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) => { // 杩囨护鎺夊瓙鏁版嵁 @@ -267,7 +231,7 @@ // 瀵煎嚭 const handleOut = () => { - ElMessageBox.confirm("閫変腑鐨勫唴瀹瑰皢琚鍑猴紝鏄惁纭瀵煎嚭锛�", "瀵煎嚭", { + ElMessageBox.confirm("鏄惁纭瀵煎嚭锛�", "瀵煎嚭", { confirmButtonText: "纭", cancelButtonText: "鍙栨秷", type: "warning", @@ -279,6 +243,7 @@ proxy.$modal.msg("宸插彇娑�"); }); }; + // 鍒犻櫎 const handleDelete = () => { let ids = []; -- Gitblit v1.9.3