zck 8 сар өмнө
parent
commit
02f042d4e8

+ 4 - 4
src/view/inventory/ruku.vue

@@ -10,7 +10,7 @@
 		</el-row>
 		
       <layout>
-		<layout-sider :resize-directions="['right']" :width="200" style="margin-right: 10px;">
+		<layout-sider :resize-directions="['right']" :width="190" style="margin-right: 10px;">
 				<div class="JKWTree-tree" style="height: 70vh;">
 					<h3>日期</h3>
 					<el-tree :data="treeData" class="treecolor" highlight-current="true" @node-click="handleNodeClick"  />
@@ -406,7 +406,7 @@ const handleNodeClick = async (node, check) => {
 	}
 	
 	//订单信息数据查询【接口】
-	const ReceiptList_res = await ReceiptList({mouth:nodedata.value,search:'',page:1,limit:50,code:'入库'});
+	const ReceiptList_res = await ReceiptList({mouth:nodedata.value,search:'',page: page.value, limit: pageSize.value,code:'入库'});
 	if (ReceiptList_res && ReceiptList_res.data && Array.isArray(ReceiptList_res.data.table)) {
     const filteredData = ReceiptList_res.data.table.filter(item => item.单号类型 === '入库');
     // 更新数据
@@ -421,7 +421,7 @@ const handleNodeClick = async (node, check) => {
 
 //查询按钮
 const search_onSubmit = async ()  => {
-		const UnapprovalListtable = await ReceiptList({ mouth: '', search: records_searchInfo.value, page: 1, limit: 50,code:'入库' });
+		const UnapprovalListtable = await ReceiptList({ mouth: '', search: records_searchInfo.value, page: page.value, limit: pageSize.value,code:'入库' });
 		if (UnapprovalListtable && UnapprovalListtable.data && Array.isArray(UnapprovalListtable.data.table)) {
     const filteredData = UnapprovalListtable.data.table.filter(item => item.单号类型 === '入库');
     // 更新数据
@@ -815,7 +815,7 @@ const records_onSubmit = async () => {
   // 清空数组
   recordtableData.splice(0, recordtableData.length);
   // 获取入库单数据
-  const ReceiptList_res = await ReceiptList({ mouth: nodedata.value ? nodedata.value : currentMonth, search: '', page: 1, limit: 50,code:'入库' });
+  const ReceiptList_res = await ReceiptList({ mouth: nodedata.value ? nodedata.value : currentMonth, search: '', page: page.value, limit: pageSize.value,code:'入库' });
   if (ReceiptList_res && ReceiptList_res.data && Array.isArray(ReceiptList_res.data.table)) {
     const filteredData = ReceiptList_res.data.table.filter(item => item.单号类型 === '入库');
     // 更新数据