From d5379b4f64dc7e317758339e721c4acbb371baae Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 10 四月 2024 17:49:29 +0800
Subject: [PATCH] 庄口,车间,组别,规格都修改为必填+根据车间获取组别的接口联调,重组得到的数据以便下拉数据的使用
---
src/views/productManage/silkRegisterForm/index.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/productManage/silkRegisterForm/index.vue b/src/views/productManage/silkRegisterForm/index.vue
index a82b23d..533285e 100644
--- a/src/views/productManage/silkRegisterForm/index.vue
+++ b/src/views/productManage/silkRegisterForm/index.vue
@@ -61,7 +61,7 @@
tableList: {},
loading: false,
searchOptions: [],
- search_map: {},
+ keyword: '',
tableColumn: [
{ label: "缂栧彿", prop: "number", min: 120, default: true }, // 涓婚
{ label: "钀戒笣鏃堕棿", prop: "finishDate", min: 190, }, // 瀹㈡埛鍚嶇О
@@ -86,7 +86,7 @@
},
created() {
this.setTable()
- this.getData(this.search_map)
+ this.getData(this.keyword)
},
computed: {
},
@@ -123,7 +123,7 @@
async getData() {
this.loading = true
await getRegisterList({
- search_map: this.search_map,
+ keyword: this.keyword,
page: this.pagerOptions.currPage,
pageSize: this.pagerOptions.pageSize
})
@@ -160,7 +160,7 @@
},
// 鎼滅储
onFilterSearch(searchText) {
- this.search_map.client_name = searchText ?? ""
+ this.keyword = searchText ?? ""
this.pagerOptions.currPage = 1
this.getData()
},
@@ -180,7 +180,8 @@
path:"/productManage/silkRegisterForm/addPage",
query:{
id:row.ID,
- activeName:'first'
+ activeName:'first',
+ inspectID:row.finenessCheckID,
}
});
},
--
Gitblit v1.8.0