|
@@ -25,6 +25,7 @@ const showDialog = ref(false);
|
|
|
|
|
|
const searchComputer = ref('');
|
|
|
const searchNumber = ref<string[]>([]);
|
|
|
+const searchStation = ref('');
|
|
|
|
|
|
const computerInfo = ref([]);
|
|
|
const shopOptions = ref([]);
|
|
@@ -40,6 +41,7 @@ async function fetchCardData() {
|
|
|
limit: tableOptions.value.limit,
|
|
|
computerNumber: searchComputer.value,
|
|
|
shop: searchNumber.value.join(','),
|
|
|
+ station: searchStation.value,
|
|
|
};
|
|
|
await useTableData(api.getCardData, query, tableOptions);
|
|
|
}
|
|
@@ -129,12 +131,13 @@ onMounted(() => {
|
|
|
filterable
|
|
|
multiple
|
|
|
placeholder="店铺编号"
|
|
|
- style="width: 200px"
|
|
|
+ style="width: 200px;padding-right: 10px;"
|
|
|
@change="fetchCardData"
|
|
|
>
|
|
|
<el-option v-for="item in numberOptions" :key="item" :label="item" :value="item" />
|
|
|
</el-select>
|
|
|
- </div>
|
|
|
+ <el-input v-model="searchStation" clearable placeholder="位置" style="width: 200px" @change="fetchCardData"></el-input>
|
|
|
+ </div>
|
|
|
<span>
|
|
|
<el-button :icon="Plus" bg text type="primary" @click="addComputer">添 加</el-button>
|
|
|
</span>
|