对接台桌列表

This commit is contained in:
gyq
2024-02-28 15:02:31 +08:00
parent 56f9d83447
commit d65e3db7c0
17 changed files with 655 additions and 37 deletions

View File

@@ -6,7 +6,7 @@
import { queryCategory } from '@/api/product'
import { ref, onMounted } from 'vue'
import { useUser } from "@/store/user.js"
const store = useUser();
const store = useUser()
const categorys = ref([])
const categorysActive = ref(0)

View File

@@ -15,7 +15,7 @@
</div>
<div class="search_wrap">
<div class="input">
<el-input placeholder="商品名称或首字母简称" prefix-icon="Search" v-model="commdityName" clearable
<el-input placeholder="商品名称或首字母简称" prefix-icon="Search" v-model="commdityName" style="width: 400px;" clearable
@input="inputChange"></el-input>
</div>
<el-button :icon="shopListType == 'text' ? 'PictureRounded' : 'PriceTag'" @click="changeShopListType"></el-button>
@@ -64,7 +64,7 @@ const commdityName = ref('')
const originalGoods = ref([])
const goodsList = ref([])
const inputChange = _.debounce(function (e) {
const inputChange = _.debounce(function () {
productqueryCommodityInfoAjax()
}, 500)