diff --git a/src/views/financialsector/FinanceHome.vue b/src/views/financialsector/FinanceHome.vue
index 7c0317c4..462bfd16 100644
--- a/src/views/financialsector/FinanceHome.vue
+++ b/src/views/financialsector/FinanceHome.vue
@@ -34,17 +34,15 @@
-
+
-
-
+
+ 提货
干线
- 配送
-
-
+
安装
@@ -66,10 +64,11 @@ const FinancialDelivery = defineAsyncComponent(() =>
import('@/views/financialsector/Financialse/FinancialDelivery.vue')
);
const form = ref({});
-const tabNum = ref('干线');
+const Tabmenu = ref('仓储');
const templateInfo = ref({
name: '参数',
});
+// 菜单列表
const ServiceList = ref([
{
label: '提货',
@@ -104,13 +103,23 @@ const ServiceList = ref([
]);
// 点击菜单
const isChecked = val => {
- console.log(val, '点击的');
+ //菜单隐藏/显示
val.state = !val.state;
+ //设置激活菜单
+ Tabmenu.value = val.label;
+ // 如果当前菜单被关闭则显示最新菜单
+ if (!val.state && form.value.ServiceType.length) {
+ Tabmenu.value = ServiceList.value.find(res => res.state).label;
+ }
};
// 点击移除
const removeTag = value => {
ServiceList.value.find(res => res.value == value).check = false;
ServiceList.value.find(res => res.value == value).state = false;
+ // 激活菜单设置为已经存在的
+ if (form.value.ServiceType.length) {
+ Tabmenu.value = ServiceList.value.find(res => res.state).label;
+ }
};
diff --git a/src/views/financialsector/Financialse/FinancialDelivery.vue b/src/views/financialsector/Financialse/FinancialDelivery.vue
index 24ec6ef2..56325e12 100644
--- a/src/views/financialsector/Financialse/FinancialDelivery.vue
+++ b/src/views/financialsector/Financialse/FinancialDelivery.vue
@@ -10,6 +10,7 @@
clearable
placeholder="选择计费类型"
style="width: 240px"
+ @change="chargetype"
>
是否区分品类
-
- {{
+
+ {{
item.label
}}
+
+
+
+ 是否有遗留件
+
+ {{
+ item.label
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ Item.title }}
+
+
+
+
+
+
+
{{ item.id }}
+
+
+
+
+
+
+ -
+ +
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/financialsector/Financialse/FinancialWarehousing.vue b/src/views/financialsector/Financialse/FinancialWarehousing.vue
index 3c8dfa7d..6eb48195 100644
--- a/src/views/financialsector/Financialse/FinancialWarehousing.vue
+++ b/src/views/financialsector/Financialse/FinancialWarehousing.vue
@@ -78,17 +78,17 @@
{{ item.id }}
@@ -208,10 +208,10 @@
style="width: 240px"
>
@@ -237,14 +237,13 @@