|
@@ -100,7 +100,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
res = await $api("car", "GET", {
|
|
|
skip: 0,
|
|
|
limit: 1,
|
|
|
- status: "1",
|
|
|
+ status: "0",
|
|
|
shop: id.value
|
|
|
});
|
|
|
if (res.errcode === 0)
|
|
@@ -157,7 +157,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
item.is_open = false;
|
|
|
return item;
|
|
|
});
|
|
|
- searchInfo.value.money = data.title;
|
|
|
+ if (data.type != "0")
|
|
|
+ searchInfo.value.money = data.title;
|
|
|
+ else
|
|
|
+ searchInfo.value.money = "";
|
|
|
} else {
|
|
|
yearList.value = yearList.value.map((item, index) => {
|
|
|
if (item.type == data.type)
|
|
@@ -166,7 +169,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
item.is_open = false;
|
|
|
return item;
|
|
|
});
|
|
|
- searchInfo.value.year = data.title;
|
|
|
+ if (data.type != "0")
|
|
|
+ searchInfo.value.year = data.title;
|
|
|
+ else
|
|
|
+ searchInfo.value.year = "";
|
|
|
}
|
|
|
await clearPage();
|
|
|
await searchOther();
|