合计价格:¥ {{ pay_info.true_price }}
+ 原价:¥{{ pay_info.original_price }}
清空
@@ -457,6 +464,7 @@
};
const search_input = ref("");
+ const search_appointment=ref("");
const select_items_deep = ref("");
const select_data_default = {
combo: "",
@@ -567,9 +575,9 @@
combo_search_input_deep.value = combo_search_input.value
}
const searchClick = () => {
- if (search_input_deep.value === search_input.value) {
- return
- }
+ // if (search_input_deep.value === search_input.value) {
+ // return
+ // }
search_input_deep.value = search_input.value
saveSelectDeep();
if (!!search_input.value) {
@@ -593,6 +601,14 @@
} else {
item_list_show.value = item_list.value
}
+ if(!!search_appointment.value){
+ if(search_appointment.value === "0"){
+
+ }else{
+ item_list_show.value = item_list_show.value.filter(item => item.group_id === search_appointment.value)
+ }
+
+ }
nextTick(() => {
let select_deep = JSON.parse(JSON.stringify(select_items_deep.value)).split(',')
get_buy_info.value = false
@@ -671,9 +687,13 @@
}
})
}
+ let ResKeShilist=ref([]);
const getItemGetList = async () => {
- const response = await axios.post($api("ItemGetList"));
+ const response = await axios.post($api("ItemGetList"),{
+ appointment: search_appointment.value,
+ });
window.$response(response.data, () => {
+ ResKeShilist.value = response.data.data.keshi_list;
let il_map = response.data.data.list;
let il = [];
for (let i in il_map) {
@@ -1078,6 +1098,7 @@
return {
elZh,
+ getItemGetList,
handleSubmit,
PlanDateChange,
isEnglishOnly,
@@ -1113,7 +1134,9 @@
select_table_computed,
item_table_ref,
item_list,
+ ResKeShilist,
search_input,
+ search_appointment,
select_data,
input_data,
button_config,