liuhairui 9 ماه پیش
والد
کامیت
3a9633fcd9
1فایلهای تغییر یافته به همراه10 افزوده شده و 4 حذف شده
  1. 10 4
      src/view/inventory/ruku.vue

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

@@ -5,7 +5,10 @@
 			  <el-input v-model="records_searchInfo" placeholder="可搜索入库单号、订单编号、款号、款式、物料名称"  @input="records_handleInput"
 				@keyup.enter="search_onSubmit" id="searchInput"  style="width: 460px;height: 50px;margin-left: 10px;">
 			  </el-input>
-			  <el-button type="primary" @click="Reporting_onSubmit" style="height: 50px;font-size: 20px;margin-left: 20px;">面料入库</el-button>
+			  <el-button type="primary" @click="search_onSubmit" style="height: 50px;font-size: 20px;marg
+			  in-left: 20px;">查询</el-button>
+			  <el-button type="primary" @click="Reporting_onSubmit" style="height: 50px;font-size: 20px;marg
+			  in-left: 20px;">面料入库</el-button>
 		</el-row>
       <layout>
 		<layout-sider :resize-directions="['right']" :width="190" style="margin-right: 10px;">
@@ -374,7 +377,10 @@ const restableData = reactive([])//表格
 const _orderid = ref('')//订单子编号
 const _kh = ref('')//生产款号
 
-
+//查询按钮
+const handleSearch = async ()=>{
+	
+}
 // 侧边栏数据请求
 
 const treeData = reactive([]);
@@ -445,8 +451,8 @@ const handleNodeClick = async (node, check) => {
 
 //查询按钮
 const search_onSubmit = async ()  => {
-		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 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.单号类型 === '入库');
     // 更新数据
 	recordtableData.splice(0, recordtableData.length);