Commit 8734b54c authored by cxr's avatar cxr

bug(cxr): 区域现货缺陷

parent 9f9d9a54
...@@ -312,6 +312,9 @@ ...@@ -312,6 +312,9 @@
if (res.success) { if (res.success) {
peopleData.value = res.data.filter((item) => item.type == 1); peopleData.value = res.data.filter((item) => item.type == 1);
rootData.value = res.data.filter((item) => item.type == 0); rootData.value = res.data.filter((item) => item.type == 0);
platOptions.value = platOptions.value.filter((item) => {
return !res.data.some((ele) => ele.platCode === item.platCode);
});
} else { } else {
message.error(res.message); message.error(res.message);
} }
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<a-button @click="onReSet">重置</a-button> <a-button @click="onReSet">重置</a-button>
</a-form-item> </a-form-item>
<a-form-item> <a-form-item>
<a-button type="primary" @click="onSearch">搜索</a-button> <a-button type="primary" @click="onSearch">查询</a-button>
</a-form-item> </a-form-item>
</a-form> </a-form>
<a-table <a-table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment